CN117240870A - Wearable device data synchronization method - Google Patents

Wearable device data synchronization method Download PDF

Info

Publication number
CN117240870A
CN117240870A CN202311447399.3A CN202311447399A CN117240870A CN 117240870 A CN117240870 A CN 117240870A CN 202311447399 A CN202311447399 A CN 202311447399A CN 117240870 A CN117240870 A CN 117240870A
Authority
CN
China
Prior art keywords
data
wearable device
ciphertext
intelligent terminal
wearable
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.)
Pending
Application number
CN202311447399.3A
Other languages
Chinese (zh)
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.)
Guangdong One Health Industry Group Co ltd
Original Assignee
Guangdong One Health Industry Group 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 Guangdong One Health Industry Group Co ltd filed Critical Guangdong One Health Industry Group Co ltd
Priority to CN202311447399.3A priority Critical patent/CN117240870A/en
Publication of CN117240870A publication Critical patent/CN117240870A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a wearable device data synchronization method, which comprises the following steps: encrypting data by adopting a key through receiving a data reading instruction sent by the intelligent terminal to obtain a data ciphertext, wherein the key is burnt in the wearable equipment in advance, and the data ciphertext is sent to the intelligent terminal; the intelligent terminal is used for checking the data ciphertext, storing the data to the cloud server after the data ciphertext passes the check, sending an end reading instruction to the wearable device, and the wearable device receiving the end reading instruction and clearing the data in the wearable device. The data is synchronously transmitted in an encrypted mode through a special key of the wearable device, the safety of data transmission is improved, random numbers are added to ensure that ciphertext is different after each encryption, and violent cracking is prevented; and the data is uploaded in disorder, so that the data uploading efficiency is improved; in addition, in the data synchronization process, data integrity check and security check are carried out, so that the existence of missing and anti-counterfeiting and falsification of the synchronized data are avoided.

Description

Wearable device data synchronization method
Technical Field
The invention relates to the technical field of data processing, in particular to a data synchronization method of wearable equipment.
Background
The intelligent ring is a wearable electronic device, is provided with a sensor, an NFC chip and other mobile components, can be used for various applications, and is mainly used for tracking daily activities and used as a peripheral tool for supporting the mobile device.
The intelligent finger ring can make corresponding predictions by using the medical big data prediction principle of the wearable device and combining key indexes and algorithms through the intelligent sensing device, so that a health report and personalized suggestions are provided for a user. But the current smart band has low efficiency and poor security in transmitting data to the smart terminal.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are presented to provide a method of data synchronization for a wearable device that overcomes or at least partially solves the foregoing.
The embodiment of the invention discloses a data synchronization method of wearable equipment, which is applied to the wearable equipment and comprises the following steps:
receiving a data reading instruction sent by an intelligent terminal;
encrypting the data by adopting a secret key to obtain a data ciphertext; the secret key is burnt in the wearable equipment in advance;
sending the data ciphertext to the intelligent terminal; the intelligent terminal is used for checking the data ciphertext, storing the data to a cloud server after the data ciphertext passes the check, and sending a reading instruction to the wearable device;
and receiving the end reading instruction and clearing data in the wearable device.
Optionally, the method further comprises:
receiving a specific frame retransmission instruction sent by the intelligent terminal; the retransmission specific frame instruction records the sequence number of the packet loss data frame;
and retransmitting the lost data frame to the intelligent terminal according to the instruction for retransmitting the specific frame.
Optionally, the burning process of the key is as follows:
sending a key acquisition request to a cloud server through a burning tool; the key acquisition request records Bluetooth identification information PID and MAC address; the cloud server is used for generating the secret key according to the identification information PID and the MAC address and issuing the secret key to the wearable equipment;
the key is received and saved in the wearable device.
Optionally, the method further comprises:
after Bluetooth connection is established with the intelligent terminal, transmitting equipment information of the wearable equipment to the intelligent terminal so that the intelligent terminal can check the data ciphertext; the device information includes an amount of data and a data signature currently stored by the wearable device.
The embodiment of the invention also discloses another wearable device data synchronization method which is applied to the intelligent terminal, and the method comprises the following steps:
sending a data reading instruction to the wearable device; the wearable device is used for responding to the data reading instruction, encrypting data by adopting a secret key, obtaining a data ciphertext and sending the data ciphertext to the intelligent terminal;
receiving the data ciphertext sent by the wearable device;
checking the data ciphertext;
if the data passes the verification, the data is stored in a cloud server, and an ending reading instruction is sent to the wearable equipment; the wearable device is used for responding to the end reading instruction and clearing data in the wearable device.
Optionally, the method further comprises:
after Bluetooth connection is established with the intelligent terminal, receiving equipment information of the wearable equipment, which is sent by the wearable equipment; the device information is used for checking the data ciphertext in the data synchronization process; the device information includes an amount of data and a data signature currently stored by the wearable device.
Optionally, the step of verifying the data ciphertext includes:
judging whether the data volume in the data secret is the same as the current data volume stored by the wearable equipment;
if the data amount in the data secret is different from the current data amount stored in the wearable equipment, traversing the data in the data secret according to the data frame sequence number to find the data frame of the lost packet;
transmitting a retransmission specific frame instruction to the wearable device; the retransmission specific frame instruction records the sequence number of the packet loss data frame; the wearable device is used for responding to the instruction of retransmitting the specific frame and retransmitting the data frame of packet loss to the intelligent terminal;
and receiving the data frame of the packet loss which is retransmitted by the wearable equipment.
Optionally, the step of verifying the data ciphertext includes:
judging whether the data signature of the data ciphertext is the same as the data signature in the equipment information;
if the data signature of the data ciphertext is the same as the data signature in the equipment information, determining that the data ciphertext passes the inspection;
and if the data signature of the data ciphertext is different from the data signature in the equipment information, determining that the data ciphertext does not pass the verification.
The embodiment of the invention also discloses another wearable device data synchronization method which is applied to the cloud server, and the method comprises the following steps:
receiving data of wearable equipment sent by an intelligent terminal; the data are synchronously acquired from the wearable equipment by the intelligent terminal; the wearable device is used for encrypting the data by adopting a secret key and sending the data to the intelligent terminal;
and saving the data.
Optionally, the method further comprises:
receiving a key acquisition request sent by the wearable device; the key acquisition request records Bluetooth identification information PID and MAC address;
encrypting the identification information PID, the MAC address and the random number to obtain a ciphertext;
calculating a hash value by adopting the ciphertext, and taking a preset number of bytes as the secret key for the hash value;
and sending the key to the wearable device.
The embodiment of the invention has the following advantages:
according to the wearable device data synchronization method, the wearable device encrypts data by adopting a key by receiving a data reading instruction sent by the intelligent terminal to obtain a data ciphertext, wherein the key is burnt in the wearable device in advance, and the data ciphertext is sent to the intelligent terminal; the intelligent terminal is used for checking the data ciphertext, storing the data to the cloud server after the data ciphertext passes the check, sending an end reading instruction to the wearable device, and the wearable device receiving the end reading instruction and clearing the data in the wearable device. The data is encrypted and transmitted through the special key of the wearable device, so that the safety of the data transmission is improved, and the added random number can ensure that the encrypted ciphertext is different each time, so that violent cracking is prevented; and the data is uploaded in disorder, so that the data uploading efficiency can be improved; in addition, in the data synchronization process, the data integrity test can be timely retransmitted under the condition of packet loss, so that the defect of the synchronous data is avoided, the falsification can be prevented by the test through the digital signature, and the safety of the transmitted data between two transmission parties is ensured.
Drawings
Fig. 1 is a flowchart of steps of a wearable device data synchronization method provided in an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a recording key according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of the synchronous data provided in the embodiment of the invention;
FIG. 4 is a flowchart of steps for providing another method for synchronizing data of a wearable device in an embodiment of the invention;
fig. 5 is a flowchart of steps for providing yet another method for synchronizing data of a wearable device in an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Referring to fig. 1, a step flowchart of a wearable device data synchronization method provided in an embodiment of the present invention may specifically include the following steps:
step 101, receiving a data reading instruction sent by an intelligent terminal;
in the embodiment of the invention, the synchronization of the data of the wearable device among the wearable device, the intelligent terminal and the cloud server is realized through the Bluetooth low-power function, and the data synchronization adopts the special key of the wearable device to encrypt so as to ensure the safety of data transmission.
The synchronization of the data can be initiated by the intelligent terminal, specifically, at the wearable device side, the wearable device can receive a data reading instruction sent by the intelligent terminal, so that the data can be synchronized in response to the data reading instruction.
Step 101, encrypting data by adopting a secret key to obtain a data ciphertext; the secret key is burnt in the wearable equipment in advance;
after receiving the data reading instruction, the wearable device responds to the data reading instruction, and encrypts data by adopting a device special key burnt in the wearable device in advance to obtain a data ciphertext, wherein the data ciphertext is obtained by encrypting the data by adopting the special key, the data is not directly transmitted, but the data ciphertext is obtained by transmitting and encrypting, the safety of data transmission can be improved, and the added random number can ensure that the ciphertext is different after each encryption, so that violent cracking is prevented.
In one embodiment of the present invention, the burning process of the key is as follows:
s11, sending a key acquisition request to a cloud server through a burning tool; the key acquisition request records Bluetooth identification information PID and MAC address; the cloud server is used for generating the secret key according to the identification information PID and the MAC address and issuing the secret key to the wearable equipment;
and S12, receiving the secret key and storing the secret key in the wearable equipment.
The key of the wearable device is special data distributed to the wearable device by the cloud server, is burnt in the device in advance, and is not transmitted in the air and is not transmitted to the intelligent terminal in order to ensure safety.
Specifically, the wearable device can report the Bluetooth identification information PID and the MAC address to the burning tool, and the burning tool sends a key acquisition request recorded with the Bluetooth identification information PID and the MAC address to the cloud server, so that the cloud server can generate a key according to the identification information PID and the MAC address and send the key to the wearable device, and the wearable device receives the key returned by the cloud server and stores the key in the wearable device through the burning tool to realize the burning of the key.
Referring to fig. 2, a schematic flow chart of a recording key provided by an embodiment of the present invention is shown, and the process is as follows:
1. the device reports the PID and bluetooth MAC address.
2. And uploading the PID and the MAC to the cloud end, and requesting to generate a special Secret of the equipment.
3. The device PID, MAC and random number are encrypted by AESCBC algorithm to generate ciphertext, then the ciphertext is SHA256, the first 16 bytes are taken as Secret, and the Secret, the device PID and MAC are stored.
4. The Secret is returned to the burning tool.
5. The Secret is issued to the device.
6. The device stores Secret for encrypting data.
7. And informing the burning tool that the burning is successful.
Step 103, sending the data ciphertext to the intelligent terminal; the intelligent terminal is used for checking the data ciphertext, storing the data to a cloud server after the data ciphertext passes the check, and sending a reading instruction to the wearable device;
after the data encryption is completed, the wearable device can send the data ciphertext to the intelligent terminal, so that the data can be synchronized to the intelligent terminal. After receiving the data ciphertext, the intelligent terminal can analyze and check the data ciphertext, can carry out integrity check and safety check on the data, and can store the data to the cloud server under the condition that the data transmitted through the check is complete and safe, so that the data can be synchronized to the cloud server. After the intelligent terminal successfully stores the data to the cloud server, an end reading instruction can be sent to the wearable device, so that the wearable device can know that the synchronization of the data is completed.
In one embodiment of the invention, the method further comprises:
s21, after Bluetooth connection is established with the intelligent terminal, transmitting equipment information of the wearable equipment to the intelligent terminal so that the intelligent terminal can check the data ciphertext; the device information includes an amount of data and a data signature currently stored by the wearable device.
In the embodiment of the invention, the wearable device can be connected with the intelligent terminal through Bluetooth, and after the connection is successfully established with the intelligent terminal, the device information of the wearable device can be sent to the intelligent terminal, so that the intelligent terminal can verify the safety and the integrity of data by adopting the received device information. The device information may include, among other things, an amount of data and a data signature currently stored by the wearable device. Of course, the device information sent by the wearable device may also include other information, which the present invention is not limited to.
In one embodiment of the invention, the method further comprises:
s31, receiving a retransmission specific frame instruction sent by the intelligent terminal; the retransmission specific frame instruction records the sequence number of the packet loss data frame;
s32, retransmitting the data frame with lost packet to the intelligent terminal according to the instruction of retransmitting the specific frame.
After receiving the data ciphertext, the intelligent terminal can check the data ciphertext, specifically, can check the integrity of the data, and under the condition that the intelligent terminal finds that the packet loss exists after checking, the intelligent terminal can send a retransmission specific frame instruction recording the sequence number of the packet loss data frame to the wearable device, and after receiving the retransmission specific frame instruction sent by the intelligent terminal, the wearable device can respond to the retransmission specific frame instruction and retransmit the packet loss data frame to the intelligent terminal, so that the complete synchronous data is ensured.
When the device uploads data, only whether the data is transmitted is concerned, but not the transmission sequence is concerned, so that asynchronous concurrent uploading data can be used, and the intelligent terminal can obtain the required data by sequencing data frames through the data frame sequence numbers.
Step 104, receiving the end reading instruction and clearing the data in the wearable device.
After receiving the end reading instruction sent by the intelligent terminal, the wearable device can determine that data synchronization is completed, so that data in the wearable device can be cleared.
Referring to fig. 3, a schematic flow chart of synchronous data provided by an embodiment of the present invention is shown, and the process is as follows:
app establishes a bluetooth connection with a device.
2. The device reports the current data quantity and the data signature.
And 3, the APP issues a data reading instruction, and the data is issued after being encrypted by the Secret.
4. The device encrypts the data through Secret and then responds to the APP, and the step can be uploaded concurrently.
5. And after the data uploading of the equipment end is finished, sending the message.
6. Checking whether the data CRC32Checksum is the same as the CRC32Checksum reported in the step 1, if not, traversing to find a lost data frame, and then issuing an instruction for retransmitting the data frame.
7. Checking whether the data signature is the same as the reported data signature in the step 1.
8. And saving the data to the cloud.
9. And (5) successfully storing the data and clearing the data at the equipment end.
In the embodiment of the invention, the wearable device encrypts data by adopting a key by receiving a data reading instruction sent by the intelligent terminal to obtain a data ciphertext, wherein the key is burnt in the wearable device in advance and sends the data ciphertext to the intelligent terminal; the intelligent terminal is used for checking the data ciphertext, storing the data to the cloud server after the data ciphertext passes the check, sending an end reading instruction to the wearable device, and the wearable device receiving the end reading instruction and clearing the data in the wearable device. The data is encrypted and transmitted through the special key of the wearable device, so that the safety of the data transmission is improved, and the added random number can ensure that the encrypted ciphertext is different each time, so that violent cracking is prevented; and the data is uploaded in disorder, so that the data uploading efficiency can be improved; in addition, in the data synchronization process, the data integrity test can be timely retransmitted under the condition of packet loss, so that the defect of the synchronous data is avoided, the falsification can be prevented by the test through the digital signature, and the safety of the transmitted data between two transmission parties is ensured.
Referring to fig. 4, a flowchart illustrating steps of another wearable device data synchronization method provided in an embodiment of the present invention may specifically include the following steps:
step 401, sending a data reading instruction to a wearable device; the wearable device is used for responding to the data reading instruction, encrypting data by adopting a secret key, obtaining a data ciphertext and sending the data ciphertext to the intelligent terminal;
step 402, receiving the data ciphertext sent by the wearable device;
step 403, checking the data ciphertext;
in one embodiment of the invention, the method further comprises:
s11, after Bluetooth connection is established with the intelligent terminal, receiving device information of the wearable device, which is sent by the wearable device; the device information is used for checking the data ciphertext in the data synchronization process; the device information includes an amount of data and a data signature currently stored by the wearable device.
In the embodiment of the invention, the wearable device can be connected with the intelligent terminal through Bluetooth, and after the connection is successfully established with the intelligent terminal, the device information of the wearable device can be sent to the intelligent terminal, so that the intelligent terminal can obtain the device information of the wearable device, and further, the security and the integrity of the data can be checked by adopting the received device information in the data synchronization process. The device information may include, among other things, an amount of data and a data signature currently stored by the wearable device. Of course, the device information sent by the wearable device may also include other information, which the present invention is not limited to.
In one embodiment of the present invention, the step of verifying the data ciphertext includes:
s21, judging whether the data volume in the data secret is the same as the current data volume stored by the wearable equipment;
s22, if the data volume in the data secret is different from the current data volume stored by the wearable equipment, traversing the data in the data secret according to the data frame sequence number to find the data frame of the lost packet;
s23, sending a retransmission specific frame instruction to the wearable device; the retransmission specific frame instruction records the sequence number of the packet loss data frame; the wearable device is used for responding to the instruction of retransmitting the specific frame and retransmitting the data frame of packet loss to the intelligent terminal;
s24, receiving the data frame of the packet loss which is retransmitted by the wearable equipment.
In the embodiment of the invention, after receiving the data ciphertext, the intelligent terminal can verify the data ciphertext and can include verifying the integrity of the data. Specifically, the intelligent terminal can judge whether the data volume in the data secret is the same as the data volume currently stored by the wearable device, if the data volume in the data secret is the same as the data volume currently stored by the wearable device, the complete transmission of the data can be determined, if the data volume in the data secret is different from the data volume currently stored by the wearable device, the data frame of the lost packet can be searched according to the data frame sequence number by traversing the data in the data secret, after the lost packet data frame sequence number is determined, the intelligent terminal can send a retransmission specific frame instruction recording the lost packet data frame sequence number to the wearable device, and after receiving the retransmission specific frame instruction sent by the intelligent terminal, the wearable device can respond to the retransmission specific frame instruction and retransmit the lost packet data frame to the intelligent terminal, so that complete synchronous data is ensured.
In one embodiment of the present invention, the step of verifying the data ciphertext includes:
s31, judging whether the data signature of the data ciphertext is the same as the data signature in the equipment information;
s32, if the data signature of the data ciphertext is the same as the data signature in the equipment information, determining that the data ciphertext passes the inspection;
and S33, if the data signature of the data ciphertext is different from the data signature in the equipment information, determining that the data ciphertext does not pass the inspection.
In the embodiment of the invention, after receiving the data ciphertext, the intelligent terminal checks the data ciphertext, and can also check the data security besides checking the data integrity. Specifically, the intelligent terminal judges whether the data signature of the data ciphertext is the same as the data signature in the equipment information, if the data signature of the data ciphertext is the same as the data signature in the equipment information, the data ciphertext can be determined to pass the inspection if the transmitted data is not falsified and forged, and if the data signature of the data ciphertext is different from the data signature in the equipment information, the data ciphertext can be determined to pass the inspection if the transmitted data is possibly falsified and forged. By checking the digital signature, falsification can be prevented, and the transmitted data can be ensured to be kept safe at both sides of transmission.
Step 404, if the verification is passed, storing the data to a cloud server, and sending an end reading instruction to the wearable device; the wearable device is used for responding to the end reading instruction and clearing data in the wearable device.
In the embodiment of the invention, the intelligent terminal sends the data reading instruction to the wearable equipment; the wearable device is used for responding to the data reading instruction, encrypting the data by adopting the secret key, obtaining a data ciphertext and sending the data ciphertext to the intelligent terminal; the intelligent terminal receives the data ciphertext sent by the wearable device, checks the data ciphertext, if the data ciphertext passes the check, stores the data in the cloud server, and sends an end reading instruction to the wearable device; the wearable device is used for responding to the reading instruction, and clearing data in the wearable device. The data is encrypted and transmitted through the special key of the wearable device, so that the safety of the data transmission is improved, and the added random number can ensure that the encrypted ciphertext is different each time, so that violent cracking is prevented; and the data is uploaded in disorder, so that the data uploading efficiency can be improved; in addition, in the data synchronization process, the data integrity test can be timely retransmitted under the condition of packet loss, so that the defect of the synchronous data is avoided, the falsification can be prevented by the test through the digital signature, and the safety of the transmitted data between two transmission parties is ensured.
For this embodiment, since it is substantially similar to the wearable device method embodiment, the description is relatively simple, and reference is made to a partial explanation of the wearable device method embodiment for the relevant points.
Referring to fig. 5, a flowchart illustrating steps of another wearable device data synchronization method provided in an embodiment of the present invention may specifically include the following steps:
step 501, receiving data of a wearable device sent by an intelligent terminal; the data are synchronously acquired from the wearable equipment by the intelligent terminal; the wearable device is used for encrypting the data by adopting a secret key and sending the data to the intelligent terminal;
step 502, save the data.
In one embodiment of the invention, the method further comprises:
s11, receiving a key acquisition request sent by the wearable device; the key acquisition request records Bluetooth identification information PID and MAC address;
s12, encrypting the identification information PID, the MAC address and the random number to obtain a ciphertext;
s13, calculating a hash value by adopting the ciphertext, and taking a preset number of bytes as the secret key for the hash value;
and S14, sending the secret key to the wearable equipment.
The key of the wearable device is special data distributed to the wearable device by the cloud server, is burnt in the device in advance, and is not transmitted in the air and is not transmitted to the intelligent terminal in order to ensure safety.
Specifically, the wearable device may report the bluetooth identification information PID and the MAC address to the burning tool, and send, through the burning tool, a key obtaining request recorded with the bluetooth identification information PID and the MAC address to the cloud server, so that the cloud server may respond to the key obtaining request, encrypt by using the AES CBC algorithm and the identification information PID and the MAC address instrument to obtain a ciphertext, and then calculate a hash value by using the SHA256 algorithm and take a preset number of bytes as a key for the hash value, and then may issue the generated key to the wearable device, receive the key returned by the cloud server, and store the key in the wearable device through the burning tool, so that the wearable device may have a dedicated key, and encrypt data in transmission data to ensure the security of data transmission.
The hash value is taken as a key by taking a preset number of bytes, and the preset number of values can be selected according to actual requirements, so that the invention is not limited to the preset number of values. For example, the preset number may be 16 bytes before the hash value, 10 bytes before the hash value, 20 bytes before the hash value, and so on.
In the embodiment of the invention, the cloud server receives the data of the wearable equipment sent by the intelligent terminal; the data are synchronously acquired from the wearable equipment by the intelligent terminal; the wearable device is used for encrypting the data by adopting the secret key and sending the encrypted data to the intelligent terminal, and the cloud server stores the data. The data is encrypted and transmitted through the special key of the wearable device, so that the safety of the data transmission is improved, and the added random number can ensure that the encrypted ciphertext is different each time, so that violent cracking is prevented; and the data is uploaded in disorder, so that the data uploading efficiency can be improved; in addition, in the data synchronization process, the data integrity test can be timely retransmitted under the condition of packet loss, so that the defect of the synchronous data is avoided, the falsification can be prevented by the test through the digital signature, and the safety of the transmitted data between two transmission parties is ensured.
For this embodiment, since it is substantially similar to the wearable device method embodiment, the description is relatively simple, and reference is made to a partial explanation of the wearable device method embodiment for the relevant points.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
It is noted that relational terms such as first and second, and the like are 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. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related 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.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1.A method of wearable device data synchronization, characterized by being applied to a wearable device, the method comprising:
receiving a data reading instruction sent by an intelligent terminal;
encrypting the data by adopting a secret key to obtain a data ciphertext; the secret key is burnt in the wearable equipment in advance;
sending the data ciphertext to the intelligent terminal; the intelligent terminal is used for checking the data ciphertext, storing the data to a cloud server after the data ciphertext passes the check, and sending a reading instruction to the wearable device;
and receiving the end reading instruction and clearing data in the wearable device.
2. The method according to claim 1, wherein the method further comprises:
receiving a specific frame retransmission instruction sent by the intelligent terminal; the retransmission specific frame instruction records the sequence number of the packet loss data frame;
and retransmitting the lost data frame to the intelligent terminal according to the instruction for retransmitting the specific frame.
3. The method according to claim 1, wherein the burning process of the key is as follows:
sending a key acquisition request to a cloud server through a burning tool; the key acquisition request records Bluetooth identification information PID and MAC address; the cloud server is used for generating the secret key according to the identification information PID and the MAC address and issuing the secret key to the wearable equipment;
the key is received and saved in the wearable device.
4. The method according to claim 1, wherein the method further comprises:
after Bluetooth connection is established with the intelligent terminal, transmitting equipment information of the wearable equipment to the intelligent terminal so that the intelligent terminal can check the data ciphertext; the device information includes an amount of data and a data signature currently stored by the wearable device.
5. A wearable device data synchronization method, characterized in that it is applied to an intelligent terminal, the method comprising:
sending a data reading instruction to the wearable device; the wearable device is used for responding to the data reading instruction, encrypting data by adopting a secret key, obtaining a data ciphertext and sending the data ciphertext to the intelligent terminal;
receiving the data ciphertext sent by the wearable device;
checking the data ciphertext;
if the data passes the verification, the data is stored in a cloud server, and an ending reading instruction is sent to the wearable equipment; the wearable device is used for responding to the end reading instruction and clearing data in the wearable device.
6. The method of claim 5, wherein the method further comprises:
after Bluetooth connection is established with the intelligent terminal, receiving equipment information of the wearable equipment, which is sent by the wearable equipment; the device information is used for checking the data ciphertext in the data synchronization process; the device information includes an amount of data and a data signature currently stored by the wearable device.
7. The method of claim 6, wherein the step of verifying the data ciphertext comprises:
judging whether the data volume in the data secret is the same as the current data volume stored by the wearable equipment;
if the data amount in the data secret is different from the current data amount stored in the wearable equipment, traversing the data in the data secret according to the data frame sequence number to find the data frame of the lost packet;
transmitting a retransmission specific frame instruction to the wearable device; the retransmission specific frame instruction records the sequence number of the packet loss data frame; the wearable device is used for responding to the instruction of retransmitting the specific frame and retransmitting the data frame of packet loss to the intelligent terminal;
and receiving the data frame of the packet loss which is retransmitted by the wearable equipment.
8. The method of claim 6, wherein the step of verifying the data ciphertext comprises:
judging whether the data signature of the data ciphertext is the same as the data signature in the equipment information;
if the data signature of the data ciphertext is the same as the data signature in the equipment information, determining that the data ciphertext passes the inspection;
and if the data signature of the data ciphertext is different from the data signature in the equipment information, determining that the data ciphertext does not pass the verification.
9. A wearable device data synchronization method, which is applied to a cloud server, the method comprising:
receiving data of wearable equipment sent by an intelligent terminal; the data are synchronously acquired from the wearable equipment by the intelligent terminal; the wearable device is used for encrypting the data by adopting a secret key and sending the data to the intelligent terminal;
and saving the data.
10. The method according to claim 1, wherein the method further comprises:
receiving a key acquisition request sent by the wearable device; the key acquisition request records Bluetooth identification information PID and MAC address;
encrypting the identification information PID, the MAC address and the random number to obtain a ciphertext;
calculating a hash value by adopting the ciphertext, and taking a preset number of bytes as the secret key for the hash value;
and sending the key to the wearable device.
CN202311447399.3A 2023-11-01 2023-11-01 Wearable device data synchronization method Pending CN117240870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311447399.3A CN117240870A (en) 2023-11-01 2023-11-01 Wearable device data synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311447399.3A CN117240870A (en) 2023-11-01 2023-11-01 Wearable device data synchronization method

Publications (1)

Publication Number Publication Date
CN117240870A true CN117240870A (en) 2023-12-15

Family

ID=89091453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311447399.3A Pending CN117240870A (en) 2023-11-01 2023-11-01 Wearable device data synchronization method

Country Status (1)

Country Link
CN (1) CN117240870A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187216A (en) * 2015-08-28 2015-12-23 宇龙计算机通信科技(深圳)有限公司 Data safety processing method, device and system
CN106060768A (en) * 2016-07-18 2016-10-26 华南理工大学 Electronic business card automatic interaction system and method
WO2017044677A1 (en) * 2015-09-11 2017-03-16 Alibaba Group Holding Limited Method and apparatus for facilitating electronic payments using a wearable device
US20170150305A1 (en) * 2013-03-15 2017-05-25 Apple Inc. Facilitating access to location-specific information using wireless devices
US20180019878A1 (en) * 2015-04-02 2018-01-18 Alibaba Group Holding Limited Authenticating a user and registering a wearable device
CN107707763A (en) * 2017-10-19 2018-02-16 杭州镜之镜科技有限公司 Near-sighted prevention and control wearable device and near-sighted prevention and control system and method
CN110827940A (en) * 2019-11-01 2020-02-21 苏州科技城医院 Health data management method based on wearable equipment
CN112039922A (en) * 2020-09-18 2020-12-04 广东乐心医疗电子股份有限公司 Encryption communication method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170150305A1 (en) * 2013-03-15 2017-05-25 Apple Inc. Facilitating access to location-specific information using wireless devices
US20180019878A1 (en) * 2015-04-02 2018-01-18 Alibaba Group Holding Limited Authenticating a user and registering a wearable device
CN105187216A (en) * 2015-08-28 2015-12-23 宇龙计算机通信科技(深圳)有限公司 Data safety processing method, device and system
WO2017044677A1 (en) * 2015-09-11 2017-03-16 Alibaba Group Holding Limited Method and apparatus for facilitating electronic payments using a wearable device
CN106060768A (en) * 2016-07-18 2016-10-26 华南理工大学 Electronic business card automatic interaction system and method
CN107707763A (en) * 2017-10-19 2018-02-16 杭州镜之镜科技有限公司 Near-sighted prevention and control wearable device and near-sighted prevention and control system and method
CN110827940A (en) * 2019-11-01 2020-02-21 苏州科技城医院 Health data management method based on wearable equipment
CN112039922A (en) * 2020-09-18 2020-12-04 广东乐心医疗电子股份有限公司 Encryption communication method and device

Similar Documents

Publication Publication Date Title
CN108347331B (en) Method and device for safe communication between T _ Box device and ECU device in Internet of vehicles system
CN106878265B (en) Data processing method and device
CN113378236B (en) Evidence data online security notarization platform and security method
CN106534171B (en) Security authentication method, device and terminal
CN108737110B (en) Data encryption transmission method and device for preventing replay attack
CN105554032A (en) Identity real-name authentication method and authentication system based on express sending
CN105656920A (en) Method and system for encryption and decryption of mailing data based on expressage
CN104580240A (en) Chat evidence fixing method and device
CN103617402B (en) A kind of multimedia electronic data forensic report and generation, methods of exhibiting and system
CN111046407A (en) Data storage system based on block chain
CN108985409B (en) Identity card information reading method and device and electronic equipment
CN110046524A (en) A kind of processing method of data, device, electronic equipment and medium
CN111459935B (en) Internet of things data storage method, storage system, query method and storage medium
CN107911359B (en) Method for acquiring electronic data
CN105471657B (en) inter-domain communication log management method, device and system for virtual machine
EP3210158B1 (en) Secure transmission
CN104935783B (en) A kind of safe active distorted image detection method and device
CN117240870A (en) Wearable device data synchronization method
CN111598558B (en) Billing method, billing node server and payer node server
CN114301643A (en) Electronic data authentication encryption transmission method
CN108616528A (en) A kind of cloud storage method and system
CN103986570A (en) Safe data transmission method of smart instrument system
CN111669649A (en) Tamper-proof method and system for on-site image data
JP3747394B2 (en) Electronic data arrival guarantee method and program recording medium
JP2008005396A (en) Data transmission method and system, program, and recording medium

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