Data transmission method, system and device and storage medium

By receiving and processing suppressed messages in the Mesh network, adjusting the level of the forwarding node, and modifying and forwarding the level when receiving cloud data, the problems of data transmission stability and data storm in the Mesh network are solved, and flexible hierarchical adjustment and stability guarantee of data transmission are achieved.

CN119766902AActive Publication Date: 2025-04-04E SURFING IOT CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411692384.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-04-04
Estimated Expiration
2044-11-25

AI Technical Summary

Technical Problem

In the data transmission of Mesh network, the level adjustment of the forwarding nodes is not flexible enough, resulting in the small or too large TTL when the nodes are sparse and dense, which may lead to data loss or data storm.

Method used

By receiving the first suppression message and modifying its own level according to its information, broadcasting the second suppression message at a preset time interval, if the level is greater than its own level when receiving cloud data, modifying and forwarding the data.

Benefits of technology

It realizes the stability of data transmission under different node densities, avoids the occurrence of data storms, ensures accurate data transmission and optimization of terminal power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766902A_ABST
    Figure CN119766902A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method, system and device and a storage medium, and the method comprises the steps: receiving a first inhibition message, and modifying the own level according to the first inhibition message; broadcasting a second suppression message to the surroundings at a preset time interval according to the own level; and receiving upper cloud data, if the level of the upper cloud data is greater than the own level, modifying the level of the upper cloud data into the own level, and forwarding the modified upper cloud data. The embodiment of the invention can ensure the transmission stability and inhibit the data storm, and can be widely applied to the technical field of network transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network transmission technology, and in particular to a data transmission method, system, device and storage medium. Background Art

[0002] At present, all walks of life have carried out various energy-saving transformations based on electrical intelligence. In order to achieve accurate carbon metering and intelligent control, it is necessary to connect a large number of terminals to the network. The original wired networking, wifi networking and cellular network are costly, and the Mesh network with the advantages of low cost and flexibility has become the first choice. However, with the popularization of Mesh networks, it is found that in actual project delivery, in order to reduce the difficulty and convenience of deployment, a one-size-fits-all approach is often adopted in the setting of data forwarding, resulting in conflicts in the two situations of sparse spatial nodes and dense nodes. If the upper limit of the forwarding life value (TTL, Time To Live) is too small, it is easy to cause the life value of data to drop to 0 during the forwarding process in the case of sparse nodes and loss; if the TTL is too large, it is easy to cause a data storm in the Mesh when the nodes are dense, which also leads to partial data loss, data backlog and increased terminal power consumption. Summary of the invention

[0003] In view of this, an object of the embodiments of the present invention is to provide a data transmission method, system, device and storage medium, which can ensure transmission stability and suppress data storms.

[0004] On the one hand, an embodiment of the present invention provides a data transmission method, including:

[0005] receiving a first suppression message, and modifying its own level according to the first suppression message;

[0006] broadcasting a second suppression message to the surroundings at a preset time interval according to the own level;

[0007] Receive the cloud data, and if the level of the cloud data is greater than the own level, modify the level of the cloud data to the own level, and forward the modified cloud data.

[0008] Optionally, the method further comprises:

[0009] Determine a suppression message list according to the received plurality of first suppression messages;

[0010] The suppression message list is updated according to the first suppression message.

[0011] Optionally, the first suppression message includes a node identifier and a node level, and updating the suppression message list according to the first suppression message includes:

[0012] In the suppression message list, a preset number of the first suppression messages are retained according to the node's own level; wherein, the first suppression messages with the same node identifier are retained with the most recent reception time.

[0013] Optionally, the method further comprises:

[0014] If the number of the first suppression messages in the suppression message list is greater than the preset number, deleting the first suppression message with the highest level of the node itself;

[0015] If there are multiple first suppression messages with the highest node level, the first suppression message with the highest node level and the earliest receiving time is deleted.

[0016] Optionally, the method further comprises:

[0017] In the suppression message list, the first suppression message whose reception time exceeds the preset time is deleted.

[0018] Optionally, the first suppression message further includes a clear flag, and updating the suppression message list according to the first suppression message includes:

[0019] If the clearing flag is a first flag, the first suppression message whose clearing flag is a second flag is deleted from the suppression message list.

[0020] Optionally, modifying the own level according to the first suppression message includes:

[0021] Calculate the survival probability of the first suppression message with the lowest level in the suppression message list; the survival probability is determined according to the current time and the receiving time;

[0022] If the accumulated value of the survival probability is greater than or equal to the preset value, the own level is increased by one;

[0023] If the accumulated value of the survival probability is less than a preset value, the own level is increased by two.

[0024] On the other hand, an embodiment of the present invention provides a data transmission system, including:

[0025] A first module, configured to receive a first suppression message and modify its own level according to the first suppression message;

[0026] The second module is used to broadcast a second suppression message to the surroundings at a preset time interval according to the own level;

[0027] The third module is used to receive cloud-uploaded data, and if the level of the cloud-uploaded data is greater than the own level, modify the level of the cloud-uploaded data to the own level, and forward the modified cloud-uploaded data.

[0028] On the other hand, an embodiment of the present invention provides a data transmission device, including:

[0029] at least one processor;

[0030] at least one memory for storing at least one program;

[0031] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0032] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to perform the above method.

[0033] The implementation of the embodiments of the present invention includes the following beneficial effects: after the forwarding node of the embodiment receives the first suppression message sent by the cloud gateway or other forwarding node, and modifies its own level according to the information carried in the first suppression message, it can quickly adjust the level of the forwarding node, and broadcast the second suppression message to the surrounding according to its own level at a preset time interval, so that the surrounding nodes can adaptively adjust their levels and receive cloud data. If the level of the cloud data is greater than its own level, the level of the cloud data is modified to its own level, and the modified cloud data is forwarded. Forwarding the cloud data according to the node level can not only ensure transmission stability but also suppress data storms. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a structural diagram of a data transmission system provided by an embodiment of the present invention;

[0035] Figure 2 It is a schematic diagram of a step flow of a data transmission method provided by an embodiment of the present invention;

[0036] Figure 3 is a schematic diagram of the steps of another data transmission method provided by an embodiment of the present invention;

[0037] Figure 4 It is a processing flow chart of a forwarding node receiving a suppression message provided by an embodiment of the present invention;

[0038] Figure 5 It is a flow chart of calculating the level of a suppression message itself provided by an embodiment of the present invention;

[0039] Figure 6 is a schematic diagram of a data transmission method in a specific embodiment provided by an embodiment of the present invention;

[0040] Figure 7is a schematic diagram of a data transmission method in another specific embodiment provided by an embodiment of the present invention;

[0041] Figure 8 is a schematic diagram of a data transmission method in another specific embodiment provided by an embodiment of the present invention;

[0042] Fig. 9 is a schematic diagram of a data transmission method in another specific embodiment provided by an embodiment of the present invention;

[0043] Fig.10 is a structural block diagram of a data transmission system provided by an embodiment of the present invention;

[0044] Fig.11 It is a structural block diagram of a data transmission device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0046] It should be noted that, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the order in the flow chart. The terms "first", "second", etc. in the specification and claims and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0048] Some technical terms in this embodiment are explained below.

[0049] Mesh network is a communication architecture in which nodes (devices) can communicate directly with one or more peer nodes without having to be relayed through a central node. In a mesh network, each node is not only a data receiver but also a data forwarder, which means it can resend the received data packets to other nodes until the data packets reach their destination.

[0050] Node: A device in a Mesh network or a point in the network. A Mesh network is a wireless network architecture in which each device (i.e., Mesh node) can act as a router, not only receiving signals but also forwarding signals to other nodes. This network design allows signals to be transmitted through multiple paths, enhancing the stability and coverage of the network. In a Mesh network, the connections between nodes form a mesh structure. Even if a node fails, data can be transmitted through other paths, ensuring the robustness of the network.

[0051] See also Figure 1 In a Mesh network composed of multiple nodes, data is transmitted between nodes through broadcasting. Nodes that are far away can exchange data through intermediate nodes. Some of the nodes are called cloud gateways, which have the ability to upload data to cloud servers. Cloud data is generated from a data source node, reaches the cloud gateway through the forwarding node, and then the cloud gateway transmits the data to the cloud server through the public network protocol.

[0052] See also Figure 2 , an embodiment of the present invention provides a data transmission method, applied to a forwarding node, comprising:

[0053] S100, receiving a first suppression message, and modifying its own level according to the first suppression message;

[0054] S200, broadcasting a second suppression message to the surroundings at a preset time interval according to the own level;

[0055] S300, receiving cloud data, if the level of the cloud data is greater than the own level, modifying the level of the cloud data to the own level, and forwarding the modified cloud data.

[0056] See also Figure 1 and Figure 3, the cloud gateway broadcasts the first suppression message of level 0 to the surrounding forwarding nodes, and the forwarding node adjusts its own level according to the level of the received first suppression message or the message timeout; the forwarding node broadcasts the second suppression message to the surrounding according to its own level at a preset time interval; the data source node embeds its own level into the cloud data and sends the cloud data to the forwarding node; after receiving the data, the forwarding node only forwards the cloud data whose own level is lower than that of the data source node, and modifies the level in the cloud data to its own level; after receiving the cloud data, the cloud gateway uploads it to the cloud service.

[0057] It should be noted that the preset time interval of each node does not exceed time W, and broadcasts the suppression message of its own level to the surrounding. Among them, W is a threshold, which is the maximum time that can tolerate local data loss, generally 15 seconds to 10 minutes. Suppression messages of all levels include the node ID, the node level and the clearing flag. Suppression messages are not forwarded and are only received by surrounding nodes. Suppression messages can be sent together with other messages to reduce wireless network consumption.

[0058] The implementation of the embodiments of the present invention includes the following beneficial effects: after the forwarding node of the embodiment receives the first suppression message sent by the cloud gateway or other forwarding node, and modifies its own level according to the information carried in the first suppression message, it can quickly adjust the level of the forwarding node, and broadcast the second suppression message to the surrounding according to its own level at a preset time interval, so that the surrounding nodes can adaptively adjust their levels and receive cloud data. If the level of the cloud data is greater than its own level, the level of the cloud data is modified to its own level, and the modified cloud data is forwarded. Forwarding the cloud data according to the node level can not only ensure transmission stability but also suppress data storms.

[0059] Optionally, the data transmission method further includes:

[0060] S400, determining a suppression message list according to a plurality of received first suppression messages;

[0061] S500: Update the suppression message list according to the first suppression message.

[0062] The suppression message list includes information such as the reception time of the first suppression message, the node identifier, the node's own level, and the clear flag. Specifically, the forwarding node determines the suppression message list by sorting the received first suppression messages according to a certain characteristic, such as sorting according to the node's own level; when the suppression message list needs to be updated, the suppression message list is updated according to the information of the first suppression message, such as updating the suppression message list according to the first suppression message's own level or reception time.

[0063] Optionally, the first suppression message includes a node identifier and a level of the node itself, and updating the suppression message list according to the first suppression message includes:

[0064] S510. In the suppression message list, retain a preset number of first suppression messages according to the node's own level; wherein, the first suppression messages with the same node identifier are retained with the most recent reception time.

[0065] It should be noted that the preset number is determined according to the actual application, and this embodiment does not make specific restrictions. The node identification is determined according to the actual application, and this embodiment does not make specific restrictions, such as node ID. In addition to the cloud gateway, other forwarding nodes maintain a list of received suppression messages. This message list is arranged from small to large according to the level of the suppression message, and only retains a maximum of L, such as L is 5-8. The suppression message list only retains the latest suppression message for the same node ID, that is, the reception time is closest to the current time.

[0066] Optionally, the data transmission method further includes:

[0067] S520, if the number of first suppression messages in the suppression message list is greater than a preset number, deleting the first suppression message with the highest level of the node itself;

[0068] S530: If there are multiple first suppression messages with the highest node level, delete the first suppression message with the highest node level and the earliest receiving time.

[0069] Specifically, if the number of first suppression messages in the suppression message list is greater than the preset number, the first suppression message with the highest level of the node itself will be deleted. If there are multiple highest levels, the first suppression message with the earliest reception time will be deleted, and the first suppression message with a closer reception time will be retained.

[0070] Optionally, the data transmission method further includes:

[0071] S540: In the suppression message list, delete the first suppression message whose reception time exceeds the preset time.

[0072] It should be noted that the preset time is determined according to actual application and is not specifically limited in this embodiment. For example, the suppression message list automatically deletes the first suppression message whose reception time exceeds the current time minus W*Timeout, where Timeout is a threshold value, generally 120%.

[0073] Optionally, the first suppression message further includes a clear flag, and updating the suppression message list according to the first suppression message includes:

[0074] S550: If the clearing flag is the first flag, delete the first suppression message whose clearing flag is the second flag from the suppression message list.

[0075] It should be noted that the clear flag is determined according to actual application, and this embodiment does not impose any specific restrictions. For example, the clear flag can only be 1 or 0. When the clear flag is 1, it means that the previous message with a flag of 0 is ignored.

[0076] In a specific embodiment, see Figure 4 , if the wireless signal strength RSSI of the suppression message received by the forwarding node is less than the threshold Rmax, ignore the message and exit the process; if the clear flag in the message is 1, delete the message with the clear flag of 0 from the suppression message list; if the message node ID does not appear in the suppression message list and the suppression message level is greater than the maximum level in the suppression message list, ignore the message and exit the process; adjust the suppression message list: put the suppression message into the list, delete the message with the same node ID and the message that exceeds the list length limit; if the adjustment of the suppression message list changes the message with the minimum level in the list, recalculate its own level.

[0077] Except for the cloud gateway, other forwarding nodes adjust the suppression message list and recalculate their own level when the reception time of a message in the suppression message list exceeds W from the current time.

[0078] When a node's level changes or it receives a suppression message with a clear flag set to 1, it broadcasts a suppression message of its level to the surrounding nodes. If the level changes due to receiving a suppression message with a clear flag set to 1, the clear flag in the broadcast suppression message is 1, otherwise it is 0. Nodes with a level of Max do not broadcast suppression messages with a clear flag set to 0.

[0079] Optionally, modifying the own level according to the first suppression message includes:

[0080] S110, calculating the survival probability of the first suppression message with the lowest level in the suppression message list; the survival probability is determined according to the current time and the receiving time;

[0081] S120, if the accumulated value of the survival probability is greater than or equal to the preset value, increase the level by one;

[0082] S130. If the accumulated value of the survival probability is less than the preset value, increase the own level by two.

[0083] See also Figure 5If the node is a cloud gateway, the level is fixed at 0; if the node is not a cloud gateway, all suppression messages with the smallest level in the suppression message list are selected; if the suppression message list is empty, the level is a maximum value threshold Max, such as 31; the survival probability of each message in the suppression message list is calculated and accumulated until it is greater than 50%. If it still does not exceed 50% after the superposition, its own level is the suppression message level plus 2, otherwise it is the suppression message level plus 1, but the maximum does not exceed Max.

[0084] It should be noted that the survival probability is determined according to actual application, and this embodiment does not impose any specific restrictions. In a specific embodiment, the calculation method of suppressing the survival probability of the message is: Now is the current time, and Rt is the time when the message is received.

[0085] If the cloud service detects a major change in the Mesh network, such as a failure of a cloud gateway, it can send instructions to other cloud gateways in the same Mesh network, prompting other cloud gateways to broadcast suppression messages with the clear Flag set to 1 in the Mesh network.

[0086] For major changes in the Mesh network that cannot be detected by the cloud service, no special identification is required. Both newly online nodes and existing nodes can quickly adjust their own levels according to the method of the embodiment of the present invention, and the path for reporting faults and reporting data is available and forwarding is effectively suppressed. If a large number of nodes are added, their own level can be quickly adjusted by receiving suppression messages broadcast by the surrounding area. If a large number of forwarding nodes go offline, the surrounding forwarding nodes can quickly adjust their own levels by suppressing the expiration of the suppression message. When the data source node generates cloud data, it puts its own level into the data message. When the forwarding node receives cloud data, it checks the level in the cloud data message. If the level of the cloud data is greater than its own level, it forwards it, otherwise it does not forward it.

[0087] In a specific application scenario, such as the energy-saving scenario of a smart building, intelligent IoT terminals involving various components of lighting, air conditioning and other equipment, including sensing terminals and control terminals, are distributed in various corners of a building. Except for a small number of terminals that are connected through network cables or Wi-Fi, most terminals, such as a large number of lighting terminals, are connected through the Mesh network. The data in the Mesh network is transmitted through data broadcasting and transfer, and most of them need to be transmitted to the cloud server. The terminal density in some areas of the building is relatively high, such as office lamps, while the terminal density in other areas is relatively low, such as fire sensors in parking lots. Therefore, it is difficult and troublesome to set the limit on the number of data transmission transfers for these terminals. If the transfer limit is too small, the data of some edge nodes is easily lost. If the transfer limit is too high, a large amount of data is repeatedly broadcast, resulting in data storms in the Mesh network, causing data accumulation, data loss, and increased device power consumption. Generally, Mesh networks use some data forwarding suppression methods, such as forwarding a data packet only once on the same Mesh node, limiting the maximum number of forwarding times for a data packet, etc. The embodiment of the present invention imitates the apical dominance of plant growth, such as the top of the plant spreading growth-inhibiting hormone downward, broadcasting the inhibition forwarding message in the Mesh network, and providing a more effective inhibition method, which not only effectively inhibits the forwarding of data, but also can quickly adjust and adapt to the changes of the Mesh network. The following takes the use of BLE broadcast to form a Mesh network as an example, and the specific process is as follows:

[0088] S1. See Figure 6 After the cloud gateway is started and connected to the cloud server, it broadcasts the suppression message 4E20-0-0 every 15 seconds. The first number is the node ID, the second number is the node level, and the third number is the clear flag. In the specific implementation, the message can be compressed to 3 bytes for transmission through bit compression, so it can also be attached to other data messages for transmission, reducing the consumption of the wireless network.

[0089] S2. Node A056 receives the suppression message 4E20-0-0. If the received wireless signal strength exceeds the threshold, the message will be put into the suppression message list and the receiving time will be recorded. At this time, the calculation of its own level is calculated according to this method. Since the receiving time is equal to the current time, the survival probability is It has exceeded 50%, so the node's own level should be adjusted to 1. Moreover, before the message times out, if the node receives other suppression messages with a level greater than 0, this method will not affect the node's level.

[0090] S3. After node A056 adjusts its own level to 1, it broadcasts suppression message A056-1-0.

[0091] S4. Node BD0E does not receive 4E20-0-0, or the signal strength of 4E20-0-0 is lower than the threshold, and does not receive other level 0 messages, but can receive A056-1-0, and the signal strength of A056-1-0 is higher than the threshold, then A056-1-0 is put into its own message list. Similarly, it can be calculated that its survival probability is greater than 50%, so its own level can be adjusted to 2. After the adjustment, BD0E broadcasts its own suppression message BD0E-2-0.

[0092] S5. Similarly, each node will adjust its own level according to the received suppression message.

[0093] S6. If node BD76 generates cloud data, the level in the cloud data message is 2. At this time, BD0E and C145 will not forward the data because their own levels are not less than 2. Only A056 will forward it, and change the level in the data to 1 when forwarding. At this time, node 4E20 will upload the received data to the cloud server, while node A054 will not forward the data because its own level is not less than 1.

[0094] S7. Similarly, if the node BD0E generates the cloud data, the data can be reported through the two cloud gateways after being forwarded by nodes A056 and AEF9.

[0095] S8. Now assume that node 4E20 fails and no longer broadcasts 4E20-0-0. After message 4E20-0-0 times out, nodes A056 and A054 will readjust their own levels and broadcast new suppression messages. Figure 7 .

[0096] S9. After receiving the new suppression message, nodes A054, A056 and BD76 also refresh the message list, recalculate their own level, reduce it to 3, and broadcast the new suppression message. Figure 8 .

[0097] S10. After receiving the new suppression message, node A054 also refreshes the message list, recalculates its own level, reduces it to 4, and broadcasts the new suppression message, as shown in the attached Fig. 9 shown.

[0098] S11, if node BD76 generates cloud data, the level in the cloud data message is 3. At this time, A056 and A054 will not forward the data because their own levels are not less than 3. Only BD0E will forward it, and change the level in the data to 2 when forwarding. The forwarded message will be forwarded again by node AEF9 with a level of 1. At this time, node 4A55 will upload the received data to the cloud server, while node A056 will not forward the data because its own level is not less than 1.

[0099] S12. If the cloud server finds that 4E20 has a fault in time, there is no need to wait until 4E20-0-0 times out. The cloud server directly issues instructions, and the cloud gateway 4A55 broadcasts the suppression message 4A55-0-1. Then AEF9 recalculates the level, but does not change, and broadcasts the suppression message AEF9-1-1. Similarly, node BD0E recalculates the level and broadcasts BD0E-2-1. At this time, nodes A056 and BD76 receive BD0E-2-1 and the wireless signal strength exceeds the threshold, then the suppression message with the clear Flag set to 0 is deleted, the level is recalculated to 2+1=3, and the new suppression message is broadcast. Similarly, A054 will also adjust the level to 4 according to the new suppression message, and the final result is consistent with the result of 4E20-0-0 timeout.

[0100] S13. If the failure occurs in a normal node instead of the cloud gateway, local adjustments will also occur.

[0101] See also Fig.10 , an embodiment of the present invention provides a data transmission system, including:

[0102] A first module is used to receive a first suppression message and modify its own level according to the first suppression message;

[0103] The second module is used to broadcast a second suppression message to the surroundings at a preset time interval according to its own level;

[0104] The third module is used to receive cloud-uploaded data. If the level of the cloud-uploaded data is greater than its own level, the level of the cloud-uploaded data is modified to its own level, and the modified cloud-uploaded data is forwarded.

[0105] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0106] See also Fig.11 , an embodiment of the present invention provides a data transmission device, including:

[0107] at least one processor;

[0108] at least one memory for storing at least one program;

[0109] When at least one program is executed by at least one processor, the at least one processor implements the above method.

[0110] Among them, the memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. The memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a remote memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0111] It can be seen that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0112] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.

[0113] An embodiment of the present invention further provides a computer-readable storage medium, which stores a program executable by a processor. The program executable by the processor is used to implement the above method when executed by the processor.

[0114] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0115] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0116] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "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 mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0117] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0119] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A data transmission method, characterized in that: include: receiving a first suppression message, and modifying its own level according to the first suppression message; broadcasting a second suppression message to the surroundings at a preset time interval according to the own level; Receive the cloud data, and if the level of the cloud data is greater than the own level, modify the level of the cloud data to the own level, and forward the modified cloud data.

2. The method according to claim 1, characterized in that The method further comprises: Determine a suppression message list according to the received plurality of first suppression messages; The suppression message list is updated according to the first suppression message.

3. The method according to claim 2, characterized in that The first suppression message includes a node identifier and a node level, and updating the suppression message list according to the first suppression message includes: In the suppression message list, a preset number of the first suppression messages are retained according to the node's own level; wherein, the first suppression messages with the same node identifier are retained with the most recent reception time.

4. The method according to claim 3, characterized in that The method further comprises: If the number of the first suppression messages in the suppression message list is greater than the preset number, deleting the first suppression message with the highest level of the node itself; If there are multiple first suppression messages with the highest node level, the first suppression message with the highest node level and the earliest receiving time is deleted.

5. The method according to claim 3, characterized in that: The method further comprises: In the suppression message list, the first suppression message whose reception time exceeds the preset time is deleted.

6. The method according to claim 2, characterized in that The first suppression message further includes a clear flag, and updating the suppression message list according to the first suppression message includes: If the clearing flag is a first flag, the first suppression message whose clearing flag is a second flag is deleted from the suppression message list.

7. The method according to any one of claims 2 to 6, characterized in that: Modifying the own level according to the first suppression message includes: Calculate the survival probability of the first suppression message with the lowest level in the suppression message list; the survival probability is determined according to the current time and the receiving time; If the accumulated value of the survival probability is greater than or equal to the preset value, the own level is increased by one; If the accumulated value of the survival probability is less than a preset value, the own level is increased by two.

8. A data transmission system, characterized in that: include: A first module, configured to receive a first suppression message and modify its own level according to the first suppression message; The second module is used to broadcast a second suppression message to the surroundings at a preset time interval according to the own level; The third module is used to receive cloud-uploaded data, and if the level of the cloud-uploaded data is greater than the own level, modify the level of the cloud-uploaded data to the own level, and forward the modified cloud-uploaded data.

9. A data transmission device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Patent Citations

  • Broadcasting method based on distance and energy balance in mobile Ad Hoc network

    CN104009913A

  • Cross-layer routing method in wireless sensor network

    US20090147725A1

  • System and method for pre-filtering low priority packets at network nodes in a network service class utilizing a priority-based quality of service

    US6868061B1