CN113890691A - Data transmission control method and device, Internet of things terminal and storage medium - Google Patents
Data transmission control method and device, Internet of things terminal and storage medium Download PDFInfo
- Publication number
- CN113890691A CN113890691A CN202111149007.6A CN202111149007A CN113890691A CN 113890691 A CN113890691 A CN 113890691A CN 202111149007 A CN202111149007 A CN 202111149007A CN 113890691 A CN113890691 A CN 113890691A
- Authority
- CN
- China
- Prior art keywords
- data transmission
- data
- retransmission
- signal
- internet
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 237
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012544 monitoring process Methods 0.000 claims description 14
- 238000012790 confirmation Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 4
- 230000006855 networking Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/1607—Details of the supervisory signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Abstract
The application relates to the technical field of communication, and discloses a data transmission control method, a data transmission control device, an Internet of things terminal and a storage medium, wherein the method comprises the steps of acquiring current signal information of the Internet of things terminal if data transmission failure is monitored; acquiring a retransmission time threshold value based on a comparison result of the signal information and a preset retransmission relation table; and retransmitting the data based on the retransmission time threshold, and stopping the data transmission when the data transmission success and/or the data transmission failure times reach the retransmission time threshold. According to the method and the device, the retransmission time threshold is adjusted according to the signal intensity and the signal-to-noise ratio, the success rate of data transmission is increased, and unnecessary power consumption of the terminal is reduced, so that the data transmission efficiency is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission control method and apparatus, an internet of things terminal, and a storage medium.
Background
The current internet of things terminal can repeat retransmission after data transmission failure until transmission is successful or a preset retransmission time threshold upper limit is reached, and the retransmission time threshold upper limit of the current internet of things terminal is set in the micro control unit as a fixed parameter. The most main factor influencing the transmission result of the terminal is the signal quality, and other factors are influenced by the platform, the main station, the terminal and other factors.
Because the existing data retransmission mode is to set a fixed number of times of repetition, after the data retransmission fails, the data can be directly retransmitted until the transmission is successful or the number of times of failure is reached, and the continuous repeat transmission is stopped. However, this transmission method repeats transmission for a fixed number of times in any case, which tends to increase unnecessary power consumption of the terminal, resulting in low data transmission efficiency. There is a need for a method capable of dynamically adjusting the retransmission times, reducing unnecessary power consumption of the terminal, and improving data transmission efficiency.
Disclosure of Invention
An object of the embodiment of the application is to provide a data transmission control method and device, an internet of things terminal and a storage medium, so as to improve data transmission efficiency.
In order to solve the foregoing technical problem, an embodiment of the present application provides a data transmission control method, including:
if the data transmission failure is monitored, acquiring current signal information of the terminal of the Internet of things, wherein the signal information comprises signal intensity and signal-to-noise ratio;
acquiring a retransmission time threshold value based on a comparison result of the signal information and a preset retransmission relation table;
and retransmitting the data based on the retransmission time threshold, and stopping the data transmission when the data transmission success and/or data transmission failure times reach the retransmission time threshold.
In order to solve the above technical problem, an embodiment of the present application provides a data transmission control apparatus, including:
the signal information acquisition module is used for acquiring current signal information of the terminal of the internet of things if the data transmission failure is monitored, wherein the signal information comprises signal intensity and signal-to-noise ratio;
the retransmission time threshold module is used for acquiring a retransmission time threshold based on a comparison result of the signal information and a preset retransmission relation table;
and the data transmission stopping module is used for retransmitting the data based on the retransmission time threshold, and stopping the data from being continuously transmitted when the data transmission success and/or the data transmission failure times reach the retransmission time threshold.
In order to solve the technical problems, the invention adopts a technical scheme that: an internet of things terminal is provided, which comprises one or more processors; a memory for storing one or more programs for causing the one or more processors to implement the data transmission control method of any one of the above.
In order to solve the technical problems, the invention adopts a technical scheme that: a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data transmission control method as recited in any one of the above.
The embodiment of the invention provides a data transmission control method and device, an Internet of things terminal and a storage medium, wherein if data transmission failure is monitored, current signal information of the Internet of things terminal is acquired; acquiring a retransmission time threshold value based on a comparison result of the signal information and a preset retransmission relation table; based on the retransmission time threshold, the data is retransmitted, and when the data transmission success and/or the data transmission failure times reach the retransmission time threshold, the data is stopped from being continuously transmitted, so that the retransmission time threshold is adjusted according to the signal intensity and the signal-to-noise ratio, the data transmission success rate is increased, unnecessary terminal power consumption is reduced, and the data transmission efficiency is improved.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings needed for describing the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of an implementation of a data transmission control method according to an embodiment of the present application;
fig. 2 is a flowchart of an implementation of a sub-process in a data transmission control method according to an embodiment of the present application;
fig. 3 is a flowchart of another implementation of a sub-process in a data transmission control method according to an embodiment of the present application;
fig. 4 is a flowchart of another implementation of a sub-process in a data transmission control method according to an embodiment of the present application;
fig. 5 is a flowchart of another implementation of a sub-process in a data transmission control method according to an embodiment of the present application;
fig. 6 is a flowchart of another implementation of a sub-process in a data transmission control method according to an embodiment of the present application;
fig. 7 is a flowchart of another implementation of a sub-process in a data transmission control method according to an embodiment of the present application;
fig. 8 is a schematic diagram of a data transmission control apparatus according to an embodiment of the present application;
fig. 9 is a schematic diagram of an internet of things terminal provided in an embodiment of the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the data transmission control method provided in the embodiment of the present application is generally executed by an internet of things terminal, and accordingly, the data transmission control device is generally configured in the internet of things terminal.
Referring to fig. 1, fig. 1 shows an embodiment of a data transmission control method.
It should be noted that, if the result is substantially the same, the method of the present invention is not limited to the flow sequence shown in fig. 1, and the method includes the following steps:
s1: and if the data transmission failure is monitored, acquiring the current signal information of the terminal equipment, wherein the signal information comprises signal strength and signal-to-noise ratio.
In the embodiment of the present application, in order to more clearly understand the technical solution, the internet of things terminal related to the present application is described in detail below.
The Internet of things terminal comprises a Micro Control Unit (MCU) and a data transmission unit, wherein the micro control unit controls data acquisition, data transmission and other behaviors of the data transmission unit, and is connected with the data transmission unit through a serial port to realize data transmission behaviors such as uploading and downloading of data. The data transmission unit is a communication module, a communication public board or a data transmission terminal and is connected with the micro control unit through a serial port. Meanwhile, the data transmission unit can collect data and can also acquire the network signal intensity and the signal-to-noise ratio of the current terminal equipment through an attached network.
Specifically, if the data transmission unit does not receive the confirmation information within the preset time, it indicates that the data transmission is failed. The reason for the data transmission failure is often related to the signal strength and the signal-to-noise ratio of the current internet of things terminal, so that if the data transmission failure is monitored, the current signal information of the internet of things terminal is obtained. The SIGNAL-to-NOISE RATIO is called SNR or S/N (SIGNAL-to-NOISE RATIO), which is also called SIGNAL-to-NOISE RATIO, and refers to the RATIO of SIGNAL to NOISE in an electronic device or electronic system.
Referring to fig. 2, fig. 2 shows an embodiment of step S1, which is described in detail as follows:
s11: and if the data transmission failure is monitored, recording the data transmission failure times.
Specifically, by recording the number of data transmission failures, it is convenient to determine whether the data needs to be retransmitted. If the data transmission failure times are too large, the current network environment is not suitable for transmitting data, and the data transmission is stopped.
S12: and attaching the network through a data transmission unit to acquire the current signal strength and signal-to-noise ratio.
Specifically, the data transmission unit is attached to the network, so that the current signal strength and signal-to-noise ratio of the terminal device are obtained, the current network environment is judged, and the retransmission time threshold value is conveniently obtained.
Referring to fig. 3, fig. 3 shows an embodiment before step S1, which is described in detail as follows:
S1A: and sending a data uploading instruction to the data transmission unit through the micro control unit.
S1B: and collecting data based on the data transmission unit and transmitting the data.
S1C: and monitoring the data transmission state corresponding to the data.
Further, the data transmission according to the embodiment of the present application satisfies an Automatic Repeat reQuest (ARQ) protocol, where the ARQ protocol is an Automatic Repeat reQuest (ARQ) protocol that automatically issues a reQuest for retransmitting an error frame when a receiving station receives a message (frame) containing error data. In the embodiment of the application, data is transmitted, after transmission fails, a retransmission time threshold is obtained, and the data is retransmitted within the retransmission time threshold until the data is transmitted successfully or the retransmission time reaches the retransmission time threshold. Therefore, in the embodiment of the application, when data is transmitted, whether the data is transmitted successfully is judged by monitoring the data transmission state.
Specifically, because thing networking terminal includes little the control unit and data transmission unit, should be for the control unit can send data upload instruction to data transmission unit, after data upload instruction was received to data transmission unit, by data transmission unit collection data to transmit data. Meanwhile, in the data transmission process, the transmission state of the data is monitored. According to the embodiment, data collection and transmission are achieved, the data transmission state is monitored, the data transmission state is obtained, and follow-up retransmission of data transmission failure is facilitated.
Referring to fig. 4, fig. 4 shows an embodiment of step S1C, which is described in detail as follows:
and S1C1, if the data transmission unit is monitored to receive the confirmation information within the preset time, the data transmission is successful.
And S1C2, if the data transmission unit does not receive the confirmation information within the preset time, the data transmission fails.
Specifically, the acknowledgement message is also called an ACK message, which is a part of a communication protocol in a computer network, and is a message sent by a device or a process to reply to a received data; acknowledgement messages are used in ARQ (automatic repeat request) protocols, where acknowledgement frames are numbered in coordination with received frames and sent back to the terminal device, which knows whether there are any missing packets. In the embodiment of the application, since the terminal of the internet of things generates the confirmation message when receiving the data and feeds the message back to the data transmission unit, whether the terminal of the internet of things sends the confirmation message to the data transmission unit is monitored to realize monitoring of the transmission state of the data.
Specifically, if the data transmission unit receives the confirmation information within the preset time, it indicates that the internet of things terminal has received complete data at this time, the data transmission is successful, and if the data transmission unit does not receive the confirmation information within the preset time, the data transmission is failed.
The preset time is set according to actual conditions, and is not limited herein. In one embodiment, the predetermined time is 5 minutes.
Specifically, whether the data transmission unit receives the confirmation information or not is monitored by the monitor within the preset time so as to confirm the data transmission state, and therefore whether data needs to be retransmitted or not is judged, and the data transmission success rate is increased.
S2: and acquiring a retransmission time threshold value based on the comparison result of the signal information and a preset retransmission relation table.
The preset retransmission relation table is set according to actual conditions, and is not limited here. In one embodiment, the table of predetermined retransmission relationships is shown in table 1 below:
signal strength RSRP | SNR | Threshold of number of retransmissions |
-105dBm and above | 3db and above | 2 |
-105dBm to-115 dBm | -2 to 0db | 3 |
-115dBm and below | -2db to-3 db | 4 |
…… | …… | …… |
TABLE 1
Referring to fig. 5, fig. 5 shows an embodiment of step S2, which is described in detail as follows:
s21: and acquiring a preset retransmission relation table, wherein the preset retransmission relation table comprises the corresponding relation among the signal intensity, the signal-to-noise ratio and the retransmission time threshold.
Specifically, as shown in table 1 above, the preset retransmission relation table includes a corresponding relation between the signal strength, the signal-to-noise ratio, and the retransmission time threshold, and the preset retransmission relation table is obtained and used for determining which interval the current signal strength and the signal-to-noise ratio are located in, so as to obtain the retransmission time threshold.
S22: and comparing the signal intensity and the signal-to-noise ratio with a preset retransmission relation table to obtain a comparison result.
S23: based on the comparison result, a retransmission number threshold is obtained.
In a specific embodiment, as shown in table 1, if the current signal strength is-110 dBm and the signal-to-noise ratio is 1db, the signal strength is in an interval from-105 dBm to-115 dBm, and the signal-to-noise ratio is in an interval from-2 db to 0db, the threshold of the number of retransmissions is 3.
In this embodiment, the retransmission time threshold is obtained by obtaining the preset retransmission relation table and comparing the signal strength and the signal-to-noise ratio with the preset retransmission relation table, so that the corresponding retransmission time threshold is set according to the actual network environment of the signal strength and the signal-to-noise ratio, so that the retransmission time of the data is set according to different environments, which is beneficial to transmitting the data and reducing unnecessary power consumption of the terminal.
S3: and retransmitting the data based on the retransmission time threshold, and stopping the data transmission when the data transmission success and/or the data transmission failure times reach the retransmission time threshold.
Specifically, as the above steps have already obtained the threshold value of the number of retransmissions, the data is retransmitted, and in the transmission process, the data transmission state is monitored, and if the transmission is successful, the continuous transmission is stopped; if the transmission fails, recording the data transmission failure times, comparing the times with a retransmission time threshold value, and if the times reach the retransmission time threshold value, stopping the data transmission.
In this embodiment, if it is monitored that data transmission fails, current signal information of the terminal of the internet of things is acquired; acquiring a retransmission time threshold value based on a comparison result of the signal information and a preset retransmission relation table; based on the threshold value of the retransmission times, the data is retransmitted, when the data transmission success and/or the data transmission failure times reach the threshold value of the retransmission times, the data is stopped from being continuously transmitted, the threshold value of the retransmission times is adjusted according to the signal intensity and the signal to noise ratio, the success rate of the data transmission is increased, the data transmission efficiency is improved, and unnecessary power consumption of the terminal is reduced.
Referring to fig. 6, fig. 6 shows an embodiment of step S3, which is described in detail as follows:
s31: and retransmitting the data, and monitoring the data transmission state.
S32: and if the data transmission fails, recording the transmission failure times.
Specifically, by monitoring the transmission state of each data, if no data transmission unit receives no confirmation message within a preset time, the data transmission fails, and the transmission failure times are recorded; and if the transmission failure times do not reach the retransmission times threshold value, continuing to transmit the data.
S33: and if the transmission failure times do not reach the retransmission times threshold, continuously retransmitting the data until the data transmission is successful and/or the data transmission failure times reach the retransmission times threshold, and stopping continuously transmitting the data.
In the embodiment, the data transmission state is monitored each time, the transmission failure times are recorded, the data is retransmitted until the data transmission success and/or the data transmission failure times reach the retransmission time threshold, the data is stopped from being continuously transmitted, the data is retransmitted according to the set retransmission time threshold, and the retransmission time threshold is determined by the current signal strength and the signal to noise ratio, so that the retransmission time threshold is adjusted according to the signal strength and the signal to noise ratio, the data transmission success rate is increased, the data transmission efficiency is improved, and the unnecessary terminal power consumption is reduced.
Referring to fig. 7, fig. 7 shows an embodiment after step S3, which is described in detail as follows:
S3A: and acquiring a data transmission result, wherein the data transmission result is divided into data transmission success and data transmission failure.
S3B: and if the transmission result is data transmission failure, generating a transmission failure report.
Specifically, if the data is not successfully transmitted until the number of data transmission failures reaches the retransmission number threshold, the data transmission result is the data transmission failure, and a transmission failure report is generated based on the data transmission failure result, so that the data can be retransmitted subsequently when the signal strength is good, and unnecessary power consumption of the terminal is reduced.
Referring to fig. 8, as an implementation of the method shown in fig. 1, the present application provides an embodiment of a data transmission control apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 1, and the apparatus may be specifically applied to various terminals of the internet of things.
As shown in fig. 8, the data transmission control apparatus of the present embodiment includes: a signal information obtaining module 41, a retransmission number threshold module 42, and a data transmission stopping module 63, wherein:
the signal information obtaining module 41 is configured to obtain current signal information of the terminal of the internet of things if it is monitored that data transmission fails, where the signal information includes signal strength and a signal-to-noise ratio;
a retransmission number threshold module 42, configured to obtain a retransmission number threshold based on a comparison result between the signal information and a preset retransmission relation table;
and a data transmission stopping module 43, configured to retransmit the data based on the retransmission time threshold, and stop the data from being continuously transmitted when the data transmission success and/or the data transmission failure time reaches the retransmission time threshold.
Further, the data transmission module 41 includes:
the instruction sending unit is used for sending a data uploading instruction to the data transmission unit through the micro control unit;
the data transmission unit is used for acquiring data based on the data transmission unit and transmitting the data;
and the state monitoring unit is used for monitoring the data transmission state corresponding to the data.
Further, the status monitoring unit includes:
the data transmission success sub-unit is used for monitoring that the data transmission unit receives the confirmation information within the preset time, and then the data transmission is successful;
and the data transmission failure subunit is used for failing data transmission if the data transmission unit does not receive the confirmation information within the preset time.
Further, the signal information obtaining module 41 includes:
the failure frequency recording unit is used for recording the data transmission failure frequency if the data transmission failure is monitored;
and the signal intensity acquisition unit is used for attaching to a network through the data transmission unit so as to acquire the current signal intensity and the signal-to-noise ratio.
Further, the retransmission number threshold module 42 includes:
a preset retransmission relation table obtaining unit, configured to obtain a preset retransmission relation table, where the preset retransmission relation table includes a correspondence between a signal strength, a signal-to-noise ratio, and a retransmission number threshold;
a comparison result obtaining unit, configured to compare the signal strength and the signal-to-noise ratio with a preset retransmission relation table, so as to obtain a comparison result;
and a retransmission number threshold acquisition unit for acquiring a retransmission number threshold based on the comparison result.
Further, the data transmission stopping module 43 includes:
the data retransmission unit is used for retransmitting the data and monitoring the data transmission state;
the transmission failure unit is used for recording the transmission failure times if the data transmission fails;
and the transmission stopping unit is used for continuing to retransmit the data until the data transmission is successful and/or the data transmission failure number reaches the retransmission number threshold value, and stopping the data continuous transmission if the transmission failure number does not reach the retransmission number threshold value.
Further, after the data transmission stopping module 43, the following is also included:
acquiring a data transmission result, wherein the data transmission result is divided into data transmission success and data transmission failure;
and if the transmission result is data transmission failure, generating a transmission failure report.
In order to solve the technical problem, the embodiment of the application further provides the internet of things terminal. Referring to fig. 9 in detail, fig. 9 is a block diagram of a basic structure of the terminal of the internet of things according to the embodiment.
The internet of things terminal 7 comprises a memory 71, a processor 72 and a network interface 73 which are mutually connected through a system bus in a communication mode. It is noted that only the internet of things terminal 7 having three components of the memory 71, the processor 72 and the network interface 73 is shown, but it is to be understood that not all of the shown components are required to be implemented, and more or fewer components may be implemented instead. As will be understood by those skilled in the art, the internet of things terminal is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, an internet of things terminal, an air conditioner, or a network device) to execute the method of the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.
Claims (10)
1. A data transmission control method is applied to an Internet of things terminal, the Internet of things terminal comprises a micro control unit and a data transmission unit, and the data transmission control method is characterized by comprising the following steps:
if data transmission failure is monitored, current signal information of the terminal of the Internet of things is obtained, wherein the signal information comprises signal intensity and signal-to-noise ratio;
acquiring a retransmission time threshold value based on a comparison result of the signal information and a preset retransmission relation table;
and retransmitting the data based on the retransmission time threshold, and stopping the data transmission when the data transmission success and/or data transmission failure times reach the retransmission time threshold.
2. The data transmission control method according to claim 1, wherein before the monitoring that the data transmission fails, current signal information of the terminal of the internet of things is obtained, wherein the signal information includes signal strength and signal-to-noise ratio, the method further includes:
sending a data uploading instruction to the data transmission unit through the micro control unit;
collecting the data based on the data transmission unit and transmitting the data;
and monitoring a data transmission state corresponding to the data.
3. The data transmission control method according to claim 2, wherein the monitoring the data transmission status corresponding to the data comprises:
if the data transmission unit receives the confirmation information within the preset time, the data transmission is successful;
and if the data transmission unit does not receive the confirmation information within the preset time, the data transmission fails.
4. The data transmission control method according to claim 1, wherein the obtaining of the current signal information of the terminal of the internet of things if it is monitored that the data transmission fails comprises:
if the data transmission failure is monitored, recording the data transmission failure times;
and attaching a network through the data transmission unit to acquire the current signal intensity and the signal-to-noise ratio.
5. The data transmission control method according to claim 1, wherein the obtaining the threshold of the number of retransmissions based on the comparison of the signal information with a preset retransmission relation table comprises:
acquiring the preset retransmission relation table, wherein the preset retransmission relation table comprises the corresponding relation among signal strength, signal-to-noise ratio and retransmission time threshold;
comparing the signal intensity and the signal-to-noise ratio with the preset retransmission relation table to obtain the comparison result;
and acquiring the retransmission time threshold value based on the comparison result.
6. The data transmission control method according to claim 1, wherein the retransmitting the data based on the retransmission number threshold, and stopping the data from continuing transmission when the data transmission success and/or data transmission failure number reaches the retransmission number threshold comprises:
retransmitting the data, and monitoring the data transmission state;
if the data transmission fails, recording the transmission failure times;
and if the transmission failure times do not reach the retransmission times threshold, continuously retransmitting the data until the data transmission is successful and/or the data transmission failure times reach the retransmission times threshold, and stopping the continuous transmission of the data.
7. The data transmission control method according to any one of claims 1 to 6, wherein after the data is retransmitted based on the retransmission number threshold, and when the data transmission success and/or data transmission failure number reaches the retransmission number threshold, the data is stopped from being continuously transmitted, the method further comprises:
acquiring a transmission result of the data, wherein the transmission result is divided into data transmission success and data transmission failure;
and if the transmission result is data transmission failure, generating a transmission failure report.
8. The utility model provides a data transmission controlling means, is applied to thing networking terminal, thing networking terminal includes little the control unit and data transmission unit, its characterized in that includes:
the signal information acquisition module is used for acquiring current signal information of the terminal of the internet of things if the data transmission failure is monitored, wherein the signal information comprises signal intensity and signal-to-noise ratio;
the retransmission time threshold module is used for acquiring a retransmission time threshold based on a comparison result of the signal information and a preset retransmission relation table;
and the data transmission stopping module is used for retransmitting the data based on the retransmission time threshold, and stopping the data from being continuously transmitted when the data transmission success and/or the data transmission failure times reach the retransmission time threshold.
9. An internet of things terminal, characterized by comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the data transmission control method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the data transmission control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111149007.6A CN113890691B (en) | 2021-09-29 | 2021-09-29 | Data transmission control method and device, internet of things terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111149007.6A CN113890691B (en) | 2021-09-29 | 2021-09-29 | Data transmission control method and device, internet of things terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113890691A true CN113890691A (en) | 2022-01-04 |
CN113890691B CN113890691B (en) | 2024-04-23 |
Family
ID=79007929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111149007.6A Active CN113890691B (en) | 2021-09-29 | 2021-09-29 | Data transmission control method and device, internet of things terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113890691B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114594752A (en) * | 2022-03-04 | 2022-06-07 | 潍柴雷沃重工股份有限公司 | Tractor control unit software flashing method and storage medium |
CN115002883A (en) * | 2022-05-30 | 2022-09-02 | 珠海格力电器股份有限公司 | Intelligent door lock communication method and device, intelligent door lock and storage medium |
CN116150702A (en) * | 2023-02-10 | 2023-05-23 | 北京国信华源科技有限公司 | Data integration method and device for master-slave communication fusion |
CN116192759A (en) * | 2022-12-13 | 2023-05-30 | 网易(杭州)网络有限公司 | Data transmission amount adjusting method and device, electronic equipment and storage medium |
CN114594752B (en) * | 2022-03-04 | 2024-05-14 | 潍柴雷沃智慧农业科技股份有限公司 | Tractor control unit software refreshing method and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009116120A1 (en) * | 2008-03-21 | 2009-09-24 | パナソニック株式会社 | Wireless terminal and retransmission method |
WO2013088498A1 (en) * | 2011-12-12 | 2013-06-20 | 富士通株式会社 | Transmission control method, node, and transmission control program |
US20160169740A1 (en) * | 2014-12-12 | 2016-06-16 | Thorlabs, Inc. | Optical spectroscopic measurement system |
CN106301697A (en) * | 2015-06-08 | 2017-01-04 | 中国移动通信集团公司 | Control method, device and terminal are monitored in the re-transmission of a kind of data transmission |
CN108540965A (en) * | 2018-03-01 | 2018-09-14 | 北京中油瑞飞信息技术有限责任公司 | Internet of Things communication means, device and storage medium based on LoRa technologies |
WO2018171711A1 (en) * | 2017-03-24 | 2018-09-27 | 华为技术有限公司 | Retransmission processing method and equipment |
WO2019209780A1 (en) * | 2018-04-23 | 2019-10-31 | Kyocera Corporation | Control information from macrocell to node, mapping data blocks to ue id |
CN110475279A (en) * | 2018-05-11 | 2019-11-19 | 成都华为技术有限公司 | The method and communication device of communication |
CN111641480A (en) * | 2020-05-22 | 2020-09-08 | 广东小天才科技有限公司 | TCP retransmission frequency control method, terminal equipment and storage medium |
US20210092734A1 (en) * | 2019-09-24 | 2021-03-25 | Qualcomm Incorporated | Sequence based physical uplink control channel transmission |
CN112600729A (en) * | 2020-12-08 | 2021-04-02 | 广州技象科技有限公司 | Narrowband Internet of things data transmission method, device, equipment and storage medium |
JP2021090185A (en) * | 2019-12-04 | 2021-06-10 | 奇邑科技股▲ふん▼有限公司 | Data transmission method and communication system |
-
2021
- 2021-09-29 CN CN202111149007.6A patent/CN113890691B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009116120A1 (en) * | 2008-03-21 | 2009-09-24 | パナソニック株式会社 | Wireless terminal and retransmission method |
WO2013088498A1 (en) * | 2011-12-12 | 2013-06-20 | 富士通株式会社 | Transmission control method, node, and transmission control program |
US20160169740A1 (en) * | 2014-12-12 | 2016-06-16 | Thorlabs, Inc. | Optical spectroscopic measurement system |
CN106301697A (en) * | 2015-06-08 | 2017-01-04 | 中国移动通信集团公司 | Control method, device and terminal are monitored in the re-transmission of a kind of data transmission |
WO2018171711A1 (en) * | 2017-03-24 | 2018-09-27 | 华为技术有限公司 | Retransmission processing method and equipment |
CN108540965A (en) * | 2018-03-01 | 2018-09-14 | 北京中油瑞飞信息技术有限责任公司 | Internet of Things communication means, device and storage medium based on LoRa technologies |
WO2019209780A1 (en) * | 2018-04-23 | 2019-10-31 | Kyocera Corporation | Control information from macrocell to node, mapping data blocks to ue id |
CN110475279A (en) * | 2018-05-11 | 2019-11-19 | 成都华为技术有限公司 | The method and communication device of communication |
US20210092734A1 (en) * | 2019-09-24 | 2021-03-25 | Qualcomm Incorporated | Sequence based physical uplink control channel transmission |
JP2021090185A (en) * | 2019-12-04 | 2021-06-10 | 奇邑科技股▲ふん▼有限公司 | Data transmission method and communication system |
CN111641480A (en) * | 2020-05-22 | 2020-09-08 | 广东小天才科技有限公司 | TCP retransmission frequency control method, terminal equipment and storage medium |
CN112600729A (en) * | 2020-12-08 | 2021-04-02 | 广州技象科技有限公司 | Narrowband Internet of things data transmission method, device, equipment and storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114594752A (en) * | 2022-03-04 | 2022-06-07 | 潍柴雷沃重工股份有限公司 | Tractor control unit software flashing method and storage medium |
CN114594752B (en) * | 2022-03-04 | 2024-05-14 | 潍柴雷沃智慧农业科技股份有限公司 | Tractor control unit software refreshing method and storage medium |
CN115002883A (en) * | 2022-05-30 | 2022-09-02 | 珠海格力电器股份有限公司 | Intelligent door lock communication method and device, intelligent door lock and storage medium |
CN115002883B (en) * | 2022-05-30 | 2024-02-09 | 珠海格力电器股份有限公司 | Intelligent door lock communication method and device, intelligent door lock and storage medium |
CN116192759A (en) * | 2022-12-13 | 2023-05-30 | 网易(杭州)网络有限公司 | Data transmission amount adjusting method and device, electronic equipment and storage medium |
CN116150702A (en) * | 2023-02-10 | 2023-05-23 | 北京国信华源科技有限公司 | Data integration method and device for master-slave communication fusion |
CN116150702B (en) * | 2023-02-10 | 2023-11-10 | 北京国信华源科技有限公司 | Data integration method and device for master-slave communication fusion |
Also Published As
Publication number | Publication date |
---|---|
CN113890691B (en) | 2024-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113890691B (en) | Data transmission control method and device, internet of things terminal and storage medium | |
EP1841249B1 (en) | Method and apparatus for discontinuous reception of connected terminal in a mobile communication system | |
RU2408146C2 (en) | Method and device for controlling data block transmission | |
CN101635953B (en) | Method and apparatus for improving drx functionality | |
EP2670188A1 (en) | Cqi reporting method, cqi acquisition method, system, terminal and base station | |
DE102016103221B4 (en) | Method for transmitting multiple uplink messages and mobile communication device | |
CN110475391B (en) | Control method, device, terminal and base station of discontinuous reception timer | |
CN102547779B (en) | Method and base station for determining non-detection of down link control information | |
CN104969627A (en) | Reducing power consumption in connected mode discontinuous reception | |
US20130028189A1 (en) | Method and apparatus for using physical layer error control to direct media access layer error control | |
CN101207465A (en) | Method, apparatus and system for adjusting signal channel quality indication | |
EP2136594A2 (en) | Apparatus and method for handover in a wireless communication system | |
JP2000261496A (en) | Radio communication equipment | |
US11528345B2 (en) | Data transmission method and system, and apparatus | |
CN112887416B (en) | Frequency adjustment method and device for sending keep-alive packets | |
CN112737739B (en) | Method for multi-packet communication between two devices | |
US20220007393A1 (en) | Method and device for transmitting hybrid automatic repeat request, network device and terminal | |
CN113179524B (en) | Network optimization method and computer readable storage medium | |
CN110086580B (en) | Environment-friendly monitoring method and device based on artificial intelligence | |
US20100035646A1 (en) | Transmission power control in hspda | |
CN111277986B (en) | Method for improving Bluetooth transmission speed of iOS device | |
CN111435879A (en) | Missed detection determination method, terminal and network equipment | |
CN112584433B (en) | Data sending and receiving method, equipment and medium | |
WO2021163893A1 (en) | Communication method and apparatus | |
WO2022205474A1 (en) | Feedback information sending method and apparatus, feedback information receiving method and apparatus, and device and 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 |