Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6523103B2 - Communication device, control method of communication device, control program - Google Patents
[go: Go Back, main page]

JP6523103B2 - Communication device, control method of communication device, control program - Google Patents

Communication device, control method of communication device, control program Download PDF

Info

Publication number
JP6523103B2
JP6523103B2 JP2015165144A JP2015165144A JP6523103B2 JP 6523103 B2 JP6523103 B2 JP 6523103B2 JP 2015165144 A JP2015165144 A JP 2015165144A JP 2015165144 A JP2015165144 A JP 2015165144A JP 6523103 B2 JP6523103 B2 JP 6523103B2
Authority
JP
Japan
Prior art keywords
time
server
unit
external
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015165144A
Other languages
Japanese (ja)
Other versions
JP2017046071A (en
Inventor
三宅 正晃
正晃 三宅
幸知 赤木
幸知 赤木
龍一 藤山
龍一 藤山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2015165144A priority Critical patent/JP6523103B2/en
Publication of JP2017046071A publication Critical patent/JP2017046071A/en
Application granted granted Critical
Publication of JP6523103B2 publication Critical patent/JP6523103B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は外部サーバと指定された時刻に通信を行う通信装置、通信装置の制御方法、制御プログラムに関する。   The present invention relates to a communication device that communicates with an external server at a designated time, a control method of the communication device, and a control program.

近年、WEBサービスを提供するサーバとユーザ端末とが通信を行い、ユーザ端末にてサーバが提供するWEBサービスを実行できる、いわゆるクラウドコンピューティングシステムが拡がっている。クラウドコンピューティングシステムでは、ユーザ端末からサーバへのアクセスが集中することを防ぐため、ユーザ端末からサーバへアクセスする時間帯を分散させる運用がなされている場合も多い。   In recent years, a so-called cloud computing system has expanded, in which a server providing a web service and a user terminal communicate with each other and the user terminal can execute the web service provided by the server. In the cloud computing system, in order to prevent concentration of access from the user terminal to the server, there are many cases where operations are performed to disperse time zones in which the user terminal accesses the server.

例えば、特許文献1には、出退勤データをメモリに蓄積し、所定期間ごとにサーバへ一括転送するデータ転送デバイスが開示されている。また、特許文献2には、サーバから端末に一定時間間隔で接続し、端末に格納されている情報を取得するマーケティング情報収集システムが開示されている。   For example, Patent Document 1 discloses a data transfer device that stores time and attendance data in a memory and collectively transfers the data to a server at predetermined intervals. Further, Patent Document 2 discloses a marketing information collection system for connecting from a server to a terminal at fixed time intervals and acquiring information stored in the terminal.

特開2013−131136号公報(2013年7月4日公開)Unexamined-Japanese-Patent No. 2013-131136 (July 4, 2013 publication) 特開2001−306787号公報(2001年11月2日公開)Japanese Patent Application Laid-Open No. 2001-306787 (disclosed on November 2, 2001)

しかしながら、上記特許文献1、2に開示された発明は、サーバと端末との接続を単に一定時間間隔とするものであり、サーバへのアクセスが集中してしまうことを分散させることができるとは限らない。   However, the inventions disclosed in Patent Documents 1 and 2 merely make the connection between the server and the terminal a fixed time interval, and it can be distributed that the access to the server is concentrated. Not exclusively.

また、サーバへのアクセスが集中することを防止するために、サーバ側からアクセス時刻を指定する構成が考えられる。しかし、端末の電源が切られる等により適切に計時できなかった場合、結局、指定されたアクセス時刻にアクセスすることができず、サーバへのアクセスの集中を防止するという目的を達成することができない。特に、低コスト化を図るために充電池等を備えていない端末の場合、適切に計時できない可能性がある。   Further, in order to prevent concentration of access to the server, a configuration is conceivable in which the access time is specified from the server side. However, if the terminal can not be properly timed because the power is turned off, the access time can not be accessed after all, and the purpose of preventing concentration of access to the server can not be achieved. . In the case of the terminal which is not equipped with a rechargeable battery etc. especially in order to attain cost reduction, there is a possibility that it can not measure appropriately.

また、停電時も停止しないRTC(real-time clock)を備えることは、コストがかかり、低コスト化を図るという装置においては現実的ではない。   Also, providing a real-time clock (RTC) that does not stop even at the time of a power failure is costly and is not practical in an apparatus that achieves cost reduction.

本発明は上記問題に鑑みてなされたものであり、その目的は、電源が切れる等により適切に計時できなくなった場合であっても、適切なアクセス時刻にサーバにアクセスすることができる通信装置等を実現することにある。   The present invention has been made in view of the above problems, and an object thereof is a communication apparatus and the like capable of accessing a server at an appropriate access time even when the clock can not be properly counted due to a power-off or the like. To realize.

上記の課題を解決するために、本発明の一態様に係る通信装置は、外部サーバと通信する通信装置であって、上記外部サーバの現在時刻と考えられる時刻である装置側サーバ時刻を計時するとともに、自装置の現在時刻である装置時刻を計時する計時部と、上記計時部が停止し、その後、復旧した場合、上記外部サーバとは異なる外部装置から外部装置時刻を取得する時刻取得部と、上記時刻取得部が取得した上記外部装置時刻、および、上記計時部が停止する前の上記装置側サーバ時刻と上記装置時刻との関係から上記計時部が計時する上記装置側サーバ時刻を修正する修正部と、を備えている。   In order to solve the above-mentioned subject, a communication device concerning one mode of the present invention is a communication device which communicates with an external server, and measures device side server time which is time considered as the present time of the above-mentioned external server. Together with the time measuring unit for measuring the device time that is the current time of the own device, and the time acquiring unit for acquiring the external device time from an external device different from the external server when the time measuring unit stops and then recovers. And correcting the device-side server time clocked by the timer unit from the relationship between the external device time acquired by the time acquisition unit and the device-side server time before the clock unit stops. And a correction unit.

また、本発明の一態様に係る通信装置の制御方法は、外部サーバと通信する通信装置の制御方法であって、上記通信装置は、上記外部サーバの現在時刻と考えられる時刻である装置側サーバ時刻を計時するとともに、自装置の現在時刻である装置時刻を計時する計時部を備えており、上記計時部が停止し、その後、復旧した場合、上記外部サーバとは異なる外部装置から外部装置時刻を取得する時刻取得ステップと、上記時刻取得ステップで取得した上記外部装置時刻、および、上記計時部が停止する前の上記装置側サーバ時刻と上記装置時刻との関係から上記計時部が計時する上記装置側サーバ時刻を修正する修正ステップと、を含む。   A control method of a communication apparatus according to an aspect of the present invention is a control method of a communication apparatus for communicating with an external server, wherein the communication apparatus is an apparatus-side server having a time considered to be the current time of the external server. It has a clock unit that clocks the device time, which is the current time of its own device, while clocking the time, and when the clock unit stops and then recovers, external device time from an external device different from the external server The timekeeping unit measures the time from the relationship between the time on the external device obtained at the time acquiring step, the external device time acquired at the time acquiring step, the device server time before the timekeeping unit stops, and the device time And V. correcting the device-side server time.

本発明の一態様によれば、装置側サーバ時刻に基づいて実行する処理(例えば、外部サーバへのアクセス処理)を適切な時刻に実行させることができるという効果を奏する。   According to an aspect of the present invention, it is possible to execute processing (for example, access processing to an external server) to be executed based on the device-side server time at an appropriate time.

本発明の実施形態1に係る電話機(親機)の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the telephone apparatus (master machine) which concerns on Embodiment 1 of this invention. 上記実施形態1に係る情報管理システムの概要を示す図である。It is a figure which shows the outline | summary of the information management system which concerns on the said Embodiment 1. FIG. 上記電話機(親機)における、通信時刻管理テーブルの一例および更新処理を示す図であり、(a)はテーブルの一例を示す図であり、(b)は電話機(親機)の時刻を修正した場合の説明図であり、(c)は復旧時に行われる復旧処理の流れを示す図である。It is a figure which shows an example and update process of a communication time management table in the said telephone (master machine), (a) is a figure which shows an example of a table, (b) corrects the time of a telephone (master machine) It is an explanatory view of a case, and (c) is a figure showing a flow of restoration processing performed at the time of restoration. 上記電話機(親機)の通常時における処理の流れを示すフローチャートである。It is a flow chart which shows a flow of processing at the time of usual time of the above-mentioned telephone (master). 上記電話機(親機)の復旧時における処理の流れを示すフローチャートである。It is a flow chart which shows a flow of processing at the time of restoration of the above-mentioned telephone set (master machine).

〔実施形態1〕
以下、本発明の実施の形態について、図1〜図5を用いて詳細に説明する。まず、本実施形態の前提となる情報管理システム100について説明する。
Embodiment 1
Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 1 to 5. First, an information management system 100 that is a premise of the present embodiment will be described.

(情報管理システム100における各装置の構成)
本実施形態の情報管理システム100は、迷惑電話拒否サービスを実現するものである。情報管理システム100は、電話機(親機)1、1a〜1c(通信装置)、PC2(Personal Computer)(通信装置以外の装置)及び管理サーバ(外部サーバ)3を備えている。当該迷惑電話拒否サービスは、電話機1、1a〜1cにおいて迷惑電話の着信を拒否するサービスである。また、情報管理システム100は、電話機1、1a〜1cの使用履歴、使用状況等をユーザがPC2を用いて参照したり、当該情報をメールにてユーザに通知するWEB管理サービスを実現する。
(Configuration of Each Device in Information Management System 100)
The information management system 100 of this embodiment implements a nuisance call rejection service. The information management system 100 includes telephones (masters) 1 and 1a to 1c (communication devices), PC 2 (Personal Computer) (devices other than communication devices), and a management server (external server) 3. The nuisance call rejection service is a service that rejects an incoming call of a nuisance call on the telephone set 1 or 1a to 1c. In addition, the information management system 100 implements a WEB management service in which the user refers to the use history, use condition, and the like of the telephones 1 and 1 a to 1 c using the PC 2 and notifies the user of the information by e-mail.

図2に示すように、電話機1、1a〜1cは、電話回線網(公衆交換電話網(PSTN:Public Switched Telephone Network))4経由で管理サーバ3と通信可能に接続される。電話機1、1a〜1cは、管理サーバ3で管理する迷惑番号リストのデータを管理サーバ3から取得して、自機の迷惑電話リストを管理している。具体的には、電話機1、1a〜1cは、所定期間ごと(例えば1日に1回)に管理サーバ3へアクセスして、最新版の迷惑電話リストに更新するためのデータを取得し、自機が管理する迷惑電話リストを更新する。これにより、最新の迷惑電話リストによって迷惑電話の着信を拒否できる。また、電話機1、1a〜1cは、例えば上記アクセス時に、ユーザによる電話機1、1a〜1cの使用履歴を示す使用履歴情報(発信動作または当該発信動作による発信に関わる情報を含む)等の各種情報(端末情報)を管理サーバ3へ送信する。また、電話機1、1a〜1cは、例えば、各ユーザが使用する電話機1、1a〜1cに着信があった、迷惑電話であると判断した電話番号(迷惑番号)を示す迷惑電話情報を、必要に応じて電話回線網4を通じて管理サーバ3へ送信する。   As shown in FIG. 2, the telephones 1 and 1 a to 1 c are communicably connected to the management server 3 via a telephone line network (Public Switched Telephone Network (PSTN)) 4. The telephones 1, 1a to 1c acquire data of the nuisance number list managed by the management server 3 from the management server 3, and manage their own nuisance call lists. Specifically, the telephones 1, 1a to 1c access the management server 3 at predetermined intervals (for example, once a day), acquire data for updating to the latest version of the nuisance call list, and Update the junk phone list managed by the machine. By this, it is possible to reject an unwanted call from the latest nuisance call list. In addition, the telephones 1, 1a to 1c, for example, various information such as usage history information (including a transmission operation or information related to transmission by the transmission operation) indicating the usage history of the telephone 1, 1a to 1c by the user at the time of the access The (terminal information) is transmitted to the management server 3. In addition, the telephones 1, 1a to 1c require, for example, nuisance call information indicating the telephone number (nuisance number) determined to be a nuisance call, which is an incoming call to the telephone 1, 1a to 1c used by each user. , And transmits to the management server 3 through the telephone network 4.

また、電話機1は、PSTNを介して、他の電話機1a〜1cと接続されている。なお、電話機1は、1つの通信部20を介して管理サーバ3及びPSTNに接続されていてもよいし、電話機1とPSTNとを接続する通信部及び電話機1と管理サーバ3とを接続する通信部のように、別々の通信部を介して管理サーバ3及びPSTNと接続されていてもよい。   Further, the telephone set 1 is connected to the other telephone sets 1a to 1c through the PSTN. The telephone set 1 may be connected to the management server 3 and the PSTN via one communication unit 20, or a communication unit connecting the telephone set 1 and the PSTN, and a communication connecting the telephone set 1 and the management server 3 It may be connected to the management server 3 and the PSTN via separate communication units as in

また、電話機1とPSTN及び管理サーバ3との接続は、例えば、PSTNを介して電話機1と管理サーバ3とを接続するような1回線による接続であってもよいし、電話機1とPSTNを接続する回線と、電話機1と管理サーバ3とを接続する回線とを用いる複数回線による接続であってもよい。PSTNを介さない電話機1と管理サーバ3との接続は、例えば、有線LAN、無線LAN、Bluetooth(登録商標)、WiFi(登録商標)等により電話機1に接続されている他の機器を介して、管理サーバ3に接続することにより行うことができる。例えば、電話機1に通信部20として、WiFi(登録商標)の通信回路を設け、WiFiルーターを介して管理サーバ3に接続してもよい。   Further, the connection between the telephone set 1 and the PSTN and the management server 3 may be, for example, a single line connection connecting the telephone set 1 and the management server 3 via the PSTN, or the telephone set 1 and the PSTN It may be a connection by a plurality of lines using the line to be connected and the line connecting the telephone 1 and the management server 3. The connection between the telephone set 1 and the management server 3 not via the PSTN is, for example, via another device connected to the telephone set 1 by a wired LAN, a wireless LAN, Bluetooth (registered trademark), WiFi (registered trademark) or the like. This can be done by connecting to the management server 3. For example, the telephone 1 may be provided with a communication circuit of WiFi (registered trademark) as the communication unit 20, and connected to the management server 3 via the WiFi router.

PC2は、インターネット回線網5経由で管理サーバ3と通信可能に接続される。PC2は、電話機1を現在使用するユーザに関する情報(ユーザ情報)を管理サーバ3へ送信する。ユーザに関する情報とは、ユーザを一意に識別するためのユーザ識別情報、送信先メールアドレス等を指す。なお、PC2は、インターネット回線網5に接続可能な通信端末であれば、携帯電話機(スマートフォン)、タブレット等であってもよい。また、ユーザは、管理サーバ3へのアクセスのために、PC2を用いて、ユーザ登録(例えば、ユーザを識別する情報と送信先メールアドレスとを対応付けて管理サーバ3に管理させる処理)を行う。なお、ユーザに関する情報は、電話機1から、例えば上記管理サーバ3へのアクセス時に送信されてもよい。   The PC 2 is communicably connected to the management server 3 via the Internet network 5. The PC 2 transmits, to the management server 3, information (user information) on the user currently using the telephone 1. The information on the user indicates user identification information for uniquely identifying the user, a transmission destination e-mail address, and the like. The PC 2 may be a mobile phone (smart phone), a tablet, or the like as long as it is a communication terminal that can be connected to the Internet network 5. Further, the user performs user registration (for example, processing for causing the management server 3 to manage information associated with the user and the transmission destination e-mail address in association with each other) using the PC 2 in order to access the management server 3 . The information on the user may be transmitted from the telephone 1 at the time of access to the management server 3, for example.

管理サーバ3は、電話機1、1a〜1cまたはPC2から受信した各種情報を管理する。また、管理サーバ3は、上記迷惑電話リストを管理する。管理サーバ3は、警察や業者等から提供された迷惑電話情報、または電話機1、1a〜1cから受信した迷惑電話情報を用いて、迷惑電話リストを更新する。具体的には、管理サーバ3は、所定期間ごとに(例えば電話機1、1a〜1cからアクセスがあったときに)、迷惑電話リストのデータ(最初は迷惑電話リストのすべて、その後は、最新版の迷惑電話リストに更新するためのデータ)を電話機1、1a〜1cに送信する。これにより、迷惑電話拒否サービスに加入するユーザ間で最新の迷惑電話リストを共有できる。なお、管理サーバ3に登録される最初の迷惑電話リストは、警察や業者等から提供された迷惑電話情報に基づいて生成されてもよい。   The management server 3 manages various information received from the telephones 1, 1 a to 1 c or the PC 2. The management server 3 also manages the nuisance call list. The management server 3 updates the nuisance call list using the nuisance call information provided by the police, a trader or the like, or the nuisance call information received from the telephones 1 and 1a to 1c. Specifically, the management server 3 checks the data of the nuisance call list (at first, all of the nuisance call list, then the latest version) at predetermined intervals (for example, when there is access from the telephones 1, 1a to 1c). The data for updating to the nuisance call list of (1) is transmitted to the telephones 1 and 1a to 1c. This allows the latest nuisance call list to be shared among users who subscribe to the nuisance call rejection service. Note that the first nuisance call list registered in the management server 3 may be generated based on the nuisance call information provided by the police, a trader, or the like.

また、管理サーバ3は、電話機1、1a〜1cから受信した使用履歴情報等の各種情報を、電話機1、1a〜1cに対応付けて管理する。ユーザは、PC2から、ユーザを識別するユーザ識別情報を用いて管理サーバ3へアクセスすることにより、当該ユーザの、電話機1、1a〜1cの使用履歴情報を管理サーバ3に照会し、確認できる。また、電話機1、1a〜1cから受信した使用履歴情報を、電話機1、1a〜1cのユーザとかかわりのある第三者(例えば、ユーザの家族)に提供する。第三者(例えば、ユーザの家族)は、PC2を用いて管理サーバ3にアクセスを行うことにより、電話機1等の使用履歴情報を確認できる。また、管理サーバ3は、電話機1等が拒否した電話番号の通知や、迷惑電話リストに対する操作があった旨の通知を、PC2に通知する。   Further, the management server 3 manages various information such as usage history information received from the telephones 1 and 1a to 1c in association with the telephones 1 and 1a to 1c. The user accesses the management server 3 from the PC 2 using the user identification information for identifying the user, so that the usage history information of the telephones 1 and 1a to 1c of the user can be inquired to the management server 3 for confirmation. In addition, the usage history information received from the telephones 1 and 1a to 1c is provided to a third party (for example, a family of users) who is associated with the users of the telephones 1 and 1a to 1c. A third party (for example, a user's family) can check the usage history information of the telephone 1 etc. by accessing the management server 3 using the PC 2. Further, the management server 3 notifies the PC 2 of the notification of the telephone number rejected by the telephone 1 or the like, and the notification that the operation to the nuisance call list has been performed.

なお、管理サーバ3は、複数のサーバで実現されてもよい。この場合、情報管理システム100は、例えば、管理サーバ3の代わりに、迷惑電話リストを提供するサーバと、端末情報を提供するサーバとを備えてもよい。   The management server 3 may be realized by a plurality of servers. In this case, the information management system 100 may include, for example, a server providing a nuisance call list and a server providing terminal information instead of the management server 3.

なお、電話機(親機)1は、親子電話システム200の親機である。また、図2で示す例では、親子電話システム200の子機として、電話機(子機)201a〜cが示されている。   The telephone set (master unit) 1 is a master unit of the parent-child telephone system 200. Further, in the example shown in FIG. 2, telephones (child devices) 201 a-c are shown as slave devices of the parent-child telephone system 200.

親子電話システム200は、電話回線網4を通じて管理サーバ3や他の電話機1a〜1bと通信を行う電話機(親機)1と、電話回線網4と異なる無線通信網(例えば、DECT(Digital Enhanced Cordless Telecommunications))を通じて電話機(親機)1と通信を行う電話機(子機)(外部装置)201a〜cとからなる。なお、電話機(子機)201a〜cを区別する必要がない場合は、単に電話機(子機)201(又は電話機201)と記載する。また、ここでは、電話機(子機)201として3台挙げているが、台数はこれに限られず、2台以下であってもよいし、4台以上であってもよい。   The parent-child telephone system 200 includes a telephone set (master unit) 1 communicating with the management server 3 and the other telephone sets 1a to 1b through the telephone line network 4 and a wireless communication network different from the telephone line network 4 (for example, DECT (Digital Enhanced Cordless) (Telephones) (external device) 201a-c that communicate with the telephone set (master unit) 1 through Telecommunications). Note that when there is no need to distinguish between the telephones (child devices) 201a to 201c, the telephones (child devices) 201 (or telephones 201) are simply described. Furthermore, although three telephones (child units) 201 are listed here, the number is not limited to this, and may be two or less, or four or more.

電話機(親機)1は外部からの着信を常時受け付ける必要があるために家庭用コンセントなどへ接続されて常時給電されている。また、電話機(子機)201は持ち運び可能となるように内部にバッテリーを備えている。そして、未使用時はバッテリーに充電を行えるように充電用のホルダーに設置されるようになっている。   The telephone set (master unit) 1 is always connected to a household outlet or the like and always supplied with power since it is necessary to always receive an incoming call from the outside. Also, the telephone set (child device) 201 has a battery inside so as to be portable. And when not in use, it is installed in a holder for charging so that the battery can be charged.

〔電話機(親機)1の構成〕
次に、図1を参照して、電話機(親機)1の具体的な構成について説明する。図1に示すように、電話機(親機)1は、制御部10、通信部20、記憶部(アクセス時刻記憶部)40、ディスプレイ31、スピーカ32、マイク33、およびカウンタ34を備えている。
[Configuration of Telephone (Master Unit) 1]
Next, with reference to FIG. 1, the specific configuration of the telephone set (base unit) 1 will be described. As shown in FIG. 1, the telephone set (master unit) 1 includes a control unit 10, a communication unit 20, a storage unit (access time storage unit) 40, a display 31, a speaker 32, a microphone 33, and a counter 34.

ディスプレイ31は、各種画像を表示するものであり、例えばLCD(Liquid crystal display)で構成される。スピーカ32は通話中の音声を出力するものである。マイク33は通話中のユーザの音声を入力するものである。   The display 31 displays various images, and is configured of, for example, an LCD (Liquid crystal display). The speaker 32 is for outputting voice during a call. The microphone 33 is for inputting the voice of the user in a call.

カウンタ34は、時刻をカウントアップするものであり、カウントアップの通知を計時部11に送信する。また、カウンタ34は、電話機(親機)1が停電などにより電源が切れた場合、カウントアップを停止する。   The counter 34 counts up the time, and transmits a count up notification to the clock unit 11. In addition, the counter 34 stops counting up when the telephone set (base unit) 1 is powered off due to a power failure or the like.

記憶部40は、電話機(親機)1に関する各種情報を格納するものであり、通信時刻管理テーブル41を備える。また、これ以外にも迷惑電話情報(図示せず)なども備えている。   The storage unit 40 stores various information related to the telephone set (master unit) 1 and includes a communication time management table 41. In addition to this, it also has nuisance call information (not shown) and the like.

通信時刻管理テーブル41について、図3(a)を参照して説明する。図3(a)は、通信時刻管理テーブル41の例を示す図である。図3(a)に示すように、通信時刻管理テーブル41は、更新時の電話機(親機)1の時刻である端末時刻(装置時刻)、管理サーバ3から取得した管理サーバ3の時刻であるサーバ時刻(装置側サーバ時刻)、端末時刻とサーバ時刻と差分である時間差、管理サーバ3から取得した次回のアクセスする時刻であるアクセス時刻とが対応付けられている。図3(a)に示す例で言えば、サーバ時刻「08:00:00」、端末時刻「10:00:00」、時間差「02:00:00」、次回アクセス時刻「09:00:00」が対応付けられている。以下、同様である。なお、次回アクセス時刻は、サーバ時刻、端末時刻、時間差と対応付けられずに、独立して記憶されているものであってもよい。   The communication time management table 41 will be described with reference to FIG. FIG. 3A shows an example of the communication time management table 41. As shown in FIG. As shown in FIG. 3A, the communication time management table 41 is the terminal time (apparatus time) which is the time of the telephone (parent machine) 1 at the time of updating, and the time of the management server 3 acquired from the management server 3 The server time (apparatus side server time), the terminal time and the server time, and the time difference which is the difference, and the access time which is the next access time acquired from the management server 3 are associated with one another. In the example shown in FIG. 3A, the server time "08:00:00", the terminal time "10:00:00", the time difference "02:00:00", the next access time "09:00:00" Are associated with each other. The same applies below. The next access time may be stored independently without being associated with the server time, the terminal time, or the time difference.

サーバ時刻を計時、格納する理由は以下の通りである。端末時刻とサーバ時刻とが一致している場合、サーバ時刻を計時、格納する必要はないようにも思われる。しかし、端末時刻は、ユーザが任意に設定、操作できるものであり、必ずしもサーバ時刻と一致しているとは限らない。また、管理サーバ3が存在している場所と電話機(親機)1が存在している場所とが同じ国とは限られず、両者に時差が生じている可能性もある。よって、適切なアクセス時刻に管理サーバ3にアクセスするために、電話機(親機)1は、自端末の時刻である端末時刻の他に、管理サーバ3の時刻であるサーバ時刻を計時、格納しておく必要がある。   The reasons for clocking and storing server time are as follows. When the terminal time and the server time coincide, it seems that there is no need to store the server time. However, the terminal time can be arbitrarily set and operated by the user, and does not necessarily coincide with the server time. Further, the location where the management server 3 is present and the location where the telephone set (parent unit) 1 is present are not limited to the same country, and there may be a time difference between the two. Therefore, in order to access the management server 3 at an appropriate access time, the telephone set (base device) 1 counts and stores the server time which is the time of the management server 3 in addition to the terminal time which is the time of the own terminal. Need to be

制御部10は、電話機(親機)1を統括的に制御するものであり、計時部11、データ制御部(サーバ情報取得部)12、復旧制御部(時刻取得部、修正部)13を備えている。   The control unit 10 controls the telephone set (master unit) 1 in an integrated manner, and includes a clock unit 11, a data control unit (server information acquisition unit) 12, and a recovery control unit (time acquisition unit, correction unit) 13. ing.

計時部11は、電話機(親機)1の現在の時刻(装置時刻)、および、後述するデータ制御部12が取得した管理サーバ3の時刻(装置側サーバ時刻)を、カウンタ34のカウントアップに従って計時するものである。なお、電話機(親機)1の時刻はディスプレイ31などで確認することが可能である。また、ユーザが任意のタイミングで変更することができる。また、計時部11が計時する電話機(親機)1の時刻は、電話機(子機)201と同一の時刻となるように、同期されている。なお、厳密に同期されていなくてもよい。電話機(親機)1と電話機(子機)201との間の送受信のタイムラグにより多少の誤差が生じるためである。また、厳密に同期されていない場合であっても、アクセス時刻の指定の単位を誤差よりも大きな単位(例えば、分単位で指定)とすれば、アクセス時刻に影響することはない。   The clock unit 11 counts up the current time (device time) of the telephone set (master device) 1 and the time (device-side server time) of the management server 3 acquired by the data control unit 12 described later It is to measure time. The time of the telephone set (master unit) 1 can be confirmed by the display 31 or the like. Also, the user can change at any time. Further, the time of the telephone (master unit) 1 clocked by the clock unit 11 is synchronized so as to be the same time as the telephone (child unit) 201. Note that they do not have to be strictly synchronized. This is because a slight error occurs due to the time lag of transmission and reception between the telephone set (master unit) 1 and the telephone set (child unit) 201. Further, even if the synchronization is not strictly performed, the access time does not affect the access time if the specified unit of the access time is a unit larger than the error (for example, specified in minutes).

データ制御部12は、計時部11が計時しているサーバ時刻を取得し、通信時刻管理テーブル41を参照して、アクセス時刻に管理サーバ3にアクセスし、取得データ、管理サーバ3の時刻(サーバ側サーバ時刻)、および次回アクセス時刻を取得し、通信時刻管理テーブル41を更新する。   The data control unit 12 acquires the server time clocked by the clock unit 11, refers to the communication time management table 41, accesses the management server 3 at the access time, acquires data, time of the management server 3 (server The side server time) and the next access time are acquired, and the communication time management table 41 is updated.

また、データ制御部12は、電話機(親機)1にて時刻修正処理が実行されたときに、通信時刻管理テーブル41を更新する。具体的に、図3(b)を参照して説明する。図3(b)に示すように、通信時刻管理テーブル41にてサーバ時刻「08:30:00」と、端末時刻「10:30:00」と、時間差「02:00:00」とが対応付けられているときに、端末時刻が30分遅くなるように(例えば、8:30から9:00)修正された場合、データ制御部12は、その次に、通信時刻管理テーブル41を更新するときに、サーバ時刻を「09:00:00」、端末時刻を「11:30:00」、時間差を「02:30:00」とする。   Further, the data control unit 12 updates the communication time management table 41 when the time correction process is executed in the telephone set (base unit) 1. Specifically, this will be described with reference to FIG. As shown in FIG. 3B, in the communication time management table 41, the server time "08:30:00", the terminal time "10:30:00", and the time difference "02:00:00" correspond to each other. If the terminal time is corrected to be 30 minutes late (for example, 8:30 to 9:00) when attached, the data control unit 12 updates the communication time management table 41 next. When the server time is "09:00:00", the terminal time is "11:30:00", and the time difference is "02:30:00".

復旧制御部13は、電話機(親機)1が停電などにより電源が切れた、計時部11の計時が停止した状態から、電源が入った状態になったとき、計時部11が計時する時刻の復旧処理を実行する。より詳細には、復旧制御部13は、電源が入った後、内線通信部21を介して電話機(子機)201から、現時点の時刻情報(外部装置時刻)を取得する。そして、取得した時刻情報と通信時刻管理テーブルに格納されている時間差とから、現時点のサーバ時刻を算出する。そして、電話機(子機)201から取得した時刻情報を端末時刻とし、算出したサーバ時刻をサーバ時刻として通信時刻管理テーブル41を更新する。   When the power is turned on after the power of the telephone set (master unit) 1 is turned off due to a power failure or the like, the recovery control unit 13 turns on the power of the time control unit 11 Execute recovery processing. More specifically, after the power is turned on, the recovery control unit 13 acquires current time information (external device time) from the telephone set (child unit) 201 via the extension communication unit 21. Then, the current server time is calculated from the acquired time information and the time difference stored in the communication time management table. Then, the communication time management table 41 is updated with the time information acquired from the telephone set (child machine) 201 as the terminal time and the calculated server time as the server time.

具体的に、図3(c)を参照して説明する。図3(c)に示す例は、端末時刻が「10:30:00」のときに電話機(親機)1の電源が切れた場合を示している。電源が切れた後、電源が入ったときに、復旧制御部13は、電話機(子機)201から現在の時刻を取得し、端末時刻を修正する。図3(c)に示す例では、「11:30:00」に修正している。次に、復旧制御部13は、格納されている時間差「02:00:00」を用いてサーバ時刻を算出する。ここでは、端末時刻「11:30:00」から時間差「02:00:00」を差し引いて「09:30:00」をサーバ時刻として算出し、通信時刻管理テーブル41を更新する。   Specifically, this will be described with reference to FIG. The example shown in FIG. 3C shows the case where the power of the telephone set (base unit) 1 is turned off when the terminal time is "10:30:00". After the power is turned off, when the power is turned on, the recovery control unit 13 acquires the current time from the telephone set (child device) 201 and corrects the terminal time. In the example shown in FIG. 3C, this is corrected to "11:30:00". Next, the recovery control unit 13 calculates the server time using the stored time difference “02:00:00”. Here, the communication time management table 41 is updated by calculating “09:30:00” as the server time by subtracting the time difference “02:00:00” from the terminal time “11:30:00”.

また、復旧制御部13は、算出したサーバ時刻を計時部11に通知し、修正後のサーバ時刻により計時部11が計時を行えるようにする。   Further, the recovery control unit 13 notifies the calculated server time to the clock unit 11 so that the clock unit 11 can perform clocking based on the corrected server time.

なお、復旧制御部13は、電話機(子機)201から現在の時刻を取得できない場合のみ、管理サーバ3から、管理サーバ3の現在時刻を取得し、通信時刻管理テーブル41を更新してもよい。   The recovery control unit 13 may acquire the current time of the management server 3 from the management server 3 and update the communication time management table 41 only when the current time can not be acquired from the telephone set (child device) 201. .

通信部20は、データ制御部12もしくは復旧制御部13からの指示によって、電話機(子機)201もしくは管理サーバ3と通信を行うものであり内線通信部21、外線通信部22を備える。   The communication unit 20 communicates with the telephone set (child unit) 201 or the management server 3 according to an instruction from the data control unit 12 or the recovery control unit 13 and includes an extension communication unit 21 and an outside communication unit 22.

内線通信部21は、内線通信を行うために用いられるものであり、具体的には電話機(子機)201と通信するものである。   The extension communication unit 21 is used to perform extension communication, and more specifically, communicates with the telephone set (child unit) 201.

外線通信部22は、外線通信を行うために用いられるものであり、電話回線網4経由で管理サーバ3や他の電話機1a〜1bと通信するものである。   The outside line communication unit 22 is used to perform outside line communication, and communicates with the management server 3 and the other telephones 1 a to 1 b via the telephone network 4.

(通常時における電話機(親機)1の処理の流れ)
次に、図4を参照して、通常時における電話機(親機)1における処理の流れの一例について説明する。図4は、通常時における電話機(親機)1における処理の流れを示すフローチャートである。なお、本実施形態では、30分ごとに通信時刻管理テーブル41を更新する構成として説明するが、更新間隔は30分に限られるものではなく、30分より短くてもよいし、長くてもよい。
(Flow of processing of the telephone set (base unit 1) at normal times)
Next, with reference to FIG. 4, an example of the flow of processing in the telephone set (base unit) 1 at normal times will be described. FIG. 4 is a flow chart showing the flow of processing in the telephone set (master unit) 1 at normal times. In the present embodiment, the communication time management table 41 is updated every 30 minutes, but the update interval is not limited to 30 minutes, and may be shorter or longer than 30 minutes. .

まず、データ制御部12は、通信時刻管理テーブル41を前回更新した時から30分が経過したかどうかを計時部11の計時を用いて判定する(S1)。前回更新した時から30分が経過していた場合(S1でYES)、データ制御部12は通信時刻管理テーブル41のサーバ時刻、端末設定時刻、時間差をそれぞれ更新する(S2)。端末設定時刻、およびサーバ時刻は計時部11が計時している結果から更新する。また、時間差は、端末時刻とサーバ時刻との差分を算出し更新する。なお、次回アクセス時刻は、前回更新したものをそのまま用いる。   First, the data control unit 12 determines whether 30 minutes have elapsed since the communication time management table 41 was updated last time, using the clocking of the clocking unit 11 (S1). If 30 minutes have elapsed since the previous update (YES in S1), the data control unit 12 updates the server time, the terminal setting time, and the time difference in the communication time management table 41 (S2). The terminal setting time and the server time are updated from the result measured by the clock unit 11. The time difference is updated by calculating the difference between the terminal time and the server time. As the next access time, the one updated last time is used as it is.

その後、計時部11で計時しているサーバ時刻が、通信時刻管理テーブル41に格納されているアクセス時刻になったとき(S3でYES)、データ制御部12は、外線通信部22を介して管理サーバ3へアクセスし、情報(例えば、迷惑電話情報、使用履歴等)をアップロードする(S4)。そして、データ制御部12は、管理サーバ3から、管理サーバ3の現在時刻および次回アクセス時刻を取得し、通信時刻管理テーブル41を更新する(S5)。   Thereafter, when the server time measured by the clock unit 11 comes to the access time stored in the communication time management table 41 (YES in S3), the data control unit 12 manages via the outside line communication unit 22. The server 3 is accessed, and information (for example, nuisance call information, usage history, etc.) is uploaded (S4). Then, the data control unit 12 acquires the current time and the next access time of the management server 3 from the management server 3, and updates the communication time management table 41 (S5).

以上の一連の処理(ステップS1〜ステップS5)は、通常時に繰り返し実行される。これらの処理により、電話機(親機)1は、アクセス時刻として指定された時刻に管理サーバ3へアクセスし、情報の送受信を行うことができる。   The above series of processes (steps S1 to S5) are repeatedly executed at normal times. By these processes, the telephone set (base unit) 1 can access the management server 3 at the time designated as the access time, and can transmit and receive information.

(復旧時における電話機(親機)1の処理の流れ)
次に、図5を参照して、復旧時における電話機(親機)1における処理の流れの一例について説明する。図5は、復旧時における電話機(親機)1における処理の流れを示すフローチャートである。ここで、復旧時とは、電話機(親機)1の電源が切れ、その後、電源が入ったときである。
(Flow of processing of the telephone set (base unit 1) at the time of restoration)
Next, with reference to FIG. 5, an example of the flow of processing in the telephone set (master unit) 1 at the time of restoration will be described. FIG. 5 is a flowchart showing the flow of processing in the telephone set (master unit) 1 at the time of restoration. Here, the recovery time is when the power supply of the telephone set (base device) 1 is turned off and then turned on.

図5に示すように、復旧制御部13は、復旧処理を開始する(S10)。復旧処理の開始については電話機(親機)1の通電を契機としてもよい。次に、復旧制御部13は、電話機(親機)1が電話機(子機)201と通信可能であるかどうかを判定する(S11)。電話機(子機)201と通信可能であった場合(S11でYES)は、以下のステップS12〜ステップS14の処理を実行する。   As shown in FIG. 5, the recovery control unit 13 starts recovery processing (S10). The start of the recovery process may be triggered by energization of the telephone set (master unit) 1. Next, the recovery control unit 13 determines whether the telephone set (master unit) 1 can communicate with the telephone set (child unit) 201 (S11). When communication with the telephone set (child device) 201 is possible (YES in S11), the following processing of step S12 to step S14 is executed.

まず、復旧制御部13は電話機(子機)201より、電話機(子機)201の現在時刻を示す時刻情報を取得する。そして、取得した時刻情報を用いて通信時刻管理テーブル42の端末時刻を更新する(S12、時刻取得ステップ)。次に、復旧制御部13は、更新後の端末時刻、および復旧処理前の時間差を用いてサーバ時刻を算出し(S13)、通信時刻管理テーブル41を更新する(S14、修正ステップ)。   First, the recovery control unit 13 acquires time information indicating the current time of the telephone (child device) 201 from the telephone (child device) 201. Then, the terminal time of the communication time management table 42 is updated using the acquired time information (S12, time acquisition step). Next, the recovery control unit 13 calculates the server time using the updated terminal time and the time difference before recovery processing (S13), and updates the communication time management table 41 (S14, correction step).

一方、電話機(子機)201と通信不能だった場合(S11でNO)、以下のステップS15〜ステップS17の処理を実行する。なお、電話機(子機)201が時刻を保持していない場合も、電話機(子機)201から現在時刻を取得することができないため、以下のステップS15〜ステップS17の処理を実行する。   On the other hand, when communication with the telephone set (child device) 201 is not possible (NO in S11), the processing of the following steps S15 to S17 is executed. Since the current time can not be acquired from the telephone set (child device) 201 even when the telephone set (child device) 201 does not hold the time, the processing of the following steps S15 to S17 is executed.

復旧制御部13は、電話機(子機)201との通信が不能と判定した場合、外線通信部22を介して、管理サーバ3から、管理サーバ3の現在時刻を取得し、通信時刻管理テーブル41を更新する(S15、時刻取得ステップ)。なお、このときの管理サーバ3との通信は通常時の運用では発生しないものであるため、通信回線や管理サーバ3への負荷が最小となるように復旧に必要な最低限の情報、すなわち管理サーバ3の現在時刻のみを受信する。次に、復旧制御部13は、取得した管理サーバ3の現在時刻および、復旧前に通信時刻管理テーブル41に格納されていた時間差から、電話機(親機)1の現在時刻を算出し(S16)、通信時刻管理テーブル41を更新する(S17、修正ステップ)。   If the recovery control unit 13 determines that communication with the telephone set (child unit) 201 is not possible, the recovery control unit 13 acquires the current time of the management server 3 from the management server 3 via the outside line communication unit 22. Are updated (S15, time acquisition step). Since communication with the management server 3 at this time does not occur in normal operation, the minimum information necessary for recovery, that is, management, is minimized so that the load on the communication line and the management server 3 is minimized. Only the current time of the server 3 is received. Next, the recovery control unit 13 calculates the current time of the telephone set (base device) 1 from the acquired current time of the management server 3 and the time difference stored in the communication time management table 41 before recovery (S16) The communication time management table 41 is updated (S17, correction step).

以上のように、電話機(親機)1が何らかの理由で電源が切れた場合であっても、電話機(子機)201は、バッテリーを備えているため、電話機(親機)1と同じ理由で電源が切れてしまうことがない。したがって、電話機(子機)201は、電話機(親機)1の計時が止まっている場合でも、正確に計時している可能性が高い。   As described above, even if the telephone set (master unit) 1 is powered off for any reason, the telephone set (child unit) 201 is provided with a battery, so for the same reason as the telephone set (master unit) 1, There is no risk of the power being turned off. Therefore, there is a high possibility that the telephone set (child unit) 201 is accurately counting even when the time measurement of the telephone set (master unit) 1 is stopped.

そして、本実施形態によれば、電話機(親機)1は、復旧後、正確に計時している電話機(子機)201から時刻情報を取得することができる。また、端末時刻とサーバ時刻との時間差を記憶している。これにより、復旧後の正確なサーバ時刻を算出することができ、適切なアクセス時刻に管理サーバ3にアクセスすることができる。   Then, according to the present embodiment, the telephone set (master unit) 1 can acquire time information from the telephone set (child unit) 201 that is accurately clocking after restoration. Also, the time difference between the terminal time and the server time is stored. As a result, it is possible to calculate an accurate server time after recovery, and to access the management server 3 at an appropriate access time.

また、電話機(親機)1は、バッテリーを備えないことにより、低価格で実現することができる。   Further, the telephone set (master unit) 1 can be realized at a low price by not including the battery.

また、本実施形態に係る情報管理システム100において、電話機(親機)1から管理サーバ3へのアクセスは、1日1回、指摘された時刻(アクセス時刻)となっている。これにより、多数の電話機1が同時に管理サーバ3にアクセスすることにより、管理サーバ3の処理負荷が増大したり、管理サーバ3と電話機(親機)1との間の通信回線が混雑することを防止することができる。   Further, in the information management system 100 according to the present embodiment, the access from the telephone set (base unit) 1 to the management server 3 is the indicated time (access time) once a day. As a result, the processing load on the management server 3 may be increased or the communication line between the management server 3 and the telephone set (master unit) 1 may be congested due to the large number of telephone sets 1 simultaneously accessing the management server 3. It can be prevented.

また、アクセス時刻の指定は、時間のみとなっているため、仮に、アクセス時刻に電話機(親機)1から管理サーバ3にアクセスができなかった場合、次の日の同じ時刻に、電話機(親機)1から管理サーバ3にアクセスされることになる。これにより、電話機(親機)1から管理サーバ3にアクセスができなかった場合に、電話機(親機)1がむやみに管理サーバ3にアクセスしてしまうことを防止することができる。   In addition, since the access time is specified only for the time, if it is not possible to access the management server 3 from the telephone (parent device) 1 at the access time, the telephone (parent Machine 1) accesses the management server 3. This makes it possible to prevent the telephone set (base unit) 1 from inadvertently accessing the management server 3 when the telephone set (base unit) 1 can not access the management server 3.

〔実施形態2〕
上述した実施形態では、電話機(親機)1から管理サーバ3にアクセスし、その結果、取得したサーバ時刻、およびアクセス時間を用いて、通信時刻管理テーブル41を更新していた。本実施形態では、管理サーバ3から取得したサーバ時刻を、通信時刻管理テーブル41に格納されている時間差を用いて修正の上、通信時刻管理テーブル41を更新する。
Second Embodiment
In the embodiment described above, the management server 3 is accessed from the telephone set (parent device) 1, and as a result, the communication time management table 41 is updated using the acquired server time and access time. In the present embodiment, the communication time management table 41 is updated after the server time acquired from the management server 3 is corrected using the time difference stored in the communication time management table 41.

電話機(親機)1が管理サーバ3から取得したサーバ時刻は、電話機(親機)1が取得した時点では、実際の管理サーバ3の時刻とは異なっている可能性がある。管理サーバ3と電話機(親機)1との間の通信経路等により遅延する可能性があるためである。   The server time acquired by the telephone set (master unit) 1 from the management server 3 may be different from the actual time of the management server 3 when the telephone set (master unit) 1 acquires it. This is because there is a possibility of delay due to a communication path between the management server 3 and the telephone set (base unit) 1 or the like.

そこで、本実施形態では、管理サーバ3から取得したサーバ時刻を、通信時刻管理テーブルに格納されている、端末時刻および時間差を用いて修正する。そして、修正後のサーバ時刻を用いて通信時刻管理テーブルを更新する。これにより、通信経路等により遅延してサーバ時刻が電話機(親機)1に届いた場合であっても、正確なサーバ時刻により通信時刻管理テーブル41を更新することができる。   Therefore, in the present embodiment, the server time acquired from the management server 3 is corrected using the terminal time and the time difference stored in the communication time management table. Then, the communication time management table is updated using the corrected server time. As a result, even if the server time arrives at the telephone set (base unit) 1 delayed by the communication path or the like, the communication time management table 41 can be updated with the correct server time.

〔実施形態3〕(ソフトウェアによる実現例)
電話機(親機)1の制御ブロック(特に計時部11、データ制御部12、および復旧制御部13の各ブロック)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
Third Embodiment (Example of Implementation by Software)
The control block of the telephone set (master unit) (in particular, each block of the clock unit 11, the data control unit 12, and the recovery control unit 13) is realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like. It may be realized by software using a CPU (Central Processing Unit).

後者の場合、電話機(親機)1は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。   In the latter case, the telephone set (master unit) 1 is a CPU that executes instructions of a program that is software that implements each function, and a ROM (Read Only) in which the above program and various data are readable by a computer (or CPU). Memory or storage device (these are referred to as "recording media"), and RAM (Random Access Memory) for developing the program. The object of the present invention is achieved by the computer (or CPU) reading the program from the recording medium and executing the program. As the recording medium, a “non-transitory tangible medium”, for example, a tape, a disk, a card, a semiconductor memory, a programmable logic circuit or the like can be used. The program may be supplied to the computer via any transmission medium (communication network, broadcast wave, etc.) capable of transmitting the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

〔まとめ〕
本発明の態様1に係る通信装置(電話機(親機)1)は、外部サーバ(管理サーバ3)と通信する通信装置であって、上記外部サーバの現在時刻と考えられる時刻である装置側サーバ時刻を計時するとともに、自装置の現在時刻である装置時刻を計時する計時部(11)と、上記計時部(11)が停止し、その後、復旧した場合、上記外部サーバとは異なる外部装置(電話機(子機)201)から外部装置時刻を取得する時刻取得部(復旧制御部13)と、上記時刻取得部が取得した上記外部装置時刻、および、上記計時部が停止する前の上記装置側サーバ時刻と上記装置時刻との関係から上記計時部が計時する上記装置側サーバ時刻を修正する修正部(復旧制御部13)と、を備えている。
[Summary]
A communication device (telephone (master device) 1) according to aspect 1 of the present invention is a communication device that communicates with an external server (management server 3), and is an apparatus side server at a time considered to be the current time of the external server. An external device different from the external server (when the timekeeping unit (11) for measuring the device time, which is the current time of the own device, measures the time, and the timekeeping unit (11) stops and then recovers) Time acquisition unit (restoration control unit 13) for acquiring external device time from telephone (child unit) 201, the external device time acquired by the time acquisition unit, and the device side before the timer unit stops And a correction unit (recovery control unit 13) that corrects the device-side server time clocked by the clock unit from the relationship between the server time and the device time.

上記の構成によれば、例えば、停電等により電源が落ち、計時が止まった場合であっても、復旧後に、装置側サーバ時刻を適切な時刻に修正することができる。これにより、装置側サーバ時刻に基づいて実行する処理(例えば、外部サーバへのアクセス処理)を適切な時刻に実行させることができる。   According to the above configuration, for example, even when the power is turned off due to a power failure or the like, and the clocking is stopped, the device-side server time can be corrected to an appropriate time after restoration. Thereby, processing (for example, access processing to an external server) to be executed based on the device-side server time can be performed at an appropriate time.

本発明の態様2に係る通信装置は、上記態様1において、上記外部サーバにアクセスする時刻であるアクセス時刻を記憶するアクセス時刻記憶部(記憶部40)と、上記計時部が計時する上記装置側サーバ時刻が、上記アクセス時刻記憶部に記憶された上記アクセス時刻になったとき、上記外部サーバにアクセスするサーバ情報取得部(データ制御部12)と、と備えているものであってもよい。   In the communication device according to aspect 2 of the present invention, in the above aspect 1, an access time storage unit (storage unit 40) that stores an access time that is a time to access the external server; The server information acquisition unit (data control unit 12) may access the external server when the server time reaches the access time stored in the access time storage unit.

上記の構成によれば、外部サーバの時刻を示していると考えられる装置側サーバ時刻がアクセス時刻になったときに外部サーバにアクセスするので、外部サーバが認識している時刻に基づいてアクセスすることができる。   According to the above configuration, the external server is accessed when the device-side server time considered to indicate the time of the external server reaches the access time, so access is performed based on the time recognized by the external server be able to.

本発明の態様3に係る通信装置は、上記態様2において、上記サーバ情報取得部は、上記修正部による修正後の上記装置側サーバ時刻が上記アクセス時刻となったとき、上記外部サーバにアクセスし情報を取得するものであってもよい。   In the communication device according to aspect 3 of the present invention, in the above aspect 2, the server information acquisition unit accesses the external server when the device-side server time after correction by the correction unit becomes the access time. Information may be acquired.

上記の構成によれば、修正後の装置側サーバ時刻がアクセス時刻になったときに外部サーバにアクセスし、情報を取得するので、適切な時刻に外部サーバにアクセスし、情報を取得することができる。   According to the above configuration, the external server is accessed and information is acquired when the corrected apparatus-side server time reaches the access time, so that the external server can be accessed at an appropriate time to acquire the information. it can.

本発明の態様4に係る通信装置は、上記態様1〜3のいずれかにおいて、自装置は親子電話の親機であり、上記外部装置は、上記親子電話の子機であり、充電池を備え、上記外部装置時刻として、上記外部装置の現在時刻を上記親機へ送信するものであってもよい。   In the communication apparatus according to aspect 4 of the present invention, in any of the above aspects 1 to 3, the own apparatus is a master of parent and child telephones, the external apparatus is a slave of parent and child telephones, and includes a rechargeable battery. The current time of the external device may be transmitted to the parent device as the external device time.

子機は充電池を備えており、子機自身の現在時刻を正確に計時し続けている可能性が高い。そして、上記の構成によれば、現在時刻を正確に計時し続けている子機から該子機の装置時刻を取得することができるので、現在の装置時刻を正確に認識することができる。   The handset is equipped with a rechargeable battery, and it is highly likely that it continues to accurately measure the current time of the handset. Then, according to the above configuration, since the device time of the child device can be acquired from the child device which continues to accurately measure the current time, the current device time can be accurately recognized.

本発明の態様5に係る通信装置は、上記態様1〜4のいずれかにおいて、上記時刻取得部は、上記外部装置から外部装置時刻を取得できない場合、上記外部サーバから現在のサーバ側サーバ時刻を取得し、上記修正部は、上記サーバ側サーバ時刻に基づき、上記計時部が計時する上記装置側サーバ時刻を修正するものであってもよい。   In the communication device according to aspect 5 of the present invention, in any of the above aspects 1 to 4, when the external device time can not be acquired from the external device, the time acquisition unit receives the current server side server time from the external server. The acquiring unit may be configured to correct the device-side server time clocked by the clock unit based on the server-side server time.

上記の構成によれば、外部装置から外部装置時刻を取得できない場合、外部サーバからサーバ側サーバ時刻を取得するので、確実に装置側サーバ時刻を修正することができる。また、停電のたびに外部サーバからサーバ側サーバ時刻を取得することを必要としないので、外部サーバとの通信がむやみに増えて、外部サーバの処理負荷を増大させたり、外部サーバと自装置のとの間の通信回線を混雑させてしまうことを防止することができる。   According to the above configuration, when the external device time can not be acquired from the external device, the server side server time is acquired from the external server, so that the device side server time can be corrected with certainty. In addition, since it is not necessary to acquire the server side server time from the external server each time a power failure occurs, communication with the external server increases unavoidably, increasing the processing load of the external server, or increasing the processing load of the external server It is possible to prevent the communication line between them from being crowded.

本発明の態様6に係る通信装置は、上記態様1〜5のいずれかにおいて、所定の時間ごとに、上記装置側サーバ時刻と上記装置時刻、または、上記装置側サーバ時刻と上記装置時刻との差分を格納する記憶部を備えているものであってもよい。   In the communication apparatus according to aspect 6 of the present invention, the apparatus-side server time and the apparatus time, or the apparatus-side server time and the apparatus time may be set every predetermined time in any one of the aspects 1 to 5 A storage unit that stores the difference may be provided.

上記の構成によれば、自装置に、装置側サーバ時刻と装置時刻、または、装置側サーバ時刻と装置時刻との差分を格納しておくことができる。また、所定の時間ごとに差分、または差分を算出可能な時刻を格納しているので、停電等により計時部の計時が止まった場合でも、止まる前の直近の差分を用いて、装置側サーバ時刻の修正を行うことができる。   According to the above configuration, the device-side server time and the device time, or the difference between the device-side server time and the device time can be stored in the own device. Also, since the difference or the time at which the difference can be calculated is stored for each predetermined time, even when the timekeeping unit stops due to a power failure or the like, the device-side server time is used using the latest difference before the stop. Corrections can be made.

本発明の態様7に係る通信装置の制御方法は、外部サーバと通信する通信装置の制御方法であって、上記通信装置は、上記外部サーバの現在時刻と考えられる時刻である装置側サーバ時刻を計時するとともに、自装置の現在時刻である装置時刻を計時する計時部を備えており、上記計時部が停止し、その後、復旧した場合、上記外部サーバとは異なる外部装置から外部装置時刻を取得する時刻取得ステップ(S12、S15)と、上記時刻取得ステップで取得した上記外部装置時刻、および、上記計時部が停止する前の上記装置側サーバ時刻と上記装置時刻との関係から上記計時部が計時する上記装置側サーバ時刻を修正する修正ステップ(S14、S17)と、を含む。上記の構成によれば、上記態様1と同様の効果を奏する。   A control method of a communication apparatus according to a seventh aspect of the present invention is a control method of a communication apparatus for communicating with an external server, and the communication apparatus determines an apparatus-side server time that is considered as the current time of the external server. It has a clock unit that clocks the device time, which is the current time of the device itself, and when the clock unit stops and then recovers, acquires the external device time from an external device different from the external server. Timekeeping step (S12, S15), the external device time acquired in the time acquisition step, and the relationship between the device-side server time before the timekeeping unit stops and the device time And correcting the device-side server time to be measured (S14, S17). According to the above-mentioned composition, the same effect as the above-mentioned mode 1 is produced.

本発明の各態様に係る通信端末は、コンピュータによって実現してもよく、この場合には、コンピュータを上記通信端末が備える各部(ソフトウェア要素)として動作させることにより上記通信端末をコンピュータにて実現させる通信端末の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。   The communication terminal according to each aspect of the present invention may be realized by a computer. In this case, the communication terminal is realized by the computer by causing the computer to operate as each unit (software element) included in the communication terminal. A control program of a communication terminal and a computer readable recording medium recording the same also fall within the scope of the present invention.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims, and embodiments obtained by appropriately combining the technical means disclosed in the different embodiments. Is also included in the technical scope of the present invention. Furthermore, new technical features can be formed by combining the technical means disclosed in each embodiment.

1、1a〜1c 電話機(親機)(通信装置)
3 管理サーバ(外部サーバ)
11 計時部
12 データ制御部(サーバ情報取得部)
13 復旧制御部(時刻取得部、修正部)
40 記憶部(アクセス時刻記憶部)
201a〜c 電話機(子機)(外部装置)
1, 1a to 1c Telephone (master unit) (communication device)
3 Management server (external server)
11 clock unit 12 data control unit (server information acquisition unit)
13 Recovery control unit (time acquisition unit, correction unit)
40 storage unit (access time storage unit)
201a-c Telephone set (child unit) (external device)

Claims (7)

外部サーバと通信する通信装置であって、
上記外部サーバの現在時刻と考えられる時刻である装置側サーバ時刻を計時するとともに、自装置の現在時刻である装置時刻を計時する計時部と、
上記計時部が停止し、その後、復旧した場合、上記外部サーバとは異なる外部装置から外部装置時刻を取得する時刻取得部と、
上記時刻取得部が取得した上記外部装置時刻、および、上記計時部が停止する前の上記装置側サーバ時刻と上記装置時刻との関係から上記計時部が計時する上記装置側サーバ時刻を修正する修正部と、を備えていることを特徴とする通信装置。
A communication device for communicating with an external server,
A clock unit that clocks an apparatus-side server time that is considered to be the current time of the external server and that counts the apparatus time that is the current time of the own apparatus,
A time acquisition unit that acquires an external device time from an external device different from the external server when the clock unit stops and then recovers;
A correction to correct the device-side server time clocked by the clock unit from the relationship between the external device time acquired by the time acquisition unit, the device-side server time before the clock unit stops and the device time A communication apparatus comprising:
上記外部サーバにアクセスする時刻であるアクセス時刻を記憶するアクセス時刻記憶部と、
上記計時部が計時する上記装置側サーバ時刻が、上記アクセス時刻記憶部に記憶された上記アクセス時刻になったとき、上記外部サーバにアクセスするサーバ情報取得部と、と備えていることを特徴とする請求項1に記載の通信装置。
An access time storage unit that stores an access time that is a time to access the external server;
And a server information acquisition unit that accesses the external server when the device-side server time clocked by the clock unit reaches the access time stored in the access time storage unit. The communication device according to claim 1.
上記サーバ情報取得部は、上記修正部による修正後の上記装置側サーバ時刻が上記アクセス時刻となったとき、上記外部サーバにアクセスし情報を取得することを特徴とする請求項2に記載の通信装置。   The communication according to claim 2, wherein the server information acquisition unit accesses the external server and acquires information when the device-side server time corrected by the correction unit becomes the access time. apparatus. 自装置は親子電話の親機であり、
上記外部装置は、上記親子電話の子機であり、充電池を備え、上記外部装置時刻として、上記外部装置の現在時刻を上記親機へ送信することを特徴とする請求項1〜3のいずれか1項に記載の通信装置。
Own device is the parent of parent-child phone,
4. The external device according to any one of claims 1 to 3, wherein the external device is a slave device of the parent-child telephone, includes a rechargeable battery, and transmits the current time of the external device to the master device as the external device time. The communication device according to claim 1.
上記時刻取得部は、上記外部装置から外部装置時刻を取得できない場合、上記外部サーバから現在のサーバ側サーバ時刻を取得し、
上記修正部は、上記サーバ側サーバ時刻に基づき、上記計時部が計時する上記装置側サーバ時刻を修正することを特徴とする請求項1〜4のいずれか1項に記載の通信装置。
When the external device time can not be acquired from the external device, the time acquisition unit acquires the current server-side server time from the external server,
The communication apparatus according to any one of claims 1 to 4, wherein the correction unit corrects the apparatus-side server time clocked by the clock unit based on the server-side server time.
所定の時間ごとに、上記装置側サーバ時刻と上記装置時刻、または、上記装置側サーバ時刻と上記装置時刻との差分を格納する記憶部を備えていることを特徴とする請求項1〜5のいずれか1項に記載の通信装置。   6. A storage unit for storing the device-side server time and the device time, or the difference between the device-side server time and the device time, at predetermined time intervals. The communication device according to any one of the items. 外部サーバと通信する通信装置の制御方法であって、
上記通信装置は、上記外部サーバの現在時刻と考えられる時刻である装置側サーバ時刻を計時するとともに、自装置の現在時刻である装置時刻を計時する計時部を備えており、
上記計時部が停止し、その後、復旧した場合、上記外部サーバとは異なる外部装置から外部装置時刻を取得する時刻取得ステップと、
上記時刻取得ステップで取得した上記外部装置時刻、および、上記計時部が停止する前の上記装置側サーバ時刻と上記装置時刻との関係から上記計時部が計時する上記装置側サーバ時刻を修正する修正ステップと、を含むことを特徴とする通信装置の制御方法。
A control method of a communication device for communicating with an external server, comprising:
The communication device is provided with a clock unit that clocks device-side server time, which is a time considered to be the current time of the external server, and counts device time, which is the current time of the own device.
A time acquisition step of acquiring an external device time from an external device different from the external server, when the time counting unit is stopped and then restored;
A correction to correct the device-side server time clocked by the clock unit from the relationship between the external device time acquired in the time acquisition step and the device-side server time before the clock unit stops and the device time A method of controlling a communication apparatus, comprising the steps of:
JP2015165144A 2015-08-24 2015-08-24 Communication device, control method of communication device, control program Active JP6523103B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015165144A JP6523103B2 (en) 2015-08-24 2015-08-24 Communication device, control method of communication device, control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015165144A JP6523103B2 (en) 2015-08-24 2015-08-24 Communication device, control method of communication device, control program

Publications (2)

Publication Number Publication Date
JP2017046071A JP2017046071A (en) 2017-03-02
JP6523103B2 true JP6523103B2 (en) 2019-05-29

Family

ID=58210128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015165144A Active JP6523103B2 (en) 2015-08-24 2015-08-24 Communication device, control method of communication device, control program

Country Status (1)

Country Link
JP (1) JP6523103B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7251453B2 (en) * 2019-11-22 2023-04-04 トヨタ自動車株式会社 Communication system and control method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100350506B1 (en) * 2000-12-29 2002-08-29 삼성전자 주식회사 Time information management method and system for embed system
JP2003248076A (en) * 2002-02-27 2003-09-05 Konica Corp Image forming apparatus
JP2010016709A (en) * 2008-07-04 2010-01-21 Pioneer Electronic Corp Time setting system
JP5594981B2 (en) * 2009-05-20 2014-09-24 コニカミノルタ株式会社 Image data transmitting apparatus, image data transmitting method, and computer program
JP2011214937A (en) * 2010-03-31 2011-10-27 Sogo Keibi Hosho Co Ltd Program and apparatus
JP2014134459A (en) * 2013-01-10 2014-07-24 Brother Ind Ltd Information processor

Also Published As

Publication number Publication date
JP2017046071A (en) 2017-03-02

Similar Documents

Publication Publication Date Title
CN103997779B (en) Information synchronization system and information synchronization method
CN104917581B (en) Bearing calibration, device, terminal and the router of system time
EP3082352B1 (en) Status information update method and mobile terminal
EP3634037B1 (en) Communication method, wearable device, server and system
US10423379B2 (en) Method and device for screen-off display
CN103905442B (en) Awakening method and device in a kind of data syn-chronization
CN105991824A (en) Alarm clock prompting apparatus and method
JP2016162399A (en) User attribute estimation device, user attribute estimation system, portable terminal, and user attribute estimation method
US11307537B2 (en) Communication device, communication method, communication system, electronic watch, and program
WO2000038338A1 (en) Real time clock system and method
JP6523103B2 (en) Communication device, control method of communication device, control program
CN106412884A (en) WIFI connection management method and apparatus thereof
US20160381492A1 (en) Communication system, communication terminal, server, communication method, recording medium, information query method and information specifying method
CN112323343B (en) Laundry reminder method, device, electronic device and storage medium
CN201286110Y (en) Electronic photo frame service system, service processing apparatus and electronic photo frame
CN110650259A (en) Method, device, server, terminal and storage medium for responding to call request
CN109196885B (en) E-mail synchronization method and device
US11272356B2 (en) Nomination of a primary cell phone from a pool of cell phones
JP2014099757A (en) Management device, communication system, service management method and program
JP6644543B2 (en) Telephone, portable communication terminal, communication system, telephone control method
CN103974416A (en) Method, device and system for acquiring position information of mobile terminal
JP2009250729A (en) Alarm device, alarm method, alarm control program, and portable terminal device
JP2014044599A (en) Time recording terminal, time recording method, and time recording system
WO2021244548A1 (en) Instant message processing method and device
CN111726450A (en) Control method of intelligent express cabinet and intelligent express cabinet

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190322

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190402

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190425

R150 Certificate of patent or registration of utility model

Ref document number: 6523103

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150