CN114598459A - Communication method, device and storage medium based on remote control equipment - Google Patents

Communication method, device and storage medium based on remote control equipment Download PDF

Info

Publication number
CN114598459A
CN114598459A CN202210111464.4A CN202210111464A CN114598459A CN 114598459 A CN114598459 A CN 114598459A CN 202210111464 A CN202210111464 A CN 202210111464A CN 114598459 A CN114598459 A CN 114598459A
Authority
CN
China
Prior art keywords
remote control
key
controlled
identifier
equipment
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.)
Granted
Application number
CN202210111464.4A
Other languages
Chinese (zh)
Other versions
CN114598459B (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.)
Shanghai Junzheng Network Technology Co Ltd
Original Assignee
Shanghai Junzheng Network Technology Co Ltd
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 Shanghai Junzheng Network Technology Co Ltd filed Critical Shanghai Junzheng Network Technology Co Ltd
Priority to CN202210111464.4A priority Critical patent/CN114598459B/en
Priority claimed from CN202210111464.4A external-priority patent/CN114598459B/en
Publication of CN114598459A publication Critical patent/CN114598459A/en
Application granted granted Critical
Publication of CN114598459B publication Critical patent/CN114598459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0822Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using key encryption key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds

Abstract

The embodiment of the specification provides a communication method and device based on remote control equipment and a storage medium. The method comprises the following steps: the user terminal sends the remote control equipment identifier and the controlled equipment identifier to the server, and the server feeds back first encryption information obtained by encrypting the communication key by using the controlled equipment key and forwards the first encryption information to the controlled equipment. The user terminal transmits a search identifier sent by the controlled device to the server, the server encrypts the search identifier and the communication key by using the key of the remote control device to obtain second encrypted information and transmits the second encrypted information to the remote control device, the remote control device decrypts the second encrypted information by using the key of the remote control device to obtain the search identifier and the communication key, then the controlled device is determined according to the search identifier and is communicated with the controlled device based on the communication key. Through the process, the pairing between the remote control equipment and the controlled equipment is realized, and the information safety of a communication process and a binding process is ensured.

Description

Communication method, device and storage medium based on remote control equipment
Technical Field
The embodiment of the specification relates to the technical field of information security, in particular to a communication method and device based on remote control equipment and a storage medium.
Background
The remote controller is a device for controlling a corresponding apparatus based on a wireless communication manner. For example, the remote controller of the vehicle may control operations such as opening of doors, closing of doors, and issuing of an alarm of the corresponding vehicle. The convenience can be improved by controlling the corresponding equipment through the remote controller, and the corresponding requirements of users can be met.
In a general remote controller application scene, a fixed instruction is adopted for communication between a remote controller and controlled equipment, so that the convenience is ensured, the information security is low, and the content of wireless communication is easy to crack. In order to ensure the safety of the communication process, currently, only the remote controllers and the controlled equipment can be bound, so that each remote controller can only control one controlled equipment uniquely, and the convenience of the remote controllers in the use process is greatly influenced. Especially, with the development of the sharing technology, the limitation that one remote controller controls one sharing device greatly affects the application of the sharing product. Therefore, a technical solution for realizing flexible binding between a remote controller and a controlled device on the basis of information security is needed at present.
Disclosure of Invention
An object of the embodiments of the present specification is to provide a communication method, apparatus and storage medium based on a remote control device, so as to solve a problem how to implement flexible binding between a remote controller and a controlled device on the basis of information security.
In order to solve the above technical problem, an embodiment of the present specification provides a communication method based on a remote control device, which is applied to a user terminal, and the method includes: sending the remote control equipment identifier and the controlled equipment identifier to a server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier; receiving first encryption information fed back by a server; the first encryption information comprises information obtained by encrypting a communication key by using a controlled device key; sending the first encrypted information to the controlled equipment so that the controlled equipment decrypts the first encrypted information by using the controlled equipment key to obtain a communication key; receiving a search identifier fed back by controlled equipment, and forwarding the search identifier to a server; receiving second encryption information fed back by the server; the second encrypted information comprises information obtained by encrypting the search identifier and the communication key by using a remote control equipment key; and sending the second encrypted information to remote control equipment, so that the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, then determining controlled equipment according to the search identifier, and communicating with the controlled equipment based on the communication key.
An embodiment of the present specification further provides a communication method based on a remote control device, which is applied to a server, and the method includes: after receiving a remote control equipment identifier and a controlled equipment identifier sent by a user terminal, encrypting a communication key by using a controlled equipment key to generate first encryption information; the controlled equipment identifier corresponds to a controlled equipment key; the remote control equipment identification corresponds to a remote control equipment key; sending the first encrypted information to a user terminal so that after the user terminal forwards the first encrypted information to controlled equipment, the controlled equipment decrypts the first encrypted information by using a controlled equipment key to obtain a communication key and determines a search identifier; after receiving the search identifier forwarded by the user terminal, encrypting the search identifier and the communication key by using the key of the remote control equipment to generate second encryption information; and sending the second encrypted information to a user terminal so that after the user terminal forwards the second encrypted information to remote control equipment, the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, then determining controlled equipment according to the search identifier, and communicating with the controlled equipment based on the communication key.
The embodiment of the present specification further provides a communication method based on a remote control device, which is applied to a controlled device, and the method includes: receiving first encryption information sent by a user terminal; the first encrypted information comprises information which is sent to the user terminal by the server through the controlled device key after the user terminal sends the remote control device identifier and the controlled device identifier to the server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier; decrypting the first encrypted information by using the controlled equipment key to obtain a communication key; sending the search identifier to the user terminal so that after the user terminal forwards the search identifier to the server, the server encrypts the search identifier and the communication key by using a key of the remote control device to obtain second encrypted information, and forwards the second encrypted information to the remote control device based on the user terminal; and under the condition that the remote control equipment decrypts the second encrypted information by using the remote control equipment key and obtains the search identifier and the communication key, the remote control equipment communicates with the remote control equipment based on the communication key.
An embodiment of the present specification further provides a communication method based on a remote control device, which is applied to the remote control device, and the method includes: the method comprises the steps that a user terminal sends a remote control device identifier and a controlled device identifier to a server, and forwards first encrypted information which is fed back by the server and is obtained by encrypting a communication key through a controlled device key to a controlled device, so that the controlled device decrypts the first encrypted information through the controlled device key to obtain the communication key, and receives second encrypted information forwarded by the user terminal under the condition of feeding back a search identifier; the second encrypted information comprises information obtained by encrypting the search identifier and the communication key by the server through the remote control equipment key; decrypting the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key; determining controlled equipment according to the search identifier; and communicating with the controlled equipment based on the communication key.
An embodiment of this specification further provides a communication apparatus based on a remote control device, which is disposed in a user terminal, and includes: the identification sending module is used for sending the remote control equipment identification and the controlled equipment identification to the server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier; the first encryption information receiving module is used for receiving first encryption information fed back by the server; the first encryption information comprises information obtained by encrypting a communication key by using a controlled device key; the first encrypted information forwarding module is used for sending the first encrypted information to the controlled equipment so that the controlled equipment decrypts the first encrypted information by using the controlled equipment key to obtain a communication key; the searching identifier forwarding module is used for receiving the searching identifier fed back by the controlled equipment and forwarding the searching identifier to the server; the second encryption information receiving module is used for receiving second encryption information fed back by the server; the second encrypted information comprises information obtained by encrypting the search identifier and the communication key by using a remote control equipment key; and the second encrypted information forwarding module is used for sending the second encrypted information to the remote control equipment, so that the remote control equipment can determine the controlled equipment according to the search identifier after decrypting the second encrypted information by using the key of the remote control equipment and obtaining the search identifier and the communication key, and can communicate with the controlled equipment based on the communication key.
An embodiment of this specification further provides a communication apparatus based on a remote control device, which is disposed in a server, and includes: the first encrypted information generating module is used for encrypting the communication key by using the controlled equipment key to generate first encrypted information after receiving the remote control equipment identifier and the controlled equipment identifier sent by the user terminal; the controlled equipment identifier corresponds to a controlled equipment key; the remote control equipment identification corresponds to a remote control equipment key; the first encrypted information sending module is used for sending the first encrypted information to the user terminal so that after the user terminal forwards the first encrypted information to the controlled device, the controlled device decrypts the first encrypted information by using the controlled device key to obtain a communication key and determines a search identifier; the second encrypted information generating module is used for encrypting the search identifier and the communication key by using the remote control equipment key to generate second encrypted information after receiving the search identifier forwarded by the user terminal; and the second encrypted information sending module is used for sending the second encrypted information to the user terminal so that after the user terminal forwards the second encrypted information to the remote control equipment, the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, determines the controlled equipment according to the search identifier, and communicates with the controlled equipment based on the communication key.
An embodiment of this specification further provides a communication apparatus based on a remote control device, which is disposed in a controlled device, and includes: the first encryption information receiving module is used for receiving first encryption information sent by a user terminal; the first encrypted information comprises information which is sent to the user terminal by the server through the controlled device key after the user terminal sends the remote control device identifier and the controlled device identifier to the server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier; the first encrypted information decryption module is used for decrypting the first encrypted information by using the controlled equipment key to obtain a communication key; the search identifier sending module is used for sending the search identifier to the user terminal so that after the user terminal forwards the search identifier to the server, the server encrypts the search identifier and the communication key by using a remote control device key to obtain second encrypted information and forwards the second encrypted information to the remote control device based on the user terminal; and the controlled equipment communication module is used for communicating with the remote control equipment based on the communication key under the condition that the remote control equipment decrypts the second encrypted information by using the remote control equipment key and obtains the search identifier and the communication key.
An embodiment of this specification further provides a communication apparatus based on a remote control device, which is disposed in the remote control device, and includes: the second encrypted information receiving module is used for sending the remote control equipment identifier and the controlled equipment identifier to the server at the user terminal, forwarding the first encrypted information which is fed back by the server and encrypted by using the controlled equipment key to the controlled equipment, so that the controlled equipment decrypts the first encrypted information by using the controlled equipment key to obtain a communication key, and receiving the second encrypted information forwarded by the user terminal under the condition of feeding back the searched identifier; the second encrypted information comprises information obtained after the server encrypts the search identifier and the communication key by using the remote control equipment key; the second encrypted information decryption module is used for decrypting the second encrypted information by using the remote control equipment key to obtain a search identifier and a communication key; the controlled equipment determining module is used for determining the controlled equipment according to the search identifier; and the remote control equipment communication module is used for communicating with the controlled equipment based on the communication key.
Embodiments of the present specification also provide a computer-readable storage medium on which a computer program/instruction is stored, which when executed, implements the above-described remote control device-based communication method.
As can be seen from the technical solutions provided in the embodiments of the present specification, after the user terminal determines and sends the remote control device identifier and the controlled device identifier to the server, the server encrypts the communication key by using the controlled device key to generate the first encrypted information, and then forwards the first encrypted information to the controlled device via the user terminal. The controlled equipment decrypts the first encrypted information by using the controlled equipment key of the controlled equipment to obtain a communication key, and sends the search identifier of the controlled equipment to the server through the user terminal. The server encrypts the communication key and the search identifier by using the remote control device key to generate second encrypted information, and sends the second encrypted information to the remote control device through the user terminal. The remote control device decrypts the second encrypted information by using the remote control device key to obtain a communication key and a search identifier, and determines the controlled device according to the search identifier so as to communicate with the controlled device based on the communication key.
By the method, the remote control device and the controlled device are paired, communication can be carried out between the remote control device and the controlled device based on the communication key, and the safety of communication between the devices is improved. In addition, all the information in the binding process is encrypted information, and the user terminal cannot decrypt the encrypted information, so that the transmitted communication key and the search identifier cannot be decrypted, and the safety of the communication process is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the specification, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a block diagram of a communication system based on a remote control device according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a communication method based on a remote control device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an encrypted communication process according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of a method for communication based on a remote control device in accordance with an embodiment of the present disclosure;
FIG. 5 is a flow chart of a method for remote control device based communication according to an embodiment of the present disclosure;
FIG. 6 is a flow chart of a method for remote control device based communication according to an embodiment of the present disclosure;
FIG. 7 is a flow chart of a method for remote control device based communication in an embodiment of the present description;
FIG. 8 is a block diagram of a communication apparatus based on a remote control device according to an embodiment of the present disclosure;
FIG. 9 is a block diagram of a communication apparatus based on a remote control device according to an embodiment of the present disclosure;
FIG. 10 is a block diagram of a communication apparatus based on a remote control device according to an embodiment of the present disclosure;
fig. 11 is a block diagram of a communication apparatus based on a remote control device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort shall fall within the protection scope of the present specification.
In order to better understand the inventive concept of the present application, a communication system based on a remote control device in an embodiment of the present specification is first introduced. As shown in fig. 1, the remote control device based communication system 100 may include a user terminal 110, a server 120, a remote control device 130, and a controlled device 140.
The user terminal 110 is a device capable of directly interacting with a user. The user terminal 110 includes, but is not limited to, a PC, a mobile communication device, a wearable smart device, and the like. The user terminal 110 may communicate with the server 120 based on base station communication. The user terminal 110 may also communicate with the remote control device 130 and the controlled device 140 by other wireless communication methods, for example, communication methods such as bluetooth communication may be used for communication.
Preferably, in this embodiment of the present specification, the user may take corresponding actions based on a specific application in the user terminal 110 to issue corresponding instructions.
The server 120 may be a remotely located computer device. When the remote control device 130 and the controlled device 140 are produced, corresponding identification information and a key stored in the devices are associated with each other. These identification information and key are also stored in the server 120, so that the server 120 can look up whether the corresponding identification information exists, and look up the key corresponding to the identification information.
The remote control device 130 may communicate directly with the user terminal 110. After determining the corresponding controlled device 140, the remote control device 130 may communicate with the controlled device 140 and communicate the corresponding control instruction to the controlled device 140. The remote control device 130 key is enclosed in the memory of the remote control device 130 itself, and the remote control device 130 key may be a key that is predetermined during the manufacturing process and written into the memory of the remote control device 130. Accordingly, the remote control device 130 key is also recorded in the server 120.
Typically, a remote control device 130 can only communicate with the same controlled device 140 for a period of time.
The controlled device 140 may also communicate directly with the user terminal 110. After receiving the message sent by the remote control device 130 and being able to successfully resolve, the controlled device 140 establishes a binding relationship with the remote control device 130, and is further able to communicate with the remote control device 130. The controlled device 140 may be a processor provided in other application devices, for example, the controlled device 140 may be a vehicle central controller, and may issue corresponding instructions to control operations of locking, opening doors, whistling, etc. of the vehicle. Specifically, the controlled device may be provided on an electric bicycle or an automobile. The controlled device 140 key is stored in the memory of the controlled device 140 itself, and the controlled device 140 key may be a key predetermined in the production process and written into the memory of the controlled device 140. Accordingly, the controlled device 140 key is also recorded in the server 120.
It should be noted that fig. 1 only schematically shows a case where one remote control device 130 and one controlled device 140 are bound, and in practical applications, the number of the remote control devices 130 bound to the controlled device 140 is not limited, and may be one or multiple.
Generally, for the convenience of the communication process, the above-mentioned controlled device 140 key and the remote control device 130 key are keys based on a symmetric encryption process, i.e., the same key can be used for encryption and decryption. In some embodiments, the controlled device 140 key and the remote control device 130 key may also be keys based on an asymmetric encryption process, that is, a key stored in the server 120 is different from a key stored in the controlled device 140 or the remote control device 130, so as to implement a process of public key encryption and private key decryption. For convenience of description, in the following embodiments, an example is adopted in which the controlled device 140 key and the remote control device 130 key are keys based on a symmetric encryption process, and the asymmetric encryption process may be implemented after adjustment is performed on this basis, which is not described herein again.
Limited by the size, purpose and manufacturing process of the remote control device 130 and the controlled device 140, the remote control device 130 and the controlled device 140 may not be able to directly communicate with the server 120, but only communicate with the user terminal 110 through short-range wireless communication, and therefore, the user terminal 110 needs to forward corresponding messages. In addition, the user terminal 110 also belongs to a part of the communication link, so that the user terminal 110 is prevented from directly acquiring unencrypted information while avoiding information being cracked in the communication link, so as to ensure the safety of the communication process.
Based on the communication system based on the remote control device, a communication method based on the remote control device in the embodiment of the present specification is introduced. The execution subject of the communication method based on the remote control equipment is the communication system based on the remote control equipment. As shown in fig. 2, the remote control device-based communication method may include the following implementation steps.
S210: and the user terminal sends the remote control equipment identifier and the controlled equipment identifier to the server.
After the user acquires the remote control device identifier and the controlled device identifier, the user can send the remote control device identifier and the controlled device identifier to the server.
The remote control device identification is used to uniquely identify the remote control device. The remote control device identifier may be an identifier directly obtained from the remote control device, or an identifier transmitted from the remote control device to the user terminal after the user terminal establishes communication with the remote control device.
In a specific example, a two-dimensional code image is arranged on the remote control device, and corresponds to a remote control device identifier. After the two-dimensional code image is obtained by using the terminal device, the two-dimensional code image can be analyzed to obtain a corresponding remote control device identifier.
Correspondingly, the controlled device identifier is also used for uniquely identifying the controlled device. The controlled device identifier may be an identifier obtained from the controlled device, or an identifier obtained based on a binding relationship between the user terminal and the controlled device. For example, in the case where the controlled device is a vehicle, the corresponding controlled device identifier may be determined directly based on the vehicle information stored in the user terminal.
S220: the server encrypts the communication key by using the controlled device key to generate first encryption information.
The server, upon receiving the remote control device identifier and the controlled device identifier, may begin to process the binding relationship between the remote control device and the controlled device and the communication between the two.
In some embodiments, the remote control device identifier and the controlled device identifier may be included in a binding request sent by the user terminal, so that the server performs a corresponding binding operation after receiving the binding request.
The server may determine the stored controlled device key based on the controlled device identification. The controlled device key is also stored in the controlled device, so that the information encrypted by using the controlled device key can be decrypted and read only by the controlled device, and the safety of data transmission is ensured.
The communication key may be a key generated by the server for communication between the remote control device and the controlled device. Since the bound remote control device and the controlled device may not have any communication before, and there is no case where the binding relationship is determined in advance, it is necessary to generate a communication key and inform the remote control device and the controlled device of the communication key, respectively.
In some embodiments, to ensure the security of the communication, the communication key may be a key randomly generated by the server. The specific random generation algorithm may be selected based on the actual application requirements, which is not limited.
After the communication key is generated, the communication key may be encrypted with the controlled device key. The specific encryption algorithm may be set based on the requirements of the actual application, which is not limited in this regard.
S230: the server sends the first encryption information to the user terminal.
Because the server and the controlled device cannot be in direct communication, information forwarding can be carried out based on the user terminal, namely the server firstly sends the first encryption information to the user terminal.
S240: and the user terminal sends the first encryption information to the controlled equipment.
Since direct communication cannot be performed between the server and the controlled device, information forwarding can be performed based on the user terminal, that is, the user terminal sends the first encrypted information to the controlled device.
S250: and the controlled device decrypts the first encrypted information by using the controlled device key to obtain the communication key.
After the controlled device receives the first encrypted information, the controlled device key and the decryption algorithm written in the memory of the controlled device in advance can be used for decrypting the first encrypted information to obtain the communication key.
When the first encryption information is received, the controlled device can trigger a corresponding instruction to realize the binding of the controlled device and the remote control device. And the controlled device may determine its own lookup identity in order to enable the remote control device to locate the controlled device. The search identifier may be a password set for wireless communication, for example, when connection based on bluetooth communication is required between the controlled device and the remote control device, the search identifier may be a device identifier and a connection password determined when searching based on bluetooth communication. In practical application, the requirement for uniquely determining the controlled device according to the search identifier may be set to other formats, which is not limited to this.
The search identifier may be a fixed identifier, or may be generated in real time for the current binding process, which is not limited to this.
S260: the controlled device sends the search identifier to the user terminal.
Because the server and the controlled device can not be in direct communication, information forwarding can be carried out based on the user terminal, namely the controlled device firstly sends the search identifier to the user terminal.
S270: the user terminal sends the search identifier to the server.
Since the server and the controlled device cannot communicate directly, information forwarding can be performed based on the user terminal, that is, the user terminal sends the search identifier to the server.
In some embodiments, in order to enable the server to clarify the controlled device corresponding to the search identifier, when the user terminal sends the search identifier, the user terminal may send the search identifier, the remote control device identifier, and the controlled device identifier together to the server, so as to ensure that the server can determine the remote control device and the controlled device corresponding to the search identifier, and further ensure the accuracy of the subsequent second encrypted information generation process and the sending object.
S280: the server encrypts the communication key and the search identifier by using the remote control device key to generate second encrypted information.
After receiving the search identifier, the server needs to send the communication key and the search identifier to the remote control device to implement the subsequent communication process.
The server may determine the stored remote control device key from the remote control device identification. The key of the remote control equipment is also stored in the remote control equipment, so that the information encrypted by the key of the remote control equipment can be decrypted and read only by the remote control equipment, and the safety of data transmission is ensured.
The specific encryption algorithm type and encryption process may be set based on the requirements of the actual application, which is not limited in this regard.
S290: the server sends the second encryption information to the user terminal.
Because the server and the remote control equipment can not carry out direct communication, information forwarding can be carried out based on the user terminal, namely the server firstly sends the second encryption information to the user terminal.
S2100: and the user terminal sends the second encrypted information to the remote control equipment.
Since the server and the remote control device cannot communicate directly, information forwarding can be performed based on the user terminal, that is, the user terminal forwards the second encrypted information to the remote control device.
S2110: and the remote control equipment decrypts the second encrypted information by using the remote control equipment key to obtain a communication key and a search identifier.
After the remote control device receives the second encrypted information, the remote control device key and the decryption algorithm written in the memory of the remote control device can be used for decrypting the second encrypted information to obtain the communication key and the search identifier.
S2120: and the remote control equipment determines the controlled equipment according to the search identifier.
The remote control device can determine the controlled device according to the search identifier. And determining the controlled device based on the search identifier may be directly establishing a communication link with the controlled device, or may be capable of realizing one-way communication from the remote control device to the controlled device. And after the remote control equipment transmits corresponding information to the controlled equipment and the controlled equipment verifies the information, the construction of a communication link between the remote control equipment and the controlled equipment is completed. The specific setting mode may be adjusted based on the actual application requirement, which is not limited.
S2130: the remote control device communicates with the controlled device based on the communication key.
When the remote control equipment needs to communicate with the controlled equipment, the remote control equipment and the controlled equipment both acquire the same communication key, so that the remote control equipment can encrypt information by using the communication key and send the encrypted information to the controlled equipment, and the safety of a communication process is ensured.
In some embodiments, after the controlled device receives the information and successfully decrypts the encrypted information by using the communication key, it indicates that the remote control device sending the information is the device to be bound, thereby implementing the binding between the remote control device and the controlled device.
In some embodiments, after the remote control device and the controlled device are successfully matched, that is, under the condition that the remote control device can successfully analyze the reply information fed back by the controlled device by using the communication key, the remote control device may send binding success information to the user terminal, where the binding success information is used to indicate a binding relationship between the remote control device and the controlled device.
After receiving the successful binding information, the user terminal can record the remote control device identifier and the controlled device identifier corresponding to the successful binding information, so that a user can directly check the corresponding binding relationship through the user terminal, and the use of the user is facilitated.
In addition, the user terminal can also forward the binding success information to the server, so that the server also records the binding relationship between the remote control device and the controlled device according to the binding success information, and the server can conveniently manage the corresponding relationship between different remote control devices and the controlled device.
In some embodiments, after the remote control device and the controlled device are successfully bound, there may be a case where the remote control device and the controlled device need to be unbound based on certain requirements. In this case, the user may operate based on the user terminal to generate a corresponding unbinding request, where the unbinding request may include the remote control device identifier and the controlled device identifier.
And after the user terminal sends the unbinding request to the server, the server can generate an unbinding instruction, wherein the unbinding instruction comprises the remote control equipment identifier. The server may send the unbinding instruction to the controlled device, and specifically, the unbinding instruction may be forwarded by the user terminal with reference to the above process.
After the controlled device receives the unbinding instruction, the communication key stored by the controlled device and corresponding to the identification of the remote control device can be deleted. After the communication key is deleted, even if the encryption instruction or the encryption information sent by the remote control equipment is still received subsequently, the encryption instruction or the encryption information cannot be decrypted, and then the corresponding operation cannot be executed, so that the unbinding between the controlled equipment and the remote control equipment is realized.
In addition, since the communication key can be randomly generated, the situation that the remote control device is controlled by the unbound remote control device when the communication key is repeatedly used is avoided.
Correspondingly, the unbinding instruction comprises an instruction encrypted by using a controlled device key so as to ensure the safety of the communication process.
In some embodiments, one controlled device may communicate with multiple remote control devices, and different remote control devices correspond to different communication keys, and the controlled device may decrypt the encrypted information based on the corresponding communication keys, thereby implementing corresponding communication procedures.
Correspondingly, the communication key stored in the controlled device can be correspondingly stored based on the remote control device identifier, so that the corresponding communication key can be directly determined according to the received information, and the efficiency of the communication process is improved.
The process of information encryption in the above process is summarized with reference to fig. 3, in which the communication between the server and the controlled device is encrypted based on the controlled device key, the communication between the server and the remote control device is encrypted based on the remote control device key, and the communication between the controlled device and the remote control device is encrypted based on the communication key. The communication between different terminals and the server and between different terminals is in an encryption state, and the user terminal only plays a role in forwarding messages and cannot directly decrypt the information, so that the safety of the communication process is ensured.
Based on the description of the above embodiments, it can be seen that the method not only realizes pairing between the remote control device and the controlled device, but also enables communication between the remote control device and the controlled device based on the communication key, thereby improving the security of communication between the devices. In addition, all the information in the binding process is encrypted information, and the user terminal cannot decrypt the encrypted information, so that the transmitted communication key and the search identifier cannot be decrypted, and the safety of the communication process is further improved.
Another communication method based on a remote control device according to the embodiment of the present specification is described based on the communication method based on a remote control device corresponding to fig. 2. The execution subject of the communication method based on the remote control equipment is the user terminal. As shown in fig. 4, the communication method based on the remote control device may include the following implementation steps.
S410: sending the remote control equipment identifier and the controlled equipment identifier to a server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier.
For the description of this step, reference may be made to the description in step S210, and details are not repeated here.
S420: receiving first encryption information fed back by a server; the first encryption information comprises information obtained by encrypting the communication key by using the controlled device key.
For the description of this step, reference may be made to the descriptions in steps S220 and S230, which are not described herein again.
S430: and sending the first encrypted information to the controlled equipment so that the controlled equipment decrypts the first encrypted information by using the controlled equipment key to obtain a communication key.
For the description of this step, reference may be made to the descriptions in steps S240 and S250, which are not described herein again.
S440: and receiving a search identifier fed back by the controlled equipment, and forwarding the search identifier to the server.
For the description of this step, reference may be made to the descriptions in steps S260 and S270, and details are not repeated here.
S450: receiving second encryption information fed back by the server; the second encrypted information includes information obtained by encrypting the search identifier and the communication key with the remote control device key.
For the description of this step, reference may be made to the descriptions in steps S280 and S290, which are not described herein again.
S460: and sending the second encrypted information to remote control equipment, so that the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, then determining controlled equipment according to the search identifier, and communicating with the controlled equipment based on the communication key.
For the description of this step, reference may be made to the descriptions in steps S2100, S2110, S2120, and S2130, which are not repeated herein.
Another communication method based on a remote control device according to the embodiment of the present specification is described based on the communication method based on a remote control device corresponding to fig. 2. The execution subject of the communication method based on the remote control equipment is the server. As shown in fig. 5, the communication method based on the remote control device may include the following implementation steps.
S510: after receiving a remote control equipment identifier and a controlled equipment identifier sent by a user terminal, encrypting a communication key by using a controlled equipment key to generate first encryption information; the controlled equipment identifier corresponds to a controlled equipment key; the remote control equipment identification corresponds to a remote control equipment key.
For the description of this step, reference may be made to the descriptions in steps S210 and S220, which are not described herein again.
S520: and sending the first encrypted information to a user terminal so that after the user terminal forwards the first encrypted information to the controlled equipment, the controlled equipment decrypts the first encrypted information by using the controlled equipment key to obtain a communication key and determines a search identifier.
For the description of this step, reference may be made to the descriptions in steps S230, S240, and S250, which are not described herein again.
S530: and after receiving the search identifier forwarded by the user terminal, encrypting the search identifier and the communication key by using the key of the remote control equipment to generate second encryption information.
For the description of this step, reference may be made to the descriptions in steps S260, S270, and S280, which are not described herein again.
S540: and sending the second encrypted information to a user terminal so that after the user terminal forwards the second encrypted information to remote control equipment, the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, then determining controlled equipment according to the search identifier, and communicating with the controlled equipment based on the communication key.
For the description of this step, reference may be made to the descriptions in steps S290, S2100, S2110, S2120, and S2130, which are not described herein again.
Another communication method based on a remote control device according to the embodiment of the present specification is described based on the communication method based on a remote control device corresponding to fig. 2. The execution subject of the communication method based on the remote control equipment is the controlled equipment. As shown in fig. 6, the remote control device-based communication method may include the following embodied steps.
S610: receiving first encryption information sent by a user terminal; the first encrypted information comprises information that after the user terminal sends the remote control equipment identifier and the controlled equipment identifier to the server, the server encrypts the communication key by using the controlled equipment key and sends the communication key to the user terminal; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier.
For the description of this step, reference may be made to the descriptions in steps S210, S220, S230, and S240, which are not described herein again.
S620: and decrypting the first encrypted information by using the controlled device key to obtain a communication key.
For the description of this step, reference may be made to the description in step S250, and details are not repeated here.
S630: and sending the search identifier to the user terminal so that after the user terminal forwards the search identifier to the server, the server encrypts the search identifier and the communication key by using the key of the remote control equipment to obtain second encrypted information, and forwards the second encrypted information to the remote control equipment based on the user terminal.
For the description of this step, reference may be made to the descriptions in steps S260, S270, S280, S290, and S2100, which are not described herein again.
S640: and under the condition that the remote control equipment decrypts the second encrypted information by using the remote control equipment key and obtains the searching identifier and the communication key, the remote control equipment is communicated with the remote control equipment based on the communication key.
For the description of this step, reference may be made to the descriptions in steps S2110, S2120, and S2130, which are not repeated here.
Another communication method based on a remote control device according to the embodiment of the present specification is described based on the communication method based on a remote control device corresponding to fig. 2. The execution subject of the communication method based on the remote control equipment is the remote control equipment. As shown in fig. 7, the remote control device-based communication method may include the following embodied steps.
S710: the method comprises the steps that a user terminal sends a remote control device identifier and a controlled device identifier to a server, and forwards first encrypted information which is fed back by the server and is obtained by encrypting a communication key through a controlled device key to a controlled device, so that the controlled device decrypts the first encrypted information through the controlled device key to obtain the communication key, and receives second encrypted information forwarded by the user terminal under the condition of feeding back a search identifier; the second encrypted information includes information obtained by encrypting the search identifier and the communication key by the server using the remote control device key.
For the description of this step, reference may be made to the descriptions in steps S210, S220, S230, S240, S250, S260, S270, S280, S290, and S2100, which are not described herein again.
S720: and decrypting the second encrypted information by using the remote control equipment key to obtain the search identifier and the communication key.
For the description of this step, reference may be made to the description in step S2110, which is not described herein again.
S730: and determining the controlled equipment according to the search identifier.
For the description of this step, reference may be made to the description in step S2120, which is not described herein again.
S740: and communicating with the controlled equipment based on the communication key.
For the description of this step, reference may be made to the description in step S2130, which is not described herein again.
A communication apparatus based on a remote control device according to an embodiment of the present specification is introduced based on a communication method based on a remote control device corresponding to fig. 4. The communication device based on the remote control equipment is arranged on the user terminal. As shown in fig. 8, the remote control device-based communication apparatus includes the following modules.
The identifier sending module 810 is configured to send the identifier of the remote control device and the identifier of the controlled device to the server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier.
A first encrypted information receiving module 820, configured to receive first encrypted information fed back by a server; the first encryption information comprises information obtained by encrypting the communication key by using the controlled device key.
The first encrypted information forwarding module 830 is configured to send the first encrypted information to the controlled device, so that the controlled device decrypts the first encrypted information by using the controlled device key to obtain the communication key.
And the search identifier forwarding module 840 is configured to receive a search identifier fed back by the controlled device, and forward the search identifier to the server.
A second encryption information receiving module 850, configured to receive second encryption information fed back by the server; the second encrypted information includes information obtained by encrypting the search identifier and the communication key with the remote control device key.
And the second encrypted information forwarding module 860 is configured to send the second encrypted information to the remote control device, so that after the remote control device decrypts the second encrypted information by using the remote control device key and obtains the lookup identifier and the communication key, the remote control device determines the controlled device according to the lookup identifier, and communicates with the controlled device based on the communication key.
A communication apparatus based on a remote control device according to an embodiment of the present specification is introduced based on a communication method based on a remote control device corresponding to fig. 5. The communication device based on the remote control equipment is arranged on the server. As shown in fig. 9, the remote control device-based communication apparatus includes the following modules.
A first encrypted information generating module 910, configured to encrypt the communication key by using a controlled device key after receiving a remote control device identifier and a controlled device identifier sent by a user terminal, so as to generate first encrypted information; the controlled equipment identifier corresponds to a controlled equipment key; the remote control equipment identification corresponds to a remote control equipment key.
The first encrypted information sending module 920 is configured to send the first encrypted information to the user terminal, so that after the user terminal forwards the first encrypted information to the controlled device, the controlled device decrypts the first encrypted information by using the controlled device key to obtain a communication key, and determines the search identifier.
The second encrypted information generating module 930, configured to encrypt the search identifier and the communication key by using the remote control device key after receiving the search identifier forwarded by the user terminal, so as to generate second encrypted information.
The second encrypted information sending module 940 is configured to send the second encrypted information to the user terminal, so that after the user terminal forwards the second encrypted information to the remote control device, the remote control device decrypts the second encrypted information by using the remote control device key to obtain a search identifier and a communication key, determines the controlled device according to the search identifier, and communicates with the controlled device based on the communication key.
A communication apparatus based on a remote control device according to an embodiment of the present specification is introduced based on a communication method based on a remote control device corresponding to fig. 6. The communication device based on the remote control equipment is arranged on the controlled equipment. As shown in fig. 10, the remote control device-based communication apparatus includes the following modules.
A first encrypted information receiving module 1010, configured to receive first encrypted information sent by a user terminal; the first encrypted information comprises information which is sent to the user terminal by the server through the controlled device key after the user terminal sends the remote control device identifier and the controlled device identifier to the server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier.
And a first encrypted information decryption module 1020, configured to decrypt the first encrypted information with the controlled device key to obtain a communication key.
The search identifier sending module 1030 is configured to send the search identifier to the user terminal, so that after the user terminal forwards the search identifier to the server, the server encrypts the search identifier and the communication key by using the remote control device key to obtain second encrypted information, and forwards the second encrypted information to the remote control device based on the user terminal.
And the controlled device communication module 1040 is configured to, when the remote control device decrypts the second encrypted information by using the remote control device key and obtains the search identifier and the communication key, communicate with the remote control device based on the communication key.
A communication apparatus based on a remote control device according to an embodiment of the present specification is introduced based on a communication method based on a remote control device corresponding to fig. 7. The communication device based on the remote control equipment is arranged on the remote control equipment. As shown in fig. 11, the remote control device-based communication apparatus includes the following modules.
The second encrypted information receiving module 1110 is configured to send, at the user terminal, the remote control device identifier and the controlled device identifier to the server, and forward the first encrypted information, which is fed back by the server and encrypted by using the controlled device key and used for the communication key, to the controlled device, so that the controlled device decrypts the first encrypted information by using the controlled device key to obtain the communication key, and receives, in the case of feeding back the search identifier, the second encrypted information forwarded by the user terminal; the second encrypted information comprises information obtained by encrypting the search identifier and the communication key by the server through the remote control equipment key.
The second encrypted information decryption module 1120 is configured to decrypt the second encrypted information with the remote control device key to obtain the search identifier and the communication key.
And a controlled device determining module 1130, configured to determine a controlled device according to the lookup identifier.
And a remote control device communication module 1140 for communicating with the controlled device based on the communication key.
Based on the communication method based on the remote control device, the embodiment of the specification provides a computer readable storage medium on which a computer program/instruction is stored. The computer-readable storage medium can be read by a processor based on an internal bus of a device, and the program instructions in the computer-readable storage medium are implemented by the processor.
In this embodiment, the computer-readable storage medium may be implemented in any suitable manner. The computer-readable storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), a Memory Card (Memory Card), and the like. The computer storage medium stores computer programs/instructions. When executed, implement the program instructions or modules of the embodiments corresponding to fig. 4, 5, 6, or 7 of this specification.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth.
While the process flows described above include operations that occur in a particular order, it should be appreciated that the processes may include more or less operations that are performed sequentially or in parallel (e.g., using parallel processors or a multi-threaded environment).
While the process flows described above include operations that occur in a particular order, it should be appreciated that the processes may include more or less operations that are performed sequentially or in parallel (e.g., using parallel processors or a multi-threaded environment).
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The described embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (15)

1. A communication method based on remote control equipment is applied to a user terminal, and the method comprises the following steps:
sending the remote control equipment identifier and the controlled equipment identifier to a server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier;
receiving first encryption information fed back by a server; the first encrypted information comprises information obtained by encrypting a communication key by using a controlled device key;
sending the first encrypted information to the controlled equipment so that the controlled equipment decrypts the first encrypted information by using the controlled equipment key to obtain a communication key;
receiving a search identifier fed back by controlled equipment, and forwarding the search identifier to a server;
receiving second encryption information fed back by the server; the second encrypted information comprises information obtained by encrypting the search identifier and the communication key by using a remote control equipment key;
and sending the second encrypted information to remote control equipment, so that the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, then determining controlled equipment according to the search identifier, and communicating with the controlled equipment based on the communication key.
2. The method of claim 1, wherein prior to sending the remote control device identification and the controlled device identification to the server, further comprising:
and under the condition that the two-dimensional code image of the remote control equipment is acquired, determining the identification of the remote control equipment corresponding to the two-dimensional code image.
3. The method of claim 1, wherein forwarding the lookup identity to a server comprises:
and sending the search identifier, the remote control device identifier and the controlled device identifier to a server so that the server determines the remote control device key.
4. The method of claim 1, wherein after sending the second encrypted information to a remote control device, further comprising:
under the condition that the remote control equipment successfully analyzes the reply information fed back by the controlled equipment by using the communication key, receiving the binding success information sent by the remote control equipment, and forwarding the binding success information to the server; the binding success information is used for representing the binding relationship between the remote control equipment and the controlled equipment.
5. The method of claim 1, wherein after sending the second encrypted information to a remote control device, further comprising:
sending a unbinding request to a server so that the server sends a unbinding instruction to the controlled equipment, and the controlled equipment deletes the communication key corresponding to the remote control equipment identifier after receiving the unbinding instruction; the unbinding instruction comprises a remote control device identifier.
6. The method of claim 5, wherein the unbinding instruction comprises an instruction encrypted with a controlled device key.
7. A communication method based on a remote control device, which is applied to a server, the method comprising:
after receiving a remote control equipment identifier and a controlled equipment identifier sent by a user terminal, encrypting a communication key by using a controlled equipment key to generate first encryption information; the controlled equipment identifier corresponds to a controlled equipment key; the remote control equipment identification corresponds to a remote control equipment key;
sending the first encrypted information to a user terminal so that after the user terminal forwards the first encrypted information to controlled equipment, the controlled equipment decrypts the first encrypted information by using a controlled equipment key to obtain a communication key and determines a search identifier;
after receiving the search identifier forwarded by the user terminal, encrypting the search identifier and the communication key by using the key of the remote control equipment to generate second encryption information;
and sending the second encrypted information to a user terminal so that after the user terminal forwards the second encrypted information to remote control equipment, the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, then determining controlled equipment according to the search identifier, and communicating with the controlled equipment based on the communication key.
8. The method of claim 7, wherein the communication key comprises a key that is randomly generated after receiving the remote control device identification and the controlled device identification.
9. A communication method based on a remote control device is applied to a controlled device, and comprises the following steps:
receiving first encryption information sent by a user terminal; the first encrypted information comprises information which is sent to the user terminal by the server through the controlled device key after the user terminal sends the remote control device identifier and the controlled device identifier to the server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier;
decrypting the first encrypted information by using the controlled equipment key to obtain a communication key;
sending the search identifier to the user terminal so that after the user terminal forwards the search identifier to the server, the server encrypts the search identifier and the communication key by using a key of the remote control device to obtain second encrypted information, and forwards the second encrypted information to the remote control device based on the user terminal;
and under the condition that the remote control equipment decrypts the second encrypted information by using the remote control equipment key and obtains the search identifier and the communication key, the remote control equipment communicates with the remote control equipment based on the communication key.
10. The method of claim 9, wherein the controlled device is located on an electric bicycle or an automobile.
11. The method of claim 9, wherein communicating with a remote control device based on a communication key comprises:
and respectively communicating with the plurality of remote control devices based on different communication keys.
12. A communication method based on a remote control device, which is applied to the remote control device, and comprises the following steps:
the method comprises the steps that a user terminal sends a remote control device identifier and a controlled device identifier to a server, and forwards first encrypted information which is fed back by the server and is obtained by encrypting a communication key through a controlled device key to a controlled device, so that the controlled device decrypts the first encrypted information through the controlled device key to obtain the communication key, and receives second encrypted information forwarded by the user terminal under the condition of feeding back a search identifier; the second encrypted information comprises information obtained by encrypting the search identifier and the communication key by the server through the remote control equipment key;
decrypting the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key;
determining controlled equipment according to the search identifier;
and communicating with the controlled equipment based on the communication key.
13. The method of claim 12, wherein the communicating with a controlled device based on the communication key comprises:
encrypting the communication information by using the communication key to obtain encrypted communication information;
and sending the encrypted communication information to the controlled equipment so that the controlled equipment decrypts the encrypted communication information by using the communication key to obtain the communication information.
14. A communication apparatus based on a remote control device, which is provided in a user terminal, the apparatus comprising:
the identification sending module is used for sending the remote control equipment identification and the controlled equipment identification to the server; the server stores a remote control device key corresponding to the remote control device identifier and a controlled device key corresponding to the controlled device identifier;
the first encryption information receiving module is used for receiving first encryption information fed back by the server; the first encrypted information comprises information obtained by encrypting a communication key by using a controlled device key;
the first encrypted information forwarding module is used for sending the first encrypted information to the controlled equipment so that the controlled equipment decrypts the first encrypted information by using the controlled equipment key to obtain a communication key;
the searching identifier forwarding module is used for receiving the searching identifier fed back by the controlled equipment and forwarding the searching identifier to the server;
the second encryption information receiving module is used for receiving second encryption information fed back by the server; the second encrypted information comprises information obtained by encrypting the search identifier and the communication key by using a remote control equipment key;
and the second encrypted information forwarding module is used for sending the second encrypted information to the remote control equipment so that the remote control equipment decrypts the second encrypted information by using the key of the remote control equipment to obtain a search identifier and a communication key, then determines the controlled equipment according to the search identifier, and communicates with the controlled equipment based on the communication key.
15. A computer-readable storage medium having stored thereon a computer program/instructions, characterized in that the computer program/instructions, when executed, implement the method according to any of claims 1-6, 7-8, 9-11, 12-13.
CN202210111464.4A 2022-01-29 Communication method, device and storage medium based on remote control equipment Active CN114598459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210111464.4A CN114598459B (en) 2022-01-29 Communication method, device and storage medium based on remote control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210111464.4A CN114598459B (en) 2022-01-29 Communication method, device and storage medium based on remote control equipment

Publications (2)

Publication Number Publication Date
CN114598459A true CN114598459A (en) 2022-06-07
CN114598459B CN114598459B (en) 2024-04-19

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144049A (en) * 2014-03-11 2014-11-12 腾讯科技(深圳)有限公司 Encryption communication method, system and device
US20160036586A1 (en) * 2013-03-14 2016-02-04 Telefonaktiebolaget L M Ericsson (Publ) Mobile terminal, control method thereof, onboard unit, control method thereof, backend server, and control method thereof
CN105741525A (en) * 2016-02-24 2016-07-06 北京小米移动软件有限公司 Remote controller binding processing method, device and equipment
WO2018040643A1 (en) * 2016-08-31 2018-03-08 长城汽车股份有限公司 Mobile terminal, server, vehicle and control system thereof
CN108259460A (en) * 2017-11-24 2018-07-06 新华三信息安全技术有限公司 Apparatus control method and device
CN110091828A (en) * 2019-05-16 2019-08-06 广州小鹏汽车科技有限公司 A kind of control method and device of car key
CN110111472A (en) * 2019-05-16 2019-08-09 广州小鹏汽车科技有限公司 Vehicle key control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160036586A1 (en) * 2013-03-14 2016-02-04 Telefonaktiebolaget L M Ericsson (Publ) Mobile terminal, control method thereof, onboard unit, control method thereof, backend server, and control method thereof
CN104144049A (en) * 2014-03-11 2014-11-12 腾讯科技(深圳)有限公司 Encryption communication method, system and device
CN105741525A (en) * 2016-02-24 2016-07-06 北京小米移动软件有限公司 Remote controller binding processing method, device and equipment
WO2018040643A1 (en) * 2016-08-31 2018-03-08 长城汽车股份有限公司 Mobile terminal, server, vehicle and control system thereof
CN108259460A (en) * 2017-11-24 2018-07-06 新华三信息安全技术有限公司 Apparatus control method and device
CN110091828A (en) * 2019-05-16 2019-08-06 广州小鹏汽车科技有限公司 A kind of control method and device of car key
CN110111472A (en) * 2019-05-16 2019-08-09 广州小鹏汽车科技有限公司 Vehicle key control method and device

Similar Documents

Publication Publication Date Title
KR102237890B1 (en) Method and apparatus for facilitating electronic payments using a wearable device
US20160269176A1 (en) Key Configuration Method, System, and Apparatus
WO2019085449A1 (en) Service short message pushing method, apparatus, computer device and storage medium
EP3537652B1 (en) Method for securely controlling smart home appliance and terminal device
CN104137618A (en) Shared network access via a peer-to-peer link
KR20130111165A (en) Bluetooth low energy privacy
CN109309650B (en) Data processing method, terminal equipment and network equipment
CN107342861B (en) Data processing method, device and system
EP3769498B1 (en) Method and apparatus for installing and managing profile using message service
CN105959281B (en) File encryption transmission method and device
CN110519215B (en) Data communication method and device
CN104735484A (en) Method and device for playing video
CN107872315B (en) Data processing method and intelligent terminal
EP4152791A1 (en) Electronic device and method for electronic device to provide ranging-based service
CN114390492A (en) Timing method, device, equipment and storage medium
CA3052849C (en) Payment control method and device, electronic device, and storage medium
CN114598459B (en) Communication method, device and storage medium based on remote control equipment
CN114598459A (en) Communication method, device and storage medium based on remote control equipment
CN111132373A (en) Network connection method, device and equipment
CN113973123B (en) Multi-access mode encryption Internet of things communication method and system
WO2018054144A1 (en) Method, apparatus, device and system for dynamically generating symmetric key
US11477018B2 (en) Method, device and system for encrypting interactive data
CN114980083A (en) Secure communication method based on self-adaptive application and server
EP4117225A1 (en) Secure communication method and apparatus
CN106685931B (en) Smart card application management method and system, terminal and smart card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant