CN109660609B - equipment identification method and device and storage medium - Google Patents

equipment identification method and device and storage medium Download PDF

Info

Publication number
CN109660609B
CN109660609B CN201811497633.2A CN201811497633A CN109660609B CN 109660609 B CN109660609 B CN 109660609B CN 201811497633 A CN201811497633 A CN 201811497633A CN 109660609 B CN109660609 B CN 109660609B
Authority
CN
China
Prior art keywords
identification code
network identification
sent
determined
data
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
CN201811497633.2A
Other languages
Chinese (zh)
Other versions
CN109660609A (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.)
Beijing Haitai Fangyuan High Technology Co Ltd
Original Assignee
Beijing Haitai Fangyuan High 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 Beijing Haitai Fangyuan High Technology Co Ltd filed Critical Beijing Haitai Fangyuan High Technology Co Ltd
Priority to CN201811497633.2A priority Critical patent/CN109660609B/en
Publication of CN109660609A publication Critical patent/CN109660609A/en
Application granted granted Critical
Publication of CN109660609B publication Critical patent/CN109660609B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

The embodiment of the application provides a device identification method and device and a storage medium, which are applied to control devices, wherein the method comprises the following steps: the method comprises the steps of generating plaintext data to be sent according to instruction data to be sent and a preset network identification code of a network where a target receiving end is located by obtaining the instruction data to be sent, first secret key information corresponding to the target receiving end and the preset network identification code of the network where the target receiving end is located, encrypting the plaintext data to be sent through the first secret key information to obtain ciphertext data to be sent, and sending the ciphertext data to be sent to designated equipment, so that the designated equipment can identify whether the designated equipment is the target receiving end or not according to the obtained network identification code to be determined after decrypting the ciphertext data to be sent through stored second secret key information. Therefore, the preset network identification code can be set in the ciphertext data to be transmitted, and the decrypted network identification code to be determined is used for identifying the target receiving end, so that the number of devices in the networking is not limited.

Description

Equipment identification method and device and storage medium
Technical Field
the present application relates to the field of communications, and in particular, to a device identification method and apparatus, and a storage medium.
Background
the networking mode of the existing bottom layer equipment is generally as follows: multiple slave devices can be connected in parallel on the bus of a control device (such as a PLC or RTU, etc.), and the bus can comprise an RS485/232 and can bus. Data transmission is performed on the bus through modbus, can protocol and some custom protocols, and currently, a corresponding device identifier may be set in the protocol for each slave device, so that the control device may access each slave device according to the device identifier. However, considering that the existing device identification is usually a limited number of bytes, the number of slave devices in the networking is limited.
disclosure of Invention
In view of the foregoing problems, embodiments of the present application provide a device identification method and apparatus, and a storage medium, so as to solve the problem that the number of devices in a networking in the prior art is limited.
According to a first aspect of the present invention, there is provided a device identification method applied to a control device, including:
Acquiring instruction data to be sent, first key information corresponding to a target receiving end and a preset network identification code of a network where the target receiving end is located;
Generating plaintext data to be sent according to the instruction data to be sent and the preset network identification code;
encrypting the plaintext data to be sent through the first key information to obtain ciphertext data to be sent;
and sending the ciphertext data to be sent to designated equipment so that the designated equipment can decrypt the ciphertext data to be sent through the stored second key information to obtain a network identification code to be determined, and identifying whether the designated equipment is the target receiving end or not according to the obtained network identification code to be determined and the preset network identification code.
Optionally, the sending the ciphertext data to be sent to a designated device, so that the designated device obtains a to-be-determined network identifier after decrypting the ciphertext data to be sent through the stored second key information, and identifies whether the designated device is the target receiving end according to the obtained to-be-determined network identifier and the preset network identifier, includes:
And sending the ciphertext data to be sent to the designated equipment so that the designated equipment can decrypt the ciphertext data to be sent through the stored second key information to obtain the network identification code to be determined, determine whether the network identification code to be determined is the preset network identification code, and determine that the designated equipment is the target receiving end when the network identification code to be determined is the preset network identification code.
Optionally, after sending the ciphertext data to be sent to the designated device, the method further includes:
receiving ciphertext data to be processed; the ciphertext data to be processed comprises instruction data to be processed and the preset network identification code;
acquiring target third key information in sequence from third key information corresponding to a plurality of devices included in a network;
Decrypting the ciphertext data to be processed through the target third key information to obtain a network identification code to be identified;
And when the acquired network identification code to be identified is determined to be the preset network identification code, determining the equipment corresponding to the target third key information to be a target sending end.
Optionally, the generating of plaintext data to be sent according to the instruction data to be sent and the preset network identification code includes:
And combining the instruction data to be sent and the preset network identification code according to a preset data format to obtain the plaintext data to be sent.
according to a second aspect of the present invention, there is provided a device identification method applied to a specified device, the method comprising:
receiving ciphertext data to be sent by control equipment;
decrypting the ciphertext data to be transmitted through the stored second key information to obtain a network identification code to be determined;
And identifying whether the appointed equipment is a target receiving end or not according to the acquired network identification code to be determined and a preset network identification code.
Optionally, the identifying, according to the acquired network identification code to be determined and the preset network identification code, whether the designated device is a target receiving end includes:
Determining whether the network identification code to be determined is the preset network identification code;
and when the network identification code to be determined is the preset network identification code, determining the designated equipment as the target receiving end.
optionally, after determining whether the network identification code to be determined is the preset network identification code, the method further includes:
When the network identification code to be determined is not the preset network identification code, determining that the designated device is a forwarding device, acquiring a next device corresponding to the forwarding device, and circularly executing the updating step of the forwarding device until a new network identification code to be determined acquired by the next device is the preset network identification code, and determining that the next device is the target receiving end; the forwarding device and the next device are adjacent serial devices;
the forwarding device updating step includes:
And sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device obtains a new network identification code to be determined after decrypting the ciphertext data to be sent through the stored fourth key information, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code.
According to a third aspect of the present invention, there is provided a device identification apparatus applied to a control device, the apparatus comprising:
the first acquisition module is used for acquiring instruction data to be transmitted, first key information corresponding to a target receiving terminal and a preset network identification code of a network where the target receiving terminal is located;
the generating module is used for generating plaintext data to be sent according to the instruction data to be sent and the preset network identification code;
the second obtaining module is used for encrypting the plaintext data to be sent through the first key information to obtain ciphertext data to be sent;
And the sending module is used for sending the ciphertext data to be sent to the designated equipment, so that the designated equipment can decrypt the ciphertext data to be sent through the stored second key information to obtain a network identification code to be determined, and can identify whether the designated equipment is the target receiving end or not according to the obtained network identification code to be determined and the preset network identification code.
Optionally, the sending module is configured to send the ciphertext data to be sent to the designated device, so that the designated device obtains the network identification code to be determined after decrypting the ciphertext data to be sent through the stored second key information, determines whether the network identification code to be determined is the preset network identification code, and determines that the designated device is the target receiving end when the network identification code to be determined is the preset network identification code.
Optionally, the method further includes:
The processing ciphertext receiving module is used for receiving ciphertext data to be processed; the ciphertext data to be processed comprises instruction data to be processed and the preset network identification code;
the third obtaining module is used for obtaining target third key information in sequence from third key information corresponding to a plurality of devices included in the network;
The processing ciphertext decryption module is used for decrypting the to-be-processed ciphertext data through the target third key information to obtain a to-be-identified network identification code;
and the determining module is used for determining that the equipment corresponding to the target third key information is the target sending end when the acquired network identification code to be identified is determined to be the preset network identification code.
Optionally, the generating module is configured to combine the instruction data to be sent and the preset network identification code according to a preset data format to obtain the plaintext data to be sent.
according to a fourth aspect of the present invention, there is provided an apparatus for identifying a device, the apparatus being applied to a specific device, the apparatus comprising:
The sending ciphertext receiving module is used for receiving ciphertext data to be sent, which is sent by the control equipment;
The sending ciphertext decryption module is used for decrypting the ciphertext data to be sent through the stored second key information to obtain a network identification code to be determined;
and the identification module is used for identifying whether the specified equipment is a target receiving end or not according to the acquired network identification code to be determined and a preset network identification code.
optionally, the identification module includes:
The first determining submodule is used for determining whether the network identification code to be determined is the preset network identification code;
And the second determining submodule is used for determining the designated equipment as the target receiving end when the network identification code to be determined is the preset network identification code.
optionally, the identification module further includes:
the processing submodule is used for determining the designated equipment as forwarding equipment when the network identification code to be determined is not the preset network identification code, acquiring next equipment corresponding to the forwarding equipment, and circularly executing the updating step of the forwarding equipment until a new network identification code to be determined acquired by the next equipment is the preset network identification code, and determining the next equipment as the target receiving end; the forwarding device and the next device are adjacent serial devices;
The forwarding device updating step includes:
and sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device obtains a new network identification code to be determined after decrypting the ciphertext data to be sent through the stored fourth key information, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code.
according to a fifth aspect of the present invention, there is provided a device identification apparatus comprising a processor and a memory, wherein,
The processor executes the computer program code stored in the memory to implement the device identification method described herein.
According to a sixth aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the device identification method described herein.
The embodiment of the application has the following advantages:
According to the embodiment of the application, command data to be sent, first key information corresponding to a target receiving end and a preset network identification code of a network where the target receiving end is located are obtained, plaintext data to be sent are generated according to the command data to be sent and the preset network identification code, the plaintext data to be sent are encrypted through the first key information to obtain ciphertext data to be sent, the ciphertext data to be sent are sent to a designated device, the designated device can decrypt the ciphertext data to be sent through stored second key information to obtain a network identification code to be determined, and whether the designated device is the target receiving end or not is identified according to the obtained network identification code to be determined and the preset network identification code. Therefore, the preset network identification code can be set in the ciphertext data to be transmitted, and the target receiving end is identified by using the decrypted network identification code to be determined, so that the number of devices in networking is not limited, and the process of setting a corresponding device identifier for each device in the prior art is avoided.
drawings
FIG. 1 is a flow chart of steps of an embodiment of a device identification method of the present application;
FIG. 2 is a flow chart of steps in an alternative embodiment of a device identification method of the present application;
FIG. 3 is a flow chart of steps in an alternative embodiment of a device identification method of the present application;
FIG. 4 is a flow chart of steps in an alternative embodiment of a device identification method of the present application;
FIG. 5 is a block diagram of an embodiment of a device identification apparatus of the present application;
FIG. 6 is a block diagram of an alternative embodiment of a device identification apparatus of the present application;
FIG. 7 is a block diagram of an alternative embodiment of a device identification apparatus of the present application;
FIG. 8 is a block diagram of an alternative embodiment of a device identification apparatus of the present application;
FIG. 9 is a block diagram of an alternative embodiment of a device identification apparatus of the present application;
Fig. 10 is a schematic hardware structure diagram of an apparatus identification device according to another embodiment of the present application.
Detailed Description
in order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
referring to fig. 1, a flowchart illustrating steps of an embodiment of an apparatus identification method according to the present application is shown, and is applied to a control apparatus, where the method specifically includes the following steps:
Step 101, obtaining instruction data to be sent, first key information corresponding to a target receiving end and a preset network identification code of a network where the target receiving end is located.
in the embodiment of the present invention, the key information and the preset network identification code in the present invention may be managed by a key server in a networking, for example, when networking the control device and a plurality of slave devices, the key server may preset a corresponding preset network identification code for each network in the networking, the network may be a subnet, each slave device may generate a public and private key pair (i.e., public key information and private key information) according to the device information such as a corresponding device number and a manufacturer, so that the slave device may store its own private key information and the preset network identification code of the network where the slave device is located, and the slave device may transmit its own public key information and device information to the key server, so that the key server stores the public key information and device information corresponding to each slave device and the preset network identification code in a key database. In this way, the control device may back up the public key information of the device to be accessed and the preset network identification code from the key database to the local of the control device through the data backup instruction, and of course, the preset network identification code in the present invention may also be generated by a slave device, where the designated device, the forwarding device, and the next device involved in the present invention all belong to the slave device described above.
It should be noted that, because the present invention is used for identifying an equipment identity, in order to distinguish an equipment entity from an equipment identity, in the present invention, for the equipment entity, the present invention is referred to as "equipment", such as a designated equipment, a forwarding equipment, and a next equipment, and for the equipment identity, the present invention is referred to as "target sending end" and "target receiving end", and the above names are only for convenience of description, and the present invention is not limited to this.
In addition, when a new device is added to the network, public key information, a preset network identification code and device information corresponding to the new device can be added to the key database, so that the control device can acquire the public key information and the preset network identification code of the new device; when a certain device in the network is deleted, the public key information, the preset network identification code and the device information corresponding to the certain device can be deleted in the key database, and the key server can determine whether the public key information and the preset network identification code of the certain device are stored in the control device, if the public key information and the preset network identification code of the certain device are stored in the control device, the key server can send an information deletion instruction to the control device, so that the control device deletes the public key information and the preset network identification code of the certain device according to the information deletion instruction; if the control device does not store the public key information and the preset network identification code of the certain device, the key server does not respond, and the related information of the device can be updated in the above mode.
and 102, generating plaintext data to be sent according to the instruction data to be sent and the preset network identification code.
The command data to be sent and the preset network identification code can be combined according to a preset data format to obtain the plaintext data to be sent.
for example, the preset data format may be as shown in table 1:
TABLE 1 Preset data Format
Length (byte) 4 bytes According to the requirements of users
Content providing method and apparatus Presetting network identification code Instruction data to be sent
As shown in table 1, plaintext data to be transmitted can be divided into two parts: that is, the front part is the preset network identification code, and the rear part is the instruction data to be sent, so that the present invention can firstly identify the preset network identification code of 4 bytes included in the front part, and after determining the target receiving end according to the preset network identification code, the target receiving end analyzes the instruction data included in the rear part except for the first 4 bytes, and the length of the preset network identification code is only exemplified.
Of course, the preset data format may also be: the front part of plaintext data to be sent is the instruction data to be sent, and the rear part of the instruction data to be sent is the preset network identification code, so that the preset network identification code of 4 bytes included in the rear part can be firstly identified, and after a target receiving end is determined according to the preset network identification code, the target receiving end analyzes the instruction data included in the front part except the first 4 bytes. In addition, the preset network identification code may also be set at a specified byte position according to the requirement of the user, which is not limited in the present invention.
Step 103, encrypting the plaintext data to be sent by using the first key information to obtain ciphertext data to be sent.
In the invention, the plaintext data to be sent can be encrypted by adopting the existing encryption algorithm, so that the safety of data transmission between the control equipment and the equipment in the network is improved.
and step 104, sending the ciphertext data to be sent to a designated device, so that the designated device decrypts the ciphertext data to be sent through the stored second key information to obtain a network identification code to be determined, and identifying whether the designated device is the target receiving end according to the obtained network identification code to be determined and the preset network identification code.
And aiming at the characteristics of a public and private key pair, if the appointed equipment is not the target receiving end, the network identification code to be determined is different from the preset network identification code, and if the appointed equipment is the target receiving end, the network identification code to be determined is the same as the preset network identification code.
in the preferred embodiment of the present invention, it is considered that the number of nodes in the bus is limited in the prior art, thereby resulting in a shorter transmission distance. For example, the number of loads of the RS485 bus is at most 256, and the corresponding maximum transmission distance is 1200 meters; the number of the loads of the RS232 buses is 1, and the corresponding maximum transmission distance is 15 meters; the load number of the can bus is at most 110, and the corresponding maximum transmission distance is 10 km. In order to solve the problem, in the present invention, one control device and a plurality of slave devices exist in the network, and the plurality of slave devices may be connected in series through a bus, so that a transmission distance may be increased. In this way, the designated device in this step may be a device determined according to the connection order of the plurality of slave devices, for example, a device connected to the bus, which receives the ciphertext data to be transmitted sent by the control device.
In a possible implementation manner, when the designated device recognizes that the designated device is not the target receiving end according to the acquired network identification code to be determined and the preset network identification code, determining that the designated device is the forwarding device, acquiring a next device corresponding to the forwarding device, and circularly executing the updating step of the forwarding device until a new network identification code to be determined acquired by the next device is the preset network identification code, and determining that the next device is the target receiving end; the forwarding device and the next device are adjacent series devices; the forwarding device updating step includes: and sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device decrypts the ciphertext data to be sent through the stored fourth key information to obtain a new network identification code to be determined, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code.
in another possible implementation manner, when the designated device identifies that the designated device is not the target receiving end according to the acquired network identification code to be determined and the preset network identification code, the designated device may send a target device determination instruction to the control device, so that the control device determines that the designated device is the transfer device in response to the target device determination instruction, acquires a next device corresponding to the transfer device, sends the ciphertext instruction to be sent to the next device through the transfer device, and circularly executes the transfer device updating step until a new network identification code to be determined acquired by the next device is the preset network identification code, and determines that the next device is the target receiving end, where the transfer device updating step includes: and when the next device decrypts the ciphertext data to be transmitted through the stored fifth key information to obtain a new network identification code to be determined, which is not the preset network identification code, the next device is updated to be a new transit device, and the transit device and the next device are adjacent serial devices.
In addition, in this step, the ciphertext data to be sent may be sent to a bus, so that the designated device may obtain the ciphertext data to be sent from the bus.
to sum up, in the embodiment of the present application, instruction data to be sent, first key information corresponding to a target receiving end, and a preset network identification code of a network where the target receiving end is located are obtained, plaintext data to be sent are generated according to the instruction data to be sent and the preset network identification code, the plaintext data to be sent are encrypted through the first key information to obtain ciphertext data to be sent, the ciphertext data to be sent are sent to a designated device, so that the designated device decrypts the ciphertext data to be sent through stored second key information to obtain a network identification code to be determined, and whether the designated device is the target receiving end is identified according to the obtained network identification code to be determined and the preset network identification code. Therefore, the preset network identification code can be set in the ciphertext data to be transmitted, and the target receiving end is identified by using the decrypted network identification code to be determined, so that the number of devices in networking is not limited, and the process of setting a corresponding device identifier for each device in the prior art is avoided.
Referring to fig. 2, a flowchart illustrating steps of an alternative embodiment of the device identification method according to the present application is shown, and is applied to a specific device, where the method specifically includes the following steps:
step 201, receiving ciphertext data to be sent by the control device.
The ciphertext data to be sent is obtained by encrypting plaintext data to be sent through the control device, wherein the plaintext data to be sent is generated by combining instruction data to be sent and a preset network identification code according to a preset data format.
Step 202, decrypting the ciphertext data to be sent through the stored second key information to obtain the network identification code to be determined.
in this step, since the encryption algorithm and the decryption algorithm to be used are stored in advance between the control device and the specified device, the stored decryption algorithm can be used to decrypt the ciphertext data to be transmitted.
And step 203, identifying whether the specified device is a target receiving end according to the acquired network identification code to be determined and the preset network identification code.
In this step, if the network identification code is a preset network identification code, determining that the designated device is a target receiving end, at this time, analyzing the instruction data to be sent through the designated device, and executing an instruction issued by the control device according to an analysis result; if the network identification code is not the preset network identification code, determining that the designated equipment is not the target receiving end, determining that the designated equipment is the forwarding equipment, acquiring next equipment corresponding to the forwarding equipment, and circularly executing the updating step of the forwarding equipment until the new network identification code to be determined acquired by the next equipment is the preset network identification code, and determining that the next equipment is the target receiving end; the forwarding device and the next device are adjacent series devices; the forwarding device updating step includes: and sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device decrypts the ciphertext data to be sent through the stored fourth key information to obtain a new network identification code to be determined, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code.
In summary, in the embodiment of the application, the ciphertext data to be transmitted sent by the control device is received, the ciphertext data to be sent is decrypted through the stored second key information, and then the network identification code to be determined is obtained, and whether the designated device is the target receiving end or not is identified according to the obtained network identification code to be determined and the preset network identification code. Therefore, the preset network identification code can be set in the ciphertext data to be transmitted, and the target receiving end is identified by using the decrypted network identification code to be determined, so that the number of devices in networking is not limited, and the process of setting a corresponding device identifier for each device in the prior art is avoided.
referring to fig. 3, a flowchart illustrating steps of an alternative embodiment of the device identification method of the present application is shown, which may specifically include the following steps:
Step 301, the control device obtains instruction data to be sent, first key information corresponding to a target receiving end, and a preset network identification code of a network where the target receiving end is located.
the target receiving end is an equipment end that the control equipment needs to send the instruction data to be sent, for example, the instruction data to be sent may be a data acquisition instruction, where the data acquisition instruction is used to instruct to acquire data acquired by the target receiving end, or the instruction data to be sent may be an equipment control instruction, where the equipment control instruction is used to instruct the target receiving end to operate according to a target control parameter.
in this step, the first key information may be public key information of the target receiving end.
for example, if the network includes the control device C, and the slave devices a1, a2, … An, n are positive integers, the preset network identifiers corresponding to the slave devices a1, a2, … An in the network may be set in advance as BBDD, and a public and private key pair may be set for each slave device, so that each slave device may store its own private key information and preset network identifier BBDD, and the control device may store An information correspondence relationship, where the information correspondence relationship includes the public key information corresponding to each slave device and the preset network identifier BBDD, so that this step may obtain the first key information and the preset network identifier BBDD corresponding to the target receiving end from the stored information correspondence relationship.
step 302, the control device combines the instruction data to be sent and the preset network identification code according to a preset data format to obtain the plaintext data to be sent.
the specific process may refer to step 102, and is not described in detail.
Step 303, the control device encrypts the plaintext data to be sent through the first key information to obtain ciphertext data to be sent.
and step 304, the control device sends the ciphertext data to be sent to the designated device.
The embodiment of the invention can transmit the ciphertext data to be transmitted to the bus through the data transmission interface of the control device, so that the designated device can acquire the ciphertext data to be transmitted from the bus.
and 305, the appointed equipment decrypts the ciphertext data to be sent through the stored second key information to obtain the network identification code to be determined.
In step 306, the designated device determines whether the network identification code to be determined is the preset network identification code.
the second key information may be private key information corresponding to the specified device.
if the network identification code to be determined is the preset network identification code, go to step 307;
if the network identification code to be determined is not the predetermined network identification code, step 308 is executed.
in step 307, the designated device determines that the designated device is the target receiving end.
and 308, the designated device determines that the designated device is a forwarding device, acquires the next device corresponding to the forwarding device, and circularly executes the updating step of the forwarding device until the new network identification code to be determined acquired by the next device is the preset network identification code, and determines that the next device is the target receiving end.
In an embodiment of the present invention, the forwarding device and the next device may be adjacent tandem devices.
Wherein, the updating step of the forwarding device comprises: and sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device decrypts the ciphertext data to be sent through the stored fourth key information to obtain a new network identification code to be determined, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code. And the fourth key information is the private key information corresponding to the next device.
in addition, after the target receiving end is determined, the command data to be sent can be analyzed through the target receiving end, so that the command sent by the control equipment is executed according to the analysis result.
to sum up, in the embodiment of the present application, instruction data to be sent, first key information corresponding to a target receiving end, and a preset network identification code of a network where the target receiving end is located are obtained, plaintext data to be sent are generated according to the instruction data to be sent and the preset network identification code, the plaintext data to be sent are encrypted through the first key information to obtain ciphertext data to be sent, the ciphertext data to be sent are sent to a designated device, so that the designated device decrypts the ciphertext data to be sent through stored second key information to obtain a network identification code to be determined, and whether the designated device is the target receiving end is identified according to the obtained network identification code to be determined and the preset network identification code. Therefore, the network identification code can be set in the ciphertext data to be transmitted, and the target receiving end is identified by using the decrypted network identification code to be determined, so that the number of devices in networking is not limited, and the process of setting a corresponding device identifier for each device in the prior art is avoided.
the processes of the above embodiments are all processes of controlling the device to issue data to the slave device, after the device is identified, the slave device can upload data based on the instruction data to be sent, that is, if the instruction data to be sent is a data acquisition instruction, the slave device may transmit the acquired data to the control device by using the data uploading process described in embodiment 4, and if the instruction data to be sent is a device control instruction, the slave device may transmit the device operation status to the control device using the data upload process described in embodiment 4, of course, this embodiment 4 can also be applied to a scenario where the slave device actively uploads data, such as if there is a failure in the device, the failure alarm information may be sent to the control device through a data uploading process in this embodiment, and the above example is only an example, and the present invention is not limited to this.
Referring to fig. 4, a flowchart illustrating steps of an alternative embodiment of the device identification method of the present application is shown, which specifically includes the following steps:
Step 401, the control device receives ciphertext data to be processed.
Because the device side usually performs data transmission through the bus when sending data to the control device, the control device receives ciphertext data to be processed transmitted by the bus.
The ciphertext data to be processed includes the instruction data to be processed and the preset network identification code, and the generating manner of the ciphertext data to be processed in this step may refer to the generating manner of the ciphertext data to be transmitted in step 103, which is not described in detail.
Step 402, the control device sequentially obtains target third key information from third key information corresponding to a plurality of devices included in the network.
In the embodiment of the present invention, since the control device stores in advance an information correspondence relationship, where the information correspondence relationship includes the third key information and the preset network identification code of each device side, the information correspondence relationship may be in a form of a table, and the third key information may be public key information, so that the control device may sequentially obtain the target third key information from the information correspondence relationship, for example, sequentially obtain the target third key information from the front to the back, or sequentially obtain the target third key information from the back to the front, and the like.
and step 403, the control device decrypts the ciphertext data to be processed through the target third key information to obtain a network identification code to be identified.
based on the characteristics of the public and private key pair, if the device end corresponding to the target third key information is not the target sending end, the network identification code to be identified is different from the preset network identification code, and if the device end corresponding to the target third key information is the target sending end, the network identification code to be identified is the same as the preset network identification code.
In step 404, the control device determines whether the acquired network identification code to be identified is a preset network identification code.
when the network identification code to be identified is the preset network identification code, executing step 405;
And returning to the step 402 when the network identification code to be identified is not the preset network identification code.
Step 405, the control device determines that the device corresponding to the target third key information is the target sending end.
to sum up, in the embodiment of the present application, ciphertext data to be processed is received, target third key information is obtained in sequence from stored third key information corresponding to a plurality of devices, the ciphertext data to be processed is decrypted by the target third key information to obtain a network identification code to be identified, and when it is determined that the obtained network identification code to be identified is the same as the preset network identification code, a device corresponding to the target third key information is determined to be a target sending end. Therefore, the preset network identification code can be set in the ciphertext data to be processed, and the decrypted network identification code to be identified is used for identifying the target sending end, so that the number of devices in networking is not limited, and the process of setting a corresponding device identifier for each device in the prior art is avoided.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
referring to fig. 5, a block diagram of an embodiment of an apparatus identification device 500 of the present application is shown, and is applied to a control apparatus, and specifically includes the following modules:
A first obtaining module 501, configured to obtain instruction data to be sent, first key information corresponding to a target receiving end, and a preset network identification code of a network where the target receiving end is located;
A generating module 502, configured to generate plaintext data to be sent according to the instruction data to be sent and the preset network identification code;
A second obtaining module 503, configured to encrypt the plaintext data to be sent by using the first key information to obtain ciphertext data to be sent;
The sending module 504 is configured to send the ciphertext data to be sent to a designated device, so that the designated device obtains a to-be-determined network identifier after decrypting the ciphertext data to be sent through the stored second key information, and identifies whether the designated device is the target receiving end according to the obtained to-be-determined network identifier and the preset network identifier.
In an optional embodiment of the application, the sending module 504 is configured to send the ciphertext data to be sent to the designated device, so that the designated device obtains the network identifier to be determined after decrypting the ciphertext data to be sent through the stored second key information, determines whether the network identifier to be determined is the preset network identifier, and determines that the designated device is the target receiving end when the network identifier to be determined is the preset network identifier.
referring to fig. 6, in an alternative embodiment of the present application, the apparatus 500 further comprises:
a ciphertext receiving processing module 505, configured to receive ciphertext data to be processed; the ciphertext data to be processed comprises instruction data to be processed and the preset network identification code;
A third obtaining module 506, configured to obtain target third key information in sequence from third key information corresponding to multiple devices included in the network;
A processed ciphertext decryption module 507, configured to decrypt the to-be-processed ciphertext data through the target third key information to obtain a to-be-identified network identification code;
A determining module 508, configured to determine, when it is determined that the obtained network identification code to be identified is the preset network identification code, that the device corresponding to the target third key information is the target sending end.
In an optional embodiment of the present application, the generating module 502 is configured to combine the instruction data to be sent and the preset network identifier according to a preset data format to obtain the plaintext data to be sent.
Referring to fig. 7, a block diagram of an embodiment of a device identification apparatus 700 according to the present application is shown, and is applied to a specific device, and specifically includes the following modules:
A ciphertext receiving module 701, configured to receive ciphertext data to be sent, sent by the control device;
a ciphertext decryption module 702, configured to decrypt, through the stored second key information, the ciphertext data to be sent to obtain a to-be-determined network identifier;
The identifying module 703 is configured to identify whether the designated device is a target receiving end according to the acquired to-be-determined network identification code and the preset network identification code.
Referring to fig. 8, in an alternative embodiment of the present application, the identifying module 703 includes:
a first determining submodule 7031, configured to determine whether the network identification code to be determined is the preset network identification code;
the second determining sub-module 7032 is configured to determine that the designated device is the target receiving end when the network identification code to be determined is the preset network identification code.
referring to fig. 9, in an alternative embodiment of the present application, the identifying module 703 further includes:
A processing sub-module 7033, configured to, when the network identification code to be determined is not the preset network identification code, determine that the designated device is a forwarding device, obtain a next device corresponding to the forwarding device, and cyclically execute a forwarding device updating step until a new network identification code to be determined obtained by the next device is the preset network identification code, and determine that the next device is the target receiving end; the forwarding device and the next device are adjacent series devices;
the forwarding device updating step includes:
and sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device decrypts the ciphertext data to be sent through the stored fourth key information to obtain a new network identification code to be determined, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code.
The present application further provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a terminal device, the one or more modules may cause the terminal device to execute instructions (instructions) of method steps in the present application.
Fig. 10 is a schematic hardware structure diagram of an apparatus identification device according to another embodiment of the present application. FIG. 10 is a specific embodiment of the implementation of FIG. 10. As shown in fig. 10, the device identification apparatus of the present embodiment includes a processor 101 and a memory 102.
The processor 101 executes the computer program code stored in the memory 102 to implement the device identification method of fig. 1 to 4 in the above embodiments.
The memory 102 is configured to store various types of data to support operations in the device identification method. Examples of such data include instructions for any application or method operating on the device identification apparatus, such as messages, pictures, videos, and so forth. The memory 102 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
optionally, the processor 101 is provided in the processing assembly 100. The device identification apparatus may further include: a communication component 103, a power component 104, a multimedia component 105, an audio component 106, an input/output interface 107 and/or a sensor component 108. The components and the like specifically included in the device identification apparatus are set according to actual requirements, which is not limited in this embodiment.
the processing assembly 100 generally controls the overall operation of the device identification apparatus. The processing component 100 may include one or more processors 101 to execute instructions to perform all or part of the steps of the methods of fig. 1-4 described above. Further, the processing component 100 can include one or more modules that facilitate interaction between the processing component 100 and other components. For example, the processing component 100 may include a multimedia module to facilitate interaction between the multimedia component 105 and the processing component 100.
the power component 104 provides power to the various components of the device identification apparatus. The power components 104 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device identification means.
The multimedia component 105 includes a display screen that provides an output interface between the device identification means and the user. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 106 is configured to output and/or input audio signals. For example, the audio component 106 includes a Microphone (MIC). The received audio signal may further be stored in the memory 102 or transmitted via the communication component 103. In some embodiments, the audio component 106 also includes a speaker for outputting audio signals.
The input/output interface 107 provides an interface between the processing component 100 and peripheral interface modules, which may be click wheels, buttons, etc. These buttons may include, but are not limited to: a volume button, a start button, and a lock button.
the sensor assembly 108 includes one or more sensors for providing various aspects of status assessment for the device identification apparatus. For example, the sensor component 108 may detect the open/closed state of the device identification appliance, the relative positioning of the components, the presence or absence of user contact with the device identification appliance. The sensor assembly 108 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. In some embodiments, the sensor assembly 108 may also include a camera or the like.
The communication component 103 is configured to facilitate wired or wireless communication between the device identification apparatus and other devices. The device identification apparatus may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for an apparatus identification method and an apparatus identification device, and the principle and the implementation of the present application are explained by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (16)

1. A device identification method applied to a control device in a network in which the control device is networked with a plurality of slave devices connected in series through a bus; the method comprises the following steps:
acquiring instruction data to be sent, first key information corresponding to a target receiving end and a preset network identification code of a network where the target receiving end is located;
Generating plaintext data to be sent according to the instruction data to be sent and the preset network identification code;
encrypting the plaintext data to be sent through the first key information to obtain ciphertext data to be sent; transmitting the ciphertext data to be transmitted to the bus so that a designated device acquires the ciphertext data to be transmitted from the bus, so that the designated device decrypts the ciphertext data to be transmitted through stored second key information to obtain a network identification code to be determined, and identifies whether the designated device is the target receiving end or not according to the acquired network identification code to be determined and the preset network identification code; the designated device is a device determined according to a connection order of the plurality of slave devices.
2. the method according to claim 1, wherein the sending the ciphertext data to be sent to a designated device, so that the designated device obtains a network identifier to be determined after decrypting the ciphertext data to be sent through the stored second key information, and identifies whether the designated device is the target receiving end according to the obtained network identifier to be determined and the preset network identifier, includes:
and sending the ciphertext data to be sent to the designated equipment so that the designated equipment can decrypt the ciphertext data to be sent through the stored second key information to obtain the network identification code to be determined, determine whether the network identification code to be determined is the preset network identification code, and determine that the designated equipment is the target receiving end when the network identification code to be determined is the preset network identification code.
3. The method according to claim 1, further comprising, after sending the ciphertext data to be sent to a designated device:
Receiving ciphertext data to be processed; the ciphertext data to be processed comprises instruction data to be processed and the preset network identification code;
acquiring target third key information in sequence from third key information corresponding to a plurality of devices included in a network;
decrypting the ciphertext data to be processed through the target third key information to obtain a network identification code to be identified;
And when the acquired network identification code to be identified is determined to be the preset network identification code, determining the equipment corresponding to the target third key information to be a target sending end.
4. The method according to any one of claims 1 to 3, wherein the generating plaintext data to be transmitted according to the instruction data to be transmitted and the preset network identification code comprises:
And combining the instruction data to be sent and the preset network identification code according to a preset data format to obtain the plaintext data to be sent.
5. A device identification method applied to a specified device in a network in which a control device is networked with a plurality of slave devices connected in series through a bus, the specified device being a device determined according to a connection order of the plurality of slave devices; the method comprises the following steps:
Receiving ciphertext data to be sent by control equipment from the bus;
decrypting the ciphertext data to be transmitted through the stored second key information to obtain a network identification code to be determined;
and identifying whether the appointed equipment is a target receiving end or not according to the acquired network identification code to be determined and a preset network identification code.
6. the method according to claim 5, wherein the identifying whether the designated device is a target receiving end according to the acquired network identification code to be determined and a preset network identification code comprises:
determining whether the network identification code to be determined is the preset network identification code;
and when the network identification code to be determined is the preset network identification code, determining the designated equipment as the target receiving end.
7. the method of claim 6, wherein after determining whether the network identifier to be determined is the preset network identifier, further comprising:
When the network identification code to be determined is not the preset network identification code, determining that the designated device is a forwarding device, acquiring a next device corresponding to the forwarding device, and circularly executing the updating step of the forwarding device until a new network identification code to be determined acquired by the next device is the preset network identification code, and determining that the next device is the target receiving end; the forwarding device and the next device are adjacent serial devices;
The forwarding device updating step includes:
and sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device obtains a new network identification code to be determined after decrypting the ciphertext data to be sent through the stored fourth key information, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code.
8. An apparatus identification device is applied to a control apparatus in a network in which a control apparatus is networked with a plurality of slave apparatuses connected in series via a bus; the device comprises:
The first acquisition module is used for acquiring instruction data to be transmitted, first key information corresponding to a target receiving terminal and a preset network identification code of a network where the target receiving terminal is located;
The generating module is used for generating plaintext data to be sent according to the instruction data to be sent and the preset network identification code;
the second obtaining module is used for encrypting the plaintext data to be sent through the first key information to obtain ciphertext data to be sent;
The sending module is used for transmitting the ciphertext data to be sent to the bus so that the designated device can obtain the ciphertext data to be sent from the bus, the designated device can decrypt the ciphertext data to be sent through the stored second key information to obtain a network identification code to be determined, and whether the designated device is the target receiving end is identified according to the obtained network identification code to be determined and the preset network identification code; the designated device is a device determined according to a connection order of the plurality of slave devices.
9. The apparatus according to claim 8, wherein the sending module is configured to send the ciphertext data to be sent to the designated device, so that the designated device obtains the network identifier to be determined after decrypting the ciphertext data to be sent through the stored second key information, determines whether the network identifier to be determined is the preset network identifier, and determines that the designated device is the target receiving end when the network identifier to be determined is the preset network identifier.
10. The apparatus of claim 8, further comprising:
The processing ciphertext receiving module is used for receiving ciphertext data to be processed; the ciphertext data to be processed comprises instruction data to be processed and the preset network identification code;
the third obtaining module is used for obtaining target third key information in sequence from third key information corresponding to a plurality of devices included in the network;
The processing ciphertext decryption module is used for decrypting the to-be-processed ciphertext data through the target third key information to obtain a to-be-identified network identification code;
And the determining module is used for determining that the equipment corresponding to the target third key information is the target sending end when the acquired network identification code to be identified is determined to be the preset network identification code.
11. The apparatus according to any one of claims 8 to 10, wherein the generating module is configured to combine the instruction data to be sent and the preset network identification code according to a preset data format to obtain the plaintext data to be sent.
12. A device identification apparatus applied to a specified device in a network in which a control device is networked with a plurality of slave devices connected in series through a bus, the specified device being a device determined according to a connection order of the plurality of slave devices; the device comprises:
a ciphertext receiving module, configured to receive, from the bus, ciphertext data to be sent that is sent by the control device;
The sending ciphertext decryption module is used for decrypting the ciphertext data to be sent through the stored second key information to obtain a network identification code to be determined;
And the identification module is used for identifying whether the specified equipment is a target receiving end or not according to the acquired network identification code to be determined and a preset network identification code.
13. The apparatus of claim 12, wherein the identification module comprises:
The first determining submodule is used for determining whether the network identification code to be determined is the preset network identification code;
and the second determining submodule is used for determining the designated equipment as the target receiving end when the network identification code to be determined is the preset network identification code.
14. the apparatus of claim 13, wherein the identification module further comprises:
the processing submodule is used for determining the designated equipment as forwarding equipment when the network identification code to be determined is not the preset network identification code, acquiring next equipment corresponding to the forwarding equipment, and circularly executing the updating step of the forwarding equipment until a new network identification code to be determined acquired by the next equipment is the preset network identification code, and determining the next equipment as the target receiving end; the forwarding device and the next device are adjacent serial devices;
The forwarding device updating step includes:
and sending the ciphertext data to be sent to the next device through the forwarding device, so that the next device obtains a new network identification code to be determined after decrypting the ciphertext data to be sent through the stored fourth key information, determines whether the obtained new network identification code to be determined is the preset network identification code, and updates the next receiving terminal to be the new forwarding device when the new network identification code to be determined is not the preset network identification code.
15. an apparatus for device identification, the apparatus comprising a processor and a memory, wherein,
the processor executing computer program code stored in the memory to perform the steps of the method of any of claims 1 to 4; or to implement the steps of the method of any one of claims 5 to 7.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4; or to implement the steps of the method of any one of claims 5 to 7.
CN201811497633.2A 2018-12-07 2018-12-07 equipment identification method and device and storage medium Active CN109660609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811497633.2A CN109660609B (en) 2018-12-07 2018-12-07 equipment identification method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811497633.2A CN109660609B (en) 2018-12-07 2018-12-07 equipment identification method and device and storage medium

Publications (2)

Publication Number Publication Date
CN109660609A CN109660609A (en) 2019-04-19
CN109660609B true CN109660609B (en) 2019-12-06

Family

ID=66113571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811497633.2A Active CN109660609B (en) 2018-12-07 2018-12-07 equipment identification method and device and storage medium

Country Status (1)

Country Link
CN (1) CN109660609B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866987B (en) * 2019-11-08 2023-08-04 佛山市云米电器科技有限公司 Networking verification method, networking verification device and computer readable storage medium
CN112905246B (en) * 2021-01-25 2022-06-14 厦门立林科技有限公司 Equipment identification method, system, mobile terminal and storage medium
CN115208597B (en) * 2021-04-09 2023-07-21 中国移动通信集团辽宁有限公司 Abnormal equipment determining method, device, equipment and computer storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104617991A (en) * 2015-01-26 2015-05-13 北京深思数盾科技有限公司 Bluetooth pairing method and Bluetooth communication system
CN106452770A (en) * 2015-08-12 2017-02-22 深圳市腾讯计算机系统有限公司 Data encryption method and apparatus, data decryption method and apparatus, and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100504898C (en) * 2006-08-23 2009-06-24 联想(北京)有限公司 Radio frequency recognizing computer security locking authentication system and method thereof
KR20150074414A (en) * 2013-12-24 2015-07-02 현대자동차주식회사 Firmware upgrade method and system thereof
CN108809954A (en) * 2018-05-22 2018-11-13 北京海泰方圆科技股份有限公司 The methods, devices and systems of data transmission
CN108898005B (en) * 2018-07-09 2021-06-11 郑州云海信息技术有限公司 Hard disk identification method, system, equipment and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104617991A (en) * 2015-01-26 2015-05-13 北京深思数盾科技有限公司 Bluetooth pairing method and Bluetooth communication system
CN106452770A (en) * 2015-08-12 2017-02-22 深圳市腾讯计算机系统有限公司 Data encryption method and apparatus, data decryption method and apparatus, and system

Also Published As

Publication number Publication date
CN109660609A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
US10616739B2 (en) Method and apparatus for local data monitoring and actuator control in an internet of things network
CN111464500B (en) Method, device, equipment and storage medium for sharing protocol data
CN109660609B (en) equipment identification method and device and storage medium
US9521097B2 (en) System and method for management of persistent and irrefutable instant messages
CN108134789B (en) Method for synchronizing data between devices through cloud and cloud server
EP2856695B1 (en) A method and system for transferring firmware or software to a plurality of devices
CN106888206B (en) Key exchange method, device and system
CN109525592B (en) Data sharing method, device, equipment and computer readable storage medium
CA2810110A1 (en) Method, system and apparatus for managing persona-based notifications at a communication device
CN106685644B (en) Communication encryption method and device, gateway, server, intelligent terminal and system
CN111132150A (en) Method and device for protecting data, storage medium and electronic equipment
CN112070516A (en) Product tracing method and device and block chain system
CN106209373B (en) Key generation system, data stamped signature and encryption system and method
CN113434905B (en) Data transmission method and device, computer equipment and storage medium
CA2564334A1 (en) System and method for obtaining certificate status of subkeys
CN104009837A (en) Method and device for updating key and terminal
CN107947927B (en) Method and system for processing identification cipher key
CN104113588A (en) Updating method and apparatus of internet yellow page
CN112700014A (en) Method, device and system for deploying federal learning application and electronic equipment
US20170359172A1 (en) Security for monitoring and detection systems
CN113765987A (en) Method, device and system for managing and processing information of equipment of Internet of things
CN112564901A (en) Key generation method and system, storage medium and electronic device
CN111010283A (en) Method and apparatus for generating information
CN111767550A (en) Data storage method and device
CN112487455A (en) Data processing method and device and data interaction system

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