CN110535612B - Layered self-adaptive processing method based on heartbeat feedback data period - Google Patents

Layered self-adaptive processing method based on heartbeat feedback data period Download PDF

Info

Publication number
CN110535612B
CN110535612B CN201910753303.3A CN201910753303A CN110535612B CN 110535612 B CN110535612 B CN 110535612B CN 201910753303 A CN201910753303 A CN 201910753303A CN 110535612 B CN110535612 B CN 110535612B
Authority
CN
China
Prior art keywords
time
data
interval
terminal equipment
sending
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
Application number
CN201910753303.3A
Other languages
Chinese (zh)
Other versions
CN110535612A (en
Inventor
郑锐韬
李勇波
吴建州
陈奕铨
关班记
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201910753303.3A priority Critical patent/CN110535612B/en
Publication of CN110535612A publication Critical patent/CN110535612A/en
Application granted granted Critical
Publication of CN110535612B publication Critical patent/CN110535612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0037Inter-user or inter-terminal allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0078Timing of allocation

Abstract

The invention relates to the technical field of data transmission, in particular to a layered self-adaptive processing method based on a heartbeat feedback data period. The method of the invention is based on the importance degree of the terminal device data and the historical data to construct a hierarchical interval time range list and a uniform distribution random data acquisition method in a certain time range; in addition, the time for receiving information, the time for sending the equipment at intervals and the quantity of incorrectly received data are appointed between the communication of the terminal equipment and the server; when data sent by terminal equipment are received, three appointed parameters are accurately acquired; and continuously adjusting the interval sending time of each device according to a rule; and a large amount of equipment is used, and under the condition of normal network, the time interval hierarchy of the transmitted data is continuously adjusted in a self-adaptive manner, so that the uniform time distribution of the transmitted data of the large-specification terminal equipment is realized. The invention can realize the reasonable utilization of bandwidth and server resources; the method can be used for controlling the heartbeat feedback data period of the terminal.

Description

Layered self-adaptive processing method based on heartbeat feedback data period
Technical Field
The invention relates to the technical field of data transmission, in particular to a layered self-adaptive processing method based on a heartbeat feedback data period.
Background
With the development of the internet and terminal equipment, more and more terminal equipment need to be accessed into the network to realize real-time information communication; for example: data exchange between each App on the mobile phone and the server side, and automatic uploading of data of various hardware devices such as an ammeter, a water meter and the like; whether the monitoring device is on-line heartbeat detection, and the like. These terminal devices need to perform heartbeat communication with the server for a long time to ensure whether the devices are online or obtain the latest messages. At present, most terminals send data according to a set interval time in terminal equipment, and then a server end feeds back a specific service data response.
With the popularization of more and more terminal devices, especially the subsequent 5G communication technology, a large number of terminal devices surf the internet; if the terminal equipment sets the interval length for sending the data once without a unified management method for interval sending time, the situation that a server end receives a large number of requests in a certain time period may occur; and in other time periods, an idle condition occurs. In this case, the bandwidth of the network where the server is located may be suddenly higher or lower. When the server receives a large number of requests, the processing pressure is too large, and the possibility of downtime is caused; when the idle state occurs, the traffic is too small to be reasonably utilized; therefore, there is a need for a method for uniformly managing the request sending time of each terminal without affecting a large amount of data requests, so that each terminal device sends data in a uniformly distributed time, thereby realizing reasonable utilization of bandwidth and server resources.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a layered self-adaptive processing method based on a heartbeat feedback data period, which can uniformly manage the request sending time of each terminal under the condition of not influencing a large number of data requests, so that each terminal device sends data in uniformly distributed time, and the reasonable utilization of bandwidth and server resources is realized.
The technical scheme for solving the technical problems is as follows:
the method is a method for constructing a hierarchical interval time range list and a uniformly distributed random data acquisition method in a certain time range based on the importance degree of the terminal equipment data and historical data; in addition, the time for receiving information, the time for sending the equipment at intervals and the quantity of incorrectly received data are appointed between the communication of the terminal equipment and the server; when data sent by terminal equipment are received, three appointed parameters are accurately acquired; and continuously adjusting the interval sending time of each device according to a rule; and a large amount of equipment is used, and under the condition of normal network, the time interval hierarchy of the transmitted data is continuously adjusted in a self-adaptive manner, so that the uniform time distribution of the transmitted data of the large-specification terminal equipment is realized.
The method specifically comprises the following steps:
step 1: constructing a hierarchical interval time range list based on the data importance degree and the historical data of the terminal equipment, wherein the hierarchical interval time range list is used for acquiring the interval time range of each subsequent terminal equipment;
and 2, step: constructing a uniformly distributed random data acquisition method based on a certain time range, wherein the method is used for acquiring the sending time interval of each terminal device;
and 3, step 3: in the communication process of the terminal equipment and the server, three parameters are appointed: time of receipt of the information, time of interval transmission by the device, number of incorrectly received data (shown as 0 if all correctly received);
and 4, step 4: when data sent by terminal equipment are received, three appointed parameters are accurately acquired; if the server receives the message within the appointed time, the time of the original equipment interval transmission is fed back; adding the time of interval transmission of the equipment at the current server end; plus the number of incorrectly received data is set to 0; meanwhile, adding data information to be acquired and feeding back the data information to the terminal equipment; if the server side finds that the appointed time is exceeded after receiving the information, the interval time is adjusted to be shorter according to the rule; or if the time for receiving the information is found to be advanced, the interval time is adjusted to be longer; acquiring the time for receiving the information according to the new equipment interval sending time, setting the number of incorrectly received data to be 0, and sending the incorrectly received data to the terminal equipment again;
And 5: after receiving the information, the terminal equipment sends data to the server again according to the equipment interval sending time in the three appointed parameters in the appointed time interval, and meanwhile, the time of receiving the information and the number of incorrectly received data of the server are added;
step 6: continuously adjusting the interval sending time of each device based on the information receiving time, the interval sending time of the devices and the number of incorrectly received data in the steps 4 and 5; using a large amount of equipment, and continuously and adaptively adjusting the time interval hierarchy of the transmitted data under the condition of normal network; the uniform time distribution of the sending data of the large-specification terminal equipment is realized.
The step 1 specifically comprises the following steps:
1) analyzing the communication types of the whole terminal equipment and the server, wherein one communication type forms a hierarchical interval time range table;
2) in a communication type range, analyzing the feedback delay time distribution condition of each device in the original time of sending at regular device intervals based on historical data; setting the level of interval time according to the delay distribution condition and the number of terminal devices; if the total number of the terminal devices is more, the interval time can be set longer, and the interval range can be set larger, so that more devices can be accommodated in the time range; for a certain delay time, the related devices are fewer, the interval time can be set to be shorter, and the interval range is smaller;
3) Continuously updating the communication records of the terminal equipment and the server to form historical data; in the subsequent operation process, the hierarchical interval time range list is continuously analyzed according to historical data, and is continuously optimized; a new hierarchical list of interval time ranges is formed and updated into the system.
In step 2, after acquiring a time interval range of data transmission of a terminal device, randomly acquiring transmission time within the time range; and the random transmission time needs to be evenly distributed.
In the step 5, the server side directly acquires data to judge whether errors exist in the feedback of the process, wherein the errors include delay or advance; if the delay is delayed, the terminal equipment improves the frequency of sending the data so as to ensure the normal connection between the data and the server side; reducing the number of data transmission in advance; when the distribution terminal equipment sends data, the stable condition of the network where the distribution terminal equipment is located is also distinguished, and the uniform utilization of the server network and resources is realized.
After the method builds the relevant foundation through the steps 2, 3 and 4, the service is mainly initiated by the terminal equipment, and the whole service flow is realized according to the following steps:
1) The terminal equipment initiates a request, and in the carried information, three appointed parameters are null and have no related information;
2) after receiving a request initiated by a terminal device, a server acquires default first data of a hierarchical interval time range list in communication types, namely the interval time is shortest; in the interval time range, acquiring the interval time of the next sending request by a uniformly distributed random data acquisition method; initializing the time required to obtain the time sent by the terminal equipment next time by using the random number, setting the number of incorrectly received data to be 0, and returning the number to the terminal equipment;
3) after receiving the information returned by the server, the terminal equipment acquires the interval time for sending the request; timing when receiving the information, and sending a piece of data after the interval time of the sending request is reached; the data carries the interval time of the sending request, the time required to obtain the next time sent by the terminal equipment and the quantity of the incorrectly received data, and the time and the quantity are returned to the server;
4) after the server correctly receives the time interval with the data transmission interval, the time required to be acquired next time and the quantity of incorrectly received data, the time required to be acquired next time and transmitted by the terminal equipment is acquired, and is compared with the system date of the current server side to calculate the error; acquiring next data transmission interval time in a hierarchical interval time range list through errors; meanwhile, the original received data transmission interval time is used, and the original data transmission interval time is obtained in a hierarchical interval time range list; if the former and latter time ranges are the same, initializing the time required to acquire the time transmitted by the terminal equipment next time according to the original data transmission interval time; setting the number of incorrect receptions to be 0, and returning; if the interval time range of the sending data obtained by the error is inconsistent with the original interval time range of the sending data, adding 1 to the number of the incorrectly received data; if the number of the incorrectly received data does not reach the set threshold value; initializing the time required to acquire the time sent by the terminal equipment next time by using the original data sending interval time; and returning the number of the incorrectly received data added with 1 to the terminal equipment; if the number of incorrect receptions reaches a set threshold value, acquiring a latest transmission data interval time by a uniformly distributed random number generation method within a transmission data interval time range acquired by errors; generating the time required to acquire the time sent by the terminal equipment next time according to the latest data sending interval time; setting the number of incorrect receptions to 0, and returning to the terminal equipment;
5) After receiving the issued information, the terminal equipment receives and acquires the sending request interval time again, and returns the sending request interval time, the time required to acquire the sending time of the terminal equipment next time and the number of incorrectly received data to the server side again after the appointed time; repeating the business process of the step 4) again.
According to the cloud host, access to multiple intranet host services can be realized only by distributing multiple VPN users; the preferential outer network IP provided by the cloud host is utilized for fixed access, and uniform outer network access inlets are provided for a plurality of different inner network hosts; an efficient and preferential method is provided for medium and small-sized internal and external network cross-network service access.
By the method, the periodic layered self-adaptive adjustment of the communication between the large-batch terminal equipment and the server can be realized only by increasing a small amount of space (6 bytes) in the reported and issued messages. For terminal equipment with unstable network, the communication cycle is concentrated on a level with higher frequency; for terminal equipment with stable network, the communication period is concentrated on a layer with lower frequency. The communication of each device among each hierarchy is carried out according to the uniformly distributed intervals to send data; and a large amount of equipment is ensured to uniformly send data to the server side in each time. The server can also process each message data uniformly. The network bandwidth of the server is greatly distributed, and the computing resources of the server are utilized to the maximum extent; therefore, the problems that the network bandwidth is insufficient and the server is possibly down due to disordered reporting when a large quantity of terminal devices communicate are solved.
Drawings
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
As shown in FIG. 1, the basic process of the method of the present invention is as follows:
step 1: constructing a hierarchical interval time range list based on the data importance degree and the historical data of the terminal equipment, wherein the hierarchical interval time range list is used for acquiring the interval time range of each subsequent terminal equipment;
constructing a hierarchical interval time range list, wherein the key point is that an interval time range list which is reasonably distributed according to the importance degree of a service is formed based on data and historical data of each communication; the method mainly comprises the following steps:
1) and analyzing the communication types of the whole terminal equipment and the server side, wherein one communication type forms a hierarchical interval time range table.
2) In a communication type range, analyzing the feedback delay time distribution condition of each device in the original time of sending at regular device intervals based on historical data; and setting the hierarchy of interval time according to the delay distribution condition and the number of the terminal equipment. For example, if the total number of terminal devices is large for a delay time within 500 ms, the interval time may be set longer and the interval range may be set larger, so that more devices are accommodated in the time range. In a certain delay time, the related devices are less, the interval time can be set to be shorter, and the interval range is smaller, so that the high-frequency communication can be rapidly carried out with the devices, and the communication condition of the devices can be confirmed.
3) And continuously updating the communication records of the terminal equipment and the server to form historical data. The hierarchical interval time range list is continuously analyzed according to historical data in the subsequent operation process, and is continuously optimized; a new hierarchical list of interval time ranges is formed and updated into the system.
Step 2: constructing a uniformly distributed random data acquisition method based on a certain time range, wherein the method is used for acquiring the sending time interval of each terminal device;
because the number of the terminal devices is extremely large, each communication type and each feedback delay time have a level of data sending time interval range; each terminal device needs to transmit data within uniformly distributed time as much as possible so as to avoid data concentration in a certain time period; therefore, after acquiring the time interval range of the data transmission of a terminal device, randomly acquiring the transmission time in the time range; and the random sending time needs to be the condition of uniform distribution; therefore, a uniformly distributed random data acquisition method based on a certain time range needs to be constructed.
And step 3: in the communication process of the terminal equipment and the server, three parameters are appointed: time of receipt of the information, time of interval transmission by the device, number of incorrectly received data (shown as 0 if all correctly received);
The three parameter terminals need to be initialized at the server end when sending; when the terminal device reports data, the data needs to be uploaded. In the three parameters, the time of the equipment interval transmission can store data according to 8 bits; the time of receiving the information adopts the number of milliseconds of the time, 42 bits are needed for storing the data, and 6 bytes are needed; but there are 6 bits free to hold the amount of incorrectly received data. According to the rule, only 7 bytes are needed in total, and the total data can be stored for reporting and sending. The three parameters are stored in the reporting and issuing processes, and the purpose is to save the time for inquiring the equipment in each heartbeat process through space. By exchanging time for space, the efficiency of data exchange is improved.
And 4, step 4: when data sent by terminal equipment are received, three appointed parameters are accurately acquired; if the server receives the message within the appointed time, the time of the original equipment interval transmission is fed back; adding the time of interval transmission of the equipment at the current server end; plus the number of incorrectly received data is set to 0; and simultaneously adding data information to be acquired and feeding back the data information to the terminal equipment. If the server side finds that the appointed time is exceeded after receiving the information, the interval time is adjusted to be shorter according to the rule; or if the time for receiving the information is found to be advanced, the interval time is adjusted to be longer; acquiring the time for receiving the information according to the new equipment interval sending time, setting the number of incorrectly received data to be 0, and sending the incorrectly received data to the terminal equipment again;
And 5: after receiving the information, the terminal equipment sends data to the server again according to the equipment interval sending time in the three appointed parameters in the appointed time interval, and meanwhile, the time of receiving the information and the number of incorrectly received data of the server are added;
and the server side directly acquires data to judge whether errors exist in the feedback of the process, wherein the errors comprise delay or advance. The delay shows that the network is unstable, and the terminal equipment is required to improve the frequency of sending data so as to ensure the normal connection of the data and the server side. The network is normal and stable in advance, so that the equipment can transmit data at a lower frequency, and the data transmission quantity is reduced. Therefore, the self-adaptive terminal equipment of the whole system sends data according to different intervals according to the error degree of the information received by the server. When the terminal equipment sends data, the stable condition of the network where the terminal equipment is located is distinguished, and the uniform utilization of the server network and resources is achieved.
Step 6: continuously adjusting the interval sending time of each device based on the information receiving time, the interval sending time of the devices and the number of incorrectly received data in the steps 4 and 5; under the condition of normal network, a large amount of equipment is used, and the time interval level of the sending data is continuously adjusted in a self-adaptive manner, so that the uniform time distribution of the sending data of the large-specification terminal equipment is realized, and the reasonable utilization of network bandwidth and server resources is realized.
After the relevant foundation is built through the steps 2, 3 and 4, the service is mainly initiated by the terminal equipment, and the flow of the whole service is realized according to the following steps:
1) the terminal equipment initiates a request, and in the carried information, because the three agreed parameters are null, no related information exists;
2) after receiving the request initiated by the terminal device, the server side acquires the first default data (with the shortest interval time) in the interval time range list of the hierarchy in the communication types because the three agreed parameters are null. In the interval range, acquiring the interval time of the next sending request by a uniformly distributed random data acquisition method; initializing the time required to acquire the time sent by the terminal equipment next time by using the random number, setting the number of incorrectly received data to be 0, and returning the number to the terminal equipment;
3) after receiving the information returned by the server, the terminal equipment acquires the interval time for sending the request; and timing when receiving the information, and sending a piece of data after the interval time of the sending request is reached. The data carries the interval time of the sending request, the time required to obtain the sending time of the terminal equipment next time and the number of the incorrectly received data, and the data is returned to the server side.
4) And after the server correctly receives the time interval with the data transmission, the time required to be transmitted by the terminal equipment next time and the number of incorrectly received data, acquiring the time required to be transmitted by the terminal equipment next time, comparing the time required to be transmitted by the terminal equipment next time with the system date of the current server side, and calculating an error. And acquiring the next data transmission interval time in the hierarchical interval time range list through the error. And simultaneously, the original received data transmission interval time is used, and the original data transmission interval time is obtained in a hierarchical interval time range list. If the former and latter time ranges are the same, initializing the time required to acquire the time transmitted by the terminal equipment next time according to the original data transmission interval time; and sets the number of incorrect receptions to 0 and returns. If the interval time range of the sending data obtained by the error is inconsistent with the original interval time range of the sending data, adding 1 to the number of the incorrectly received data; if the number of incorrectly received data does not reach a certain threshold, for example 10 times; then, the time required to acquire the time sent by the terminal device next time is initialized according to the original data sending interval time. And returns the number of incorrectly received data, which has been added by 1, to the terminal device together. If the number of incorrect receptions reaches a certain threshold value, acquiring a latest transmission data interval time by a uniformly distributed random number generation method within a transmission data interval time range acquired by errors; generating the time required to acquire the time sent by the terminal equipment next time according to the latest data sending interval time; and sets the number of incorrect receptions to 0 and returns to the terminal device.
5) After receiving the issued information, the terminal equipment receives and acquires the sending request interval time again, and returns the sending request interval time, the time required to acquire the sending time of the terminal equipment next time and the number of incorrectly received data to the server side again after the appointed time; repeating the business process of the step 4) again.
6) The whole service process mainly directly obtains data at a server end to judge whether errors exist in feedback of the process, and if the number of the errors does not exceed the originally set interval time of sending requests, the original interval time of sending requests is continued to send data requests; if the error quantity exceeds the original time, the latest sending request interval time is acquired in a self-adaptive mode; and updating the interval time of the latest sending request, and continuously optimizing.

Claims (8)

1. A hierarchical self-adaptive processing method based on a heartbeat feedback data period is characterized in that the method is a uniformly distributed random data acquisition method for constructing a hierarchical interval time range list and a set time range based on the importance degree of terminal equipment data and historical data; in addition, the time for receiving information, the time for sending the equipment at intervals and the quantity of incorrectly received data are appointed between the communication of the terminal equipment and the server; when data sent by terminal equipment are received, three appointed parameters are accurately acquired; and continuously adjusting the interval sending time of each device according to a rule; using a plurality of devices, and continuously and adaptively adjusting the time interval hierarchy of the transmitted data under the condition of normal network, thereby realizing the uniform time distribution of the transmitted data of the large-specification terminal device; the historical data terminal equipment and the server side are communicated and recorded; the three appointed parameters are the time for receiving the information, the time for transmitting the information at intervals by the equipment and the number of incorrectly received data.
2. The method of claim 1, wherein: the method specifically comprises the following steps:
step 1: constructing a hierarchical interval time range list based on the data importance degree and the historical data of the terminal equipment, wherein the hierarchical interval time range list is used for acquiring the interval time range of each subsequent terminal equipment;
step 2: constructing a uniformly distributed random data acquisition method based on a certain time range, wherein the method is used for acquiring the sending time interval of each terminal device;
and step 3: in the communication process of the terminal equipment and the server, three parameters are appointed: time of receipt of the information, time of interval transmission by the device, number of incorrectly received data (shown as 0 if all correctly received);
and 4, step 4: when data sent by terminal equipment are received, three appointed parameters are accurately acquired; if the server receives the message within the appointed time, the time of the original equipment interval transmission is fed back; adding the time of interval transmission of the equipment at the current server end; plus the number of incorrectly received data is set to 0; meanwhile, adding data information to be acquired and feeding back the data information to the terminal equipment; if the server side finds that the appointed time is exceeded after receiving the information, the interval time is adjusted to be shorter according to the rule; or if the time for receiving the information is found to be advanced, the interval time is adjusted to be longer; acquiring the time for receiving the information according to the new equipment interval sending time, setting the number of incorrectly received data to be 0, and sending the incorrectly received data to the terminal equipment again;
And 5: after receiving the information, the terminal equipment sends data to the server again according to the equipment interval sending time in the three appointed parameters in the appointed time interval, and meanwhile, the time of receiving the information and the number of incorrectly received data of the server are added;
step 6: continuously adjusting the interval sending time of each device based on the information receiving time, the interval sending time of the devices and the number of incorrectly received data in the steps 4 and 5; using a large amount of equipment, and continuously and adaptively adjusting the time interval hierarchy of the transmitted data under the condition of normal network; the uniform time distribution of the sending data of the large-specification terminal equipment is realized.
3. The method of claim 2, wherein: the step 1 specifically comprises the following steps:
1) analyzing the communication types of the whole terminal equipment and the server, wherein one communication type forms a hierarchical interval time range table;
2) in a communication type range, analyzing the feedback delay time distribution condition of each device in the original time of sending at regular device intervals based on historical data; setting the level of interval time according to the delay distribution condition and the number of terminal devices; if the total number of the terminal devices is more, the interval time can be set longer, and the interval range can be set larger, so that more devices can be accommodated in the time range; for a certain delay time, the related devices are fewer, the interval time can be set to be shorter, and the interval range is smaller;
3) Continuously updating the communication records of the terminal equipment and the server to form historical data; in the subsequent operation process, the hierarchical interval time range list is continuously analyzed according to historical data, and is continuously optimized; a new hierarchical list of interval time ranges is formed and updated into the system.
4. The method of claim 2, wherein: in step 2, after acquiring a time interval range of data transmission of a terminal device, randomly acquiring transmission time within the time range; and the random transmission time needs to be evenly distributed.
5. The method of claim 3, wherein: in step 2, after acquiring a time interval range of data transmission of a terminal device, randomly acquiring transmission time within the time range; and the random transmission time needs to be evenly distributed.
6. The method according to any one of claims 2 to 5, wherein: in the step 5, the server side directly acquires data to judge whether errors exist in the feedback of the process, wherein the errors comprise delay or advance; if the delay is delayed, the terminal equipment improves the frequency of sending the data so as to ensure the normal connection between the data and the server side; reducing the number of data transmission in advance; when the distribution terminal equipment sends data, the stable condition of the network where the distribution terminal equipment is located is also distinguished, and the uniform utilization of the server network and resources is realized.
7. The method according to any one of claims 2 to 5, wherein: after the method builds the relevant foundation through the steps 2, 3 and 4, the service is mainly initiated by the terminal equipment, and the flow of the whole service is realized according to the following steps:
1) the terminal equipment initiates a request, and in the carried information, three appointed parameters are null and have no related information;
2) after receiving a request initiated by a terminal device, a server side acquires first default data of a hierarchical interval time range list in a communication type, namely the interval time is shortest; in the interval time range, acquiring the interval time of the next sending request by a uniformly distributed random data acquisition method; initializing the time required to acquire the time sent by the terminal equipment next time by using the random number, setting the number of incorrectly received data to be 0, and returning the number to the terminal equipment;
3) after receiving the information returned by the server, the terminal equipment acquires the interval time for sending the request; timing when receiving the information, and sending a piece of data after the interval time of the sending request is reached; the data carries the interval time of the sending request, the time required to obtain the next time sent by the terminal equipment and the quantity of the incorrectly received data, and the time and the quantity are returned to the server;
4) After the server correctly receives the time interval with the data transmission interval, the time required to be acquired next time and the quantity of incorrectly received data, the time required to be acquired next time and transmitted by the terminal equipment is acquired, and is compared with the system date of the current server side to calculate the error; acquiring next data transmission interval time in a hierarchical interval time range list through errors; meanwhile, the original received data transmission interval time is used, and the original data transmission interval time is obtained in a hierarchical interval time range list; if the former and latter time ranges are the same, initializing the time required to acquire the time transmitted by the terminal equipment next time according to the original data transmission interval time; setting the number of incorrect receptions to be 0, and returning; if the interval time range of the sending data obtained by the error is inconsistent with the original interval time range of the sending data, adding 1 to the number of the incorrectly received data; if the number of the incorrectly received data does not reach the set threshold value; initializing the time required to acquire the time sent by the terminal equipment next time by using the original data sending interval time; and returning the number of the incorrectly received data added with 1 to the terminal equipment; if the number of incorrect receptions reaches a set threshold value, acquiring a latest transmission data interval time by a uniformly distributed random number generation method within a transmission data interval time range acquired by errors; generating the time required to acquire the time sent by the terminal equipment next time according to the latest data sending interval time; setting the number of incorrect receptions to 0, and returning to the terminal equipment;
5) After receiving the issued information, the terminal equipment receives and acquires the sending request interval time again, and returns the sending request interval time, the time required to acquire the sending time of the terminal equipment next time and the number of incorrectly received data to the server side again after the appointed time; repeating the service process of the step 4) again.
8. The method of claim 6, wherein: after the method builds the relevant foundation through the steps 2, 3 and 4, the service is mainly initiated by the terminal equipment, and the flow of the whole service is realized according to the following steps:
1) the terminal equipment initiates a request, and in the carried information, three appointed parameters are null and have no related information;
2) after receiving a request initiated by a terminal device, a server side acquires first default data of a hierarchical interval time range list in a communication type, namely the interval time is shortest; in the interval time range, acquiring the interval time of the next sending request by a uniformly distributed random data acquisition method; initializing the time required to acquire the time sent by the terminal equipment next time by using the random number, setting the number of incorrectly received data to be 0, and returning the number to the terminal equipment;
3) After receiving the information returned by the server, the terminal equipment acquires the interval time for sending the request; timing when receiving the information, and sending a piece of data after the interval time of the sending request is reached; the data carries the interval time of the sending request, the time required to obtain the next time sent by the terminal equipment and the quantity of the incorrectly received data, and the time and the quantity are returned to the server;
4) after the server correctly receives the time interval with the data transmission interval, the time required to be acquired next time and the quantity of incorrectly received data, the time required to be acquired next time and transmitted by the terminal equipment is acquired, and is compared with the system date of the current server side to calculate the error; acquiring next data transmission interval time in a hierarchical interval time range list through errors; meanwhile, the original received data transmission interval time is used, and the original data transmission interval time is obtained in a hierarchical interval time range list; if the former and latter time ranges are the same, initializing the time required to acquire the time transmitted by the terminal equipment next time according to the original data transmission interval time; setting the number of incorrect receptions to be 0, and returning; if the interval time range of the sending data obtained by the error is inconsistent with the original interval time range of the sending data, adding 1 to the number of the incorrectly received data; if the number of the incorrectly received data does not reach the set threshold value; initializing the time required to acquire the time sent by the terminal equipment next time by using the original data sending interval time; and returning the number of the incorrectly received data added with 1 to the terminal equipment; if the number of incorrect receptions reaches a set threshold value, acquiring a latest transmission data interval time by a uniformly distributed random number generation method within a transmission data interval time range acquired by errors; generating the time required to acquire the time sent by the terminal equipment next time according to the latest data sending interval time; setting the number of incorrect receptions to 0, and returning to the terminal equipment;
5) After receiving the issued information, the terminal equipment receives and acquires the sending request interval time again, and returns the sending request interval time, the time required to acquire the sending time of the terminal equipment next time and the number of incorrectly received data to the server side again after the appointed time; repeating the business process of the step 4) again.
CN201910753303.3A 2019-08-15 2019-08-15 Layered self-adaptive processing method based on heartbeat feedback data period Active CN110535612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910753303.3A CN110535612B (en) 2019-08-15 2019-08-15 Layered self-adaptive processing method based on heartbeat feedback data period

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910753303.3A CN110535612B (en) 2019-08-15 2019-08-15 Layered self-adaptive processing method based on heartbeat feedback data period

Publications (2)

Publication Number Publication Date
CN110535612A CN110535612A (en) 2019-12-03
CN110535612B true CN110535612B (en) 2022-06-10

Family

ID=68663375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910753303.3A Active CN110535612B (en) 2019-08-15 2019-08-15 Layered self-adaptive processing method based on heartbeat feedback data period

Country Status (1)

Country Link
CN (1) CN110535612B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873479A (en) * 2014-03-28 2014-06-18 北京邮电大学 Parallel data transmission algorithm based on cross-layer estimation
CN109803024A (en) * 2019-01-28 2019-05-24 北京中科晶上科技股份有限公司 A method of for cluster node network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9148208B2 (en) * 2014-01-30 2015-09-29 Intel IP Corporation Antenna selection codebook for full dimensional MIMO systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873479A (en) * 2014-03-28 2014-06-18 北京邮电大学 Parallel data transmission algorithm based on cross-layer estimation
CN109803024A (en) * 2019-01-28 2019-05-24 北京中科晶上科技股份有限公司 A method of for cluster node network

Also Published As

Publication number Publication date
CN110535612A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
JP7232965B2 (en) Methods and apparatus for transmitting data in IoT systems, gateway devices and their storage media
TWI332330B (en) Quality of service differentiation in wireless networks
US20180270748A1 (en) System and Method for Dynamically Configurable Air Interfaces
US8667126B2 (en) Dynamic rate heartbeating for inter-node status updating
CN110572481A (en) intelligent electromechanical equipment data interaction method and system based on LoRa communication
CN108616904B (en) Wireless frequency point management method and system
JP2004519113A (en) Distributed network management system and method
CN102170422A (en) Method, device and system for inquiring node
US9468025B2 (en) System and method for configuring device connections in an extended network environment
US20200329118A1 (en) Data transmission scheduling method and system
CN108932182B (en) Message bus performance test method and system
US9621438B2 (en) Network traffic management
CN110535612B (en) Layered self-adaptive processing method based on heartbeat feedback data period
CN109756464B (en) Communication method, server and client
CN102025782A (en) Point-to-point communication method, device and system
CN113344738B (en) Access management method and system suitable for data intensive monitoring
CN115660791A (en) Order processing method and system for business trip service
CN110784910B (en) LoRa network new service node access method
CN101184062A (en) Method, device and system of regulating information server load
Zou et al. Age of information and energy harvesting tradeoff for joint packet coding in downlink iot networks
SG178407A1 (en) Method and apparatus for constructing seed group in peer-to-peer application and method for using seed group
US20200008094A1 (en) Method for transmitting wireless network data, sending terminal and receiving terminal
CN111641698B (en) Data statistical method, system, equipment and storage medium
CN115103243B (en) NB water meter reporting time dynamic adjustment method and system
CN103686849A (en) A method and a terminal for transmitting periodic data messages

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