CN114598459B - 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
CN114598459B
CN114598459B CN202210111464.4A CN202210111464A CN114598459B CN 114598459 B CN114598459 B CN 114598459B CN 202210111464 A CN202210111464 A CN 202210111464A CN 114598459 B CN114598459 B CN 114598459B
Authority
CN
China
Prior art keywords
remote control
key
identifier
control device
controlled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210111464.4A
Other languages
Chinese (zh)
Other versions
CN114598459A (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
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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the specification provides a communication method, a communication device and a storage medium based on remote control equipment. The method comprises the following steps: the user terminal sends the remote control device identifier and the controlled device identifier to the server, and the server feeds back the first encryption information obtained by encrypting the communication key by using the controlled device key and forwards the first encryption information to the controlled device. The user terminal transmits the search identifier sent by the controlled device 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, the second encrypted information is transmitted to the remote control device, the remote control device decrypts the second encrypted information by using the remote control device key to obtain the search identifier and the communication key, the controlled device is determined according to the search identifier, and the communication is carried out with the controlled device based on the communication key. Through the process, pairing between the remote control equipment and the controlled equipment is realized, and the information security of the communication process and the 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, a device and a storage medium based on remote control equipment.
Background
A remote controller is a device for controlling a corresponding apparatus based on a wireless communication manner. For example, a remote controller of a vehicle may control operations such as opening, closing, and sounding an alarm of a door of a corresponding vehicle. The corresponding equipment is controlled through the remote controller, so that convenience can be improved, and corresponding requirements of users are met.
In a general remote controller application scene, a fixed instruction is adopted between a remote controller and controlled equipment for communication, so that although 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, only the remote controllers and the controlled devices can be bound at present, so that each remote controller can only control one controlled device, and the convenience of the use process of the remote controllers is greatly influenced. Especially, with the development of sharing technology, the limitation of controlling a sharing device by a remote controller greatly influences the application of sharing products. Therefore, a technical scheme for realizing flexible binding between the remote controller and the controlled device on the basis of information security is needed at present.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a communication method, apparatus and storage medium based on a remote control device, so as to solve the problem of how to implement flexible binding between a remote control and a controlled device based on information security.
In order to solve the above technical problems, an embodiment of the present disclosure proposes a communication method based on a remote control device, applied to a user terminal, the method including: transmitting 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; the first encryption information is sent to the controlled equipment, so that the controlled equipment decrypts the first encryption information by using the controlled equipment key to obtain a communication key; receiving a search identifier fed back by the controlled equipment, and forwarding the search identifier to a server; receiving second encryption information fed back by the server; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by using a remote control device key; and sending the second encryption information to remote control equipment so that the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains a search identifier and a communication key, determines controlled equipment according to the search identifier and communicates with the controlled equipment based on the communication key.
The embodiment of the specification also provides a communication method based on remote control equipment, which is applied to a server and comprises the following steps: after receiving a remote control device identifier and a controlled device identifier sent by a user terminal, encrypting a communication key by using a controlled device key to generate first encryption information; the controlled device identifier corresponds to a controlled device key; the remote control equipment identifier corresponds to a remote control equipment key; the first encryption information is sent to the user terminal, so that after the user terminal forwards the first encryption information to the controlled device, the controlled device decrypts the first encryption information by using the controlled device key to obtain a communication key, and a search identifier is determined; after receiving the search identifier forwarded by the user terminal, encrypting the search identifier and the communication key by using the remote control device key to generate second encryption information; and after the second encryption information is transmitted to the user terminal so that the user terminal forwards the second encryption information to the remote control equipment, the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains 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.
The embodiment of the specification also provides a communication method based on the remote control device, which is applied to the controlled device, and comprises the following steps: receiving first encryption information sent by a user terminal; the first encryption 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 a communication key by utilizing 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; decrypting the first encrypted information by using the controlled device key to obtain a communication key; the searching identification is sent to the user terminal, so that after the user terminal forwards the searching identification to the server, the server encrypts the searching identification and the communication key by utilizing the remote control device key to obtain second encryption information, and the second encryption information is forwarded to the remote control device based on the user terminal; and under the condition that the remote control device decrypts the second encrypted information by using the remote control device key and obtains the search identification and the communication key, communicating with the remote control device based on the communication key.
The embodiment of the specification also provides a communication method based on the 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 encrypted by a controlled device key to the controlled device, so that the controlled device decrypts the first encrypted information by 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 searching identifier; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by the server through the remote control device key; decrypting the second encrypted information by using the remote control device key to obtain a search identifier and a communication key; determining controlled equipment according to the searching identification; and communicating with the controlled device based on the communication key.
The embodiment of the specification also provides a communication device based on remote control equipment, which is arranged at a user terminal, and the device comprises: 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 encryption information forwarding module is used for sending the first encryption information to the controlled equipment so that the controlled equipment decrypts the first encryption information by using the controlled equipment key to obtain a communication key; the searching identification forwarding module is used for receiving searching identifications fed back by the controlled equipment and forwarding the searching identifications to the server; the second encryption information receiving module is used for receiving second encryption information fed back by the server; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by using a remote control device key; and the second encryption information forwarding module is used for sending the second encryption information to the remote control equipment so that the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains 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.
The embodiment of the specification also provides a communication device based on remote control equipment, which is arranged on a server, and the device comprises: the first encryption information generation module is used for encrypting the communication key by using the controlled equipment key after receiving the remote control equipment identifier and the controlled equipment identifier sent by the user terminal to generate first encryption information; the controlled device identifier corresponds to a controlled device key; the remote control equipment identifier corresponds to a remote control equipment key; the first encryption information sending module is used for sending the first encryption information to the user terminal so that after the user terminal forwards the first encryption information to the controlled device, the controlled device decrypts the first encryption information by using the controlled device key to obtain a communication key and determines a search identifier; the second encryption information generation module is used for encrypting the search identifier and the communication key by using the remote control equipment key after receiving the search identifier forwarded by the user terminal to generate second encryption information; and the second encryption information sending module is used for sending the second encryption information to the user terminal so that after the user terminal forwards the second encryption information to the remote control equipment, the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains 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.
The embodiment of the specification also provides a communication device based on remote control equipment, which is arranged on the controlled equipment, and the device comprises: the first encryption information receiving module is used for receiving first encryption information sent by the user terminal; the first encryption 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 a communication key by utilizing 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; the first encryption information decryption module is used for decrypting the first encryption information by using the controlled equipment key to obtain a communication key; the searching identification sending module is used for sending the searching identification to the user terminal, so that after the user terminal forwards the searching identification to the server, the server encrypts the searching identification and the communication key by using the remote control device key to obtain second encryption information, and forwards the second encryption information to the remote control device based on the user terminal; and the controlled device communication module is used for communicating with the remote control device based on the communication key under the condition that the remote control device decrypts the second encrypted information by utilizing the remote control device key and obtains the search identifier and the communication key.
The embodiment of the specification also provides a communication device based on remote control equipment, which is arranged on the remote control equipment and comprises: the second encryption information receiving module is used for sending the remote control equipment identifier and the controlled equipment identifier to the server, forwarding the first encryption information which is fed back by the server and is encrypted by the controlled equipment key to the controlled equipment, so that the controlled equipment decrypts the first encryption information by using the controlled equipment key to obtain the communication key, and receiving the second encryption information forwarded by the user terminal under the condition of feeding back the searching identifier; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by the server through the remote control device key; the second encryption information decryption module is used for decrypting the second encryption information by utilizing the remote control device key to obtain a search identifier and a communication key; the controlled device determining module is used for determining the controlled device according to the searching identification; and the remote control equipment communication module is used for communicating with the controlled equipment based on the communication key.
The present description embodiments also propose a computer-readable storage medium, on which a computer program/instruction is stored, which when executed implements the above-mentioned remote control device based communication method.
As can be seen from the technical solutions provided in the embodiments of the present disclosure, after a user terminal determines to send a remote control device identifier and a controlled device identifier to a server, the server encrypts a communication key by using a controlled device key to generate first encrypted information, and then forwards the first encrypted information to the controlled device via the user terminal. The controlled device decrypts the first encrypted information by using the controlled device key of the controlled device to obtain a communication key, and sends the search identification of the controlled device 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 transmits the second encrypted information to the remote control device via 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, pairing between the remote control equipment and the controlled equipment is achieved, communication can be carried out between the remote control equipment and the controlled equipment based on the communication key, and safety of communication between the equipment is improved. In addition, all the information in the binding process is encrypted information, the user terminal cannot decrypt the encrypted information, so that the transmitted communication key and the search identifier cannot be cracked, and the safety of the communication process is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present description, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of a communication system based on a remote control device according to an embodiment of the present specification;
fig. 2 is a flowchart of a communication method based on a remote control device according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an encryption communication process according to an embodiment of the present disclosure;
Fig. 4 is a flowchart of a communication method based on a remote control device according to an embodiment of the present disclosure;
Fig. 5 is a flowchart of a communication method based on a remote control device according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a communication method based on a remote control device according to an embodiment of the present disclosure;
Fig. 7 is a flowchart of a communication method based on a remote control device according to an embodiment of the present disclosure;
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 of the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
In order to better understand the inventive concept of the present application, first, a communication system based on a remote control device according to an embodiment of the present specification will be described. 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, etc. The user terminal 110 may communicate with the server 120 based on base station communications. The user terminal 110 may also communicate with the remote control device 130 and the controlled device 140 by adopting other wireless communication methods, for example, communication methods such as bluetooth communication may be adopted.
Preferably, in the embodiment of the present specification, the user may take corresponding operations based on a specific application program in the user terminal 110 to issue corresponding instructions.
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. These identification information and keys are also stored in the server 120 so that the server 120 can find out whether corresponding identification information exists or not, and find out the key corresponding to the identification information.
The remote control device 130 may communicate directly with the user terminal 110. The remote control device 130 may communicate with the controlled device 140 and communicate corresponding control instructions to the controlled device 140 after determining the corresponding controlled device 140. The remote control device 130 key is stored 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 production 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, one 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 successfully resolving the message, the controlled device 140 establishes a binding relationship with the remote control device 130, and further can communicate with the remote control device 130. The controlled device 140 may be a processor disposed in other application devices, for example, the controlled device 140 may be a vehicle central control, and may be capable of issuing corresponding instructions to control operations such as locking, opening a door, whistling, etc. of the vehicle. Specifically, the controlled device may be provided on an electric bicycle or an automobile. The memory of the controlled device 140 itself has a controlled device 140 key stored therein, where the controlled device 140 key may be a key predetermined during 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 illustrates the case where one remote control device 130 and one controlled device 140 are bound, and in practical application, the number of remote control devices 130 bound with the controlled device 140 may be one or more.
In general, the controlled device 140 key and the remote control device 130 key are keys based on a symmetric encryption process for convenience of a communication process, that is, the same key can be used for encryption and decryption. In some embodiments, the key of the controlled device 140 and the key of the remote control device 130 may also be keys based on an asymmetric encryption process, that is, the key stored in the server 120 is different from the key stored in the controlled device 140 or the remote control device 130, so as to implement the processes of public key encryption and private key decryption. For convenience of description, the key of the controlled device 140 and the key of the remote control device 130 are examples of keys based on a symmetric encryption process, and an asymmetric encryption process may be implemented after adjustment based on the key, which will not be described in detail.
Limited by the volume, use and manufacturing process of the remote control device 130 and the controlled device 140 themselves, the remote control device 130 and the controlled device 140 may not be able to communicate directly with the server 120, but only communicate with the user terminal 110 by means of short-range wireless communication, so that a corresponding message needs to be forwarded by the user terminal 110. In addition, the user terminal 110 is also 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 security of the communication process.
Based on the above communication system based on the remote control device, a communication method based on the remote control device according to an embodiment of the present specification is described. The execution subject of the communication method based on the remote control device is the communication system based on the remote control device. As shown in fig. 2, the remote control device-based communication method may include the following embodied steps.
S210: the user terminal sends the remote control device identifier and the controlled device identifier to the server.
After the user obtains the remote control device identifier and the controlled device identifier, the remote control device identifier and the controlled device identifier can be sent to the server.
The remote control device identifier is used for uniquely identifying the remote control device. The remote control device identifier may be an identifier directly obtained from the remote control device, or may be an identifier sent to the user terminal by the remote control device after the user terminal establishes communication with the remote control device.
In a specific example, the remote control device is provided with a two-dimensional code image, and a remote control device identifier is corresponding to the two-dimensional code image. After the two-dimensional code image is acquired by using the terminal equipment, the two-dimensional code image can be analyzed to obtain a corresponding remote control equipment 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 may be 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 identification 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 encrypted information.
The server, upon receiving the remote control device identification and the controlled device identification, 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 saved 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 the controlled device key can be decrypted and read only by the controlled device, thereby ensuring the safety of data transmission.
The communication key may be a server generated key for communication between the remote control device and the controlled device. Since the bound remote control device and the controlled device may not have performed any communication before and there is no case of a predetermined binding relationship, it is necessary to generate a communication key and notify the remote control device and the controlled device of the communication key, respectively.
In some embodiments, to ensure security of the communication, the communication key may be a key randomly generated by the server. The specific random generation algorithm can be selected based on actual application requirements, and is not limited in this regard.
After the communication key is generated, the communication key may be encrypted with the controlled device key. The specific encryption algorithm can be set based on the actual application requirements, and is not limited thereto.
S230: the server transmits the first encrypted information to the user terminal.
Because the server and the controlled device cannot directly communicate with each other, information can be forwarded based on the user terminal, i.e. the server firstly sends the first encrypted information to the user terminal.
S240: the user terminal sends the first encryption information to the controlled device.
Because 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 a decryption algorithm which are written in the self memory in advance can be utilized to decrypt the first encrypted information to obtain a communication key.
When the first encryption information is received, the controlled device can trigger a corresponding instruction to realize the binding between the controlled device and the remote control device. In order to enable the remote control device to locate the controlled device, the controlled device may determine its own seek identity. The search identifier may be a password set for implementing wireless communication, for example, when a 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 applications, the requirements for uniquely determining the controlled device according to the search identifier may be set to other formats, which is not limited.
The searching identifier may be a fixed identifier, or may be generated in real time for the binding process, which is not limited.
S260: the controlled device sends the search identification to the user terminal.
Because the server and the controlled device cannot directly communicate with each other, information can be forwarded based on the user terminal, i.e. the controlled device firstly sends the search identification to the user terminal.
S270: the user terminal sends the search identification to the server.
Because the server and the controlled equipment cannot be directly communicated, information can be forwarded based on the user terminal, namely the user terminal sends the search identification to the server.
In some embodiments, in order to make the server able to determine the controlled device corresponding to the search identifier, when the user terminal sends the search identifier, the remote control device identifier and the controlled device identifier may be sent to the server together, so as to ensure that the server is able to determine the remote control device and the controlled device corresponding to the search identifier, and further ensure the accuracy of the subsequent second encryption information generating 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 so as to realize the subsequent communication process.
The server may determine the saved remote control device key based on the remote control device identification. The remote control device key is also stored in the remote control device, so that the information encrypted by the remote control device key can be decrypted and read only by the remote control device, thereby ensuring the safety of data transmission.
The specific type of encryption algorithm and encryption process may be set based on the needs of the actual application, which is not limited.
S290: the server transmits the second encrypted information to the user terminal.
Because the server and the remote control device cannot directly communicate with each other, information forwarding can be performed based on the user terminal, i.e. the server firstly sends the second encrypted information to the user terminal.
S2100: the user terminal transmits the second encrypted information to the remote control device.
Because direct communication cannot be performed between the server and the remote control device, information forwarding can be performed based on the user terminal, i.e., the user terminal forwards the second encrypted information to the remote control device.
S2110: 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.
After the remote control device receives the second encrypted information, the remote control device key and the decryption algorithm which are written in the memory of the remote control device in advance can be utilized to decrypt the second encrypted information to obtain the communication key and the search identifier.
S2120: the remote control device determines the controlled device according to the search identification.
The remote control device can determine the controlled device according to the search identification. The controlled device can be directly constructed with the controlled device to complete the construction of a communication link based on the search identification, or can realize unidirectional communication from the remote control device to the controlled device. After the remote control device transmits corresponding information to the controlled device and the controlled device verifies the information, the construction of a communication link between the remote control device and the controlled device is completed. The specific setting mode can be adjusted based on actual application requirements, and is not limited.
S2130: the remote control device communicates with the controlled device based on the communication key.
When the remote control device needs to communicate with the controlled device, the remote control device and the controlled device acquire the same communication key, so that the remote control device can encrypt information by using the communication key and send the encrypted information to the controlled device, thereby ensuring the safety of the communication process.
In some embodiments, when the controlled device receives the information and successfully decrypts the encrypted information by using the communication key, the remote control device that sends the information is the device that needs to be bound, so that the binding between the remote control device and the controlled device is realized.
In some embodiments, after the remote control device is successfully matched with the controlled device, that is, the remote control device may 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 represent a binding relationship between the remote control device and the controlled device.
After receiving the binding success information, the user terminal can record the remote control equipment identifier and the controlled equipment identifier corresponding to the binding success information, so that the user can directly check the corresponding binding relationship through the user terminal, and the user is convenient to use.
In addition, the user terminal can also forward the binding success information to the server, so that the server can record the binding relationship between the remote control equipment and the controlled equipment according to the binding success information, and the server is convenient to manage the corresponding relationship between different remote control equipment and the controlled equipment.
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 perform an operation 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.
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 may refer to the above procedure for forwarding by the user terminal.
After the controlled device receives the unbinding instruction, the communication key stored by the controlled device and corresponding to the remote control device identifier can be deleted. After deleting the communication key, even if the encryption instruction or the encryption information sent by the remote control device is still received later, 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 device and the remote control device is realized.
In addition, as the communication key can be randomly generated, the condition that the communication key is controlled by the unbinding remote control device when the communication key is reused is avoided.
Correspondingly, the unbinding instruction comprises an instruction encrypted by using the key of the controlled equipment so as to ensure the safety of the communication process.
In some embodiments, one controlled device may communicate with a plurality of remote control devices, and in addition, different remote control devices correspond to different communication keys, and the controlled device may decrypt the encrypted information based on the corresponding communication keys, so as to implement a corresponding communication process.
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 encrypting information in the above process is outlined in connection with fig. 3, wherein communication between the server and the controlled device is encrypted based on the controlled device key, communication between the server and the remote control device is encrypted based on the remote control device key, and 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 are in an encrypted state, and the user terminal only plays a role in forwarding the message and cannot directly decrypt the information, so that the safety of the communication process is ensured.
Based on the description of the above embodiment, it can be seen that the method not only realizes pairing between the remote control device and the controlled device, but also can perform communication between the remote control device and the controlled device based on the communication key, thereby improving the safety of communication between the devices. In addition, all the information in the binding process is encrypted information, the user terminal cannot decrypt the encrypted information, so that the transmitted communication key and the search identifier cannot be cracked, 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 disclosure will be 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 remote control device-based communication method may include the following embodied steps.
S410: transmitting 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.
The description of this step may refer to the description in step S210, and will not be repeated here.
S420: receiving first encryption information fed back by a server; the first encryption information includes information obtained by encrypting the communication key by using the controlled device key.
The description of this step may refer to the descriptions in steps S220 and S230, and will not be repeated here.
S430: and sending the first encryption information to the controlled device so that the controlled device decrypts the first encryption information by using the controlled device key to obtain a communication key.
The description of this step may refer to the descriptions in steps S240 and S250, and will not be repeated here.
S440: and receiving the search identification fed back by the controlled equipment and forwarding the search identification to the server.
The description of this step may refer to the descriptions in steps S260 and S270, and will not be repeated here.
S450: receiving second encryption information fed back by the server; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by using a remote control device key.
The description of this step may refer to the descriptions in steps S280 and S290, and will not be repeated here.
S460: and sending the second encryption information to remote control equipment so that the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains a search identifier and a communication key, determines controlled equipment according to the search identifier and communicates with the controlled equipment based on the communication key.
The description of this step may refer to the descriptions in steps S2100, S2110, S2120, and S2130, and will not be repeated here.
Another communication method based on a remote control device according to the embodiment of the present disclosure will be 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 device is the server. As shown in fig. 5, the remote control device-based communication method may include the following embodied steps.
S510: after receiving a remote control device identifier and a controlled device identifier sent by a user terminal, encrypting a communication key by using a controlled device key to generate first encryption information; the controlled device identifier corresponds to a controlled device key; the remote control device identifier corresponds to a remote control device key.
The description of this step may refer to the descriptions in steps S210 and S220, and will not be repeated here.
S520: and sending the first encryption information to the user terminal, so that after the user terminal forwards the first encryption information to the controlled device, the controlled device decrypts the first encryption information by using the controlled device key to obtain a communication key, and determines the searching identification.
The description of this step may refer to the descriptions in steps S230, S240, and S250, and will not be repeated here.
S530: and after receiving the search identifier forwarded by the user terminal, encrypting the search identifier and the communication key by using the remote control device key to generate second encryption information.
The description of this step may refer to the descriptions in steps S260, S270, and S280, and will not be repeated here.
S540: and after the second encryption information is transmitted to the user terminal so that the user terminal forwards the second encryption information to the remote control equipment, the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains 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.
The description of this step may refer to the descriptions in steps S290, S2100, S2110, S2120, and S2130, and will not be described in detail herein.
Another communication method based on a remote control device according to the embodiment of the present disclosure will be 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 device is the controlled device. 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 encryption 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 a communication key by utilizing 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.
The description of this step may refer to the descriptions in steps S210, S220, S230, and S240, and will not be repeated here.
S620: and decrypting the first encrypted information by using the controlled equipment key to obtain a communication key.
The description of this step may refer to the description in step S250, and will not be repeated here.
S630: and sending the searching identification to the user terminal, so that after the user terminal forwards the searching identification to the server, the server encrypts the searching identification and the communication key by using the remote control device key to obtain second encryption information, and forwards the second encryption information to the remote control device based on the user terminal.
The description of this step may refer to the descriptions in steps S260, S270, S280, S290, S2100, and will not be repeated here.
S640: and under the condition that the remote control device decrypts the second encrypted information by using the remote control device key and obtains the search identification and the communication key, communicating with the remote control device based on the communication key.
The description of this step may refer to the descriptions in steps S2110, S2120, and S2130, and will not be repeated here.
Another communication method based on a remote control device according to the embodiment of the present disclosure will be 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 encrypted by a controlled device key to the controlled device, so that the controlled device decrypts the first encrypted information by 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 searching identifier; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by the server through 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, S2100, and the description thereof will not be repeated here.
S720: and decrypting the second encrypted information by using the remote control device key to obtain the search identifier and the communication key.
The description of this step may refer to the description in step S2110, and will not be repeated here.
S730: and determining the controlled equipment according to the searching identification.
The description of this step may refer to the description in step S2120, and will not be repeated here.
S740: and communicating with the controlled device based on the communication key.
The description of this step may refer to the description in step S2130, and will not be repeated here.
Based on the communication method based on the remote control device corresponding to fig. 4, a communication apparatus based on the remote control device according to an embodiment of the present disclosure is described. The communication device based on the remote control equipment is arranged at the user terminal. As shown in fig. 8, the remote control device-based communication apparatus includes the following modules.
An identifier sending module 810, configured to send the remote control device identifier and the controlled device 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.
A first encryption information receiving module 820, configured to receive first encryption information fed back by the server; the first encryption information includes information obtained by encrypting the communication key by using the controlled device key.
And the first encryption information forwarding module 830 is configured to send the first encryption information to the controlled device, so that the controlled device decrypts the first encryption information by using the controlled device key to obtain a communication key.
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 encryption information comprises information obtained by encrypting the search identifier and the communication key by using a remote control device key.
And the second encryption information forwarding module 860 is configured to send the second encryption information to a remote control device, so that the remote control device decrypts the second encryption information by using the remote control device key and obtains a search identifier and a communication key, determines a controlled device according to the search identifier, and communicates with the controlled device based on the communication key.
Based on the communication method based on the remote control device corresponding to fig. 5, a communication apparatus based on the remote control device according to an embodiment of the present disclosure is described. 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.
The first encryption information generating module 910 is configured to encrypt the communication key with the controlled device key to generate first encryption information after receiving the remote control device identifier and the controlled device identifier sent by the user terminal; the controlled device identifier corresponds to a controlled device key; the remote control device identifier corresponds to a remote control device key.
The first encryption information sending module 920 is configured to send the first encryption information to a user terminal, so that after the user terminal forwards the first encryption information to a controlled device, the controlled device decrypts the first encryption information by using the controlled device key to obtain a communication key, and determines a search identifier.
And the second encryption information generating module 930 is 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 encryption information.
And the second encryption information sending module 940 is configured to send the second encryption information to the user terminal, so that after the user terminal forwards the second encryption information to the remote control device, the remote control device decrypts the second encryption information by using the remote control device key and obtains 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.
Based on the communication method based on the remote control device corresponding to fig. 6, a communication apparatus based on the remote control device according to an embodiment of the present disclosure is described. 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 encryption information receiving module 1010, configured to receive first encryption information sent by a user terminal; the first encryption 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 a communication key by utilizing 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.
The first encryption information decryption module 1020 is configured to decrypt the first encryption information by using the controlled device key to obtain a communication key.
The search identifier sending module 1030 is configured to send a 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 communicate with the remote control device based on the communication key 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.
Based on the communication method based on the remote control device corresponding to fig. 7, a communication apparatus based on the remote control device according to an embodiment of the present disclosure is described. 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.
A second encrypted information receiving module 1110, configured to send, at a user terminal, a remote control device identifier and a controlled device identifier to a server, and forward, to the controlled device, first encrypted information that is fed back by the server and is encrypted by using a controlled device key to the communication key, so that the controlled device decrypts the first encrypted information by using the controlled device key to obtain the communication key, and receives, at a feedback search identifier, second encrypted information forwarded by the user terminal; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by the server through the remote control device key.
And the second encryption information decryption module 1120 is configured to decrypt the second encryption information by using the remote control device key to obtain the lookup identifier and the communication key.
And the controlled device determining module 1130 is configured to determine the controlled device according to the lookup identifier.
A remote control device communication module 1140, configured to communicate with a controlled device based on the communication key.
Based on the above-described remote control device-based communication method, the present embodiment provides a computer-readable storage medium having stored thereon a computer program/instructions. The computer readable storage medium may be read by a processor based on an internal bus of a device, and 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, random access memory (Random Access Memory, RAM), read-only memory (ROM), cache (cache), hard disk (HARD DISK DRIVE, HDD), memory card (memory card), and the like. The computer storage medium stores computer programs/instructions. Program instructions or modules of the embodiments of the present description corresponding to fig. 4 or fig. 5 or fig. 6 or fig. 7 are implemented when the computer program instructions are executed.
In this embodiment, the processor may be implemented in any suitable manner. For example, a processor may take the form of, for example, a microprocessor or processor, and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application SPECIFIC INTEGRATED Circuits (ASICs), programmable logic controllers, and embedded microcontrollers, among others.
While the process flows described above include a plurality of operations occurring in a particular order, it should be apparent that the processes may include more or fewer operations, which may be performed sequentially or in parallel (e.g., using a parallel processor or a multi-threaded environment).
While the process flows described above include a plurality of operations occurring in a particular order, it should be apparent that the processes may include more or fewer operations, which may be performed sequentially or in parallel (e.g., using a parallel processor 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description embodiments may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present embodiments 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 embodiments of the specification 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.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments. In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means 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 the embodiments of the present specification. In this specification, schematic representations of the above terms are not necessarily directed 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, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (13)

1. A communication method based on a remote control device, applied to a user terminal, the method comprising:
Transmitting 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; the communication key is a key randomly generated by the server after receiving the remote control equipment identifier and the controlled equipment identifier;
The first encryption information is sent to the controlled equipment, so that the controlled equipment decrypts the first encryption information by using the controlled equipment key to obtain a communication key;
Receiving a search identifier fed back by the controlled equipment, and forwarding the search identifier to a server;
Receiving second encryption information fed back by the server; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by using a remote control device key;
The second encryption information is sent to remote control equipment, so that the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains a search identifier and a communication key, determines controlled equipment according to the search identifier, and communicates with the controlled equipment based on the communication key;
sending a unbinding request to a server so that the server sends an unbinding instruction to a controlled device, and the controlled device deletes a communication key corresponding to the remote control device identifier after receiving the unbinding instruction; the unbinding instruction comprises a remote control device identifier.
2. The method of claim 1, wherein before 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 device is acquired, determining the remote control device identification 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 the 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, the binding success information sent by the remote control equipment is received, and the binding success information is forwarded to the server; the binding success information is used for representing the binding relation between the remote control equipment and the controlled equipment.
5. The method of claim 1, wherein the unbinding instruction comprises an instruction encrypted with a controlled device key.
6. A communication method based on a remote control device, applied to a server, the method comprising:
after receiving a remote control device identifier and a controlled device identifier sent by a user terminal, encrypting a communication key by using a controlled device key to generate first encryption information; the controlled device identifier corresponds to a controlled device key; the remote control equipment identifier corresponds to a remote control equipment key;
The first encryption information is sent to the user terminal, so that after the user terminal forwards the first encryption information to the controlled device, the controlled device decrypts the first encryption information by using the controlled device key to obtain a communication key, and a search identifier is determined; the communication key comprises a key which is randomly generated after the communication key is connected with the remote control equipment identifier and the controlled equipment identifier;
After receiving the search identifier forwarded by the user terminal, encrypting the search identifier and the communication key by using the remote control device key to generate second encryption information;
The second encryption information is sent to the user terminal, so that after the user terminal forwards the second encryption information to the remote control equipment, the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key, obtains a search identifier and a communication key, determines controlled equipment according to the search identifier, and communicates with the controlled equipment based on the communication key;
After receiving the unbinding request sent by the user terminal, sending an unbinding instruction to the controlled equipment, so that 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.
7. A communication method based on a remote control device, characterized in that it is applied to a controlled device, the method comprising:
Receiving first encryption information sent by a user terminal; the first encryption 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 a communication key by utilizing 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; the communication key is a key randomly generated by the server after receiving the remote control equipment identifier and the controlled equipment identifier;
Decrypting the first encrypted information by using the controlled device key to obtain a communication key;
The searching identification is sent to the user terminal, so that after the user terminal forwards the searching identification to the server, the server encrypts the searching identification and the communication key by utilizing the remote control device key to obtain second encryption information, and the second encryption information is forwarded to the remote control device based on the user terminal;
Under the condition that the remote control device decrypts the second encrypted information by utilizing the remote control device key and obtains the search identifier and the communication key, the remote control device is communicated with the remote control device based on the communication key;
After the user terminal sends a unbinding request to the server, receiving an unbinding instruction sent by the server, and deleting a communication key corresponding to the remote control equipment identifier; the unbinding instruction comprises a remote control device identifier.
8. The method of claim 7, wherein the controlled device is disposed on an electric bicycle or a car.
9. The method of claim 7, wherein the communicating with the remote control device based on the communication key comprises:
And respectively communicating with a plurality of remote control devices based on different communication keys.
10. A communication method based on a remote control device, characterized in that it is applied to a remote control device, said method comprising:
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 encrypted by a controlled device key to the controlled device, so that the controlled device decrypts the first encrypted information by 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 searching identifier; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by the server through the remote control device key; the communication key is a key randomly generated by the server after receiving the remote control equipment identifier and the controlled equipment identifier;
Decrypting the second encrypted information by using the remote control device key to obtain a search identifier and a communication key;
determining controlled equipment according to the searching identification;
Communicating with a controlled device based on the communication key; after a user terminal sends an unbinding request to a server and the server sends an unbinding instruction to a controlled device, the controlled device deletes a communication key corresponding to the remote control device identifier after receiving the unbinding instruction; the unbinding instruction comprises a remote control device identifier.
11. The method of claim 10, wherein the communicating with the 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 device so that the controlled device decrypts the encrypted communication information by using the communication key to obtain the communication information.
12. A communication apparatus based on a remote control device, characterized in that it is provided in a user terminal, said 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 encryption information comprises information obtained by encrypting a communication key by using a controlled device key; the communication key is a key randomly generated by the server after receiving the remote control equipment identifier and the controlled equipment identifier;
The first encryption information forwarding module is used for sending the first encryption information to the controlled equipment so that the controlled equipment decrypts the first encryption information by using the controlled equipment key to obtain a communication key;
The searching identification forwarding module is used for receiving searching identifications fed back by the controlled equipment and forwarding the searching identifications to the server;
the second encryption information receiving module is used for receiving second encryption information fed back by the server; the second encryption information comprises information obtained by encrypting the search identifier and the communication key by using a remote control device key;
The second encryption information forwarding module is used for sending the second encryption information to the remote control equipment so that the remote control equipment decrypts the second encryption information by utilizing the remote control equipment key and obtains a search identifier and a communication key, determines controlled equipment according to the search identifier and communicates with the controlled equipment based on the communication key;
The unbinding request sending module is used for sending an unbinding request to the server so that the server sends an 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.
13. A computer readable storage medium having stored thereon a computer program/instruction which, when executed, implements the method of any of claims 1-5,6,7-9, 10-11.
CN202210111464.4A 2022-01-29 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 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 2022-01-29 Communication method, device and storage medium based on remote control equipment

Publications (2)

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

Family

ID=81805255

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN114598459B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013023485A1 (en) * 2011-08-12 2013-02-21 华为技术有限公司 Terminal communication method and device
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
CN109951479A (en) * 2019-03-19 2019-06-28 中国联合网络通信集团有限公司 A kind of communication means, equipment and communication system
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009027491A (en) * 2007-07-20 2009-02-05 Seiko Epson Corp Vehicle security system
EP2974200B1 (en) * 2013-03-14 2016-05-25 Telefonaktiebolaget LM Ericsson (publ) Mobile terminal, onboard unit, and backend server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013023485A1 (en) * 2011-08-12 2013-02-21 华为技术有限公司 Terminal communication method and device
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
CN109951479A (en) * 2019-03-19 2019-06-28 中国联合网络通信集团有限公司 A kind of communication means, equipment and communication system
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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Cyber-security enhancement of networked control systems using homomorphic encryption;Kiminao Kogiso等;《2015 54th IEEE Conference on Decision and Control (CDC)》;20160211;全文 *
基于车载以太网的智能网联汽车网信安全防护技术研究;王建等;《智能网联汽车》;20200125;全文 *

Also Published As

Publication number Publication date
CN114598459A (en) 2022-06-07

Similar Documents

Publication Publication Date Title
US20210051000A1 (en) Vehicle-mounted device upgrade method and related device
US9544768B2 (en) Method and apparatus for performing secure Bluetooth communication
EP3926500B1 (en) Device upgrade method and related device
US20150113280A1 (en) Computer product, recording medium, communications apparatus, and communications method
KR20130111165A (en) Bluetooth low energy privacy
CN112632521B (en) Request response method and device, electronic equipment and storage medium
KR102600813B1 (en) Apparatus and method for installing and managing a profile by using messaging service
US11563730B2 (en) Method and electronic device for managing digital keys
CN101651714A (en) Downloading method and related system and equipment
EP4068675A1 (en) Method and device for certificate application
KR20200028786A (en) Apparatus and methods for ssp device and server to negociate digital certificates
EP4152791A1 (en) Electronic device and method for electronic device to provide ranging-based service
CN111431922A (en) Internet of things data encryption transmission method and system
CN114598459B (en) Communication method, device and storage medium based on remote control equipment
CN113613227A (en) Data transmission method and device of Bluetooth equipment, storage medium and electronic device
CN113194139A (en) Vehicle remote control method, device and system, electronic equipment and storage medium
CN115868189A (en) Method, vehicle, terminal and system for establishing vehicle safety communication
JP6203798B2 (en) In-vehicle control system, vehicle, management device, in-vehicle computer, data sharing method, and computer program
CN106685931B (en) Smart card application management method and system, terminal and smart card
JP6388622B2 (en) COMMUNICATION SYSTEM, TERMINAL DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN111225358B (en) Identity recognition method and device, electronic equipment and storage medium
US11477018B2 (en) Method, device and system for encrypting interactive data
CN113724482A (en) Radio frequency remote control method, device, storage medium and electronic equipment
CN114980012A (en) Internet of vehicles equipment authentication method, device and storage medium
JP6919484B2 (en) Cryptographic communication method, cryptographic communication system, key issuing device, program

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
GR01 Patent grant