Remote control system
By using the timeliness of challenge data and response data and message authentication codes in the remote control system, the problem of illegal remote control caused by malware infection of user information terminals is solved, the security of external devices is improved, and delayed transmission and man-in-the-middle attacks are prevented. .
Patent Information
- Application Number
- CN202080012216.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-02-12
- Filing Date
- 2020-02-03
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-02-03
AI Technical Summary
After a user's information terminal is infected with malware, the malware may be used to illegally delay sending remote control commands, leading to illegal control of external devices, posing security risks.
A remote control system is designed to ensure the timeliness and integrity of data by sending challenge data and response data between the controlled device (such as a courier box) and the user terminal, using predetermined thresholds and message authentication codes to prevent Delayed delivery and man-in-the-middle attacks.
It improves the security of remote control of external devices by user information terminals, prevents illegal unlocking and data tampering, and enhances system security and user trust.
Smart Images

Figure CN113396413B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to data processing technology, and more particularly to technology for remotely controlling a target device. Background Art
[0002] In a multi-family housing complex, a delivery box is sometimes provided to temporarily store parcels delivered to residents. Patent Document 1 below proposes a system that uses a mobile phone of a user of a delivery box to authenticate and unlock the delivery box.
[0003] [Prior art literature]
[0004] [Patent Document]
[0005] Patent Document 1: Japanese Patent Application Publication No. 2013-142916 Summary of the invention
[0006] [Problems to be solved by the invention]
[0007] In recent years, malware has emerged that causes information terminals such as smartphones to perform illegal operations, and sometimes users' information terminals are infected with malware without noticing. In such a situation, it is required to ensure security when using the user's information terminal to remotely control external devices.
[0008] The present disclosure has been made in view of such circumstances, and one object of the present disclosure is to provide a technology for improving security when an external device is remotely controlled using a user's information terminal.
[0009] [Technical solutions for solving technical problems]
[0010] In order to solve the above-mentioned problems, a remote control system of a scheme of the present invention comprises: a controlled device as an object of remote control; and a movable communication terminal for wireless communication with the controlled device. When the controlled device accepts remote control, it sends first data to the communication terminal, and as a response to the first data, the communication terminal sends second data containing the content of remote control to the controlled device, and when the time from sending the first data to receiving the second data is less than a predetermined threshold, the controlled device performs processing corresponding to the content of remote control contained in the second data.
[0011] Furthermore, any combination of the above-described constituting elements and any form of expression of the present disclosure in the form of a device, a method, a computer program, a recording medium storing the computer program, and the like may also be practiced as additional forms of the present disclosure.
[0012] [Effects of the invention]
[0013] According to the present disclosure, it is possible to improve security when remotely controlling an external device using a user's information terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a diagram showing an example of the operation of unlocking a delivery box (normal situation).
[0015] Figure 2 This is a diagram showing an example of the operation of unlocking a courier box (during an attack).
[0016] Figure 3 It is a diagram showing the structure of the remote control system according to the first embodiment.
[0017] Figure 4 This is a block diagram showing the functional blocks of the express box according to the first embodiment.
[0018] Figure 5 This is a block diagram showing the functional blocks of the user terminal according to the first embodiment.
[0019] Figure 6 This is a block diagram showing the functional blocks of the server according to the first embodiment.
[0020] Figure 7 This is a diagram showing the operation of each device in the remote control system according to the first embodiment.
[0021] Figure 8 This is a block diagram showing the functional blocks of the express box according to the second embodiment.
[0022] Fig. 9 This is a block diagram showing the functional blocks of the user terminal according to the second embodiment.
[0023] Fig.10 This is a block diagram showing the functional blocks of the server according to the second embodiment.
[0024] Fig.11 This is a diagram showing the operation of each device in the remote control system according to the second embodiment. DETAILED DESCRIPTION
[0025] The main body of the apparatus or method disclosed in the present invention includes a computer. The function of the main body of the apparatus or method disclosed in the present invention is realized by executing a program on the computer. The computer has a processor that acts according to the program as the main hardware structure. The processor can realize the function by executing the program, and its type is not limited. The processor is composed of one or more electronic circuits including a semiconductor integrated circuit (IC) or LSI (large scale integration). Here, it is called IC or LSI, but the method of naming varies according to the degree of integration, and it can also be an integrated circuit called system LSI, VLSI (very large scale integration) or USLI (ultra large scale integration). A field programmable gate array (FPGA) programmed after LSI manufacturing, or a reconfigurable logic device that can reconstruct the bonding relationship inside LSI or set the circuit division inside LSI can also be used for the same purpose. Multiple electronic circuits can be integrated into one chip or provided in multiple chips. Multiple chips can be integrated into one device or provided in multiple devices. The program is recorded on a non-temporary recording medium such as a computer-readable ROM, optical disk, hard disk drive, etc. The program may be stored in advance in a recording medium, or may be provided to the recording medium via a wide area communication network including the Internet.
[0026] First, an overview of the embodiment will be described. Figure 1 This is an example of how to unlock a courier box (normally). When unlocking the courier box, the server sends a Nonce and control data (commands, etc.) for unlocking to the user terminal (smartphone, etc.). Nonce is a random value that is used only once and is a countermeasure against replay attacks. The user terminal forwards the Nonce and control data for unlocking to the courier box. The courier box unlocks the electronic lock of the door based on the control data.
[0027] Figure 2 This is an example of how to unlock the delivery box (when attacking). Figure 2 An example of a man-in-the-middle attack is shown. In this case, the user terminal is infected with malware, and the control data is transferred to the attacker terminal by the malware. If the attacker confirms that the user has left the express box because it is not unlocked, the attacker sends the Nonce and control data from the attacker terminal to the express box to unlock the express box. As a result, the items in the express box are illegally obtained by the attacker.
[0028] As such, in user terminals such as smartphones, there are vulnerabilities in the OS or wireless communications. Therefore, there is a concern that attackers may exploit the vulnerabilities of user terminals to infect them with malware and seize control of the user terminals, delay resending control data for the remotely controlled object device, and illegally operate the object device. Therefore, in an embodiment, a remote control system is proposed, which introduces a mechanism to defend against attacks caused by delayed resending for remote control of an object device (in the embodiment, a courier box) via a user terminal.
[0029] Figure 3 1 shows the structure of the remote control system 10 of the first embodiment. The remote control system 10 includes: a courier box 12a, a courier box 12b, a courier box 12c (collectively referred to as "courier boxes 12"), a user terminal 14, and a server 16. The remote control system 10 can also be said to be a communication system or an information processing system, and uses the user terminal 14 to achieve secure remote control of the courier box 12.
[0030] The courier box 12 can also be said to be a controlled device that is the object of remote control. The user terminal 14 is a mobile communication terminal operated by the user of the courier box, and the user in the embodiment is the user who takes out the goods from the courier box. The user terminal 14 can be a smart phone or a tablet terminal, and wirelessly communicates with the courier box 12. The server 16 is an information processing device located on the cloud. The server 16 can also be said to be an information aggregation device that centrally executes the control of multiple courier boxes 12.
[0031] The user terminal 14 is connected to the courier box 12 via a short-range communication network 18. On the other hand, the user terminal 14 is connected to the server 16 via a wide-area communication network 20. The short-range communication network 18 includes short-range wireless communication, which is Bluetooth Low Energy ("Bluetooth" is a registered trademark) (hereinafter also referred to as "BLE") in the embodiment. The wide-area communication network 20 includes wide-area wireless communication, and may also include, for example, a 4th generation mobile communication system or the Internet.
[0032] Figure 4 This is a block diagram showing the functional blocks of the courier box 12 of the first embodiment. Each module shown in the block diagram of the present disclosure can be implemented in hardware by components or mechanical devices represented by a CPU / memory of a computer, and in software by a computer program, etc. Here, the functional blocks implemented by their cooperation are depicted. It should be understood by those skilled in the art that these functional blocks can be implemented in various forms by a combination of hardware and software.
[0033] The express box 12 includes: an operation unit 30, a communication unit 32, a power supply unit 34, a door unit 36, an electronic lock 38, a MAC key storage unit 40, and a control unit 42. In the embodiment, the plurality of express boxes 12 are respectively provided with Figure 4 As a modification, at least a part of the plurality of functional blocks (eg, the operation unit 30 , the power supply unit 34 , etc.) may also be shared by a plurality of courier boxes 12 .
[0034] The door portion 36 is an openable door provided at the cargo removal port of the express box. The electronic lock 38 is a lock of the door portion 36 that can electrically switch between a locked state and an unlocked state. The power supply portion 34 supplies power to each part of the express box 12. The power supply portion 34 of the embodiment is a battery-type power supply. When the state is transferred to the suspended state (in other words, the sleep state) by the sleep control portion described later, the power supply portion 34 suppresses the supply of power compared to normal. For example, the power supply portion 34 suppresses the supply of power to the communication portion 32 in the suspended state.
[0035] The operation unit 30 is a component that inputs operations performed by the user, for example, a button provided on the housing of the courier box 12. In the embodiment, a prescribed operation for unlocking the electronic lock 38 (which can also be said to be a prescribed operation for instructing acceptance of remote control, hereinafter also referred to as "unlocking process start operation") is input to the operation unit 30. For example, the unlocking process start operation may also be an operation of pressing a prescribed button as the operation unit 30. If the unlocking process start operation is input, the control unit 42 described later performs data processing and communication processing for accepting remote control for instructing unlocking of the electronic lock 38.
[0036] The communication unit 32 communicates with an external device using a predetermined communication protocol (BLE in the embodiment). The control unit 42 described later transmits and receives data with the user terminal 14 via the communication unit 32. The communication unit 32 is driven by power supplied from the power supply unit 34 (a battery in the embodiment). The communication unit 32 has a normal state and a suspended state. In the suspended state, the communication function is limited (for example, stopped) to suppress the amount of power used.
[0037] The MAC key storage unit 40 stores a key (hereinafter also referred to as a “MAC key”) for generating a code (hereinafter also referred to as a “MAC”) for message authentication. In addition, the server 16 may store the same MAC key as the MAC key stored in the MAC key storage unit 40 .
[0038] The control unit 42 performs various data processing for receiving secure remote control. The control unit 42 includes: an operation detection unit 44, a sleep control unit 46, a challenge setting unit 48, a challenge sending unit 50, a response receiving unit 52, an authentication unit 54, and an unlocking unit 56. The computer program that realizes the functions of these multiple functional blocks can also be installed in the storage area (recording medium) of the express box 12. The CPU of the express box 12 can also perform the functions of each functional block by reading the above-mentioned computer program into the main memory and executing it.
[0039] The operation detection unit 44 detects the unlocking process start operation when it is input to the operation unit 30. The sleep control unit 46 reduces the power consumption by transferring the communication unit 32 to the suspended state when a series of processes receiving remote operations, in the embodiment, a series of processes involving unlocking the electronic lock 38 are completed. In addition, when the sleep control unit 46 detects the input of the unlocking process start operation, it restores the communication unit 32 from the suspended state to the normal state and starts wireless communication.
[0040] When the unlocking process start operation is detected, the challenge setting unit 48 sets the first data (hereinafter also referred to as "challenge data") including a random value (also referred to as a challenge) generated by a specified Nonce generator. The challenge data includes: (1) Nonce, (2) random value, and (3) MAC. The challenge setting unit 48 generates a MAC based on the MAC key stored in the MAC key storage unit 40 (i.e., the MAC key shared with the server 16) and the above-mentioned random value. The challenge sending unit 50 sends the challenge data set by the challenge setting unit 48 to the user terminal 14. In the embodiment, a random value is set in the challenge data, but as a variation, the challenge setting unit 48 may also set data having a unique value such as a count value that is different from the random value and is different each time it is generated in the challenge data.
[0041] The response receiving unit 52 receives the second data as a response to the challenge data, that is, the response data sent from the user terminal 14. The response data includes: (1) Nonce, (2) random value, (3) control data, and (4) MAC. The random value of the response data is a value obtained by converting the random value of the challenge data according to a rule predetermined between the express box 12 and the server 16, and can also be said to be a verification value verified by the express box 12. In the embodiment, it is set to a value obtained by adding "1" to the random value of the challenge data. As a variation, the rule predetermined between the express box 12 and the server 16 can also be a specific arithmetic operation performed on a specific value.
[0042] The control data of the response data includes the content of remote control (in other words, remote operation) of the express box 12. The control data in the embodiment includes data indicating unlocking of the electronic lock 38. The MAC of the response data is a MAC generated by the server 16 based on the MAC key stored in the server 16 (i.e., the MAC key shared with the express box 12), the random value, and the control data.
[0043] The authentication unit 54 performs authentication processing based on the response data received by the response receiving unit 52 to determine whether the response data is legitimate. When the authentication unit 54 determines that the response data is legitimate, the courier box 12 performs processing corresponding to the content of the remote control included in the response data. In the embodiment, as processing corresponding to the content of the remote control, the unlocking unit 56 unlocks the electronic lock 38 according to the control data included in the response data.
[0044] The processing of the authentication unit 54 is described in detail. The authentication unit 54 measures the time elapsed from sending the challenge data to receiving the response data (hereinafter also referred to as "response time"). The authentication unit 54 determines that the first condition is satisfied when the response time is less than a predetermined threshold value (also referred to as an upper limit response time, for example, 20 seconds). The above threshold value can be determined as an appropriate value based on the knowledge of the developer of the remote control system 10 and experiments using the remote control system 10 (including actual communication).
[0045] In addition, the authentication unit 54 confirms whether the random value included in the response data corresponds to the random value included in the challenge data. In other words, the authentication unit 54 confirms whether the random value included in the response data is consistent with the value obtained by converting the random value included in the challenge data according to a predetermined rule. In the embodiment, the authentication unit 54 stores the random value included in the challenge data sent by the challenge sending unit 50, and confirms whether the random value included in the response data is the random value included in the challenge data + 1. When the random value included in the response data corresponds to the random value included in the challenge data, the authentication unit 54 determines that the second condition is satisfied.
[0046] In addition, the authentication unit 54 confirms whether the message authentication using the MAC included in the response data is successful. Specifically, the MAC is generated based on the MAC key stored in the MAC key storage unit 40, the random value included in the response data, and the control data. When the generated MAC is consistent with the MAC included in the response data, the message authentication is determined to be successful. When the message authentication is successful, the authentication unit 54 determines that the third condition is satisfied. When the first condition, the second condition, and the third condition are all satisfied, the authentication unit 54 determines that the response data is legitimate data. On the other hand, when at least one of the first condition, the second condition, and the third condition is not satisfied, the authentication unit 54 determines that the response data is not legitimate.
[0047] That is, the authentication unit 54 limits the execution of the processing corresponding to the content of the remote control included in the response data (prohibited in the embodiment) according to the response time from sending the challenge data to receiving the response data. In addition, the authentication unit 54 limits the execution of the processing corresponding to the content of the remote control included in the response data according to the random value included in the response data. In addition, the authentication unit 54 limits the execution of the processing corresponding to the content of the remote control included in the response data according to the result of the message authentication using the MAC included in the response data.
[0048] Figure 5 1 is a block diagram showing the functional blocks of the user terminal 14 of the first embodiment. The user terminal 14 includes an operation unit 60, a display unit 62, a communication unit 64, and a control unit 66. The operation unit 60 is a component for inputting operations performed by the user. The display unit 62 includes a screen and presents various information to the user. The operation unit 60 and the display unit 62 may be integrated as a liquid crystal display having a touch panel function, for example.
[0049] The communication unit 64 communicates with the external device using a predetermined communication protocol. In the embodiment, the communication unit 64 communicates with the courier box 12 via BLE, and communicates with the server 16 via wide area wireless communication (e.g., the 4th generation mobile communication system). The control unit 66 performs various data processing. The control unit 66 sends and receives data with the courier box 12 and the server 16 via the communication unit 64.
[0050] The control unit 66 includes a challenge forwarding unit 68, a response forwarding unit 70, and a display control unit 72. Alternatively, a computer program (e.g., a client application for remote control) that realizes the functions of the plurality of functional blocks may be stored in a recording medium and installed in a storage area of the user terminal 14 via the recording medium. Alternatively, the computer program may be downloaded via a network and installed in a storage area of the user terminal 14. Alternatively, the CPU of the user terminal 14 may read the computer program into a main memory and execute it to realize the functions of each functional block.
[0051] The challenge transfer unit 68 receives the challenge data sent from the courier box 12 and transfers the received challenge data to the server 16. The response transfer unit 70 receives the response data sent from the server 16 and transfers the received response data to the courier box 12 as a response to the challenge data.
[0052] The display control unit 72 causes the display unit 62 to display that the communication is in progress when communicating with the server 16 and the courier box 12. In addition, the display control unit 72 may cause the display unit 62 to further display a message asking the user to wait until the courier box 12 is unlocked. As a modified example, the display control unit 72 may cause the display unit 62 to display that the communication is in progress at least when communicating with the server 16.
[0053] Figure 6 1 is a block diagram showing the functional blocks of the server 16 of the first embodiment. The server 16 includes a control unit 80, a storage unit 82, and a communication unit 84. The control unit 80 cooperates with the plurality of express boxes 12 and performs data processing for centrally implementing remote control (unlocking in the embodiment) of the plurality of express boxes 12. The storage unit 82 stores data referenced or updated by the control unit 80.
[0054] The communication unit 84 communicates with an external device using a predetermined communication protocol. In the embodiment, the communication unit 84 communicates with the user terminal 14 via wide area communication (eg, the Internet or a fourth generation mobile communication system). The control unit 80 transmits and receives data with the user terminal 14 via the communication unit 84 .
[0055] The storage unit 82 includes a control data storage unit 86 and a MAC key storage unit 88. The control data storage unit 86 stores data for remotely operating the express box 12, and in the embodiment, stores control data (commands, etc.) for instructing the unlocking of the electronic lock 38. The MAC key storage unit 88 stores a MAC key shared with the express box 12. In addition, the MAC key storage unit 88 can also store MAC keys shared with multiple express boxes 12, that is, different MAC keys for each express box 12.
[0056] The control unit 80 includes an authentication unit 90, a response setting unit 92, and a response sending unit 94. A computer program that realizes the functions of these multiple functional blocks may also be installed in the storage area (recording medium) of the server 16. The CPU of the courier box 12 may also perform the functions of each functional block by reading the above-mentioned computer program into the main memory and executing it.
[0057] The response setting unit 92 receives the challenge data sent (transmitted) from the user terminal 14 and sets the response data based on the challenge data. As described above, the response data includes: (1) Nonce, (2) random value, (3) control data, and (4) MAC. The response data setting unit 92 sets the value converted from the random value of the challenge data according to the rules predetermined between the express box 12 and the server 16 as the random value of the response data. In the embodiment, the value is the random value of the challenge data plus "1".
[0058] In addition, the response setting unit 92 sets the control data (unlock instruction in the embodiment) stored in the control data storage unit 86 as the control data of the response data. In addition, the response setting unit 92 generates a MAC based on the MAC key stored in the MAC key storage unit 88, the random value, and the control data, and sets it in the control data. The response sending unit 94 sends the response data set by the response setting unit 92 to the user terminal 14 as a response to the challenge data.
[0059] The authentication unit 90 confirms whether the message authentication using the MAC included in the challenge data is successful. Specifically, a MAC is generated based on the MAC key stored in the MAC key storage unit 88 and the random value included in the challenge data. If the generated MAC is consistent with the MAC included in the challenge data, the message authentication is determined to be successful. If the message authentication is successful, the authentication unit 90 permits the sending of the response data. On the other hand, if the message authentication fails, the setting or sending of the response data is suppressed (in other words, it is prohibited).
[0060] The operation of the remote control system 10 of the first embodiment having the above configuration will be described.
[0061] Figure 7 1 is a diagram showing the operation of each device in the remote control system 10 of the first embodiment. 12 in the same figure refers to Figure 1 The specific delivery box that the user is about to unlock (i.e., the object of remote control) among the delivery boxes 12a, 12b, and 12c shown in the figure. The same action is performed when any one of the delivery boxes 12a, 12b, and 12c is unlocked.
[0062] A common MAC key is pre-stored in the server 16 and the express box 12. The user inputs a predetermined unlocking process start operation to the express box 12. The operation detection unit 44 of the express box 12 detects the input of the unlocking process start operation, and the sleep control unit 46 of the express box 12 restores the communication unit 32 from the suspended state to the normal state (S10). The challenge setting unit 48 of the express box 12 sets the challenge data, and the challenge sending unit 50 of the express box 12 sends the challenge data to the user terminal 14 (S12).
[0063] If communication with the express box 12 begins, the display control unit 72 of the user terminal 14 starts displaying "in communication" on the display unit 62. The challenge forwarding unit 68 of the user terminal 14 forwards the challenge data to the server 16 (S14). The authentication unit 90 of the server 16 performs message authentication based on the MAC included in the challenge data (S16). If the legitimacy of the challenge data (in other words, non-tampering) is confirmed by message authentication, the response setting unit 92 of the server 16 generates response data based on the challenge data. The response sending unit 94 of the server 16 sends the response data to the user terminal 14 (S18).
[0064] The response transfer unit 70 of the user terminal 14 transfers the response data to the courier box 12 (S20). When the communication with the courier box 12 ends, the display control unit 72 of the user terminal 14 stops the display of "Communicating" on the display unit 62.
[0065] The response receiving unit 52 of the express box 12 receives the response data. The authentication unit 54 of the express box 12 authenticates whether the response data is legitimate based on (1) the response time t from the sending of the challenge data to the receiving of the response data, (2) the random value of the response data, and (3) the MAC of the response data (S22). If the response data is determined to be legitimate, the unlocking unit 56 of the express box 12 unlocks the electronic lock 38 (S24). The user can open the door 36 of the express box 12 and take out the items stored in the express box 12. If the response data is determined to be illegitimate, S24 is skipped.
[0066] In the remote control system 10 of the first embodiment, the user terminal 14 relays the control data from the server 16 and transmits it to the courier box 12. Therefore, the courier box 12 does not need to be connected to the wide area communication network 20, and can communicate with the user terminal 14 in a short distance, so the cost increase of the courier box 12 can be suppressed.
[0067] In addition, in the remote control system 10 of the first embodiment, a response time from the sending of challenge data to the receiving of response data is limited, thereby preventing illegal remote control (e.g., illegal unlocking) caused by the theft of response data and delayed resending by an attacker (in other words, a man-in-the-middle attack).
[0068] In addition, in the remote control system 10, a random value is set in the challenge data, and a verification value corresponding to the random value of the challenge data is set in the response data. Thus, the courier box 12 can confirm whether the response data corresponds to the challenge data sent by the courier, which can further improve the security of the courier box 12.
[0069] In the remote control system 10, the server 16 collectively executes remote control (unlocking) instructions for the plurality of delivery boxes 12. This simplifies management such as authentication in the remote control system 10, and simplifies processing in the user terminal 14, for example.
[0070] In addition, in the remote control system 10 , by setting MAC in the challenge data and the response data, message authentication (eg, non-tampering confirmation) between the express box 12 and the server 16 can be achieved, which can further improve the security of the express box 12 .
[0071] In addition, it is considered that the communication unit 32 or the control unit 42 of the express box 12 is often set up later after the express box 12 is set up. Therefore, it is preferred that the communication unit 32 or the control unit 42 of the express box 12 is battery-driven. On the other hand, in the case of battery-driven, it is desirable to reduce the consumption of the battery as much as possible. Therefore, in the remote control system 10, the communication unit 32 of the express box 12 resumes from the suspended state and performs wireless communication when the unlocking process start operation is input. In this way, the consumption of the battery in the express box 12 can be suppressed.
[0072] In addition, in the remote control system 10, the user terminal 14 displays that it is communicating with the courier box 12 and the server 16. This prevents the user from moving outside the communication service area, in other words, prevents the user from leaving the courier box 12, and can further reliably prevent attackers from illegally obtaining items.
[0073] (Second embodiment)
[0074] The remote control system 10 of the second embodiment is configured as follows Figure 1 The remote control system 10 of the first embodiment shown in the figure has the same structure. However, the remote control system 10 of the second embodiment further has a function of the courier box 12 to lock (pinning) the user terminal 14, and a function of the server 16 to lock the user terminal 14. In the following, the structure different from the first embodiment is mainly described, and the description of the contents repeated with the first embodiment is appropriately omitted.
[0075] Figure 8 1 is a block diagram showing the functional blocks of the courier box 12 according to the second embodiment. The courier box 12 according to the second embodiment includes an address acquisition unit 100 in addition to the functional blocks of the first embodiment.
[0076] When the input of the unlocking process start operation is detected by the operation detection unit 44, the communication unit 32 broadcasts a predetermined advertisement packet to the surroundings. In response to the advertisement packet, the address acquisition unit 100 acquires the address of the user terminal 14 notified from the user terminal 14 (hereinafter referred to as "user terminal address"). The user terminal address of the embodiment is an address (access address) in BLE communication.
[0077] The challenge data of the second embodiment includes data corresponding to the user terminal address notified from the user terminal 14. Specifically, the challenge setting unit 48 sets data obtained by synthesizing (e.g., concatenating) the random value and the user terminal address in the item of the random value of the challenge data. In addition, the challenge setting unit 48 may set the value obtained by converting the user terminal address according to a predetermined rule to the challenge data instead of setting the user terminal address itself to the challenge data.
[0078] As described later, the response data of the second embodiment includes data corresponding to the user terminal address included in the challenge data. When the data corresponding to the user terminal address included in the response data does not match the destination address of the challenge data stored in the challenge sending unit 50 of the courier box 12, the authentication unit 54 restricts the processing corresponding to the content of the remote control included in the response data.
[0079] Specifically, the authentication unit 54 confirms whether the user terminal address included in the random value item of the response data is consistent with the destination address of the challenge data stored in the challenge sending unit 50 of the courier box 12 (specifically, the access address included in the BLE communication packet). If the two are consistent, the authentication unit 54 determines that the fourth condition is satisfied. The authentication unit 54 determines that the response data is legitimate data when the first condition, the second condition, the third condition described in the first embodiment and the fourth condition described above are all satisfied.
[0080] If at least the fourth condition is not satisfied, the authentication unit 54 determines that the response data is not legitimate. As a result, the process (unlocking in the embodiment) corresponding to the content of the remote control included in the response data is suppressed.
[0081] Fig. 9 1 is a block diagram showing the functional blocks of the user terminal 14 according to the second embodiment. The user terminal 14 according to the second embodiment includes a storage unit 102, an authentication unit 106, and an address notification unit 108 in addition to the functional blocks of the first embodiment.
[0082] The storage unit 102 stores data updated or referred to by the control unit 66. The storage unit 102 includes a certificate storage unit 104. The certificate storage unit 104 stores a client certificate which is a certificate of the user terminal 14 issued by a certification authority.
[0083] The authentication unit 106 performs mutual authentication with the server 16. When performing mutual authentication with the server 16, the authentication unit 106 sends the client certificate stored in the certificate storage unit 104 to the server 16. Furthermore, the authentication unit 106 authenticates the server 16 based on the electronic certificate of the server 16 provided by the server 16, which is an SSL (Secure Sockets Layer) server certificate in the embodiment.
[0084] When receiving the advertising packet transmitted from the courier box 12 via the communication unit 32 , the address notification unit 108 transmits the address (access address) of the user terminal 14 in BLE communication to the courier box 12 .
[0085] Fig.10 1 is a block diagram showing the functional blocks of the server 16 of the second embodiment. The server 16 of the second embodiment includes a certificate storage unit 110 in addition to the functional blocks of the first embodiment. The certificate storage unit 110 stores an electronic certificate of the server 16 issued by a certification authority, that is, an SSL server certificate. The SSL server certificate can also be called an SSL / TLS (Transport Layer Security) server certificate.
[0086] The authentication unit 90 performs mutual authentication with the user terminal 14. When performing mutual authentication with the user terminal 14, the authentication unit 90 sends the SSL server certificate stored in the certificate storage unit 110 to the user terminal 14. In addition, the authentication unit 90 authenticates the user terminal 14 based on the client certificate provided from the user terminal 14. That is, the authentication unit 90 performs client authentication for the user terminal 14.
[0087] The authentication unit 90 limits the communication with the user terminal 14 according to the result of the client authentication, for example, prohibits the communication with the user terminal 14. When the client authentication fails, the communication unit 84 does not establish the SSL session with the user terminal 14, or may cut off the communication with the user terminal 14. In addition, the authentication unit 90 may prohibit the reception of the challenge data by the response setting unit 92, or prohibit the transmission of the response data by the response transmission unit 94.
[0088] The response setting unit 92 sets, in the random value item of the response data, data obtained by synthesizing (for example, concatenating) a value converted from the random value included in the challenge data (in the embodiment, the random value of the challenge data+1) and the user terminal address included in the challenge data.
[0089] The operation of the remote control system 10 according to the second embodiment having the above configuration will be described.
[0090] Fig.11 1 is a diagram showing the operation of each device in the remote control system 10 of the second embodiment. As in the first embodiment, a common MAC key is pre-stored in the server 16 and the courier box 12. The authentication unit 90 of the server 16 and the authentication unit 106 of the user terminal 14 perform mutual authentication including client authentication (S30). Here, if the mutual authentication is successful, the server 16 and the user terminal 14 can communicate in an encrypted tunnel (also known as an "SSL tunnel"), in other words, communication based on encryption and tunneling can be performed.
[0091] The user inputs a predetermined unlocking process start operation to the courier box 12. The operation detection unit 44 of the courier box 12 detects the input of the unlocking process start operation, and the sleep control unit 46 of the courier box 12 restores the communication unit 32 from the suspended state to the normal state (S32). The communication unit 32 of the courier box 12 broadcasts an advertising packet to the surroundings (S34). The address notification unit 108 of the user terminal 14 uses the reception of the advertising packet as an opportunity to send data indicating the user terminal address to the courier box 12 (S36).
[0092] The challenge setting unit 48 of the courier box 12 sets the challenge data including the user terminal address, and the challenge sending unit 50 of the courier box 12 sends the challenge data to the user terminal 14 (S38). When the communication with the courier box 12 starts, the display control unit 72 of the user terminal 14 starts to display "Communicating" on the display unit 62. The challenge forwarding unit 68 of the user terminal 14 forwards the challenge data to the server 16 via an encrypted tunnel (so-called SSL communication) (S40).
[0093] The authentication unit 90 of the server 16 performs message authentication based on the MAC included in the challenge data (S42). If the legitimacy of the challenge data is confirmed by the message authentication, the response setting unit 92 of the server 16 generates response data based on the challenge data. The response sending unit 94 of the server 16 sends the response data to the user terminal 14 via an encrypted tunnel (so-called SSL communication) (S44). The response forwarding unit 70 of the user terminal 14 forwards the response data to the courier box 12 (S46).
[0094] The authentication unit 54 of the express box 12 authenticates whether the response data is legitimate based on (1) the response time t from the sending of the challenge data to the receiving of the response data, (2) the random value of the response data, (3) the MAC of the response data, and (4) the user terminal address of the response data (S48). If the response data is determined to be legitimate, the unlocking unit 56 of the express box 12 unlocks the electronic lock 38 (S50). The user can open the door 36 of the express box 12 and take out the items stored in the express box 12.
[0095] The remote control system 10 of the second embodiment also has the same effect as the remote control system 10 of the first embodiment. In addition, in the remote control system 10 of the second embodiment, the courier box 12 obtains the address of the user terminal 14 in advance and confirms the identity with the address of the sender of the control data. Thus, it is possible to further reliably prevent the attacker terminal from impersonating the user terminal 14 (for example, a man-in-the-middle attack).
[0096] In the remote control system 10 of the second embodiment, the server 16 verifies the legitimacy of the user terminal 14 through client authentication. This can more reliably prevent an attacker terminal from impersonating the user terminal 14 (eg, a man-in-the-middle attack).
[0097] The present disclosure has been described above based on the first and second embodiments. These embodiments are for illustration only, and those skilled in the art will appreciate that various modifications may exist for the combination of each component or each process flow, and such modifications are also within the scope of the present disclosure.
[0098] The remote control system 10 of the first and second embodiments includes a courier box 12, a user terminal 14, and a server 16. As a modified example, the remote control system 10 may also include a courier box 12 and a user terminal 14, but not a server 16. In this case, the user terminal 14 may also have the function of the response setting unit 92 of the server 16 of the embodiment. For example, the user terminal 14 may generate response data including control data and send the generated response data to the courier box 12. In this modified example, the same effect as the first and second embodiments is achieved. For example, a limit is set on the response time from the sending of challenge data to the receiving of response data, thereby preventing illegal remote control caused by the theft and delayed resending of response data.
[0099] In the remote control system 10 of the first and second embodiments, the express box 12 is illustrated as a controlled device of the remote control object. However, the controlled device to which the technology described in the first and second embodiments can be applied is not limited to the express box 12. The controlled device can be various devices that are remotely controlled using communication terminals such as smart phones. For example, the controlled device can also be a smart locking device, a keyless entry device for a vehicle, a personnel positioning system using LPS (Local Positioning System), and a cashless purchase system using RFID (Radio Frequency Identifier).
[0100] Any combination of the above-mentioned embodiments and modified examples is also useful as an embodiment of the present disclosure. The new embodiment generated by the combination has the effects of the combined embodiments and modified examples. In addition, those skilled in the art should understand that the functions to be performed by each component element recorded in the claims are achieved by the monomers of each component element shown in the embodiments and modified examples or their cooperation.
[0101] The techniques described in the embodiments and modifications can also be identified by the following items.
[0102] [Project 1]
[0103] A remote control system (10), comprising:
[0104] A controlled device (12) as a remotely controlled object; and
[0105] a movable communication terminal (14) for wirelessly communicating with the controlled device (12),
[0106] The controlled device (12) sends first data to the communication terminal (14) when receiving remote control.
[0107] In response to the first data, the communication terminal (14) transmits second data including remote control content to the controlled device (12).
[0108] The controlled device (12) executes a process corresponding to the content of the remote control included in the second data when the time from the transmission of the first data to the reception of the second data is less than a predetermined threshold value.
[0109] [Project 2]
[0110] The remote control system (10) as described in item 1, wherein:
[0111] The first data includes a random number determined by the controlled device (12),
[0112] The second data includes a verification value determined based on a random number included in the first data,
[0113] The controlled device (12) limits execution of a process corresponding to the content of the remote control included in the second data based on the verification value included in the second data.
[0114] [Item 3]
[0115] The remote control system (10) as described in item 1 or 2, wherein:
[0116] It also includes a server (16) connected to the communication terminal (14) via a network,
[0117] The communication terminal (14) forwards the received first data to the server (16),
[0118] The server (16) transmits the second data to the communication terminal (14) in response to the first data.
[0119] The communication terminal (14) transfers the received second data to the controlled device (12).
[0120] [Item 4]
[0121] The remote control system (10) as described in item 3, wherein:
[0122] The first data includes a message authentication code,
[0123] The server (16) suppresses transmission of the second data based on a result of message authentication using a message authentication code included in the first data.
[0124] [Item 5]
[0125] The remote control system (10) as described in item 3 or 4, wherein:
[0126] The second data includes a message authentication code,
[0127] The controlled device (12) limits execution of a process corresponding to the content of the remote control included in the second data, based on a result of message authentication using a message authentication code included in the second data.
[0128] [Item 6]
[0129] A remote control system (10) as described in any one of items 3 to 5, wherein:
[0130] The server (16) performs client authentication on the communication terminal (14), and restricts communication with the communication terminal (14) based on the result of the client authentication.
[0131] [Item 7]
[0132] A remote control system (10) as described in any one of items 3 to 5, wherein:
[0133] The server (16) performs client authentication for the communication terminal (14), and the communication terminal (14) performs server authentication for the server (16), whereby the server (16) and the communication terminal (14) perform mutual authentication,
[0134] The server (16) limits communication with the communication terminal (14) based on the result of the mutual authentication.
[0135] [Item 8]
[0136] A remote control system (10) as described in any one of items 1 to 7, wherein:
[0137] The communication terminal (14) notifies the controlled device (12) of the address of the terminal.
[0138] The first data includes data corresponding to the address of the communication terminal (14),
[0139] The second data includes data corresponding to the address of the communication terminal (14) included in the first data,
[0140] The control device (12) restricts execution of a process corresponding to the content of the remote control included in the second data when the data corresponding to the address of the communication terminal (14) included in the second data does not match the destination address of the first data.
[0141] [Item 9]
[0142] A remote control system (10) as described in any one of items 1 to 8, wherein:
[0143] The controlled device (12) includes a communication unit (32) for wirelessly communicating with the communication terminal (14).
[0144] The communication unit (32) is driven by a battery provided in the controlled device (12).
[0145] The communication unit (32) resumes from a suspended state and performs wireless communication when a predetermined operation instructing acceptance of remote control is input to the controlled device (12).
[0146] [Item 10]
[0147] A remote control system (10) as described in any one of items 1 to 8, wherein:
[0148] The controlled device (12) includes a communication unit (32) for wirelessly communicating with the communication terminal (14).
[0149] The communication unit (32) performs wireless communication when a predetermined operation instructing acceptance of remote control is input to the controlled device (12).
[0150] [Item 11]
[0151] A remote control system (10) as described in any one of items 3 to 7, wherein:
[0152] The communication terminal (14) displays that communication is in progress when communicating with the server (16) or when communicating with the server (16) and the controlled device (12).
[0153] [Item 12]
[0154] A remote control system (10) as described in any one of items 1 to 11, wherein:
[0155] The controlled device (12) includes an electronic lock (38),
[0156] As the content of the remote control, the second data includes data instructing unlocking of the electronic lock (38).
[0157] [Industrial Applicability]
[0158] The present disclosure can be used in a system for remotely controlling a target device.
[0159] [Explanation of Reference Numerals]
[0160] 10 remote control system, 12 express box, 14 user terminal, 16 server, 32 communication unit, 38 electronic lock.
Claims
1. A remote control system, comprising: The controlled device as the object of remote control, a movable communication terminal for wirelessly communicating with the controlled device, and A server connected to the communication terminal via a network; The controlled device sends first data to the communication terminal when accepting remote control; The communication terminal forwards the received first data to the server; The server performs client authentication for the communication terminal, and restricts communication with the communication terminal if the client authentication fails; When the client authentication is successful, the server transmits second data including remote control content to the communication terminal as a response to the first data; The communication terminal forwards, to the controlled device, second data received from the server in response to the first data; When the time from sending the first data to receiving the second data is less than a predetermined threshold, the controlled device executes a process corresponding to the content of the remote control included in the second data, Wherein, the communication terminal notifies the controlled device of the address of the terminal; The first data includes data corresponding to the address of the communication terminal; The second data includes data corresponding to the address of the communication terminal included in the first data; The controlled device restricts execution of a process corresponding to the content of the remote control included in the second data, when the data corresponding to the address of the communication terminal included in the second data does not match the transmission source address of the second data.
2. The remote control system according to claim 1, wherein: The first data includes a random number determined by the controlled device; The second data includes a verification value determined based on a random number included in the first data; The controlled device restricts execution of a process corresponding to the content of the remote control included in the second data based on the verification value included in the second data.
3. The remote control system according to claim 1, wherein: The first data includes a message authentication code; The server suppresses transmission of the second data based on a result of message authentication using a message authentication code included in the first data.
4. The remote control system according to claim 1, wherein: The second data includes a message authentication code; The controlled device restricts execution of a process corresponding to the content of the remote control included in the second data, based on a result of message authentication using a message authentication code included in the second data.
5. The remote control system according to claim 1, wherein: The server performs client authentication for the communication terminal, and the communication terminal performs server authentication of the server, whereby the server and the communication terminal perform mutual authentication; The server restricts communication with the communication terminal according to a result of the mutual authentication.
6. The remote control system according to claim 1 or 2, wherein: The controlled device includes a communication unit for wirelessly communicating with the communication terminal; The communication unit is driven by a battery provided in the controlled device; The communication unit resumes from a suspended state and performs wireless communication when a predetermined operation for instructing acceptance of remote control is input to the controlled device.
7. The remote control system according to claim 1 or 2, wherein: The controlled device includes a communication unit for wirelessly communicating with the communication terminal; The communication unit performs wireless communication when a predetermined operation for instructing acceptance of remote control is input to the controlled device.
8. The remote control system according to claim 1, wherein: When the communication terminal is communicating with the server, or when the communication terminal is communicating with the server and the controlled device, it is displayed that the communication is in progress.
9. The remote control system according to claim 1 or 2, wherein: The controlled device includes an electronic lock; The second data includes, as content of the remote control, data instructing unlocking of the electronic lock.
Citation Information
Patent Citations
Authentication system
JP2013142916A
Door control system for building
CN102542641A
Wireless key management for authentication
CN107209983A
Remote-control apparatus, remote-controlled apparatus, remote-control system, remote-control method, remote-controlled method, and recording medium
CN108416999A
Authentication processing device and authentication processing method
CN109313680A
