A smart watch based on the Internet of Things

Through the communication connection between smart watches and mobile devices and terminal devices, F2OTA upgrades are used to solve the problem of occupying mobile phone system resources during the upgrade of smart watches, and improve user experience and upgrade efficiency.

CN118524381BActive Publication Date: 2025-03-14SHENZHEN HUADAI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410508156.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2025-03-14
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

During the upgrade process of smart watches, F2OTA is usually used to upgrade using mobile phones, which causes the transmission process to occupy the mobile phone system resources and cannot allow the transmission program to enter the background, affecting the user experience.

Method used

A smart watch upgrade method based on the Internet of Things is proposed. Through the communication connection between the smart watch and mobile devices and terminal devices, the distribution and processing of resource data is realized. The terminal device adopts the F2OTA method to upgrade the smart watch to avoid occupying mobile system resources.

Benefits of technology

During the upgrade process of smart watches, this method does not affect the normal use of the mobile phone, improves the user experience, and realizes efficient upgrade of smart watches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118524381B_ABST
    Figure CN118524381B_ABST
Patent Text Reader

Abstract

The present application provides a smart watch based on the Internet of Things, which belongs to the technical field of smart devices. The smart watch is configured as follows: the smart watch sends first indication information to a mobile device, the first indication information is used to instruct the mobile device to obtain first resource data, the mobile device responds to the first indication information and obtains the first resource data; the mobile device processes the first resource data into second resource data, and sends second indication information to a terminal device, the second indication information is used to instruct the terminal device to obtain the second resource data, the terminal device responds to the second indication information and obtains the second resource data; the terminal device sends third indication information to the smart watch, the third indication information is used to instruct the smart watch to enter an upgrade mode; the smart watch responds to the third indication information and generates a feedback instruction, the terminal device responds to the feedback instruction and sends second resource data to the smart watch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart devices, and in particular to a smart watch based on the Internet of Things. Background Art

[0002] With the continuous advancement of technology, smart watches have gradually integrated into our daily lives and become an indispensable part of us. Smart watches not only have the basic function of time display, but also integrate a variety of smart applications such as health monitoring, communication, and entertainment, providing us with a more convenient lifestyle.

[0003] During the upgrade process of smart watches, F2OTA is usually used to upgrade the smart watches using a mobile phone. The transmission and upgrade process occupies the mobile phone system, and problems such as the inability to allow the transmission program to enter the background make the user experience poor. Summary of the invention

[0004] The embodiment of the present application provides a smart watch for the Internet of Things to improve the above-mentioned problems.

[0005] In order to achieve the above purpose, this application adopts the following technical solutions:

[0006] In the first aspect, the present application proposes a smart watch upgrade method based on the Internet of Things, wherein the smart watch is connected to a mobile device for communication, and the mobile device is connected to a terminal device for communication, and the method includes:

[0007] The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data, and the mobile device responds to the first indication information and obtains the first resource data;

[0008] The mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, where the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data;

[0009] The terminal device sends third indication information to the smart watch, where the third indication information is used to instruct the smart watch to enter an upgrade mode;

[0010] The smart watch responds to the third indication information and generates a feedback instruction, and the terminal device responds to the feedback instruction and sends the second resource data to the smart watch.

[0011] In combination with the first aspect, optionally, the smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data, and before the mobile device responds to the first indication information and obtains the first resource data, the method includes:

[0012] The mobile device obtains target version information from the smart watch, where the target version information is the version information corresponding to the current version of the smart watch;

[0013] The mobile device obtains the current version information and compares the current version information with the target version information. If the current version information is the same as the target version information, the mobile device sends a permission instruction to the smart watch.

[0014] The smart watch responds to the permission instruction and sends first indication information to the mobile device.

[0015] In combination with the first aspect, optionally, the number of terminal devices is M, M is an integer greater than or equal to 3, the multiple terminal devices include a first terminal and a second terminal, the mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data, including:

[0016] The mobile device sends second indication information to the first terminal, and the first terminal responds to the second indication information and confirms the second terminal from multiple terminal devices;

[0017] The first terminal and the second terminal simultaneously obtain the second resource data, wherein a communication mode between the first terminal and the mobile device is different from a communication mode between the second terminal and the mobile device.

[0018] In combination with the first aspect, optionally, the multiple terminal devices include a third terminal, the multiple terminal devices include a first terminal and a second terminal, the mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data, including:

[0019] The third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device having the fastest transmission speed between the smart watch and the multiple terminal devices.

[0020] In combination with the first aspect, optionally, the third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device with the fastest transmission speed between the smart watch and the multiple terminal devices, including:

[0021] The second resource data includes a first data group and a second data group. The third terminal obtains the first data group from the first terminal, and the third terminal obtains the second data group from the second terminal.

[0022] In combination with the first aspect, optionally, the second resource data includes a first data group and a second data group, the third terminal obtains the first data group from the first terminal, and the third terminal obtains the second data group from the second terminal, including:

[0023] The mobile device determines a first rate v1 for transmitting the first data group, where the first rate v1 is an average transmission rate when the mobile device sends data and the third terminal receives the data;

[0024] The mobile device determines a second rate v2 for transmitting the second data group, where the second rate v2 is an average transmission rate when the mobile device sends data and the third terminal receives the data;

[0025] The size ratio of the first data group to the second data group in the second resource data is determined based on the first rate v1 and the second rate v2, satisfying:

[0026]

[0027] Among them, q1 is the total data volume of the first data group, and q2 is the total data volume of the second data group.

[0028] In combination with the first aspect, optionally, the third terminal acquires the first data group from the first terminal, and the third terminal acquires the second data group from the second terminal, including:

[0029] The mobile device splits the second resource data based on the data table so that the second resource data forms a plurality of data packets, and groups the plurality of data packets based on the serial numbers, each data packet having a unique corresponding serial number;

[0030] The first terminal or the second terminal obtains the data table from the mobile device, and sends the data table to the third terminal;

[0031] The third terminal receives multiple data packets from the first terminal or the second terminal, and when a data packet is received, removes the number corresponding to the data packet from the data table.

[0032] In combination with the first aspect, optionally, the third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device with the fastest transmission speed between the smart watch and the multiple terminal devices, including:

[0033] The second resource data is integrity verified based on the data table.

[0034] In the second aspect, the present application proposes a smart watch based on the Internet of Things, the smart watch is connected to a mobile device for communication, the mobile device is connected to a terminal device for communication, and the smart watch is configured as follows:

[0035] The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data, and the mobile device responds to the first indication information and obtains the first resource data;

[0036] The mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, where the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data;

[0037] The terminal device sends third indication information to the smart watch, where the third indication information is used to instruct the smart watch to enter an upgrade mode;

[0038] The smart watch responds to the third indication information and generates a feedback instruction, and the terminal device responds to the feedback instruction and sends the second resource data to the smart watch.

[0039] In combination with the second aspect, optionally, the smart watch is configured as:

[0040] The mobile device obtains target version information from the smart watch, where the target version information is the version information corresponding to the current version of the smart watch;

[0041] The mobile device obtains the current version information and compares the current version information with the target version information. If the current version information is the same as the target version information, the mobile device sends a permission instruction to the smart watch.

[0042] The smart watch responds to the permission instruction and sends first indication information to the mobile device.

[0043] In combination with the second aspect, optionally, the smart watch is configured as:

[0044] The mobile device sends second indication information to the first terminal, and the first terminal responds to the second indication information and confirms the second terminal from multiple terminal devices;

[0045] The first terminal and the second terminal simultaneously obtain the second resource data, wherein a communication mode between the first terminal and the mobile device is different from a communication mode between the second terminal and the mobile device.

[0046] In combination with the second aspect, optionally, the smart watch is configured as:

[0047] The third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device having the fastest transmission speed between the smart watch and the multiple terminal devices.

[0048] In combination with the second aspect, optionally, the smart watch is configured as:

[0049] The second resource data includes a first data group and a second data group. The third terminal obtains the first data group from the first terminal, and the third terminal obtains the second data group from the second terminal.

[0050] In combination with the second aspect, optionally, the smart watch is configured as follows: the mobile device determines a first rate v1 for transmitting the first data group, the first rate v1 being an average transmission rate when the mobile device sends data and the third terminal receives the data;

[0051] The mobile device determines a second rate v2 for transmitting the second data group, where the second rate v2 is an average transmission rate when the mobile device sends data and the third terminal receives the data;

[0052] The size ratio of the first data group to the second data group in the second resource data is determined based on the first rate v1 and the second rate v2, satisfying:

[0053]

[0054] Among them, q1 is the total data volume of the first data group, and q2 is the total data volume of the second data group.

[0055] In combination with the second aspect, optionally, the smart watch is configured as:

[0056] The mobile device splits the second resource data based on the data table so that the second resource data forms a plurality of data packets, and groups the plurality of data packets based on the serial numbers, each data packet having a unique corresponding serial number;

[0057] The first terminal or the second terminal obtains the data table from the mobile device, and sends the data table to the third terminal;

[0058] The third terminal receives multiple data packets from the first terminal or the second terminal, and when a data packet is received, removes the number corresponding to the data packet from the data table.

[0059] In combination with the second aspect, optionally, the smart watch is configured as:

[0060] The second resource data is integrity verified based on the data table.

[0061] A third aspect of an embodiment of the present invention proposes an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method proposed in the first aspect of the embodiment of the present invention.

[0062] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect of the embodiment of the present invention.

[0063] In summary, the above method and device have the following technical effects:

[0064] The present application proposes a smart watch based on the Internet of Things. First, the smart watch sends a first indication message to a mobile device. The first indication message is used to instruct the mobile device to obtain the first resource data. The mobile device responds to the first indication message and obtains the first resource data. Then, the mobile device processes the first resource data into the second resource data and sends a second indication message to the terminal device. The second indication message is used to instruct the terminal device to obtain the second resource data. The terminal device responds to the second indication message and obtains the second resource data. Then, the terminal device sends a third indication message to the smart watch. The third indication message is used to instruct the smart watch to enter the upgrade mode. Finally, the smart watch responds to the third indication message and generates a feedback instruction. The terminal device responds to the feedback instruction and sends the second resource data to the smart watch. The present application proposes a smart watch based on the Internet of Things. The terminal device uses the F2OTA method to upgrade the smart watch, which does not affect the normal use of the mobile phone and provides a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A flowchart of a smart watch upgrade method based on the Internet of Things proposed in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] See also Figure 1 The embodiment of the present application proposes a smart watch upgrade method based on the Internet of Things, wherein the smart watch is connected to a mobile device for communication, and the mobile device is connected to a terminal device for communication, wherein the mobile device may be a smart device with processing functions such as a mobile phone or a tablet, and the terminal device may be a gateway or other smart devices in a smart home system, which is not limited here. The method proposed in the embodiment of the present application includes the following steps:

[0068] S101: The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data, and the mobile device responds to the first indication information and obtains the first resource data.

[0069] It is understandable that when a smart watch needs to be upgraded, it needs to establish a connection with a mobile device, such as a mobile phone, and use the mobile phone's network to download resources. Therefore, when it is determined that an upgrade is required, the smart watch sends a first indication message to the mobile device, and the first indication message is used to instruct the mobile device to obtain the first resource data. The first resource data is an upgrade resource package that has been compressed and can be downloaded directly from a server connected to the mobile phone. How to compress the data is not described here. It is understandable that the mobile device responds to the first indication message and obtains the first resource data.

[0070] Regarding how the smartwatch obtains information about whether an upgrade is required, in some implementations, before step S101, the following steps may be included:

[0071] S1011: The mobile device obtains target version information from the smart watch, where the target version information is version information corresponding to the current version of the smart watch.

[0072] S1012: The mobile device obtains the current version information, and compares the current version information with the target version information. If the current version information is the same as the target version information, the mobile device sends a permission instruction to the smart watch;

[0073] S1013: The smart watch responds to the permission instruction and sends a first indication message to the mobile device.

[0074] It can be understood that through the above steps, it can be determined whether the smart watch needs to be upgraded.

[0075] S102: The mobile device processes the first resource data into second resource data and sends second indication information to the terminal device, where the second indication information is used to instruct the terminal device to obtain the second resource data. The terminal device responds to the second indication information and obtains the second resource data.

[0076] It is understandable that during the F2OTA upgrade process, the first resource data downloaded directly from the network cannot be directly written into the smart watch. Therefore, after downloading the first resource data, the mobile device needs to perform data processing steps such as decompression and generate second resource data that can be directly written into the smart watch. Therefore, in this step, the terminal device responds to the second indication information and obtains the second resource data.

[0077] In a smart home environment, there are generally multiple terminal devices, and in this embodiment, the number is greater than three. The terminal devices in this embodiment include a first terminal and a second terminal, wherein the first terminal and the second terminal are different device terminals and can be connected to a mobile phone for communication. For example, the first terminal is connected to the mobile phone via a local area network, and the second terminal is connected to the mobile phone via Bluetooth. For another example, the first terminal is connected to a mobile device such as a mobile phone via a main link, and the second terminal establishes a communication connection with the mobile phone via a side link. The specific connection method is not limited here.

[0078] Optionally, in order to increase the speed at which the terminal device obtains the second resource from the mobile phone, in this embodiment, the first terminal and the second terminal can simultaneously obtain the second resource data. Specifically, the mobile device can first send the second indication information to the first terminal, and the first terminal responds to the second indication information and confirms the second terminal from multiple terminal devices.

[0079] The first terminal may be a terminal with strong data processing capability, and therefore, the second terminal may be selected based on the processing capability of the first terminal. The second terminal may be selected based on the principle of the strongest signal or the shortest path. For example, the second terminal may be a terminal with the strongest signal connection strength with the mobile phone. Of course, in other implementations, other selection methods may be used, which are not limited here.

[0080] After determining the second terminal, the second resource data is obtained through the first terminal and the second terminal at the same time. On the one hand, the time required to obtain the complete second resource data can be accelerated. On the other hand, the first terminal and the second terminal use different links. In the process of transmission from the mobile phone to the terminal device, the problem of data transmission interruption caused by unilateral disconnection of the mobile phone can be avoided. For example, when the mobile phone turns off the screen or switches the transmission program to the background, the WiFi transmission is interrupted but the Bluetooth signal is maintained, and the data transmission continues through the Bluetooth connection.

[0081] It can be understood that the above method can be used to obtain complete second resource data from the mobile device, and the second resource data can be stored in the first terminal and the second terminal at the same time. Exemplarily, part of the second resource data stored in the first terminal can be defined as the first data group, and part of the second resource data stored in the second terminal can be defined as the second data group.

[0082] During the process of upgrading F20TA, the terminal device needs to write the complete second resource data into the smart watch in the upgrade mode. Therefore, in this embodiment, it is also necessary to determine a terminal device connected to the smart watch and upgrading the smart watch, which is defined as the third terminal. The third terminal obtains the second resource data from the first terminal and the second terminal at the same time, wherein the third terminal is the terminal device with the fastest transmission speed between the smart watch and multiple terminal devices. The second resource data includes a first data group and a second data group. The third terminal obtains the first data group from the first terminal, and the third terminal obtains the second data group from the second terminal.

[0083] It is understandable that, since the third terminal is required to write data into the smart watch, the third terminal needs to obtain the first data group and the second data group and then merge the first data group and the second data group into complete second resource data.

[0084] As an implementation method, the following steps S201-S203 may be adopted:

[0085] S201: The mobile device splits the second resource data based on the data table so that the second resource data forms a plurality of data packets, and groups the plurality of data packets based on numbers, each data packet having a unique corresponding number.

[0086] It is understandable that the data table can be a data table corresponding to the second resource data, and the second resource data can be split based on the volume of data or the data type, which is not limited here. Multiple data packets are grouped based on the numbers in the data table, and each data packet has a unique corresponding number.

[0087] When splitting the second resource data, in order to meet the speed of the transmission process and avoid the waste of time caused by transmitting a larger data resource in a slower transmission method, in some embodiments, the mobile device can first determine a first rate v1 for transmitting the first data group. The first rate v1 is the average transmission rate when the mobile device sends data and the third terminal receives the data. Similarly, the mobile device can also simultaneously determine a second rate v2 for transmitting the second data group. The second rate v2 is the average transmission rate when the mobile device sends data and the third terminal receives the data. Finally, based on the first rate v1 and the second rate v2, the size ratio of the first data group to the second data group in the second resource data is determined to meet the following requirements:

[0088]

[0089] Among them, q1 is the total data volume of the first data group, and q2 is the total data volume of the second data group.

[0090] It can be understood that by reasonably allocating the sizes of the first data group and the second data group in the above manner, it is possible to ensure the shortest transmission time when the second resource data is transmitted using different transmission modes.

[0091] S202: The first terminal or the second terminal obtains a data table from the mobile device, and sends the data table to the third terminal.

[0092] It can be understood that the data table information can be transmitted to the third terminal from the transmission path where the first terminal is located, or the transmission path where the second terminal is located, which is not limited here.

[0093] S203: The third terminal receives multiple data packets from the first terminal or the second terminal, and when a data packet is received, removes the number corresponding to the data packet from the data table.

[0094] It is understandable that after receiving a data packet, the third terminal removes the corresponding number from the received data table. When all the numbers are completely presented, it proves that all the data packets constituting the second resource data have been transmitted. In some embodiments, this process can also perform integrity verification on the second resource data based on the data table. For example, after completing the reception of the data packet, there are duplicate numbers that are removed or not removed, which proves that there is a problem in the transmission.

[0095] S103: The terminal device sends third indication information to the smart watch, where the third indication information is used to instruct the smart watch to enter an upgrade mode.

[0096] It is understandable that after the third terminal device obtains the complete second resource data, the third indication information can be used to instruct the smart watch to enter the upgrade mode. At this time, the smart watch can respond to the third indication information and enter the corresponding writing mode. How to write data has been disclosed in the relevant documents and will not be repeated here.

[0097] S104: The smart watch responds to the third indication information and generates a feedback instruction. The terminal device responds to the feedback instruction and sends the second resource data to the smart watch.

[0098] After the smart watch enters the upgrade mode, the smart watch sends a feedback instruction to the third terminal. After receiving the feedback instruction, the third terminal starts to send the second resource data to the smart watch, avoiding the problem of data loss caused by starting to send when the smart watch does not enter the upgrade mode.

[0099] The present application proposes a method for upgrading a smart watch based on the Internet of Things. First, the smart watch sends a first indication message to a mobile device. The first indication message is used to instruct the mobile device to obtain first resource data. The mobile device responds to the first indication message and obtains the first resource data. Then, the mobile device processes the first resource data into second resource data and sends a second indication message to the terminal device. The second indication message is used to instruct the terminal device to obtain the second resource data. The terminal device responds to the second indication message and obtains the second resource data. Then, the terminal device sends a third indication message to the smart watch. The third indication message is used to instruct the smart watch to enter an upgrade mode. Finally, the smart watch responds to the third indication message and generates a feedback instruction. The terminal device responds to the feedback instruction and sends the second resource data to the smart watch. The present application proposes a method for upgrading a smart watch based on the Internet of Things. The terminal device uses the F20TA method to upgrade the smart watch, which does not affect the normal use of the mobile phone and provides a better user experience.

[0100] Based on the same inventive concept, the present application proposes a smart watch based on the Internet of Things, the smart watch is connected to a mobile device for communication, the mobile device is connected to a terminal device for communication, and the smart watch is configured as follows:

[0101] The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data, and the mobile device responds to the first indication information and obtains the first resource data;

[0102] The mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, where the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data;

[0103] The terminal device sends third indication information to the smart watch, where the third indication information is used to instruct the smart watch to enter an upgrade mode;

[0104] The smart watch responds to the third indication information and generates a feedback instruction, and the terminal device responds to the feedback instruction and sends the second resource data to the smart watch.

[0105] Optionally, the smartwatch is configured to:

[0106] The mobile device obtains target version information from the smart watch, where the target version information is the version information corresponding to the current version of the smart watch;

[0107] The mobile device obtains the current version information and compares the current version information with the target version information. If the current version information is the same as the target version information, the mobile device sends a permission instruction to the smart watch.

[0108] The smart watch responds to the permission instruction and sends first indication information to the mobile device.

[0109] Optionally, the smartwatch is configured to:

[0110] The mobile device sends second indication information to the first terminal, and the first terminal responds to the second indication information and confirms the second terminal from multiple terminal devices;

[0111] The first terminal and the second terminal simultaneously obtain the second resource data, wherein a communication mode between the first terminal and the mobile device is different from a communication mode between the second terminal and the mobile device.

[0112] Optionally, the smartwatch is configured to:

[0113] The third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device having the fastest transmission speed between the smart watch and the multiple terminal devices.

[0114] Optionally, the smartwatch is configured to:

[0115] The second resource data includes a first data group and a second data group. The third terminal obtains the first data group from the first terminal, and the third terminal obtains the second data group from the second terminal.

[0116] Optionally, the smart watch is configured as follows: the mobile device determines a first rate v1 for transmitting the first data group, where the first rate v1 is an average transmission rate when the mobile device sends data and the third terminal receives the data;

[0117] The mobile device determines a second rate v2 for transmitting the second data group, where the second rate v2 is an average transmission rate when the mobile device sends data and the third terminal receives the data;

[0118] The size ratio of the first data group to the second data group in the second resource data is determined based on the first rate v1 and the second rate v2, satisfying:

[0119]

[0120] Among them, q1 is the total data volume of the first data group, and q2 is the total data volume of the second data group.

[0121] In combination with the second aspect, optionally, the smart watch is configured as:

[0122] The mobile device splits the second resource data based on the data table so that the second resource data forms a plurality of data packets, and groups the plurality of data packets based on the serial numbers, each data packet having a unique corresponding serial number;

[0123] The first terminal or the second terminal obtains the data table from the mobile device, and sends the data table to the third terminal;

[0124] The third terminal receives multiple data packets from the first terminal or the second terminal, and when a data packet is received, removes the number corresponding to the data packet from the data table.

[0125] In combination with the second aspect, optionally, the smart watch is configured as:

[0126] The second resource data is integrity verified based on the data table.

[0127] The present application proposes a smart watch based on the Internet of Things. First, the smart watch sends a first indication message to a mobile device. The first indication message is used to instruct the mobile device to obtain the first resource data. The mobile device responds to the first indication message and obtains the first resource data. Then, the mobile device processes the first resource data into the second resource data and sends a second indication message to the terminal device. The second indication message is used to instruct the terminal device to obtain the second resource data. The terminal device responds to the second indication message and obtains the second resource data. Then, the terminal device sends a third indication message to the smart watch. The third indication message is used to instruct the smart watch to enter the upgrade mode. Finally, the smart watch responds to the third indication message and generates a feedback instruction. The terminal device responds to the feedback instruction and sends the second resource data to the smart watch. The present application proposes a smart watch based on the Internet of Things. The terminal device uses the F2OTA method to upgrade the smart watch, which does not affect the normal use of the mobile phone and provides a better user experience.

[0128] Based on the same inventive concept, an embodiment of the present application further proposes an electronic device, the electronic device comprising:

[0129] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the IoT-based smart watch upgrade method of an embodiment of the present application.

[0130] In addition, to achieve the above-mentioned purpose, an embodiment of the present application also proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the smart watch upgrade method based on the Internet of Things of the embodiment of the present application.

[0131] The following is a detailed introduction to the various components of electronic equipment:

[0132] The processor is the control center of the electronic device, which can be a processor or a general term for multiple processing elements. For example, the processor is one or more central processing units (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (field programmable gate arrays, FPGA).

[0133] Optionally, the processor can perform various functions of the electronic device by running or executing a software program stored in the memory, and calling data stored in the memory.

[0134] The memory is used to store the software program for executing the solution of the present invention, and the execution is controlled by the processor. The specific implementation method can refer to the above method embodiment and will not be repeated here.

[0135] Optionally, the memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be integrated with the processor, or may exist independently and be coupled to the processor through an interface circuit of the electronic device, and the embodiments of the present invention do not specifically limit this.

[0136] A transceiver is used to communicate with network devices or mobile devices.

[0137] Optionally, the transceiver may include a receiver and a transmitter, wherein the receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0138] Optionally, the transceiver may be integrated with the processor, or may exist independently and be coupled to the processor via an interface circuit of the router, which is not specifically limited in the embodiment of the present invention.

[0139] In addition, the technical effects of the electronic device can refer to the technical effects of the data transmission method in the above method embodiment, which will not be repeated here.

[0140] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0141] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0142] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0143] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0144] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0145] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0146] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

Claims

1. A smart watch based on the Internet of Things, characterized in that: The smart watch is connected to the mobile device for communication, the mobile device is connected to the terminal device for communication, and the smart watch is configured as follows: The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data, and the mobile device responds to the first indication information and obtains the first resource data; The mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, where the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data; The terminal device sends third indication information to the smart watch, where the third indication information is used to instruct the smart watch to enter an upgrade mode; The smart watch responds to the third indication information and generates a feedback instruction, and the terminal device responds to the feedback instruction and sends the second resource data to the smart watch; The smart watch is configured as follows: The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data. Before the mobile device responds to the first indication information and obtains the first resource data, the method includes: The mobile device obtains target version information from the smart watch, where the target version information is version information corresponding to the current version of the smart watch; The mobile device obtains current version information, and compares the current version information with the target version information, and if the current version information is the same as the target version information, the mobile device sends a permission instruction to the smart watch; The smart watch responds to the permission instruction and sends first indication information to the mobile device; The smart watch is configured as follows: The number of the terminal devices is M, where M is an integer greater than or equal to 3, the plurality of terminal devices include a first terminal and a second terminal, the mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data, including: The mobile device sends second indication information to the first terminal, and the first terminal responds to the second indication information and confirms the second terminal from the plurality of terminal devices; The first terminal and the second terminal simultaneously acquire the second resource data, wherein a communication mode between the first terminal and the mobile device is different from a communication mode between the second terminal and the mobile device.

2. The smart watch based on the Internet of Things according to claim 1, characterized in that: The smart watch is configured as follows: The plurality of terminal devices include a third terminal, the plurality of terminal devices include a first terminal and a second terminal, the mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data, including: The third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device having the fastest transmission speed between the smart watch and the plurality of terminal devices.

3. The smart watch based on the Internet of Things according to claim 2, characterized in that: The smart watch is configured as follows: The third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device having the fastest transmission speed between the smart watch and the plurality of terminal devices, including: The second resource data includes a first data group and a second data group. The third terminal obtains the first data group from the first terminal, and the third terminal obtains the second data group from the second terminal.

4. The smart watch based on the Internet of Things according to claim 3, characterized in that: The smart watch is configured as follows: The second resource data includes a first data group and a second data group, the third terminal obtains the first data group from the first terminal, and the third terminal obtains the second data group from the second terminal, including: The mobile device determines a first rate for transmitting the first data group , the first rate an average transmission rate when the mobile device sends data and the third terminal receives the data; The mobile device determines a second rate for transmitting the second data group , the second rate an average transmission rate when the mobile device sends data and the third terminal receives the data; Based on the first rate With the second rate Determine the size ratio of the first data group to the second data group in the second resource data, satisfying: ; in, is the total data volume of the first data group, is the total data volume of the second data group.

5. The smart watch based on the Internet of Things according to claim 4, characterized in that: The smart watch is configured as follows: The third terminal acquires the first data group from the first terminal, and the third terminal acquires the second data group from the second terminal, including: The mobile device splits the second resource data based on the data table so that the second resource data forms a plurality of data packets, and groups the plurality of data packets based on numbers, each of the data packets having a unique corresponding number; The first terminal or the second terminal obtains the data table from the mobile device, and sends the data table to the third terminal; The third terminal receives a plurality of the data packets from the first terminal or the second terminal, and when receiving one data packet, removes a number corresponding to the data packet from the data table.

6. The smart watch based on the Internet of Things according to claim 5, characterized in that: The smart watch is configured as follows: The third terminal simultaneously obtains the second resource data from the first terminal and the second terminal, wherein the third terminal is a terminal device having the fastest transmission speed between the smart watch and the plurality of terminal devices, including: The integrity of the second resource data is verified based on the data table.

7. A smart watch upgrade method based on the Internet of Things, characterized in that: The smart watch is communicatively connected with a mobile device, and the mobile device is communicatively connected with a terminal device, and the method includes: The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data, and the mobile device responds to the first indication information and obtains the first resource data; The mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, where the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data; The terminal device sends third indication information to the smart watch, where the third indication information is used to instruct the smart watch to enter an upgrade mode; The smart watch responds to the third indication information and generates a feedback instruction, and the terminal device responds to the feedback instruction and sends the second resource data to the smart watch; The smart watch is configured as follows: The smart watch sends first indication information to the mobile device, where the first indication information is used to instruct the mobile device to obtain first resource data. Before the mobile device responds to the first indication information and obtains the first resource data, the method includes: The mobile device obtains target version information from the smart watch, where the target version information is version information corresponding to the current version of the smart watch; The mobile device obtains current version information, and compares the current version information with the target version information, and if the current version information is the same as the target version information, the mobile device sends a permission instruction to the smart watch; The smart watch responds to the permission instruction and sends first indication information to the mobile device; The smart watch is configured as follows: The number of the terminal devices is M, where M is an integer greater than or equal to 3, the plurality of terminal devices include a first terminal and a second terminal, the mobile device processes the first resource data into second resource data, and sends second indication information to the terminal device, the second indication information is used to instruct the terminal device to obtain the second resource data, and the terminal device responds to the second indication information and obtains the second resource data, including: The mobile device sends second indication information to the first terminal, and the first terminal responds to the second indication information and confirms the second terminal from the plurality of terminal devices; The first terminal and the second terminal simultaneously acquire the second resource data, wherein a communication mode between the first terminal and the mobile device is different from a communication mode between the second terminal and the mobile device.

8. An electronic device, comprising: at least one processor; and, a memory communicatively coupled to at least one of the processors; The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors so that at least one of the processors can execute the method as set forth in claim 7.

Citation Information

Patent Citations

  • Method for upgrading vehicle-mounted controller based on mobile phone Bluetooth key

    CN113923622A