CN118337715B - Internet of things data sending method and system - Google Patents
Internet of things data sending method and system Download PDFInfo
- Publication number
- CN118337715B CN118337715B CN202410751160.3A CN202410751160A CN118337715B CN 118337715 B CN118337715 B CN 118337715B CN 202410751160 A CN202410751160 A CN 202410751160A CN 118337715 B CN118337715 B CN 118337715B
- Authority
- CN
- China
- Prior art keywords
- data
- transmission
- transmitted
- sending
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000005540 biological transmission Effects 0.000 claims abstract description 288
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012913 prioritisation Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000003466 welding Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/147—Network analysis or design for predicting network behaviour
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention is applicable to the technical field of data transmission, and provides a method and a system for sending data of the Internet of things, wherein the method comprises the following steps: receiving a data transmission command, and generating predicted transmission completion time, wherein the data transmission command comprises data to be transmitted; judging the predicted transmission completion time, detecting whether the data transmission command contains the incidental information or not when the predicted transmission completion time is larger than a set transmission value, and directly extracting the incidental information when the incidental information is contained; when the auxiliary information is not contained, the information to be selected of the emergency degree is sent to the terminal sending the data sending command, the emergency degree selecting command fed back by the terminal is received, all the data to be sent are prioritized according to the auxiliary information and the emergency degree selecting command, and all the data to be sent are sent according to the ranking order. In this way, relatively urgent data can be preferentially transmitted, and normal operation can be prevented from being affected as much as possible.
Description
Technical Field
The invention relates to the technical field of data transmission, in particular to a method and a system for transmitting data of the Internet of things.
Background
Along with the continuous construction of modern factories, intelligent equipment and internet of things equipment are continuously applied in the factories, and in order to realize remote monitoring, control and storage of data generated by various intelligent equipment, all operation data, test data, processing data, feedback data and the like generated by the intelligent equipment are transmitted to a server through a wireless network.
For large-scale intelligent factories, at the data transmission peak, the data transmission quantity is extremely large, and the transmission speed of a wireless network can not meet the requirements of users at the transmission peak, so that a lot of data needing urgent transmission can not be transmitted in time. Therefore, it is necessary to provide a method and a system for sending data of the internet of things, which aim to solve or alleviate the above problems.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for sending data of the Internet of things, so as to solve the problems in the background art.
The invention is realized in such a way, and the data transmission method of the Internet of things comprises the following steps:
receiving a data transmission command, and generating predicted transmission completion time, wherein the data transmission command comprises data to be transmitted;
Judging the predicted transmission completion time, detecting whether the data transmission command contains the incidental information or not when the predicted transmission completion time is larger than a set transmission value, and directly extracting the incidental information when the incidental information is contained; when the incidental information is not contained, executing the next step;
the method comprises the steps of sending information to be selected of emergency degree to a terminal sending a data sending command, and receiving the emergency degree selecting command fed back by the terminal;
And prioritizing all the data to be transmitted according to the incidental information and the emergency degree selection command, and transmitting all the data to be transmitted according to the arrangement order.
As a further scheme of the invention: the step of generating the predicted transmission completion time by receiving the data transmission command specifically includes:
receiving a data transmission command, and detecting the current wireless network transmission speed and the data quantity of all data to be transmitted;
and generating predicted transmission completion time according to the wireless network transmission speed and the data quantity of all the data to be transmitted.
As a further scheme of the invention: the step of prioritizing all data to be sent according to the incidental information and the emergency degree selection command specifically includes:
the equipment information and the project information in the incidental information are called, and the equipment information and the project information are input into an equipment sending level library;
Outputting a transmission level corresponding to data to be transmitted, which contains the incidental information, wherein the equipment transmission level library contains all pieces of equipment information, each piece of equipment information corresponds to a plurality of pieces of project information, and each piece of project information corresponds to a transmission level;
and prioritizing all the data to be transmitted according to the transmission level and the emergency degree selection command.
As a further scheme of the invention: the step of prioritizing all the data to be transmitted according to the transmission level and the emergency degree selection command specifically includes:
uniformly converting the transmission level and the selected emergency level into priority levels, so that each data to be transmitted corresponds to one priority level;
and arranging all the data to be transmitted according to the priority levels, and transmitting the data simultaneously when the priority levels of the data to be transmitted are the same.
As a further scheme of the invention: the method further comprises the steps of:
Determining the latest starting transmission time of each data to be transmitted according to the transmission level and the selected emergency degree;
Detecting a transmission state of data to be transmitted, wherein the transmission state is that transmission is already performed or not yet performed;
and when the latest starting sending time arrives and the sending state is that the sending is not performed yet, the data to be sent are sent.
Another object of the present invention is to provide an internet of things data transmission system, the system comprising:
the sending command receiving module is used for receiving a data sending command and generating predicted sending completion time, wherein the data sending command comprises data to be sent;
The auxiliary information detection module is used for judging the predicted transmission completion time, detecting whether the auxiliary information is contained in the data transmission command or not when the predicted transmission completion time is larger than a set transmission value, and directly extracting the auxiliary information when the auxiliary information is contained; executing the step in the emergency degree determination module when the incidental information is not included;
The emergency degree determining module is used for sending the emergency degree information to be selected to the terminal sending the data sending command and receiving the emergency degree selecting command fed back by the terminal;
The priority ranking module is used for ranking all the data to be sent according to the incidental information and the emergency degree selection command and sending all the data to be sent according to the ranking order.
As a further scheme of the invention: the transmission command receiving module includes:
the transmission speed detection unit is used for receiving the data transmission command and detecting the current wireless network transmission speed and the data quantity of all data to be transmitted;
and the completion time prediction unit is used for generating predicted transmission completion time according to the wireless network transmission speed and the data quantity of all the data to be transmitted.
As a further scheme of the invention: the prioritizing module includes:
The device item information calling unit is used for calling the device information and the item information in the incidental information and inputting the device information and the item information into the device sending level library;
A transmission level output unit, configured to output a transmission level corresponding to data to be transmitted, where the transmission level output unit includes additional information, and the device transmission level library includes all device information, each device information corresponds to a plurality of item information, and each item information corresponds to a transmission level;
And the priority ranking unit is used for ranking all the data to be transmitted according to the transmission level and the emergency degree selection command.
As a further scheme of the invention: the prioritizing unit includes:
the priority level conversion subunit is used for uniformly converting the sending level and the selected emergency level into priority levels, so that each data to be sent corresponds to one priority level;
And the transmission data arrangement subunit is used for arranging all the data to be transmitted according to the priority levels, and when the priority levels of the data to be transmitted are the same, the data to be transmitted can be transmitted simultaneously.
As a further scheme of the invention: the system also comprises a forced sending module, wherein the forced sending module specifically comprises:
A latest transmission time determining unit for determining a latest start transmission time of each data to be transmitted according to the transmission level and the selected urgency level;
a transmission state detection unit, configured to detect a transmission state of data to be transmitted, where the transmission state is already transmitted or not yet transmitted;
and the forced sending unit is used for sending the data to be sent when the latest starting sending time arrives and the sending state is that the data to be sent is not sent yet.
Compared with the prior art, the invention has the beneficial effects that:
When a data transmission command is received, generating predicted transmission completion time, judging the predicted transmission completion time, detecting whether the data transmission command contains additional information or not when the predicted transmission completion time is larger than a set transmission value, and directly extracting the additional information when the additional information is contained; when the auxiliary information is not contained, sending information to be selected of the emergency degree to a terminal sending a data sending command, and receiving the emergency degree selecting command fed back by the terminal; and prioritizing all the data to be transmitted according to the incidental information and the emergency degree selection command, and transmitting all the data to be transmitted according to the arrangement order. In this way, relatively urgent data can be preferentially transmitted, and normal operation can be prevented from being affected as much as possible.
Drawings
Fig. 1 is a flowchart of a method for sending data of the internet of things.
Fig. 2 is a flowchart of generating a predicted transmission completion time by receiving a data transmission command in an internet of things data transmission method.
Fig. 3 is a flowchart of prioritizing all data to be transmitted according to incidental information and an emergency degree selection command in an internet of things data transmission method.
Fig. 4 is a flowchart of prioritizing all data to be transmitted according to a transmission level and an emergency degree selection command in an internet of things data transmission method.
Fig. 5 is a flowchart of determining a latest start transmission time of each data to be transmitted according to a transmission level and a selected emergency degree in an internet of things data transmission method.
Fig. 6 is a schematic structural diagram of an internet of things data transmission system.
Fig. 7 is a schematic structural diagram of a sending command receiving module in an internet of things data sending system.
Fig. 8 is a schematic structural diagram of a prioritization module in an internet of things data transmission system.
Fig. 9 is a schematic structural diagram of a priority ranking unit in an internet of things data transmission system.
Fig. 10 is a schematic structural diagram of a forced sending module in an internet of things data sending system.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Specific implementations of the invention are described in detail below in connection with specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a method for sending data of internet of things, the method includes the following steps:
S100, receiving a data transmission command, and generating predicted transmission completion time, wherein the data transmission command comprises data to be transmitted;
S200, judging the predicted transmission completion time, detecting whether the data transmission command contains the incidental information or not when the predicted transmission completion time is larger than a set transmission value, and directly extracting the incidental information when the incidental information is contained; when the incidental information is not contained, executing the next step;
S300, sending information to be selected of the emergency degree to a terminal sending a data sending command, and receiving the emergency degree selecting command fed back by the terminal;
And S400, prioritizing all the data to be transmitted according to the incidental information and the emergency degree selection command, and transmitting all the data to be transmitted according to the arrangement sequence, wherein the emergency degree selection command comprises the emergency degree selected by the user.
In the embodiment of the invention, no matter the internet of things equipment periodically uploads data by itself or the user uses the intelligent terminal to send data, a data sending command is generated. When the data transmission command is received, the predicted transmission completion time is automatically generated, the predicted transmission completion time is then judged, and when the predicted transmission completion time is smaller than or equal to a set transmission value, the set transmission value is a fixed value set in advance, so that the transmission speed of the wireless network can meet the transmission requirement at the moment, and the data is directly transmitted; when the predicted transmission completion time is greater than the set transmission value, it is indicated that the transmission speed of the wireless network cannot meet the transmission demand at that time, and it is necessary to transmit urgent data with priority. Specifically, whether the data transmission command contains the incidental information is detected, and when the incidental information is contained, the incidental information is directly extracted; when the auxiliary information is not included, the data transmission command is sent by a user instead of the internet of things equipment, emergency degree information to be selected is sent to the user terminal sending the data transmission command, the user needs to select the emergency degree, and finally, the embodiment of the invention can prioritize all the data to be transmitted according to the auxiliary information and the emergency degree and transmit all the data to be transmitted according to the ranking order, so that the relatively emergency data can be preferentially transmitted, and normal operation of the work is not affected as much as possible.
As shown in fig. 2, as a preferred embodiment of the present invention, the step of receiving a data transmission command and generating a predicted transmission completion time specifically includes:
s101, receiving a data transmission command, and detecting the current wireless network transmission speed and the data quantity of all data to be transmitted;
s102, generating predicted transmission completion time according to the wireless network transmission speed and the data quantity of all data to be transmitted.
In step S102, the step of generating the predicted transmission completion time according to the wireless network transmission speed and the data amount of all the data to be transmitted includes the following sub-steps:
Step S1021, acquiring the transmission speed of the wireless network and the data volume of all data to be transmitted;
step S1022, obtaining the current wireless network transmission speed and the change rate of the wireless network transmission speed in real time;
step S1023, calculating and obtaining the predicted transmission completion time based on the wireless network transmission speed, the data amount of all data to be transmitted, the current wireless network transmission speed and the change rate of the wireless network transmission speed.
The calculation formula for predicting the transmission completion time is expressed as:
,
Wherein, Indicating that the transmission completion time is predicted,Representing the amount of data of all data to be transmitted,Indicating the current transmission speed of the wireless network,Indicating the rate of change of the transmission speed of the wireless network,Representing the network speed decay factor.
The rate of change of the transmission speed of the wireless networkThe larger the value used to quantify the network speed instability, the more severe the network speed change, and the greater the predicted impact on the transmit time. For network speed decay factorFor simulating the speed decay that may occur during network transmission, the larger the value is, which indicates that the network speed drops faster during long-time transmission, thereby increasing the transmission time.
In the embodiment of the invention, each time a data transmission command is received, the current wireless network transmission speed and the data quantity of all data to be transmitted are automatically detected, so that the predicted transmission completion time is obtained, and all data which need to be transmitted but do not need to be transmitted belong to the data to be transmitted.
As shown in fig. 3, as a preferred embodiment of the present invention, the step of prioritizing all data to be transmitted according to the incidental information and the emergency degree selection command specifically includes:
s401, equipment information and project information in the incidental information are called, and the equipment information and the project information are input into an equipment sending level library;
S402, outputting a transmission level corresponding to data to be transmitted, wherein the transmission level library comprises all equipment information, each piece of equipment information corresponds to a plurality of item information, and each piece of item information corresponds to a transmission level;
In step S402, the calculation formula of the transmission level corresponding to the data to be transmitted is expressed as:
,
Wherein, Indicating the transmission level to which the data to be transmitted corresponds,The weight of the device is represented by the weight of the device,Representing the overall weight of the device and,Representing the project impact factor(s),Indicating the proportion of the amount of data that has been transmitted,The total data amount of the item is represented,The weighted values representing other influencing factors besides the device and project factors,Representing the maximum value of the influence factor weights.
It should be noted that, for the transmission level corresponding to the data to be transmittedThe higher the value, the higher the transmission priority of the data. For device weightsThe device weights may be assigned based on the type, function, criticality, or other relevant factors of the device. For the total weight of the deviceThe normalization factor is the sum of all the equipment weights or a preset fixed value, and is used for adjusting the influence of the equipment weights in the formula so as to ensure that the equipment weights are in a reasonable range. For project influencing factorsFor representing the impact of a particular item on the priority of delivery, the item impact factor may be adjusted based on the urgency, importance, customer demand, or other relevant factors of the item. For the proportion of the amount of data sentThe proportion of the transmitted data quantity of the current project to the total data quantity of the project is represented, and the progress condition of the project is reflected. Finally, weighting values for other influencing factors besides equipment and project factorsOther influencing factors besides equipment and project factors are considered, such as timeliness of data, safety requirements and the like, and the value can be adjusted according to actual conditions.
S403, prioritizing all data to be transmitted according to the transmission level and the emergency degree selection command.
In the embodiment of the invention, when the internet of things equipment generates the data transmission command by itself, the data transmission command comprises data to be transmitted and incidental information, the incidental information comprises equipment information and item information, the equipment information can be equipment names and equipment numbers, the item information is the item names of the data, such as strength inspection data, welding parameter data and the like, and then the equipment information and the item information are input into an equipment transmission level library.
As shown in fig. 4, as a preferred embodiment of the present invention, the step of prioritizing all data to be transmitted according to a transmission level and an emergency degree selection command specifically includes:
S4031, uniformly converting the transmission level and the selected emergency level into priority levels, so that each data to be transmitted corresponds to one priority level;
in step S4031, the calculation formula of the priority level is expressed as:
,
Wherein, Indicating the priority level of the data to be transmitted,Indicating the selected degree of urgency.
Additionally, for a selected degree of urgency,Is a numerical value, which can be assigned according to the actual situation, and the higher the degree of emergency, the larger the value. For the followingIn part, by performing a nonlinear transformation on the transmission level, its impact on the priority level is adjusted. Here, the indexMeaning that as the transmission level increases, its impact on priority level increases, but the speed increase is slightly slowed down.
For the followingA section that nonlinearly converts the influence of the degree of urgency by a natural logarithmic function; when the degree of emergency is low, the influence on the priority level is small; as the degree of urgency increases, its impact on priority levels increases gradually, with the addition of 1 being done to ensure that the value inside the logarithmic function is always greater than 0.
Further, for the case ofA section that considers the combined influence of the degree of urgency and the transmission level; when the degree of urgency is high, the section significantly increases the priority level even if the transmission level is low. Meanwhile, the transmission level in the denominator plays a certain role in adjusting, and extreme values are prevented from occurring when the transmission level is low and the emergency degree is high.
S4032, arranging all the data to be transmitted according to the priority levels, and transmitting the data simultaneously when the priority levels of the data to be transmitted are the same.
In the embodiment of the invention, before formally arranging the data to be transmitted, the transmission level and the selected emergency degree are uniformly converted into the priority level, the conversion relation between the transmission level and the priority level and the conversion relation between the emergency degree and the priority level are required to be formulated in advance, finally, all the data to be transmitted can be arranged according to the priority level, and when the priority levels of the data to be transmitted are the same, the data to be transmitted are transmitted simultaneously, and the transmission sequence is not distinguished.
As shown in fig. 5, as a preferred embodiment of the present invention, the method further includes:
S501, determining the latest starting transmission time of each data to be transmitted according to the transmission level and the selected emergency degree;
In step S501, the calculation formula of the latest start transmission time of the data to be transmitted is expressed as:
,
Wherein, Represents the latest start transmission time of data to be transmitted,Representing a reference time.
As a supplementary explanation, forAnd a section that comprehensively considers the transmission level and the degree of urgency. When the degree of urgency is low, in the denominatorThe term impact is smaller and the transmission level has a larger impact on the latest start transmission time. Along withThe denominator becomes larger, thereby reducing the impact of the transmission level on the latest start transmission time, reflecting the need that urgent data should be transmitted faster.
In addition, forThe part is a Sigmoid function transformation based on the degree of urgency, which is used for mapping the degree of urgency between 0 and 1 in a nonlinear manner. When the degree of emergency is low, the function value is close to 0; as the degree of urgency increases, the function value gradually approaches 1, and the transformation can more finely characterize the effect of the degree of urgency on the latest start transmission time.
S502, detecting a transmission state of data to be transmitted, wherein the transmission state is that transmission is performed or not performed yet;
and S503, when the latest starting transmission time arrives and the transmission state is that the transmission is not performed, the data to be transmitted is transmitted.
In the embodiment of the present invention, it is easy to understand that, each time a data transmission command is received, the previous data to be transmitted may be rearranged, if the priority level of the data to be transmitted is low, it may not be possible to start the data transmission operation for a long time, so that the latest start transmission time, for example, the latest start transmission time corresponding to the transmission level of four levels is 20 minutes, which is set in advance for each transmission level and the degree of urgency, is required.
As shown in fig. 6, an embodiment of the present invention further provides a data transmission system of the internet of things, where the system includes:
A transmission command receiving module 100, configured to receive a data transmission command, and generate a predicted transmission completion time, where the data transmission command includes data to be transmitted;
An incidental information detection module 200 for determining a predicted transmission completion time, detecting whether incidental information is included in the data transmission command when the predicted transmission completion time is greater than a set transmission value, and directly extracting the incidental information when the incidental information is included; when the incidental information is not included, a step in the emergency degree determination module 300 is performed;
The emergency degree determining module 300 is configured to send emergency degree information to be selected to a terminal sending a data sending command, and receive an emergency degree selection command fed back by the terminal;
the prioritization module 400 is configured to prioritize all data to be sent according to the incidental information and the emergency degree selection command, and send all data to be sent according to the arrangement order.
In the embodiment of the invention, no matter the internet of things equipment periodically uploads data by itself or when a user uses an intelligent terminal to send data, a data sending command is generated, when the embodiment of the invention receives the data sending command, a predicted sending completion time is automatically generated, the predicted sending completion time is judged, and when the predicted sending completion time is smaller than or equal to a set sending value, the set sending value is a fixed value set in advance, so that the transmission speed of a wireless network can meet the sending requirement at the moment; when the predicted transmission completion time is greater than the set transmission value, indicating that the transmission speed of the wireless network cannot meet the transmission requirement at the moment, and the emergency data needs to be transmitted preferentially, specifically, detecting whether the data transmission command contains the incidental information or not, and directly extracting the incidental information when the incidental information is contained; when the auxiliary information is not included, the data transmission command is sent by a user instead of the internet of things equipment, emergency degree information to be selected is sent to the user terminal sending the data transmission command, the user needs to select the emergency degree, and finally, the embodiment of the invention can prioritize all the data to be transmitted according to the auxiliary information and the emergency degree and transmit all the data to be transmitted according to the ranking order, so that the relatively emergency data can be preferentially transmitted, and normal operation of the work is not affected as much as possible.
As shown in fig. 7, as a preferred embodiment of the present invention, the transmission command receiving module 100 includes:
a transmission speed detecting unit 101, configured to receive a data transmission command, and detect a current wireless network transmission speed and a data amount of all data to be transmitted;
A completion time prediction unit 102, configured to generate a predicted transmission completion time according to the wireless network transmission speed and the data amount of all the data to be transmitted.
As shown in fig. 8, as a preferred embodiment of the present invention, the prioritization module 400 includes:
An equipment item information retrieving unit 401 for retrieving the equipment information and the item information in the incidental information and inputting the equipment information and the item information into the equipment transmission level library;
A transmission level output unit 402, configured to output a transmission level corresponding to data to be transmitted, where the transmission level output unit includes additional information, and the device transmission level library includes all device information, each device information corresponds to a plurality of item information, and each item information corresponds to a transmission level;
A prioritizing unit 403, configured to prioritize all the data to be transmitted according to the transmission level and the emergency degree selection command.
As shown in fig. 9, as a preferred embodiment of the present invention, the prioritizing unit 403 includes:
a priority level conversion subunit 4031, configured to uniformly convert the transmission level and the selected urgency level into priority levels, so that each data to be transmitted corresponds to one priority level;
The transmit data arrangement subunit 4032 is configured to arrange all the data to be transmitted according to the priority levels, and when the priority levels of the plurality of data to be transmitted are the same, the plurality of data to be transmitted can be transmitted simultaneously.
As shown in fig. 10, as a preferred embodiment of the present invention, the system further includes a forced transmission module 500, and the forced transmission module 500 specifically includes:
A latest transmission time determining unit 501 configured to determine a latest start transmission time of each data to be transmitted according to the transmission level and the selected urgency level;
a transmission state detection unit 502, configured to detect a transmission state of data to be transmitted, where the transmission state is already transmitted or not yet transmitted;
The forced transmitting unit 503 is configured to cause the data to be transmitted when the latest start transmission time arrives and the transmission state is that transmission has not been performed yet.
The foregoing description of the preferred embodiments of the present invention should not be taken as limiting the invention, but rather should be understood to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims (8)
1. The data transmission method of the Internet of things is characterized by comprising the following steps of:
receiving a data transmission command, and generating predicted transmission completion time, wherein the data transmission command comprises data to be transmitted;
Judging the predicted transmission completion time, detecting whether the data transmission command contains the incidental information or not when the predicted transmission completion time is larger than a set transmission value, and directly extracting the incidental information when the incidental information is contained; when the incidental information is not contained, executing the next step;
the method comprises the steps of sending information to be selected of emergency degree to a terminal sending a data sending command, and receiving the emergency degree selecting command fed back by the terminal;
Priority arrangement is carried out on all data to be transmitted according to the incidental information and the emergency degree selection command, and all data to be transmitted are transmitted according to the arrangement sequence;
The step of generating the predicted transmission completion time by receiving the data transmission command specifically includes:
receiving a data transmission command, and detecting the current wireless network transmission speed and the data quantity of all data to be transmitted;
Generating predicted transmission completion time according to the wireless network transmission speed and the data quantity of all data to be transmitted;
the step of prioritizing all data to be sent according to the incidental information and the emergency degree selection command specifically includes:
the equipment information and the project information in the incidental information are called, and the equipment information and the project information are input into an equipment sending level library;
Outputting a transmission level corresponding to data to be transmitted, which contains the incidental information, wherein the equipment transmission level library contains all pieces of equipment information, each piece of equipment information corresponds to a plurality of pieces of project information, and each piece of project information corresponds to a transmission level;
Prioritizing all data to be transmitted according to the transmission level and the emergency degree selection command;
in the step of outputting the transmission level corresponding to the data to be transmitted including the incidental information, the calculation formula of the transmission level corresponding to the data to be transmitted is expressed as:
,
Wherein, Indicating the transmission level to which the data to be transmitted corresponds,The weight of the device is represented by the weight of the device,Representing the overall weight of the device and,Representing the project impact factor(s),Indicating the proportion of the amount of data that has been transmitted,The total data amount of the item is represented,The weighted values representing other influencing factors besides the device and project factors,Representing the maximum value of the influence factor weights.
2. The internet of things data transmission method according to claim 1, wherein the step of generating the predicted transmission completion time according to the wireless network transmission speed and the data amount of all the data to be transmitted comprises the sub-steps of:
acquiring the transmission speed of a wireless network and the data quantity of all data to be transmitted;
acquiring the current wireless network transmission speed and the change rate of the wireless network transmission speed in real time;
Calculating to obtain predicted transmission completion time based on the wireless network transmission speed, the data volume of all data to be transmitted, the current wireless network transmission speed and the change rate of the wireless network transmission speed;
the calculation formula for predicting the transmission completion time is expressed as:
,
Wherein, Indicating that the transmission completion time is predicted,Representing the amount of data of all data to be transmitted,Indicating the current transmission speed of the wireless network,Indicating the rate of change of the transmission speed of the wireless network,Representing the network speed decay factor.
3. The method for sending data of the internet of things according to claim 1, wherein the step of prioritizing all data to be sent according to the sending level and the emergency degree selection command specifically comprises:
uniformly converting the transmission level and the selected emergency level into priority levels, so that each data to be transmitted corresponds to one priority level;
and arranging all the data to be transmitted according to the priority levels, and transmitting the data simultaneously when the priority levels of the data to be transmitted are the same.
4. The method for sending data of internet of things according to claim 3, wherein in the step of uniformly converting the sending level and the selected emergency level into priority levels, so that each data to be sent corresponds to one priority level, a calculation formula of the priority level is expressed as:
,
Wherein, Indicating the priority level of the data to be transmitted,Indicating the selected degree of urgency.
5. The method for sending internet of things data according to claim 4, further comprising:
Determining the latest starting transmission time of each data to be transmitted according to the transmission level and the selected emergency degree;
Detecting a transmission state of data to be transmitted, wherein the transmission state is that transmission is already performed or not yet performed;
and when the latest starting sending time arrives and the sending state is that the sending is not performed yet, the data to be sent are sent.
6. The internet of things data transmission method according to claim 5, wherein in the step of determining a latest start transmission time of each data to be transmitted according to the transmission level and the selected degree of urgency, a calculation formula of the latest start transmission time of the data to be transmitted is expressed as:
,
Wherein, Represents the latest start transmission time of data to be transmitted,Representing a reference time.
7. An internet of things data transmission system, characterized in that the internet of things data transmission method according to any one of claims 1 to 6 is applied, the system comprising:
the sending command receiving module is used for receiving a data sending command and generating predicted sending completion time, wherein the data sending command comprises data to be sent;
The auxiliary information detection module is used for judging the predicted transmission completion time, detecting whether the auxiliary information is contained in the data transmission command or not when the predicted transmission completion time is larger than a set transmission value, and directly extracting the auxiliary information when the auxiliary information is contained; executing the step in the emergency degree determination module when the incidental information is not included;
The emergency degree determining module is used for sending the emergency degree information to be selected to the terminal sending the data sending command and receiving the emergency degree selecting command fed back by the terminal;
The priority ranking module is used for ranking all the data to be sent according to the incidental information and the emergency degree selection command and sending all the data to be sent according to the ranking order.
8. The internet of things data transmission system according to claim 7, wherein the transmission command receiving module includes:
the transmission speed detection unit is used for receiving the data transmission command and detecting the current wireless network transmission speed and the data quantity of all data to be transmitted;
The completion time prediction unit is used for generating predicted transmission completion time according to the wireless network transmission speed and the data quantity of all the data to be transmitted;
The prioritizing module includes:
The device item information calling unit is used for calling the device information and the item information in the incidental information and inputting the device information and the item information into the device sending level library;
A transmission level output unit, configured to output a transmission level corresponding to data to be transmitted, where the transmission level output unit includes additional information, and the device transmission level library includes all device information, each device information corresponds to a plurality of item information, and each item information corresponds to a transmission level;
The priority ranking unit is used for ranking all the data to be transmitted according to the transmission level and the emergency degree selection command;
The prioritizing unit includes:
the priority level conversion subunit is used for uniformly converting the sending level and the selected emergency level into priority levels, so that each data to be sent corresponds to one priority level;
A transmission data arrangement subunit, configured to arrange all data to be transmitted according to a priority level, where when the priority levels of a plurality of data to be transmitted are the same, the plurality of data to be transmitted perform data transmission simultaneously;
the system also comprises a forced sending module, wherein the forced sending module specifically comprises:
A latest transmission time determining unit for determining a latest start transmission time of each data to be transmitted according to the transmission level and the selected urgency level;
a transmission state detection unit, configured to detect a transmission state of data to be transmitted, where the transmission state is already transmitted or not yet transmitted;
and the forced sending unit is used for sending the data to be sent when the latest starting sending time arrives and the sending state is that the data to be sent is not sent yet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410751160.3A CN118337715B (en) | 2024-06-12 | 2024-06-12 | Internet of things data sending method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410751160.3A CN118337715B (en) | 2024-06-12 | 2024-06-12 | Internet of things data sending method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118337715A CN118337715A (en) | 2024-07-12 |
CN118337715B true CN118337715B (en) | 2024-08-20 |
Family
ID=91780430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410751160.3A Active CN118337715B (en) | 2024-06-12 | 2024-06-12 | Internet of things data sending method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118337715B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495908A (en) * | 2018-12-05 | 2019-03-19 | 国网辽宁省电力有限公司大连供电公司 | It is a kind of based on the wireless network optimized approach with super low-power consumption Internet of Things wireless fusion of LTE |
CN115002865A (en) * | 2022-06-07 | 2022-09-02 | 厦门大学 | Underwater acoustic network dynamic calculation cluster head routing method based on Q learning and data classification |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69938094T2 (en) * | 1998-11-30 | 2009-02-05 | Matsushita Electric Industries Co. Ltd., Kadoma | Packet retransmission control with priority information |
CN110121114B (en) * | 2018-02-07 | 2021-08-27 | 华为技术有限公司 | Method for transmitting stream data and data transmitting apparatus |
CN116647812A (en) * | 2023-06-21 | 2023-08-25 | 中国联合网络通信集团有限公司 | Passive Internet of Things communication device, method, equipment and storage medium |
CN117061096A (en) * | 2023-07-27 | 2023-11-14 | 安徽省英菲尼科技股份有限公司 | Quantum communication-based data transmission system and method |
CN117119522A (en) * | 2023-08-25 | 2023-11-24 | 重庆邮电大学 | Message transmission method for LTE-V2X packet priority |
CN117314090A (en) * | 2023-10-07 | 2023-12-29 | 无锡太湖学院 | Emergency response and rescue coordination system driven by artificial intelligence |
CN117692386A (en) * | 2023-11-07 | 2024-03-12 | 应急管理部上海消防研究所 | Self-adaptive disaster site communication and cross-platform data fusion method and system |
-
2024
- 2024-06-12 CN CN202410751160.3A patent/CN118337715B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495908A (en) * | 2018-12-05 | 2019-03-19 | 国网辽宁省电力有限公司大连供电公司 | It is a kind of based on the wireless network optimized approach with super low-power consumption Internet of Things wireless fusion of LTE |
CN115002865A (en) * | 2022-06-07 | 2022-09-02 | 厦门大学 | Underwater acoustic network dynamic calculation cluster head routing method based on Q learning and data classification |
Also Published As
Publication number | Publication date |
---|---|
CN118337715A (en) | 2024-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111506498B (en) | Automatic generation method and device of test case, computer equipment and storage medium | |
CN104834602A (en) | Program issuing method, device and system | |
CN111598338B (en) | Method, apparatus, medium, and electronic device for updating prediction model | |
CN118337715B (en) | Internet of things data sending method and system | |
CN115034519A (en) | Method and device for predicting power load, electronic equipment and storage medium | |
CN116402493A (en) | Method, system, equipment and storage medium for fault processing | |
CN113868953A (en) | Multi-unit operation optimization method, device and system in industrial system and storage medium | |
CN110889524B (en) | Power failure reservation application processing method and device, computer equipment and medium | |
CN116048723A (en) | Virtual machine scheduling method and system based on non-dominant ordering multi-target genetic algorithm | |
CN114840392A (en) | Method, apparatus, medium, and program product for monitoring task scheduling exception | |
CN117350497A (en) | Service decision method, device, terminal equipment and computer readable storage medium | |
CN111026669B (en) | Test log management method, test log management device and storage medium | |
CN108268313A (en) | The method and apparatus of data processing | |
CN116307342A (en) | Production control method and control device of touch display screen | |
CN115860252A (en) | Intelligent monitoring and analyzing method and system for full-channel business | |
KR102282530B1 (en) | Method for providing compressed gig service and apparatus thereof | |
CN115169334A (en) | Intention recognition model training method and device, computer equipment and storage medium | |
KR20220168316A (en) | Method and appratus for predicting process failure | |
CN111899123A (en) | Electric quantity prediction method, electric quantity prediction device and computer readable storage medium | |
GB2578369A (en) | Information processing device, method therefor and computer program | |
CN111352840B (en) | Online behavior risk assessment method, device, equipment and readable storage medium | |
CN118337727A (en) | Industrial information data transmission method and system | |
CN118297245B (en) | Energy consumption prediction method, device, computer equipment and storage medium | |
CN117350517B (en) | Control method, system, equipment and storage medium for chemical production flow | |
CN117811019B (en) | Collaborative stabilizing method and system for optimizing power distribution network state and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |