An Internet of Things (IoT) communication method and related equipment
By broadcasting temporary communication requests and splitting data packets through IoT terminals, and using multiple mobile network terminals to transmit data to the IoT platform, the problem of limited communication distance is solved, and flexible and secure data transmission is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-12
- Publication Date
- 2026-03-10
AI Technical Summary
The limited communication distance between IoT terminals and IoT platforms reduces application flexibility, especially when the distance to the bound mobile network terminal is far, making effective communication impossible.
The IoT terminal broadcasts a temporary communication request, splits the data packet to generate multiple data packets, and forwards them to the target IoT platform through at least two available mobile network terminals to achieve temporary communication.
It enhances the application flexibility and data transmission continuity of IoT terminals, avoids the risk of a single mobile terminal illegally obtaining data, and improves communication security.
Smart Images

Figure CN115988566B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present specification relates to the field of Internet of Things communication, and more particularly, the present application relates to an Internet of Things communication method and related equipment. BACKGROUND
[0002] In the Internet of Things communication, the Internet of Things platform is responsible for accessing various Internet of Things terminals, including, for example, smart watches, smart bands, and other wearable devices that are usually not capable of directly connecting to the Internet of Things platform. These devices need to bind a mobile network terminal such as a mobile phone or tablet computer through a device protocol, and then send data to the mobile network terminal, which sends the data to the Internet of Things platform through 4G / 5G, WIFI, etc. At the same time, the instructions issued by the Internet of Things platform are sent to the Internet of Things terminal by the mobile terminal.
[0003] Due to the limited communication distance of radio frequency protocols such as Bluetooth, once the Internet of Things terminal is far away from the bound mobile network terminal, the Internet of Things terminal cannot communicate with the Internet of Things platform through the pre-bound mobile network terminal, which greatly limits the application flexibility of the Internet of Things terminal. SUMMARY
[0004] A series of simplified concepts are introduced in the summary section, which will be further described in detail in the specific embodiment section. The summary section of the present application does not mean to attempt to limit the key features and necessary technical features of the claimed technical solution, nor does it mean to attempt to determine the protection scope of the claimed technical solution.
[0005] In order to improve the flexibility of the application of the Internet of Things terminal, in the first aspect, the present application proposes an Internet of Things communication method for an Internet of Things terminal, the above-mentioned method comprising:
[0006] broadcasting a temporary communication request;
[0007] In the case of determining at least two available mobile network terminals based on the above-mentioned temporary communication request, splitting the data message to be reported to generate at least two data packets;
[0008] Distribute all generated data packets to at least two of the above-mentioned available mobile network terminals, so that at least two of the above-mentioned available mobile network terminals forward all the above-mentioned data packets to the target Internet of Things platform.
[0009] Optionally, the above-mentioned method further comprises:
[0010] In the case that the above-mentioned Internet of Things terminal has a bound mobile network terminal and the above-mentioned Internet of Things terminal cannot communicate with the above-mentioned bound mobile network terminal at present, switching the communication mode of the above-mentioned Internet of Things terminal to a broadcast mode; and / or,
[0011] When the aforementioned IoT terminal is not bound to a mobile network terminal, the communication mode of the aforementioned IoT terminal is switched to broadcast mode.
[0012] Optionally, the above methods also include:
[0013] If at least two available mobile network terminals are identified based on the aforementioned temporary communication request, the seamless network service function is enabled.
[0014] Optionally, the aforementioned broadcast temporary communication request includes a preset temporary communication identifier, and the aforementioned method further includes:
[0015] Receive request feedback messages;
[0016] If the aforementioned request feedback message contains request confirmation information, the mobile network terminal that sent the aforementioned request feedback message is determined to be an available mobile network terminal, wherein the aforementioned request confirmation information is generated based on the aforementioned preset temporary communication identifier.
[0017] Optionally, the aforementioned request confirmation information is generated based on the aforementioned preset temporary communication identifier through the system file of the aforementioned available mobile network terminal, and the aforementioned system file pre-stores a preset temporary communication program file corresponding to the aforementioned IoT terminal; and / or,
[0018] The aforementioned request confirmation information is generated based on the aforementioned preset temporary communication identifier through the APP program corresponding to the aforementioned IoT terminal installed in the aforementioned available mobile network terminal. The aforementioned APP program is able to conduct temporary communication with the aforementioned IoT terminal when it is running.
[0019] Optionally, the aforementioned data packets include content data and sequence information, and the distribution of all generated data packets to at least two of the aforementioned available mobile network terminals includes:
[0020] All generated data packets are encrypted and distributed to at least two of the aforementioned available mobile network terminals.
[0021] Optionally, the above methods also include:
[0022] Obtain the local network connection speed between each available mobile network terminal and the aforementioned IoT terminals;
[0023] Based on the aforementioned local network connection speed and packet splitting strategy, a distribution plan for the aforementioned data packets is determined. The distribution strategy includes: the data capacity of a single data packet distributed to an available mobile network terminal is positively correlated with the aforementioned local network connection speed of the available mobile network terminal; and / or, the number of data packets distributed to an available mobile network terminal is positively correlated with the aforementioned local network connection speed of the available mobile network terminal; and / or, the total data capacity of the data packets distributed to an available mobile network terminal is positively correlated with the aforementioned local network connection speed of the available mobile network terminal.
[0024] Optionally, the above methods also include:
[0025] Obtain the remote data transmission speed of the aforementioned available mobile network terminal;
[0026] The distribution plan will be adjusted based on the aforementioned remote data transmission speed and / or the aforementioned local network connection speed.
[0027] Secondly, this application also proposes an Internet of Things (IoT) communication method for an IoT platform, comprising:
[0028] Receive at least two data packets, wherein the at least two data packets are obtained by splitting the data packets to be reported by the IoT terminal, the at least two data packets are reported by the same IoT terminal distributed to at least two available mobile network terminals, and the at least two available mobile network terminals are determined by the IoT terminal based on a temporary communication request;
[0029] Merge at least two of the aforementioned data packets to restore the original data message.
[0030] Optionally, the above methods also include:
[0031] The target downlink message is split to generate downlink sub-packet files;
[0032] All of the generated downlink sub-packets are distributed to at least two of the aforementioned available mobile network terminals, so that at least two of the aforementioned available mobile network terminals forward all of the aforementioned downlink sub-packets to the aforementioned IoT terminal.
[0033] Optionally, the above methods also include:
[0034] The aforementioned data packets and the aforementioned target downlink packets are sent to a preset mobile network terminal, wherein the preset mobile network terminal is a mobile network terminal that is bound to the aforementioned IoT terminal.
[0035] Thirdly, this application also proposes an Internet of Things (IoT) communication control device for IoT terminals, comprising:
[0036] The broadcast unit is used to broadcast temporary communication requests;
[0037] The splitting unit is used to split the data packet to be reported into at least two data packets when at least two available mobile network terminals are determined based on the aforementioned temporary communication request.
[0038] The distribution unit is configured to distribute all generated data packets to at least two of the aforementioned available mobile network terminals, so that the at least two of the aforementioned available mobile network terminals forward all of the aforementioned data packets to the target Internet of Things platform.
[0039] Fourthly, this application also proposes an Internet of Things (IoT) communication control device for an IoT platform, comprising:
[0040] A receiving unit is configured to receive at least two data packets, wherein the at least two data packets are obtained by splitting data packets to be reported by an IoT terminal, the at least two data packets are reported by the same IoT terminal to at least two available mobile network terminals, and the at least two available mobile network terminals are determined based on temporary communication requests;
[0041] The merging unit is used to merge the at least two data packets to restore the data message.
[0042] Fifthly, this application also proposes an electronic device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program stored in the memory to implement the steps of the Internet of Things communication method as described in either the first or second aspect above.
[0043] Sixthly, this application also proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the Internet of Things communication method of either the first or second aspect.
[0044] In summary, the IoT communication method proposed in this application includes: broadcasting a temporary communication request; when at least two available mobile network terminals are determined based on the temporary communication request, splitting the data packets to be reported to generate at least two data packets; and distributing all generated data packets to at least two of the available mobile network terminals, so that the at least two available mobile network terminals forward all the data packets to the target IoT platform. The IoT communication method proposed in this application, when the IoT terminal cannot communicate with the IoT platform based on a predetermined communication method, controls the IoT terminal to establish temporary communication with at least two available mobile network terminals, and sends data packets to at least two available mobile network terminals. All the packetized data is then sent to the target IoT platform through the available mobile network terminals, thereby achieving the transmission of all data to be reported to the target IoT platform. This application provides a method for temporary communication between an IoT terminal and a target platform. Furthermore, by processing data packets into packets and transmitting them through multiple available mobile terminals, the risk of a single available mobile terminal establishing temporary communication illegally obtaining all data packets is avoided, thus improving the security of temporary communication.
[0045] The IoT communication method proposed in this application, other advantages, objectives and features of this application will be partly apparent from the following description, and partly understood by those skilled in the art through study and practice of this application. Attached Figure Description
[0046] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit this specification. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0047] Figure 1 A schematic flowchart illustrating an IoT communication method applied to an IoT terminal, provided in an embodiment of this application.
[0048] Figure 2 A schematic diagram of an Internet of Things (IoT) communication principle provided in an embodiment of this application;
[0049] Figure 3 This is another schematic diagram of the Internet of Things (IoT) communication principle provided in an embodiment of this application;
[0050] Figure 4 A schematic timing diagram of signal transmission in another IoT communication method provided in this application embodiment;
[0051] Figure 5 A schematic flowchart illustrating an Internet of Things (IoT) communication method applied to an Internet of Things (IoT) platform, provided as an embodiment of this application;
[0052] Figure 6 A schematic diagram of an IoT communication control device applied to an IoT terminal is provided as an embodiment of this application;
[0053] Figure 7 A schematic diagram of an IoT communication control device applied to an IoT platform is provided as an embodiment of this application;
[0054] Figure 8 This is a schematic diagram of the structure of an Internet of Things (IoT) communication electronic device provided in an embodiment of this application. Detailed Implementation
[0055] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus. The technical solutions of the embodiments of this application will now be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them.
[0056] It should be noted that the embodiments of this application use smart wearable devices as a representative of Internet of Things terminals for introduction, but this does not mean that the methods of this application are limited to use in smart wearable devices.
[0057] Please see Figure 1 This is a schematic flowchart of an IoT communication method provided in an embodiment of this application, used in an IoT terminal, and may specifically include:
[0058] S110, Broadcast temporary communication request;
[0059] For example, during normal communication between the wearable device and the IoT platform, through methods such as... Figure 2The method described above, where the mobile network terminal can be represented by a mobile device, involves the wearable device first pairing with the bound mobile device via Bluetooth to establish a Bluetooth connection. The mobile device then establishes a persistent TCP connection with the IoT platform. If both Bluetooth pairing and the persistent TCP connection are normal, the smart wearable device encrypts and transmits data to the bound mobile device, which in turn encrypts and transmits data to the IoT platform. However, if the network connection between the wearable device and the bound mobile device, or between the bound mobile device and the IoT platform, is abnormal, data interaction between the wearable device and the IoT platform will be impossible.
[0060] If the IoT terminal and the IoT platform cannot transmit data in the manner described above, the IoT terminal broadcasts a temporary communication request to seek assistance from other mobile terminals to enable temporary communication between the IoT terminal and the IoT platform.
[0061] S120. If at least two available mobile network terminals are determined based on the above-mentioned temporary communication request, the data packet to be reported is split into at least two data packets.
[0062] For example, an IoT terminal broadcasts a temporary communication request to request establishing connections with at least two available mobile network terminals within a target range, splitting the data packet to be reported into at least two data packets. Figure 3 As shown, the data packet includes 6 groups of data: 1, 2, 3, 4, 5, and 6. The data packet is split into two data packets: data packet 1 includes data 1, 3, and 5, and data packet 2 includes data 2, 4, and 6.
[0063] S130. Distribute all generated data packets to at least two of the aforementioned available mobile network terminals, so that at least two of the aforementioned available mobile network terminals forward all of the aforementioned data packets to the target IoT platform.
[0064] For example, all the split data packets are sent to an available mobile network terminal, which then forwards all the data packets to the target IoT platform. Figure 3 As shown, data packet 1, which includes data 1, 3, and 5, is sent to one mobile device, and data packet 2, which includes data 2, 4, and 6, is sent to another mobile device. The two mobile devices send the two data packets to the target IoT platform. The IoT platform can receive all the data, including data 1 to 6, thereby enabling temporary communication between the IoT terminal and the IoT platform.
[0065] In summary, the IoT communication method proposed in this application, when an IoT terminal cannot communicate with an IoT platform using a predetermined communication method, controls the IoT terminal to establish temporary communication with at least two available mobile network terminals, and sends data packets to at least two available mobile network terminals. All packetized data is then sent to the target IoT platform through the available mobile network terminals, thereby achieving the transmission of all data to be reported to the target IoT platform. This application provides a method for temporary communication between an IoT terminal and a target platform. Furthermore, by processing data packets into packets and transmitting them through multiple available mobile terminals, it avoids the risk of a single available mobile terminal illegally obtaining all data packets, thus improving the security of temporary communication.
[0066] In some examples, the above method also includes:
[0067] If the aforementioned IoT terminal is already bound to a mobile network terminal and the IoT terminal is currently unable to communicate with the bound mobile network terminal, the communication mode of the aforementioned IoT terminal will be switched to broadcast mode; and / or,
[0068] When the aforementioned IoT terminal is not bound to a mobile network terminal, the communication mode of the aforementioned IoT terminal is switched to broadcast mode.
[0069] For example, an IoT terminal can determine its own connection status. If the IoT terminal cannot communicate with the bound mobile terminal, it will switch to broadcast mode to seek temporary communication with an available mobile terminal and interact with the IoT platform. The inability to connect to the bound mobile terminal may include not being bound to a particular mobile terminal, or having a bound mobile terminal but experiencing communication abnormalities. Communication abnormalities may include exceeding distance limits, excessively low communication speed, or damage to the communication module.
[0070] In summary, the IoT communication method proposed in this application, when unable to communicate with the bound mobile terminal, automatically switches the mobile terminal to broadcast mode to seek to establish temporary communication, thus fully ensuring the continuity and integrity of IoT terminal data transmission.
[0071] In some examples, the above method also includes:
[0072] If at least two available mobile network terminals are identified based on the aforementioned temporary communication request, the seamless network service function is enabled.
[0073] For example, when at least two available mobile network terminals are found within a preset range, the IoT terminal's seamless network service function is activated, thereby enabling seamless network connection with the available mobile network terminals.
[0074] In some examples, the aforementioned unaware network service functionality includes GATT network service functionality.
[0075] For example, GATT (Generic Attribute Profile) divides the Bluetooth communication process into three parts: discovery, client initialization, and server initialization. The GATT server stores data from the GATT client, accepts requests and commands from the GATT client, and approves them. The GATT server responds to GATT client requests and asynchronously notifies the GATT client when certain events occur on the GATT server. By configuring the GATT network service, automatic and seamless connection between IoT terminals and available mobile network terminals can be achieved via Bluetooth.
[0076] In some examples, the aforementioned broadcast temporary communication request includes a preset temporary communication identifier, and the aforementioned method further includes:
[0077] Receive request feedback messages;
[0078] If the aforementioned request feedback message contains request confirmation information, the mobile network terminal that sent the aforementioned request feedback message is determined to be an available mobile network terminal, wherein the aforementioned request confirmation information is generated based on the aforementioned preset temporary communication identifier.
[0079] For example, when an IoT terminal seeks to establish temporary communication, it broadcasts a temporary communication request carrying a temporary communication identifier to solicit feedback messages from other unbound mobile network terminals. The IoT terminal identifies the mobile terminal corresponding to the feedback message carrying the temporary communication identifier as an available mobile network terminal. The IoT terminal then activates its seamless network service function, thereby achieving seamless network connection with the available mobile network terminal.
[0080] like Figure 4As shown, the above IoT terminal uses a wearable device as an example. The wearable device first determines whether there is a valid connection with the bound mobile network terminal (i.e., whether it is offline). If it is offline, the wearable device starts broadcasting a temporary communication request. The temporary communication request carries a preset temporary communication identifier (i.e., a data identifier). If at least two mobile network terminals receive the broadcast message, and if the mobile network terminal is available, it sends a feedback message containing a request confirmation information to the wearable device. The request confirmation information is generated based on the preset temporary communication identifier. If the wearable device detects at least two available mobile network terminals, it sets the wearable device to the GATT network service function (i.e., establishes a seamless network service with at least two available mobile network terminals). Then, it divides the complete data packet and distributes it to each available mobile network terminal. The available mobile network terminals then send each packet to the IoT (Internet of Things) platform. The IoT platform merges and processes the packets to obtain the complete data packet sent by the IoT terminal.
[0081] In summary, the IoT communication method proposed in this application establishes temporary communication with available mobile network terminals by adding a preset temporary communication identifier to the broadcast temporary communication request, thereby ensuring data interaction between the IoT terminal and the IoT platform.
[0082] In some examples, the aforementioned request confirmation information is generated based on the aforementioned preset temporary communication identifier through the system file of the aforementioned available mobile network terminal, and the system file pre-stores a preset temporary communication program file corresponding to the aforementioned IoT terminal; and / or,
[0083] The aforementioned request confirmation information is generated based on the aforementioned preset temporary communication identifier through the APP program corresponding to the aforementioned IoT terminal installed in the aforementioned available mobile network terminal. The aforementioned APP program is able to conduct temporary communication with the aforementioned IoT terminal when it is running.
[0084] For example, to achieve seamless networking between mobile network terminals and IoT terminals, a temporary communication program file can be pre-written into the system file of the mobile terminal, or an app program capable of interconnecting with the IoT terminal can be installed on the mobile terminal. Taking wearable devices as an example, if the wearable device and the mobile network terminal are from the same brand manufacturer, a temporary communication file can be written into the system file of the mobile terminal at the factory to meet the needs of wearable devices of the same brand seeking to establish temporary communication. If the IoT terminal and the mobile network terminal are from different brands, a temporary communication can be seamlessly established between terminals of different brands by installing the corresponding app program of the IoT terminal on the mobile network terminal.
[0085] In summary, the IoT communication method proposed in this application can be achieved by writing a temporary communication file in advance into the system file of an available mobile network terminal and / or by loading a specific APP, so that the IoT terminal and the mobile network terminal can establish temporary communication without being aware of each other.
[0086] In some examples, the aforementioned data packets include content data and sequence information, and the generated data packets are distributed to at least two of the aforementioned available mobile network terminals, including:
[0087] All generated data packets are encrypted and distributed to at least two of the aforementioned available mobile network terminals.
[0088] For example, during the data packet distribution process, the packet data can be encrypted using a preset encryption method. An unauthorized intruder could then illegally combine packets from multiple available mobile network terminals to create a single, fully encrypted data packet, resulting in data leakage. Correspondingly, the IoT platform has a preset decryption method corresponding to the preset encryption method, enabling the decryption of the encrypted data and facilitating data interaction between the IoT terminal and the IoT platform.
[0089] In summary, the IoT communication method proposed in this application improves data security during temporary communication by encrypting data packets during distribution.
[0090] In some examples, the above method also includes:
[0091] Obtain the local network connection speed between each available mobile network terminal and the aforementioned IoT terminals;
[0092] Based on the aforementioned local network connection speed and packet splitting strategy, a distribution plan for the aforementioned data packets is determined. The distribution strategy includes: the data capacity of a single data packet distributed to an available mobile network terminal is positively correlated with the aforementioned local network connection speed of the available mobile network terminal; and / or, the number of data packets distributed to an available mobile network terminal is positively correlated with the aforementioned local network connection speed of the available mobile network terminal; and / or, the total data capacity of the data packets distributed to an available mobile network terminal is positively correlated with the aforementioned local network connection speed of the available mobile network terminal.
[0093] For example, in formulating a packet splitting strategy, the local network connection speed between the IoT terminal and the available mobile network terminal can be determined. The local network connection speed can be characterized by the time interval between the IoT terminal sending a broadcast message and receiving a request feedback message from the available mobile network terminal. When formulating the packet splitting strategy, one or more of the following combinations of schemes can be used for packet splitting. Taking two available mobile network terminals, a total data capacity of 10MB, a connection time of 10ms for the first mobile network terminal, and a connection time of 40ms for the second mobile network terminal as an example:
[0094] A: The data packet size distributed to available mobile network terminals is positively correlated with the local network connection speed of those terminals; that is, with a fixed number of packets, the faster the local network connection speed, the larger the data packet size allocated to the corresponding available mobile terminal. For example, if data needs to be divided into two packets, and the first mobile network terminal has a shorter connection time and a higher network connection speed, the packets are divided according to the positive correlation between network connection speeds. The data packet size sent to the first mobile network terminal is 8MB, and the data packet size sent to the second mobile network terminal is 2MB, allowing both mobile terminals to complete data transmission simultaneously.
[0095] B: The number of data packets distributed to available mobile network terminals is positively correlated with the local network connection speed of the available mobile network terminals; that is, given the same data size in each data packet, a faster local network connection speed results in more data packets being allocated to the mobile network terminal. For example, data packets can be divided into 10 data packets, each with a capacity of 1MB. This allows for the transmission of 8 data packets to the first mobile network terminal and 2 data packets to the second mobile network terminal, enabling both mobile terminals to simultaneously complete data transmission.
[0096] C: The total data capacity of data packets distributed to available mobile network terminals is positively correlated with the local network connection speed of the aforementioned available mobile network terminals; that is, regardless of the data capacity of a single packet or the number of packets, the total data capacity distributed to each available mobile network terminal is determined based on the local network connection speed, with a larger total data capacity corresponding to a faster local network connection speed. For example, 8MB of the transmission task out of 10MB of data can be assigned to the first mobile network terminal, and 2MB of the transmission task out of 10MB of data can be assigned to the second mobile network terminal. The first and second mobile network terminals can determine the number of packets and the data capacity of a single packet based on hardware capabilities, etc., as long as the total data volume sent to each mobile network terminal conforms to the data volume ratio determined based on network speed.
[0097] In summary, the IoT communication method proposed in this application can formulate a packet splitting strategy based on the local network connection speed, thereby fully considering the differences in local network speed and optimizing the data transmission strategy to achieve fast data transmission.
[0098] In some examples, the above method also includes:
[0099] Obtain the remote data transmission speed of the aforementioned available mobile network terminal;
[0100] The distribution plan will be adjusted based on the aforementioned remote data transmission speed and / or the aforementioned local network connection speed.
[0101] For example, the remote data transmission speed can be the network transmission speed between the mobile network terminal and the IoT platform. The distribution plan is adjusted based on the remote data transmission speed and / or the aforementioned local network connection speed. That is, by combining the local and remote transmission speeds, undistributed data packets are sent according to the new distribution plan. For instance, taking two mobile network terminals as an example, the first mobile network terminal corresponds to the first local connection speed and the first remote data transmission speed, while the second mobile network terminal corresponds to the second local connection speed and the second remote data transmission speed. For example, the first local connection speed is 2 units, the first remote data transmission speed is 3 units, the second local connection speed is 4 units, and the second remote data transmission speed is 1 unit. If the distribution plan is determined only based on the local connection speed, the ratio of data allocated to the first mobile network and the second mobile network is 2:4, or 1:2; if the distribution plan is determined only based on the remote data transmission speed, the ratio of data allocated to the first mobile network and the second mobile network is 3:1. If the distribution plan is determined by taking into account both local connection speed and remote data transmission speed, the ratio of data allocated to the first mobile network and the second mobile network can be (2+3):(4+1)=1:1; if the minimum limit of transmission speed at a certain stage is considered, the ratio of data allocated to the first mobile network and the second mobile network is min(2,3):min(4,1)=2:1.
[0102] In summary, the IoT communication method proposed in this application can fully consider the impact of local network connection speed and remote data transmission speed on data transmission speed, optimize the distribution plan, and achieve fast data transmission.
[0103] like Figure 5 As shown, this application also proposes an Internet of Things (IoT) communication method for an IoT platform, comprising:
[0104] S210. Receive at least two data packets, wherein the at least two data packets are obtained by splitting the data packets to be reported by the IoT terminal, the at least two data packets are reported by the same IoT terminal distributed to at least two available mobile network terminals, and the at least two available mobile network terminals are determined by the IoT terminal based on a temporary communication request.
[0105] For example, when an IoT terminal is unable to interact with the IoT platform via a bound mobile terminal, it broadcasts a temporary communication request to seek other mobile terminals to facilitate temporary communication between the IoT terminal and the IoT platform. The IoT terminal broadcasts the temporary communication request to establish connections with at least two available mobile network terminals within a target range, splitting the data packet to be reported into at least two data packets. All split data packets are sent to the available mobile network terminals, which then forward all data packets to the target IoT platform.
[0106] S220. Merge at least two of the above data packets to restore the above data message.
[0107] For example, after receiving at least two data packets from at least two available mobile network terminals, the target IoT platform merges all the data packets to form a data message sent by the IoT terminal, thereby enabling temporary communication between the IoT terminal and the IoT platform.
[0108] In summary, the IoT communication method proposed in this application addresses situations where an IoT terminal cannot communicate with an IoT platform using a predetermined communication method. Instead, the IoT terminal establishes temporary communication with at least two available mobile network terminals and sends data packets to these terminals. All data packets are then transmitted to the target IoT platform via these available mobile network terminals. The target IoT platform reassembles and restores the data packets to receive all data messages sent by the IoT terminal. This provides a method for temporary communication between an IoT terminal and a target platform. By processing data messages into packets and transmitting them through multiple available mobile terminals, the risk of a single available mobile terminal illegally obtaining all data messages is avoided, thus improving the security of temporary communication.
[0109] In some examples, the above method also includes:
[0110] The target downlink message is split to generate downlink sub-packet files;
[0111] All of the generated downlink sub-packets are distributed to at least two of the aforementioned available mobile network terminals, so that at least two of the aforementioned available mobile network terminals forward all of the aforementioned downlink sub-packets to the aforementioned IoT terminal.
[0112] For example, when an IoT platform needs to transmit data to an IoT terminal, the target downlink message is split into multiple downlink sub-packets, and all downlink sub-packets are distributed to multiple available mobile network terminals that have established temporary communication with the IoT terminal according to predetermined distribution rules. Then, all downlink sub-packets are sent to the IoT terminal through the multiple available mobile network terminals. The IoT terminal merges all downlink sub-packets to obtain the target downlink message sent by the IoT platform.
[0113] In summary, the IoT communication method proposed in this application provides a method for temporary communication between a target platform and an IoT terminal. By processing downlink messages into packets and transmitting them through multiple available mobile terminals, the risk of a single available mobile terminal establishing temporary communication illegally obtaining all data messages is avoided, thereby improving the security of downlink message transmission during temporary communication.
[0114] In some examples, the above method also includes:
[0115] The aforementioned data packets and the aforementioned target downlink packets are sent to a preset mobile network terminal, wherein the preset mobile network terminal is a mobile network terminal that is bound to the aforementioned IoT terminal.
[0116] For example, the IoT platform will also send the data uploaded to the IoT platform by the IoT terminal during temporary communication and the target downlink message to a preset mobile network terminal. The preset mobile network terminal is a mobile network terminal that is bound to the aforementioned IoT terminal, thereby ensuring that the preset mobile network terminal can also receive all uplink and downlink data, enabling the preset mobile network terminal to back up the data, and also ensuring the continuity of communication when the preset mobile network terminal communicates normally with the IoT terminal in the future.
[0117] In summary, the IoT communication method proposed in this application ensures that the IoT platform also sends all uplink and downlink data to the preset mobile network terminal, thus guaranteeing that the preset mobile network terminal can also receive all uplink and downlink data.
[0118] Please see Figure 6 One embodiment of the IoT communication control device for IoT terminals in this application may include:
[0119] Broadcast unit 61 is used to broadcast temporary communication requests;
[0120] The splitting unit 62 is used to split the data packet to be reported to generate at least two data packets when at least two available mobile network terminals are determined based on the above-mentioned temporary communication request.
[0121] Distribution unit 63 is used to distribute all generated data packets to at least two of the above-mentioned available mobile network terminals, so that at least two of the above-mentioned available mobile network terminals forward all of the above-mentioned data packets to the target Internet of Things platform.
[0122] Please see Figure 7 This application also proposes an Internet of Things (IoT) communication control device for an IoT platform, comprising:
[0123] The receiving unit 71 is configured to receive at least two data packets, wherein the at least two data packets are obtained by splitting the data packets to be reported by the Internet of Things (IoT) terminal, and the at least two data packets are reported by the same IoT terminal distributed to at least two available mobile network terminals, and the at least two available mobile network terminals are determined based on temporary communication requests.
[0124] Merging unit 72 is used to merge the at least two data packets to restore the data message.
[0125] like Figure 8 As shown, this application embodiment also provides an electronic device 800, including a memory 810, a processor 820, and a computer program 811 stored in the memory 810 and executable on the processor. When the processor 820 executes the computer program 811, it implements the steps of any of the above-described methods of Internet of Things communication.
[0126] Since the electronic device described in this embodiment is a device used to implement an Internet of Things communication control device in the embodiments of this application, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the method described in the embodiments of this application. Therefore, how the electronic device implements the method in the embodiments of this application will not be described in detail here. Any device used by those skilled in the art to implement the method in the embodiments of this application falls within the scope of protection of this application.
[0127] In practical implementation, when the computer program 811 is executed by the processor, it can achieve the following: Figure 1 or Figure 5 Any of the corresponding implementation methods in the embodiments.
[0128] It should be noted that the descriptions of each embodiment in the above embodiments have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0129] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0130] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0131] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0132] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0133] This application also provides a computer program product, which includes computer software instructions that, when executed on a processing device, cause the processing device to perform actions such as... Figure 5 or The IoT communication process in the corresponding embodiment.
[0134] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.
[0135] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0136] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0137] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0138] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. An Internet of Things communication method for an Internet of Things terminal, characterized by, The method comprises: broadcasting a temporary communication request; in a case where at least two available mobile network terminals are determined based on the temporary communication request, splitting a data message to be reported to generate at least two data packets; distributing all the generated data packets to at least two available mobile network terminals, so that the at least two available mobile network terminals forward the all data packets to a target Internet of Things platform; in a case where the Internet of Things terminal has a bound mobile network terminal and the Internet of Things terminal cannot communicate with the bound mobile network terminal at present, switching the communication mode of the Internet of Things terminal to a broadcast mode; and / or, in a case where the Internet of Things terminal has no bound mobile network terminal, switching the communication mode of the Internet of Things terminal to a broadcast mode; The broadcast temporary communication request comprises a preset temporary communication identifier, and the method further comprises: receiving a request feedback message; in a case where the request feedback message contains request confirmation information, determining that the mobile network terminal sending the request feedback message is an available mobile network terminal, wherein the request confirmation information is generated based on the preset temporary communication identifier; wherein the request confirmation information is generated based on the preset temporary communication identifier through a system file of the available mobile network terminal, and the system file pre-stores a preset temporary communication program file corresponding to the Internet of Things terminal; and / or, the request confirmation information is generated based on the preset temporary communication identifier through an APP program corresponding to the Internet of Things terminal installed in the available mobile network terminal, wherein the APP program can temporarily communicate with the Internet of Things terminal when running.
2. The method of claim 1, wherein, Further comprising: in a case where at least two available mobile network terminals are determined based on the temporary communication request, starting a non-aware network service function.
3. The method of claim 1, wherein, The request confirmation information is generated based on the preset temporary communication identifier through a system file of the available mobile network terminal, and the system file pre-stores a preset temporary communication program file corresponding to the Internet of Things terminal; and / or, The request confirmation information is generated based on the preset temporary communication identifier through an APP program corresponding to the Internet of Things terminal installed in the available mobile network terminal, wherein the APP program can temporarily communicate with the Internet of Things terminal when running. The data packet comprises content data and sequence information, and the distributing all the generated data packets to at least two available mobile network terminals comprises:
4. The method of claim 1, wherein, encrypting and distributing all the generated data packets to at least two available mobile network terminals. Further comprising:
5. The method of claim 1, wherein, obtaining a local network connection speed between each available mobile network terminal and the Internet of Things terminal; determine a distribution plan of the data packets based on the local network connection speed and a packet distribution strategy, wherein the packet distribution strategy comprises: a positive correlation between a single packet data capacity of a data packet distributed to an available mobile network terminal and the local network connection speed of the available mobile network terminal, and / or a positive correlation between a number of data packets distributed to an available mobile network terminal and the local network connection speed of the available mobile network terminal, and / or a positive correlation between a total data capacity of data packets distributed to an available mobile network terminal and the local network connection speed of the available mobile network terminal.
6. The method of claim 5, wherein, Further comprising: obtaining a remote data transmission speed of the available mobile network terminal; adjusting the distribution plan according to the remote data transmission speed and / or the local network connection speed. 7.A method for Internet of Things (IoT) communication, for an IoT platform, the method comprising: Comprising: receiving at least two data packets, wherein the at least two data packets are obtained by splitting a data message to be reported by an Internet of Things terminal, and the at least two data packets are reported by the same Internet of Things terminal to at least two available mobile network terminals, and the at least two available mobile network terminals are determined by the Internet of Things terminal based on a temporary communication request; merging the at least two data packets to restore the data message; in a case where the Internet of Things terminal has a bound mobile network terminal and the Internet of Things terminal cannot communicate with the bound mobile network terminal at present, switching a communication mode of the Internet of Things terminal to a broadcast mode; and / or, in a case where the Internet of Things terminal has no bound mobile network terminal, switching a communication mode of the Internet of Things terminal to a broadcast mode; the broadcast temporary communication request comprises a preset temporary communication identifier, and the method further comprises: receiving a request feedback message; in a case where the request feedback message contains request confirmation information, determining that a mobile network terminal sending the request feedback message is an available mobile network terminal, wherein the request confirmation information is generated based on the preset temporary communication identifier; wherein the request confirmation information is generated based on the preset temporary communication identifier through a system file of the available mobile network terminal, and a preset temporary communication program file corresponding to the Internet of Things terminal is pre-stored in the system file; and / or, the request confirmation information is generated based on the preset temporary communication identifier through an APP program corresponding to the Internet of Things terminal installed in the available mobile network terminal, wherein the APP program can temporarily communicate with the Internet of Things terminal when running.
8. The method of claim 7, wherein, Further comprising: splitting a target downlink message to generate downlink packet files; distributing all the generated downlink packet files to at least two available mobile network terminals, so that the at least two available mobile network terminals forward all the downlink packet files to the Internet of Things terminal.
9. The method of claim 8, wherein, Further comprising: sending the data message and the target downlink message to a preset mobile network terminal, wherein the preset mobile network terminal is a mobile network terminal having a binding relationship with the Internet of Things terminal.
10. An Internet of Things communication control apparatus for an Internet of Things terminal, characterized by comprising: Comprising: a broadcasting unit configured to broadcast a temporary communication request; The splitting unit is configured to split the data message to be reported to generate at least two data packets in a case that at least two available mobile network terminals are determined based on the temporary communication request; The distribution unit is configured to distribute all the generated data packets to at least two available mobile network terminals, so that the at least two available mobile network terminals forward the all data packets to the target Internet of Things platform; In a case that the Internet of Things terminal has a bound mobile network terminal and the Internet of Things terminal cannot communicate with the bound mobile network terminal at present, the communication mode of the Internet of Things terminal is switched to a broadcast mode; and / or In a case that the Internet of Things terminal has no bound mobile network terminal, the communication mode of the Internet of Things terminal is switched to a broadcast mode; The broadcast temporary communication request includes a preset temporary communication identifier, and the Internet of Things communication control device further receives a request feedback message; In a case that the request feedback message contains request confirmation information, it is determined that the mobile network terminal sending the request feedback message is an available mobile network terminal, wherein the request confirmation information is generated based on the preset temporary communication identifier; In a case that the request feedback message contains request confirmation information, it is determined that the mobile network terminal sending the request feedback message is an available mobile network terminal, wherein the request confirmation information is generated based on the preset temporary communication identifier; The request confirmation information is generated based on the preset temporary communication identifier through a system file of the available mobile network terminal, and a preset temporary communication program file corresponding to the Internet of Things terminal is pre-stored in the system file; and / or 11. An Internet of Things communication control apparatus for an Internet of Things platform, characterized by The request confirmation information is generated based on the preset temporary communication identifier through an APP program corresponding to the Internet of Things terminal installed in the available mobile network terminal, wherein the APP program can temporarily communicate with the Internet of Things terminal when running. comprises: The receiving unit is configured to receive at least two data packets, wherein the at least two data packets are obtained by splitting a data message to be reported by an Internet of Things terminal, and the at least two data packets are reported by at least two available mobile network terminals to which the same Internet of Things terminal is distributed, and the at least two available mobile network terminals are determined by the Internet of Things terminal based on a temporary communication request; The merging unit is configured to merge the at least two data packets to restore the data message; In a case that the Internet of Things terminal has a bound mobile network terminal and the Internet of Things terminal cannot communicate with the bound mobile network terminal at present, the communication mode of the Internet of Things terminal is switched to a broadcast mode; and / or In a case that the Internet of Things terminal has no bound mobile network terminal, the communication mode of the Internet of Things terminal is switched to a broadcast mode; The broadcast temporary communication request includes a preset temporary communication identifier, and the Internet of Things communication control device further receives a request feedback message; In a case that the request feedback message contains request confirmation information, it is determined that the mobile network terminal sending the request feedback message is an available mobile network terminal, wherein the request confirmation information is generated based on the preset temporary communication identifier; The request confirmation information is generated based on the preset temporary communication identifier through a system file of the available mobile network terminal, and the system file pre-stores a preset temporary communication program file corresponding to the Internet of Things terminal; and / or, The request confirmation information is generated based on the preset temporary communication identifier through an APP program corresponding to the Internet of Things terminal installed in the available mobile network terminal, wherein the APP program can temporarily communicate with the Internet of Things terminal when running.
12. An electronic device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the steps of the Internet of Things communication method according to any one of claims 1-9 when executing the computer program stored in the memory.
13. A computer readable storage medium having stored thereon a computer program, characterized in that: The computer program is executable by the processor to implement the Internet of Things communication method according to any one of claims 1-9.
Citation Information
Patent Citations
Method, device and system for wireless data transmission
CN102404702A