CN111615117B - Data transmission method, device, system and storage medium - Google Patents
Data transmission method, device, system and storage medium Download PDFInfo
- Publication number
- CN111615117B CN111615117B CN201910134398.0A CN201910134398A CN111615117B CN 111615117 B CN111615117 B CN 111615117B CN 201910134398 A CN201910134398 A CN 201910134398A CN 111615117 B CN111615117 B CN 111615117B
- Authority
- CN
- China
- Prior art keywords
- target
- wireless access
- target terminal
- terminal device
- awakening
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
- H04W52/0216—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0229—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application provides a data transmission method, equipment, a system and a storage medium, wherein the system comprises a plurality of terminal equipment, a plurality of wireless access equipment and a server; the server is used for determining a target terminal device from the plurality of terminal devices, selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to the time delay parameter of data transmission, and issuing target data to the plurality of target wireless access devices; the target wireless access devices are used for sending a wake-up command to the target terminal device and sending target data to the target terminal device after the target terminal device is successfully woken up; and the target terminal equipment enters an awakening state according to the intercepted awakening command and receives target data sent by the target wireless access equipment awakening the target terminal equipment during the awakening state. Therefore, under the condition of keeping the power consumption level of the target terminal equipment unchanged, the time delay of data transmission can be reduced, and the problem which is expected to be solved in the communication field is solved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method, device, system, and storage medium.
Background
In the communication field, the cruising ability of many terminal devices is an important index affecting the performance of the device, so that the power consumption of the terminal devices needs to be limited during the use process, and the terminal devices can be called as terminal devices.
When a communication system includes a terminal device, if the power consumption level of the terminal device is expected to be reduced, the task delay has to be sacrificed; if the task delay is expected to be reduced, the power consumption level of the terminal equipment needs to be sacrificed. Therefore, the power consumption level and task delay of the terminal device become a pair of contradictory quantities, which is always a problem to be solved in the communication field.
Disclosure of Invention
Aspects of the present application provide a data transmission method, device, system, and storage medium, which are used to reduce task latency while maintaining a low power consumption level of a terminal device.
The embodiment of the application provides a data transmission system, which comprises a plurality of terminal devices, a plurality of wireless access devices and a server;
the server is used for determining a target terminal device from a plurality of terminal devices, selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to a time delay parameter of data transmission, and issuing target data to the plurality of target wireless access devices;
the target wireless access devices are used for sending awakening commands to the target terminal devices so as to awaken the target terminal devices at periodically appearing interception time slots of the target terminal devices and sending the target data to the target terminal devices after the target terminal devices are awakened successfully;
the target terminal device is configured to listen to the wake-up commands issued by the target wireless access devices in periodically occurring listening time slots, enter a wake-up state according to the listened wake-up commands, and receive the target data during the wake-up state.
The embodiment of the present application further provides a data transmission method, which is applicable to a server, and includes:
determining a target terminal device from a plurality of terminal devices;
selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to the time delay parameter of data transmission;
and sending target data to the target wireless access devices so that the target wireless access devices send wakeup commands to the target terminal devices, the target terminal devices are woken up at periodically appearing listening time slots of the target terminal devices, and the target data are sent to the target terminal devices after the target terminal devices are woken up successfully.
The embodiment of the present application further provides a data transmission method, which is applicable to a wireless access device, and includes:
receiving a terminal equipment awakening request sent by a server, wherein the awakening request comprises an identification of target terminal equipment and target data;
sending a wake-up command to the target terminal equipment based on the identification of the target terminal equipment;
if the target terminal equipment is successfully awakened in the periodically appeared interception time slot of the target terminal equipment, the wireless access equipment sends the target data to the target terminal equipment; and when the target terminal equipment is confirmed to successfully receive the target data, sending a data transmission success message to the server so as to enable other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system to stop sending the awakening command to the target terminal equipment.
The embodiment of the application also provides a server, which comprises a memory, a processor and a communication component;
the memory is to store one or more computer instructions;
the processor is coupled with the memory and the communication component for executing the one or more computer instructions for:
determining a target terminal device from a plurality of terminal devices;
selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to the time delay parameter of data transmission;
and sending target data to the target wireless access devices so that the target wireless access devices send wake-up commands to the target terminal devices, the target terminal devices are woken up in periodically appearing monitoring time slots of the target terminal devices, and the target data are sent to the target terminal devices after the target terminal devices are woken up successfully.
The embodiment of the application also provides wireless access equipment, which comprises a memory, a processor and a communication component;
the memory is to store one or more computer instructions;
the processor is coupled with the memory and the communication component for executing the one or more computer instructions for:
receiving a terminal equipment awakening request sent by a server through the communication assembly, wherein the awakening request comprises an identifier of target terminal equipment and target data;
sending a wake-up command to the target terminal device through the communication component based on the identifier of the target terminal device;
if the target terminal equipment is successfully awakened by the wireless access equipment in the periodically appeared interception time slot of the target terminal equipment, the target data is sent to the target terminal equipment through the communication assembly; and when the target terminal equipment is confirmed to successfully receive the target data, sending a data transmission success message to the server through the communication component, so that other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system stops sending the awakening command to the target terminal equipment.
Embodiments of the present application also provide a computer-readable storage medium storing computer instructions that, when executed by one or more processors, cause the one or more processors to perform the aforementioned data transmission method.
In the embodiment of the application, according to a delay parameter of data transmission, a plurality of target wireless access devices are selected from an available wireless access device list of the target terminal device, and target data are issued to the plurality of target wireless access devices; the target terminal equipment is awakened by utilizing the interception time slot which periodically appears in the target terminal equipment by utilizing the multi-target wireless access equipment to send the awakening command to the target terminal equipment, so that the awakening success rate of the target terminal equipment in a single awakening period can be effectively improved, the task time delay of data transmission can be reduced under the condition that the power consumption level of the target terminal equipment is kept unchanged, and the problem which is expected to be solved in the communication field is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1a is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 1b is a schematic view of an application scenario of a data transmission system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a server according to yet another embodiment of the present application;
fig. 4 is a schematic flowchart of a data transmission method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a wireless access device according to yet another embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, when a communication system comprises a terminal device, the power consumption level and the task delay of the terminal device become a pair of contradictory quantities, and the contradiction is always a problem to be solved in the communication field. To address this challenge, in various embodiments of the present application: selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to the time delay parameter of data transmission, and issuing target data to the plurality of target wireless access devices; the method has the advantages that the multi-target wireless access equipment is utilized to send the awakening command to the target terminal equipment so as to awaken the target terminal equipment at the periodically appearing interception time slot of the target terminal equipment, so that the awakening success rate of the target terminal equipment in a single awakening period can be effectively improved, the data transmission time delay can be reduced under the condition that the power consumption level of the target terminal equipment is kept unchanged, and the problem which is expected to be solved in the communication field all the time is solved.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1a is a schematic structural diagram of a data transmission system according to an embodiment of the present application. As shown in fig. 1a, the system comprises: a plurality of terminal devices 10, a plurality of wireless access devices 11, and a server 12.
The data transmission system provided in this embodiment may be applied to various scenarios in which data transmission is accelerated, and is particularly suitable for a scenario in which power consumption of the terminal device 10 needs to be limited. The terminal device in this embodiment may include a low power consumption device, and the low power consumption device is a generic term for a type of device that needs to be power consumption limited in a communication process. For example, the terminal device may be an electronic shelf label or other low power consumption device. Of course, the specific device type of the terminal device is not limited in this embodiment. In this embodiment, the wireless access device 11 may be various network devices with wireless access function. For example, an Access Point (AP), although the embodiment is not limited thereto.
The plurality of terminal devices 10 and the plurality of wireless access devices 11 may be arranged according to the scene requirement. Fig. 1b is a schematic application scenario of a data transmission system according to an embodiment of the present application. As shown in fig. 1b, the terminal device 10 may be an electronic shelf label, a plurality of electronic shelf labels are disposed on the goods shelf, and a plurality of wireless access devices 11 are distributed in the physical space of the goods warehousing place, based on the monitoring range of the electronic shelf label, the signal coverage range of the wireless access device 11, and the layout positions of the electronic shelf label and the wireless access device 11 in the goods warehousing place, and other scene conditions, a signal coverage range of one wireless access device 11 may include a plurality of electronic shelf labels, and one electronic shelf label may be in the signal coverage ranges of a plurality of wireless access devices 11.
In this embodiment, in order to reduce the power consumption level of the terminal device 10, a wake-up period may be set for the terminal device 10, and a single wake-up period may include one listening time slot, and the terminal device 10 may listen to a radio signal in its listening range in the listening time slot, for example, a wake-up command in this embodiment. To further reduce the power consumption level of the terminal device 10, the time other than the listening slot within a single wake-up period of the terminal device 10 may be set as the sleep slot. In one implementation, a timer may be used to switch between sleep slots and listening slots in a single wake-up cycle of the terminal device 10. The terminal device 10 has a very small activity in the sleep time slot, and the sleep current thereof can be maintained at a level of 4uA or even lower; the terminal device 10 may turn on its radio frequency RF during the listening time slot to listen for radio signals within its listening range, and the active current during the listening time slot may be maintained at a level of 5mA or even lower.
The server 12 may utilize the wireless access device 11 to implement data transmission with the terminal device 10. In physical implementation, the server 12 may be a conventional server, a cloud host, a virtual center, or other server devices, where the server devices mainly include a processor, a hard disk, a memory, a system bus, and the like, and are similar to a general computer architecture.
In the conventional solution, when it is desired to reduce the task delay during communication, the power consumption level of the terminal device 10 has to be increased, and the contradictory amount of the task delay and the power consumption level always limits the application of the terminal device 10 during communication. The data transmission system provided by this embodiment can reduce the task delay while maintaining the power consumption level of the terminal device 10 unchanged; similarly, the power consumption level can be reduced under the condition of keeping the task delay parameter unchanged; of course, both task latency and power consumption levels may be reduced. In this embodiment, for the target effects of the several different angles, different delay parameters of data transmission may be determined, and further, other operations may be performed based on the determined delay parameters of data transmission. Accordingly, in this embodiment, the target effects of the above-mentioned several different angles can be achieved by flexibly adjusting the delay parameter of data transmission.
As for the terminal device 10, as described above, one terminal device 10 may be in the signal coverage of a plurality of wireless access devices 11, and accordingly, the terminal device 10 may listen to the identification information broadcast by each wireless access device 11 during its listening time slot, thereby continuously combing the available wireless access devices within its listening range. The available wireless access device refers to the wireless access device 11 that can be intercepted by the terminal device 10, and there may be a plurality of available wireless access devices of one terminal device 10. The terminal device 10 may report the available wireless access device list to the server 12, and the server 12 may store the available wireless access device list corresponding to each terminal device 10.
In some practical applications, the terminal device 10 may report the available wireless access device list change situation to the server 12 periodically or when the available wireless access device changes. For example, server 12 may be notified to add a wireless access device 11 to its list of available wireless access devices when it first listens to that wireless access device 11. For another example, after it does not listen for a long time to the identification information sent by a certain wireless access device 11 in its available wireless access device list, server 12 may be notified to delete the wireless access device 11 from its available wireless access device list. Accordingly, the server 12 can continuously update the available wireless access device list corresponding to each terminal device 10.
For the server 12, when it needs to transmit the target data to the target terminal device, the target terminal device may be determined from the plurality of terminal devices 10, a plurality of target wireless access devices may be selected from the list of available wireless access devices of the target terminal device according to the delay parameter of data transmission, and the target data may be sent to the plurality of target wireless access devices.
The delay parameter of the data transmission may be flexibly determined according to various target effects mentioned above, for example, the delay parameter of the data transmission may be defined according to a maximum task delay that can be tolerated in the data transmission process, and of course, the embodiment is not limited thereto. The server 12 may select a plurality of target wireless access devices from a list of available wireless access devices of the target terminal device based on the determined latency parameter for the data transmission. The number of the target wireless access devices may be as large as possible to meet the requirement of the delay parameter of the data transmission to a greater extent, however, in view of resource saving and utilization, in this embodiment, the target wireless access devices may be used as few as possible while ensuring that the requirement of the delay parameter of the data transmission is met, and this embodiment is not limited to this.
For a plurality of target wireless access devices, a wake-up command may be sent to the target terminal device to expect to wake up the target terminal device at listening slots that periodically occur in the target terminal device, and the target data may be sent to the target terminal device after the target terminal device is successfully woken up.
After receiving the target data sent by the server 12, each target wireless access device may create a data transmission task for the target data. Based on the data transmission task, each target wireless access device may send a wake-up command to the target terminal device, respectively, in an expectation of waking up the target terminal device. And the target wireless access devices cooperate together to wake up the target terminal device, so that the success rate of the target terminal device being awakened in a single awakening period can be effectively improved compared with the single target wireless access device being awakened independently to the target terminal device.
For the target terminal equipment, the target terminal equipment can monitor the awakening commands sent by the target wireless access equipment in the periodically appeared monitoring time slot, enter the awakening state according to the monitored awakening commands, and receive the target data sent by the target wireless access equipment awakened by the target terminal equipment in the awakening state.
On the basis that the target wireless access devices respectively send the awakening command to the target terminal device, the target terminal device can enter an awakening state when the target terminal device successfully monitors the awakening command sent by any target wireless access device. The awake state refers to a use state in which the terminal device 10 starts up related hardware and software for supporting a data transmission task. When the target terminal device is successfully awakened by a certain target wireless access device, the association relationship of data transmission is established between the target terminal device and the target wireless access device, and the target terminal device can receive target data issued by the target wireless access device. It should be noted that, in some practical applications, the data transmission process between the terminal device 10 and the wireless access device 11 may be set to be in an exclusive mode, that is, in the process that the target terminal device receives the target data issued by the target wireless access device that wakes up the target terminal device, the target data issued by other target wireless access devices is not received any more, which may effectively avoid data retransmission.
Selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to the time delay parameter of data transmission, and issuing target data to the plurality of target wireless access devices; the multi-target wireless access equipment is utilized to send the awakening command to the target terminal equipment so as to expect to awaken the target terminal equipment at the periodically appeared interception time slot of the target terminal equipment, thereby effectively improving the awakening success rate of the target terminal equipment in a single awakening period, further reducing the time delay of data transmission under the condition of keeping the power consumption level of the target terminal equipment unchanged, and solving the problem which is expected to be solved all the time in the communication field.
In the above or the following embodiments, in order to more reasonably determine the target wireless access device, the server 12 may perform the wake-up test on the target terminal device using a single available wireless access device to obtain the reference success rate of the target terminal device being woken up in a single wake-up period.
The method for performing the wake-up test on the target terminal device by using the single available wireless access device means that the single available wireless access device is used for sending a wake-up command to the target terminal device at a single time. When performing the wake-up test, the server 12 may issue the test data to a certain available wireless access device, and the available wireless access device performs the wake-up test on the target terminal device separately; after the single wake-up test of the target terminal device by the available wireless access device is completed, the server 12 may continue to issue the test data to the next available wireless access device, so as to perform the wake-up test on the target terminal device by using the next available wireless access device. Accordingly, the server 12 can determine the reference success rate of the target terminal device being awakened in a single awakening period according to the number of times of successful awakening and the number of times of failed awakening of the target terminal device in the awakening test process.
In this embodiment, at least the following two implementation manners may be adopted to determine the reference success rate of the target terminal device being awakened in a single awakening period. Of course, the present embodiment is not limited to these two implementations.
In one implementation, the server 12 may select at least one test wireless access device from a list of available wireless access devices for the target terminal device; sending test data to any one of the test wireless access devices in each test period in the test period so that the test wireless access device can wake up the target terminal device, wherein the test period is equal to the wake-up period of the target terminal device; counting the times of the target terminal equipment entering an awakening state in the test period; and determining the reference success rate according to the ratio of the number of times of the target terminal equipment entering the awakening state in the test period to the number of test cycles used in the test period.
In this implementation, the server 12 may perform a wake-up test on the target terminal device using multiple test cycles during the test, and the server 12 may determine whether the target terminal device is successfully woken up in each test cycle. During each test period, the server 12 may send a wake-up command to the target end-point device using a single test wireless access device in anticipation of waking up the target end-point device. The number of the test wireless access devices may be one or more. When the number of test wireless access devices is one, the server 12 may send a wake-up command to the target terminal device using the test wireless access device in each test period. When the number of the test wireless access devices is multiple, the target wireless access devices that send the wake-up command to the target terminal device may not be completely the same in each test period.
The server 12 may count the number of times the target terminal device is awakened during the test, since the test period corresponds to the awakening period of the target terminal device, because the number of times the target terminal device is awakened during the test is the number of times the target terminal device is awakened in a single awakening period. Accordingly, the server 12 may determine the reference success rate according to a ratio between the number of times the target terminal device enters the awake state during the test period and the number of test cycles used during the test period.
When the reference success rate is calculated, if the number of the test wireless access devices is one, the reference success rate may be determined according to a ratio between the number of times that the test wireless access device successfully wakes up the target terminal device during the test period and the number of test cycles used during the test period. If the number of the test wireless access devices is multiple, respectively calculating the success rate of each test wireless access device according to the success times of each test wireless access device when the test wireless access device wakes up the target terminal device and the number of the test periods occupied by each test wireless access device, and taking the average value, the middle value, the maximum value or the minimum value of the success rates corresponding to each test wireless access device as the reference success rate; the ratio between the total number of times that the target terminal device is successfully awakened during the test period and the total number of test cycles used during the test period may also be used as a reference success rate, which is not limited in this embodiment.
In another implementation, the server 12 may select at least one test wireless access device from a list of available wireless access devices for the target terminal device; in each test interval in the test period, sending test data to any one of the test wireless access devices for the test wireless access device to wake up the target terminal device, wherein the length of the test interval is equal to the task delay of the target terminal device when the target terminal device is successfully awakened; determining a reference task time delay required by the target terminal equipment to be successfully awakened in the test period based on the length of each test interval; determining an ideal task time delay when the success rate of awakening the target terminal equipment in a single awakening period is 1 based on the length of at least one target test interval in which the target terminal equipment is awakened in the single awakening period in each test interval; and determining the reference success rate according to the ratio of the ideal task delay to the reference task delay.
In this implementation, the server 12 may perform a wake-up test on the target terminal device during the test using a plurality of test intervals, in each of which the target terminal device may be successfully woken up, but in different test intervals, the task delays taken for the target terminal device to be successfully woken up may not be completely the same. During each test interval, the server 12 may send a wake-up command to the target end device using a single test wireless access device to wake up the target end device. The number of the test wireless access devices may be one or more. When the number of the testing wireless access devices is one, the server 12 may send a wake-up command to the target terminal device by using the testing wireless access device in each testing interval. When the number of the test wireless access devices is multiple, the target wireless access devices that send the wake-up command to the target terminal device may not be completely the same in each test period.
The server 12 may count the length of each test interval, and determine a reference task delay of the target terminal device being awakened during the test period according to the length of each test interval, where the reference task delay may be an average value of the lengths of each test interval, or may be a maximum value, a middle value, or a minimum value in the lengths of each test interval, and the present embodiment does not limit this.
The server 12 may further screen out at least one target test interval in which the target terminal device is awakened in a single awakening period from each test interval, and determine an ideal task delay when the success rate of awakening the target terminal device in the single awakening period is 1 according to the length of each target test interval, where the ideal task delay may be a length average value of each target test interval, or a maximum value, a middle value, or a minimum value in the lengths of each target test interval, and the like, and this embodiment is not limited thereto.
In a practical application, when the number of the test intervals is large enough, the ideal task delay will be half of the wake-up period of the target terminal device according to a determination mode that the length average of each target test interval is used as the ideal task delay. Therefore, in this implementation, it is also not necessary to determine the ideal task delay through a test, but half of the wake-up period of the target terminal device is directly used as the ideal task delay, which is not limited in this implementation.
On the basis, the reference success rate can be determined according to the ratio of the ideal task delay to the reference task delay.
In this embodiment, the server 12 may further determine an expected success rate of the target terminal device being awakened in a single awakening period according to the delay parameter of the data transmission. The expected success rate refers to an expected wake-up success rate to meet the requirement of the delay parameter of data transmission. In this embodiment, when the delay of the expected data transmission is lower, the expected success rate of the target terminal device being awakened in a single awakening period is higher. In a practical application, the expected success rate may be determined according to a ratio between a delay parameter of data transmission and the aforementioned ideal task delay, but the embodiment is not limited thereto.
After determining the reference success rate and the expected success rate for the target terminal device to be woken up in a single wake-up period, the server 12 may determine the number N of the target wireless access devices according to the reference success rate and the expected success rate, where N is an integer greater than 1. Wherein, N is the minimum value of the number of target wireless access devices required to achieve the desired success rate.
In one implementation, the server 12 may be based on the equation 1-r N >And R, determining the value of the quantity N. Wherein R represents a reference success rate of the target terminal device being awakened in a single awakening period, R represents an expected success rate of the target terminal device being awakened in a single awakening period, and N represents the number of the target wireless access devices.
Based on the number N of target wireless access devices, the server 12 may filter a plurality of target wireless access devices from the list of available wireless access devices for the target terminal device. In this embodiment, the screening method for the target wireless access device is not limited in this embodiment, and the server 12 may select N available wireless access devices with the strongest signal strength from the available wireless access device list of the target terminal device as the target wireless access devices; of course, the server 12 may also randomly select N available wireless access devices from the list of available wireless access devices of the target terminal device as the target wireless access devices.
In this embodiment, the server 12 may determine, through a single test, a reference success rate at which the target terminal device is awakened in a single awakening period, and may determine, according to a delay parameter of data transmission, an expected success rate at which the target terminal device is awakened in the single awakening period; based on the reference success rate and the expected success rate of the target terminal device being awakened in a single awakening period, the minimum value of the number of target wireless access devices required when the delay parameter requirement of data transmission is met can be calculated, so that the expected data transmission delay can be realized by adopting the minimum number of target wireless access devices, and the resources of the wireless access device 11 can be effectively saved.
It should be noted that, in this embodiment, the number of target wireless access devices is not limited to N, and the server 12 may select more than N available wireless access devices from the available wireless access device list of the target terminal device as the target wireless access devices, without considering resource saving utilization. For example, the server 12 may use all available wireless access devices of the target terminal device as the target wireless access device, which is not limited in this embodiment.
In the above or the following embodiments, the target data may be a data packet sequence, and each target wireless access device may create a data transmission task sequence according to the data packet sequence when creating a data transmission task for the target data, in the task sequence, each data packet in the data packet sequence is arranged according to a predetermined sequence, and when issuing the target data to the target terminal device, the target wireless access device will issue the target data according to the data packet sequence in the task sequence.
Since each target wireless access device of the plurality of target wireless access devices may wake up the target terminal device successfully, each target wireless access device may need to issue target data to the target terminal device. For convenience of description, the following will use a first target wireless access device as an example to describe a process of the first target wireless access device issuing data to a target terminal device, where the first target wireless access device is a target wireless access device that successfully wakes up the target terminal device, and it should be understood that the first target wireless access device may be any one of multiple target wireless access devices.
In this embodiment, for the first target wireless access device, for each data packet to be sent in the data packet sequence, if a reception success notification returned by the target terminal device for a previous data packet of the data packet to be sent is received, the data packet to be sent is sent to the target terminal device until all data packets in the data packet sequence are sent to the target terminal device.
For example, when the target data is a data packet sequence including 6 data packets, the first target wireless access device may first issue the data packet No. 1 to the target terminal device, and after the target terminal device successfully receives the data packet No. 1, the target terminal device may return a reception success notification for the data packet No. 1 to the first target wireless access device; and after receiving the successful receiving notification for the data packet No. 1 returned by the target terminal equipment, the first target wireless access equipment continues to send the data packet No. 2, and after receiving the successful receiving notification for the data packet No. 2 returned by the target terminal equipment, continues to send the data packet No. 3, and so on until all 6 data packets in the data packet sequence are sent to the target terminal equipment.
In this embodiment, for the first target wireless access device, for each data packet to be sent in the data packet sequence, if a reception exception notification returned by the target terminal device for a previous data packet of the data packets to be sent is received, the issuing operation of a subsequent data packet for the data packet to be sent may be stopped.
If the target terminal device receives the data packet No. 3 successfully due to signal shielding, internal hardware damage and the like after the first target wireless access device issues the data packet No. 3 to the target terminal device, the above example is supported, and then a reception exception notification for the data packet No. 3 can be returned to the first target wireless access device; and the first target wireless access equipment stops issuing the No. 4-6 data packet after receiving the abnormal receiving notification aiming at the No. 3 data packet returned by the target terminal equipment.
Based on this, the first target wireless access device may determine whether the target terminal device successfully receives the target data in the process of issuing the target data to the target terminal device. Taking advantage of the two examples, when the first target wireless access device successfully receives the reception success notification sent by the target terminal device for 6 data packets, it may be determined that the target terminal device successfully receives the data packet sequence; and when the first target wireless access device receives the abnormal receiving notification sent by the target terminal device aiming at any one of the 6 data packets, the first target wireless access device can determine that the target terminal device does not successfully receive the data packet sequence.
In this embodiment, since multiple target wireless access devices are used to send the wake-up command to the target terminal device together, after the first target wireless access device completes the operation of issuing the target data to the target terminal device, the target terminal device may be woken up again by another target wireless access device and issue the target data, and this situation is determined as a replay attack by the target terminal device, so as to start attack defense, cause power consumption waste, and possibly affect task delay.
In order to reduce the probability of the target terminal device receiving the replay attack, in this embodiment, the first target wireless access device may report the target data transmission condition to the server 12; the server 12 can adjust the task execution states of the target wireless access devices according to the target data issuing condition, so as to reduce the probability that the target terminal device receives the replay attack. Therefore, the server 12 may set a timeout period for the target data issuing process, and monitor the target data issuing condition reported by the first target wireless access device within the timeout period. Wherein, the timeout period can be larger than or equal to the delay parameter of the data transmission. For example, when the delay parameter of data transmission is 30s, that is, the maximum task delay that can be tolerated by the server in the process of sending the target data to the target terminal device is 30s, the timeout period may be set to 30s, 40s, or 50s. Of course, the timeout period may also be set as needed from other angles in this embodiment, which is not limited in this embodiment.
For a first target wireless access device, upon confirming successful receipt of the data packet sequence by the target terminal device, a data transmission success message may be sent to the server 12; when receiving the reception abnormality notification sent by the target terminal device, the data transmission failure message may be sent to the server 12. In some practical applications, the first target wireless access device may forward the reception success notification 1 returned by the target terminal device to the server 12 as a data transmission success message; the reception exception notification returned by the target terminal device may be forwarded to the server 12 as a data transmission failure message, but the embodiment is not limited thereto.
For the server 12, the target data issuing condition reported by the first target data may be monitored within a timeout period corresponding to the target data issuing process. The server 12 may stop the other target wireless access devices from waking up the target terminal device this time after the target data is successfully issued; when the target data is failed to be issued, the target wireless access devices stop the awakening operation of the target terminal devices at this time, and then the target wireless access devices restart the awakening operation of the target terminal devices aiming at the target data. Several control manners adopted by the server 12 for different issuing situations of the target data are listed below, and it should be understood that the present embodiment is not limited thereto.
And if the data transmission success message is received within the timeout period, respectively sending a wake-up stopping instruction to the target wireless access devices so that the target wireless access devices stop sending wake-up commands to the target terminal device.
If the data transmission success message is not received within the timeout period, respectively sending a wake-up stopping instruction to the target wireless access devices and issuing the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal devices again.
And if the data transmission failure message is received within the timeout period, respectively sending a wake-up stopping instruction to the target wireless access devices and issuing the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal device again.
In this embodiment, when receiving the wake-up stopping instruction sent by the server 12, each target wireless access device may delete the data packet sequence in the task queue thereof, and stop sending the wake-up command to the target terminal device. In addition, the process that the server 12 issues the target data to the multiple target wireless access devices again and the multiple target wireless access devices send the wake-up command to the target terminal device again is the same as the process that the server 12 issues the target data to the multiple target wireless access devices for the first time and the multiple target wireless access devices wake up the target terminal device for the first time, which is not described herein again. Similarly, when the target wireless access devices wake up the target terminal device successfully, the target data issuing process is also the same as the target data issuing process described in the foregoing, and details are not repeated here.
Therefore, in the embodiment, the probability that the target terminal device is subjected to replay attack can be effectively reduced in a repeated task withdrawal mode.
In the above or the following embodiments, in order to improve the success rate of the target terminal device being woken up in a single wake-up period, the server 12 may simultaneously transmit the target data to a plurality of target wireless access devices.
When the server 12 issues the target data to the multiple target wireless access devices at the same time, the time difference between the multiple target wireless access devices when receiving the target data will be small, and if the multiple target wireless access devices send the wake-up command to the target terminal device after receiving the target data, the time difference between the wake-up command of the multiple target wireless access devices when reaching the target terminal device will also be small, which can effectively improve the overlapping degree of the wake-up success rates contributed by the multiple target wireless access devices in a single wake-up period of the target terminal device.
In this embodiment, the server 12 may further control, based on a clock synchronization protocol, the multiple target wireless access devices to simultaneously send the wake-up command to the target terminal device.
When the server 12 controls the multiple target wireless access devices to simultaneously send the wake-up command to the target terminal device, wake-up success rates contributed by the multiple target wireless access devices in a single wake-up period of the target terminal device can be almost completely overlapped, which further improves the success rate of the target terminal device being woken up in the single wake-up period.
Hereinafter, the data transmission system provided in each of the above embodiments will be described by taking the electronic shelf label in fig. 1b as an example.
Each electronic shelf label in the goods shelf can continuously comb the available wireless access equipment nearby the electronic shelf label through a quick ad hoc network algorithm or other modes, and report the available wireless access equipment list to the server.
In order to realize the digitization of the offline item data, the server can send item data such as item prices, item profiles and the like to the electronic shelf labels. For example, when the server needs to issue the price of the item a to the electronic shelf label a associated with the item a, the electronic shelf label a may be used as the target terminal device and the price of the item a may be used as the target data.
In one scenario, the wake-up period of the electronic shelf label a is 25s, wherein the sleep time slot is 24.96s, and the listening time slot is 40ms, when a single testing wireless access device is used to send a wake-up command to a target terminal device, it is detected that the original task delay of sending data to the electronic shelf label a by a server is 30s, and in addition, when the testing times are enough, it can be determined that the task delay when the wake-up success rate of the electronic shelf label a in a single wake-up period is 1 is 12.5s, which is half of the wake-up period, and accordingly, the reference success rate r of the electronic shelf label a being woken up in a single wake-up period can be calculated to be 0.42 (12.5/30). On this basis, if it is desired to reduce the task latency to 16s, it can be determined that the desired success rate R for the electronic shelf label A to be woken up in a single wake-up period is 0.78 (12.5/16), from which it can be determined according to equations 1-R N >And R, determining that the number of the target wireless access devices is at least 2.
Then, 2 available wireless access devices with the strongest signal intensity can be screened out from the available wireless access device list of the electronic shelf label A to serve as target wireless access devices, the server carries the price of the article a in a data packet sequence and issues the price to the 2 target wireless access devices, the 2 target wireless access devices can be controlled to simultaneously send a wake-up command to the electronic shelf label A, the electronic shelf label A is quickly woken up, and the price of the article a can be displayed after the price of the article a is successfully received.
Accordingly, under the condition that the configuration of the wake-up period of the electronic shelf label a is kept unchanged, that is, under the condition that the power consumption level of the electronic shelf label a is kept unchanged, 2 wireless access devices simultaneously send wake-up commands to the electronic shelf label a, the average task delay can be reduced to a level of about 16s, and compared with the original task delay, the average task delay is reduced by more than 40%.
Fig. 2 is a schematic flowchart of a data transmission method according to another embodiment of the present application. As shown in fig. 2, the method is applied to the server in the aforementioned data transmission system, and the method includes:
200. determining a target terminal device from a plurality of terminal devices;
201. selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to the time delay parameter of data transmission;
202. and sending the target data to a plurality of target wireless access devices so that the target wireless access devices send awakening commands to the target terminal device, awakening the target terminal device by the interception time slot expected to periodically appear in the target terminal device, and sending the target data to the target terminal device after the target terminal device is successfully awakened.
The data transmission method provided by the embodiment can be applied to various scenes in which power consumption limitation needs to be performed on the terminal equipment. The terminal device in this embodiment is a generic name of a device that needs to be power consumption limited in a communication process, and a specific device type of the terminal device is not limited in this embodiment. For example, the terminal device may be an electronic shelf label or the like.
In this embodiment, according to the delay parameter of data transmission, a plurality of target wireless access devices are selected from the available wireless access device list of the target terminal device, and target data is sent to the plurality of target wireless access devices; the multi-target wireless access equipment is utilized to send the awakening command to the target terminal equipment so as to expect to awaken the target terminal equipment at the periodically appeared interception time slot of the target terminal equipment, thereby effectively improving the awakening success rate of the target terminal equipment in a single awakening period, further reducing the time delay of data transmission under the condition of keeping the power consumption level of the target terminal equipment unchanged, and solving the problem which is expected to be solved all the time in the communication field.
In an alternative embodiment, step 201 comprises:
adopting single available wireless access equipment to carry out awakening test on target terminal equipment so as to obtain the reference success rate of awakening the target terminal equipment in a single awakening period, wherein the single awakening period comprises an interception time slot;
calculating the expected success rate of awakening the target terminal equipment in a single awakening period according to the time delay parameter of data transmission;
determining the number N of target wireless access devices according to the reference success rate and the expected success rate, wherein N is an integer greater than 1;
and selecting a plurality of target wireless access devices from the available wireless access device list of the target terminal device based on the number N of the target wireless access devices.
In an optional embodiment, the step of determining the number N of target wireless access devices according to the reference success rate and the expected success rate includes:
according to the formula 1-r N >R, determining the value of the quantity N; wherein R represents a reference success rate of the target terminal device being woken up within a single wake-up period, and R represents a desired success rate of the target terminal device being woken up within a single wake-up period.
In an optional embodiment, the step of performing a wake-up test on the target terminal device by using a single available wireless access device to obtain a reference success rate for the target terminal device to be woken up in a single wake-up period includes:
selecting at least one test wireless access device from a list of available wireless access devices of a target terminal device;
sending test data to any one of the test wireless access devices in each test period in the test period so that the test wireless access device can wake up the target terminal device, wherein the test period is equal to the wake-up period of the target terminal device;
counting the times of the target terminal equipment entering an awakening state in the testing period;
and determining the reference success rate according to the ratio of the number of times of the target terminal equipment entering the awakening state in the test period to the number of test cycles used in the test period.
In an optional embodiment, the step of performing a wake-up test on the target terminal device by using a single available wireless access device to obtain a reference success rate for the target terminal device to be woken up in a single wake-up period includes:
selecting at least one test wireless access device from a list of available wireless access devices of a target terminal device; in each test interval in the test period, sending test data to any one of the test wireless access devices to wake up the target terminal device by the test wireless access device, wherein the length of the test interval is equal to the task delay of the target terminal device when the target terminal device is successfully woken up; determining a reference task time delay required by the target terminal equipment to be successfully awakened in the test period based on the length of each test interval; determining an ideal task time delay when the success rate of awakening the target terminal device in a single awakening period is 1 based on the length of at least one target test interval in which the target terminal device is awakened in the single awakening period in each test interval; and determining the reference success rate according to the ratio of the ideal task delay to the reference task delay.
In an optional embodiment, the method further comprises:
if a data transmission success message sent by any one of the target wireless access devices is received within the timeout period, a wake-up stopping instruction is sent to the target wireless access devices respectively, so that the target wireless access devices stop sending wake-up commands to the target terminal device.
In an optional embodiment, the method further comprises:
if the data transmission success message is not received within the timeout period, respectively sending a wake-up stopping instruction to the target wireless access devices and issuing the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal devices again.
In an optional embodiment, the method further comprises:
if a data transmission failure message sent by any one of the target wireless access devices is received, a wake-up stopping instruction is sent to the target wireless access devices respectively, and the target data is sent to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal devices again.
In an alternative embodiment, step 202 includes: simultaneously issuing the target data to a plurality of target wireless access devices; the method further comprises the following steps: and controlling a plurality of target wireless access devices to simultaneously send a wake-up command to the target terminal device based on a clock synchronization protocol.
It should be noted that, for brevity, for details of implementation details of the steps in the embodiments of the data transmission method, reference may be made to the related description in the data transmission system in the foregoing, and details are not repeated herein, but this should not cause an impact on the protection scope of the data transmission method provided in the present application.
Fig. 3 is a schematic structural diagram of a server according to another embodiment of the present application. As shown in fig. 3, the server includes a memory 30, a processor 31, and a communication component 32.
A processor 31, coupled to the memory 30 and the communication component 32, for executing computer programs in the memory for:
determining a target terminal device from a plurality of terminal devices;
selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device according to the time delay parameter of data transmission;
the target data is sent to the target wireless access devices through the communication component 32, so that the target wireless access devices send wakeup commands to the target terminal device, the target terminal device is woken up in listening time slots expected to periodically appear in the target terminal device, and the target data is sent to the target terminal device after the target terminal device is woken up successfully.
In this embodiment, the server may select a plurality of target wireless access devices from the available wireless access device list of the target terminal device according to the delay parameter of data transmission, and issue the target data to the plurality of target wireless access devices; the multi-target wireless access equipment is utilized to send the awakening command to the target terminal equipment so as to expect to awaken the target terminal equipment at the periodically appeared interception time slot of the target terminal equipment, thereby effectively improving the awakening success rate of the target terminal equipment in a single awakening period, further reducing the time delay of data transmission under the condition of keeping the power consumption level of the target terminal equipment unchanged, and solving the problem which is expected to be solved in the communication field.
In an optional embodiment, the processor 31, when selecting a plurality of target wireless access devices from the list of available wireless access devices of the target terminal device according to the delay parameter of the data transmission, is configured to:
adopting single available wireless access equipment to carry out awakening test on target terminal equipment so as to obtain the reference success rate of awakening the target terminal equipment in a single awakening period, wherein the single awakening period comprises an interception time slot;
calculating the expected success rate of awakening the target terminal equipment in a single awakening period according to the time delay parameter of data transmission;
determining the number N of target wireless access devices according to the reference success rate and the expected success rate, wherein N is an integer greater than 1;
and selecting a plurality of target wireless access devices from the available wireless access device list of the target terminal device based on the number N of the target wireless access devices.
In an alternative embodiment, the processor 31, when determining the number N of target wireless access devices according to the reference success rate and the desired success rate, is configured to:
according to the formula 1-r N >R, determining the value of the quantity N; wherein R represents a reference success rate of the target terminal device being awakened in a single awakening period, and R representsA desired success rate at which the target terminal device is woken up within a single wake-up period.
In an optional embodiment, the processor 31, when performing a wake-up test on the target terminal device with a single available wireless access device to obtain a reference success rate for the target terminal device to be woken up in a single wake-up period, is configured to:
selecting at least one test wireless access device from a list of available wireless access devices of a target terminal device;
sending test data to any one of the test wireless access devices in each test period in the test period so that the test wireless access device can wake up the target terminal device, wherein the test period is equal to the wake-up period of the target terminal device;
counting the times of the target terminal equipment entering an awakening state in the testing period;
and determining the reference success rate according to the ratio of the times of the target terminal equipment entering the awakening state in the test period to the number of the test periods used in the test period.
In an alternative embodiment, the processor 31, when performing the wake-up test on the target terminal device with a single available wireless access device to obtain a reference success rate for the target terminal device to be woken up in a single wake-up period, is configured to:
selecting at least one test wireless access device from a list of available wireless access devices of a target terminal device; in each test interval in the test period, sending test data to any one of the test wireless access devices for the test wireless access device to wake up the target terminal device, wherein the length of the test interval is equal to the task delay of the target terminal device when the target terminal device is successfully awakened; determining a reference task time delay required by the target terminal equipment to be successfully awakened in the test period based on the length of each test interval; determining an ideal task time delay when the success rate of awakening the target terminal equipment in a single awakening period is 1 based on the length of at least one target test interval in which the target terminal equipment is awakened in the single awakening period in each test interval; and determining the reference success rate according to the ratio of the ideal task delay to the reference task delay.
In an alternative embodiment, the processor 31 is further configured to:
if a data transmission success message sent by any one of the target wireless access devices is received within the timeout period, a wake-up stopping instruction is sent to the target wireless access devices respectively, so that the target wireless access devices stop sending wake-up commands to the target terminal device.
In an optional embodiment, the processor 31 is further configured to:
and if the data transmission success message is not received within the timeout period, respectively sending a wake-up stopping instruction to the target wireless access devices and issuing the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal device again.
In an optional embodiment, the processor 31 is further configured to:
if a data transmission failure message sent by any one of the target wireless access devices is received, a wake-up stopping instruction is sent to the target wireless access devices respectively, and the target data is sent to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal devices again.
In an optional embodiment, when the processor 31 issues the target data to a plurality of target wireless access devices, it is configured to: simultaneously issuing the target data to a plurality of target wireless access devices; the processor 31 is further configured to: and controlling a plurality of target wireless access devices to simultaneously send a wake-up command to the target terminal device based on a clock synchronization protocol.
Further, as shown in fig. 3, the server further includes: power supply 33, and the like. Only some of the components are schematically shown in fig. 3, and the server is not meant to include only the components shown in fig. 3.
It should be noted that, for brevity, for the embodiments of the server, reference may be made to the relevant description in the foregoing for the data transmission system for various implementation details, which are not described herein again, but should not affect the protection scope of the server provided by the present application.
Accordingly, the present application further provides a computer readable storage medium storing a computer program, where the computer program is capable of implementing the steps that can be executed by the server in the foregoing method embodiments when executed.
Fig. 4 is a flowchart illustrating a data transmission method according to another embodiment of the present application. As shown in fig. 4, the method is applied to the wireless access device in the aforementioned data transmission system, and the method includes:
400. receiving a terminal equipment awakening request sent by a server, wherein the awakening request comprises an identification of target terminal equipment and target data;
401. sending a wake-up command to the target terminal equipment based on the identification of the target terminal equipment;
402. if the wireless access equipment successfully awakens the target terminal equipment at the periodically appearing interception time slot of the target terminal equipment, sending target data to the target terminal equipment; and when the target terminal equipment is confirmed to successfully receive the target data, sending a data transmission success message to the server so as to enable other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system to stop sending the awakening command to the target terminal equipment.
In an alternative embodiment, the target data is a sequence of data packets; the step of sending the target data to the target terminal device includes:
and for each data packet to be sent in the data packet sequence, if a successful receiving notice returned by the target terminal equipment for the last data packet of the data packet to be sent is received, sending the data packet to be sent to the target terminal equipment until all the data packets in the data packet sequence are sent to the target terminal equipment.
In an optional embodiment, the method further comprises:
if receiving the abnormal receiving notification sent by the target terminal equipment in the process of sending the target data to the target terminal equipment, stopping continuously sending the target data to the target equipment, and sending a data transmission failure message to the server, so that other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system stops sending the awakening command to the target terminal equipment.
In an optional embodiment, the step of sending the wake-up command to the target terminal device includes:
receiving a synchronization control instruction sent by a server based on a clock synchronization protocol;
and according to the synchronous control instruction, sending a wake-up command to the target terminal equipment together with other wireless access equipment which receives the wake-up request of the terminal equipment.
It should be noted that, for the technical details related to the embodiments of the data transmission method for the wireless access device, reference may be made to the description in the related embodiments of the data transmission system, which is not described herein again, and in addition, some technical details of the wireless access device in the data transmission system are not mentioned in the embodiments of the data transmission method for the wireless access device, but these contents may also be applied to the embodiments of the data transmission method for the wireless access device, which should not cause a loss of the protection scope of the present application.
Fig. 5 is a schematic structural diagram of a server according to yet another embodiment of the present application. As shown in fig. 5, the server includes a memory 50, a processor 51, and a communication component 52.
A processor 51 coupled to the memory 50 and the communication component 52 for executing computer programs in the memory for:
receiving a terminal device wake-up request sent by the server through the communication component 52, where the wake-up request includes an identifier of a target terminal device and target data;
sending a wake-up command to the target terminal device via the communication component 52 based on the identity of the target terminal device;
if the wireless access device successfully awakens the target terminal device in the periodically appearing interception time slot of the target terminal device, the target data is sent to the target terminal device through the communication component 52; and when it is confirmed that the target terminal device successfully receives the target data, a data transmission success message is sent to the server through the communication component 52, so that the server controls other wireless access devices in the data transmission system, which receive the terminal device wake-up request, to stop sending the wake-up command to the target terminal device.
In an alternative embodiment, the target data is a sequence of data packets; the processor 51, when sending the target data to the target terminal device, is configured to:
and for each data packet to be sent in the data packet sequence, if a successful receiving notice returned by the target terminal equipment for the last data packet of the data packet to be sent is received, sending the data packet to be sent to the target terminal equipment until all the data packets in the data packet sequence are sent to the target terminal equipment.
In an alternative embodiment, the processor 51 is further configured to:
if receiving the abnormal receiving notification sent by the target terminal equipment in the process of sending the target data to the target terminal equipment, stopping continuously sending the target data to the target equipment, and sending a data transmission failure message to the server, so that other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system stops sending the awakening command to the target terminal equipment.
In an alternative embodiment, the processor 51, when sending the wake-up command to the target terminal device, is configured to:
receiving, by the communication component 52, a synchronization control instruction issued by the server based on the clock synchronization protocol;
and according to the synchronous control instruction, sending a wake-up command to the target terminal equipment together with other wireless access equipment receiving the terminal equipment wake-up request.
Further, as shown in fig. 5, the wireless access device further includes: power supply components 53, and the like. Only some of the components are schematically shown in fig. 5, and the wireless access device is not meant to include only the components shown in fig. 5.
It should be noted that, for the technical details related to the embodiments applicable to the wireless access device, reference may be made to the description in the related embodiments of the data transmission system in the foregoing, and details are not repeated herein, and in addition, some technical details of the wireless access device are not mentioned in the embodiments applicable to the wireless access device, but these contents may also be applied to the embodiments applicable to the wireless access device, which should not cause a loss of the protection scope of the present application.
Accordingly, the present application further provides a computer-readable storage medium storing a computer program, where the computer program is capable of implementing the steps that can be executed by the wireless access device in the foregoing method embodiments when executed.
The memories of fig. 3 and 5 are used to store, among other things, computer programs and may be configured to store various other data to support the operations on the server. Examples of such data include instructions for any application or method operating on the server, contact data, phonebook data, messages, pictures, videos, and the like. The memory may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Wherein the communication components of fig. 3 and 5 are configured to facilitate wired or wireless communication between the device in which the communication components are located and other devices. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component may be implemented based on Near Field Communication (NFC) technology, radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, or other technologies to facilitate short-range communications.
The power supply components of fig. 3 and 5, among other things, provide power to the various components of the device in which the power supply components are located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus comprising the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.
Claims (23)
1. A data transmission system is characterized by comprising a plurality of terminal devices, a plurality of wireless access devices and a server;
the server is used for determining target terminal equipment from a plurality of terminal equipment; adopting single available wireless access equipment to carry out awakening test on the target terminal equipment so as to obtain the reference success rate of awakening the target terminal equipment in a single awakening period, wherein the single awakening period comprises one interception time slot; determining an expected success rate of awakening the target terminal equipment in a single awakening period according to the time delay parameter of data transmission; determining the number N of target wireless access devices according to the reference success rate and the expected success rate, wherein N is an integer greater than 1; selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device based on the number N of the target wireless access devices, and issuing target data to the plurality of target wireless access devices;
the target wireless access devices are used for sending a wake-up command to the target terminal device so as to wake up the target terminal device at the periodically appeared interception time slot of the target terminal device and sending the target data to the target terminal device after the target terminal device is successfully woup;
the target terminal device is configured to listen to the wake-up commands issued by the target wireless access devices at periodically occurring listen time slots, enter a wake-up state according to the listen-up commands, and receive the target data during the wake-up state.
2. The system of claim 1, wherein the server is specifically configured to:
selecting at least one test wireless access device from a list of available wireless access devices for the target terminal device;
sending test data to any one of the test wireless access devices in each test period in the test period so that the test wireless access device can wake up the target terminal device, wherein the test period is equal to the wake-up period of the target terminal device;
counting the times of the target terminal equipment entering an awakening state in the testing period;
and determining the reference success rate according to the ratio of the times of the target terminal equipment entering the awakening state in the test period to the number of the test periods used in the test period.
3. The system of claim 1, wherein the server is specifically configured to:
selecting at least one test wireless access device from a list of available wireless access devices for the target terminal device;
in each test interval in the test period, sending test data to any one of the test wireless access devices for the test wireless access device to wake up the target terminal device, wherein the length of the test interval is equal to the task delay of the target terminal device when the target terminal device is successfully woken up at the next time;
determining a reference task time delay required by the target terminal equipment to be successfully awakened in the test period based on the length of each test interval;
determining an ideal task delay when the success rate of awakening the target terminal equipment in a single awakening period is 1 based on the length of at least one target test interval in which the target terminal equipment is awakened in the single awakening period in each test interval;
and determining the reference success rate according to the ratio of the ideal task delay to the reference task delay.
4. The system of claim 1, wherein the target data is a sequence of data packets;
when any one of the at least one target wireless access device sends the data to the target terminal device, the at least one target wireless access device is configured to:
and for each data packet to be sent in the data packet sequence, if a receiving success notice returned by the target terminal device for the last data packet of the data packet to be sent is received, sending the data packet to be sent to the target terminal device until all data packets in the data packet sequence are sent to the target terminal device.
5. The system of claim 4, wherein any of the at least one target wireless access device is further configured to:
when the target terminal equipment is confirmed to successfully receive the data packet sequence, sending a data transmission success message to the server;
the server is further configured to: if the data transmission success message is received in a timeout period, sending a wake-up stopping instruction to the target wireless access devices respectively so that the target wireless access devices stop sending wake-up commands to the target terminal device.
6. The system of claim 5, wherein the server is further configured to:
if the data transmission success message is not received within the timeout period, sending a wake-up stopping instruction to the target wireless access devices respectively and issuing the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal devices again.
7. The system of claim 5, wherein any of the at least one target wireless access device is further configured to:
if receiving an abnormal receiving notification sent by the target terminal equipment, sending a data transmission failure message to the server;
the server is further configured to: if the data transmission failure message is received in the timeout period, sending a wake-up stopping instruction to the target wireless access devices respectively and sending the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal devices again.
8. The system of claim 1, wherein the server is specifically configured to: simultaneously issuing the target data to the plurality of target wireless access devices; and controlling the target wireless access devices to simultaneously send the awakening command to the target terminal device based on a clock synchronization protocol.
9. A data transmission method is suitable for a server, and is characterized by comprising the following steps:
determining a target terminal device from a plurality of terminal devices;
adopting single available wireless access equipment to carry out awakening test on the target terminal equipment so as to obtain the reference success rate of awakening the target terminal equipment in a single awakening period, wherein the single awakening period comprises a monitoring time slot;
determining an expected success rate of awakening the target terminal equipment in a single awakening period according to the time delay parameter of data transmission;
determining the number N of target wireless access devices according to the reference success rate and the expected success rate, wherein N is an integer greater than 1;
selecting a plurality of target wireless access devices from a list of available wireless access devices of the target terminal device based on the number N of the target wireless access devices;
and sending target data to the target wireless access devices so that the target wireless access devices send wake-up commands to the target terminal devices, the target terminal devices are woken up in periodically appearing monitoring time slots of the target terminal devices, and the target data are sent to the target terminal devices after the target terminal devices are woken up successfully.
10. The method of claim 9, wherein performing a wake-up test on the target terminal device with a single available wireless access device to obtain a reference success rate for the target terminal device to be woken up in a single wake-up period comprises:
selecting at least one test wireless access device from a list of available wireless access devices for the target terminal device;
sending test data to any one of the test wireless access devices in each test period during the test period so that the test wireless access device can wake up the target terminal device, wherein the test period is equal to the wake-up period of the target terminal device;
counting the times of the target terminal equipment entering an awakening state in the testing period;
and determining the reference success rate according to the ratio of the number of times of the target terminal equipment entering the awakening state in the test period to the number of test cycles used in the test period.
11. The method of claim 10, wherein performing a wake-up test on the target terminal device with a single available wireless access device to obtain a reference success rate for the target terminal device to be woken up in a single wake-up period comprises:
selecting at least one test wireless access device from a list of available wireless access devices for the target terminal device;
in each test interval in the test period, sending test data to any one of the test wireless access devices for the test wireless access device to wake up the target terminal device, wherein the length of the test interval is equal to the task delay of the target terminal device when the target terminal device is successfully woken up at the next time;
determining a reference task time delay required by the target terminal equipment to be successfully awakened in the test period based on the length of each test interval;
determining an ideal task time delay when the success rate of awakening the target terminal device in a single awakening period is 1 based on the length of at least one target test interval in which the target terminal device is awakened in the single awakening period in each test interval;
and determining the reference success rate according to the ratio of the ideal task time delay to the reference task time delay.
12. The method of claim 9, further comprising:
if a data transmission success message sent by any one of the target wireless access devices is received within a timeout period, a wake-up stopping instruction is sent to the target wireless access devices respectively, so that the target wireless access devices stop sending wake-up commands to the target terminal device.
13. The method of claim 12, further comprising:
if the data transmission success message is not received within the timeout period, sending a wake-up stopping instruction to the target wireless access devices respectively and issuing the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal devices again.
14. The method of claim 12, further comprising:
if receiving a data transmission failure message sent by any one of the target wireless access devices, sending a wake-up stopping instruction to the target wireless access devices respectively and issuing the target data to the target wireless access devices again, so that the target wireless access devices send wake-up commands to the target terminal device again.
15. The method of claim 9, wherein the sending the target data to the plurality of target wireless access devices comprises: simultaneously issuing the target data to the plurality of target wireless access devices;
the method further comprises the following steps: and controlling the target wireless access devices to simultaneously send a wake-up command to the target terminal device based on a clock synchronization protocol.
16. A data transmission method is suitable for a wireless access device, wherein the wireless access device is an available wireless access device of a target terminal device, and the method comprises the following steps:
performing an awakening test on the target terminal device so that a server can obtain a reference success rate of awakening the target terminal device in a single awakening period, wherein the single awakening period comprises an interception time slot; determining an expected success rate of awakening the target terminal equipment in a single awakening period according to the time delay parameter of data transmission; determining the number N of target wireless access devices according to the reference success rate and the expected success rate, wherein N is an integer greater than 1; selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device based on the number N of the target wireless access devices, and issuing target data to the plurality of target wireless access devices;
receiving a terminal equipment awakening request sent by the server, wherein the awakening request comprises the identification of the target terminal equipment and the target data;
sending a wake-up command to the target terminal equipment based on the identification of the target terminal equipment;
if the target terminal equipment is successfully awakened in the periodically appeared interception time slot of the target terminal equipment, the wireless access equipment sends the target data to the target terminal equipment; and when the target terminal equipment is confirmed to successfully receive the target data, sending a data transmission success message to the server so as to enable other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system to stop sending the awakening command to the target terminal equipment.
17. The method of claim 16, wherein the target data is a sequence of data packets; the sending the target data to the target terminal device includes:
and for each data packet to be sent in the data packet sequence, if a receiving success notice returned by the target terminal device for the last data packet of the data packet to be sent is received, sending the data packet to be sent to the target terminal device until all data packets in the data packet sequence are sent to the target terminal device.
18. The method of claim 16, further comprising:
if receiving an abnormal receiving notification sent by the target terminal equipment in the process of sending the target data to the target terminal equipment, stopping sending the target data to the target equipment, and sending a data transmission failure message to the server, so that other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system stops sending the awakening command to the target terminal equipment.
19. The method of claim 16, wherein the sending a wake-up command to the target end device comprises:
receiving a synchronization control instruction sent by the server based on a clock synchronization protocol;
and according to the synchronous control instruction, sending the awakening command to the target terminal equipment together with other wireless access equipment receiving the terminal equipment awakening request.
20. A server comprising a memory, a processor, and a communication component;
the memory is to store one or more computer instructions;
the processor is coupled with the memory and the communication component for executing the one or more computer instructions for:
determining a target terminal device from a plurality of terminal devices;
adopting single available wireless access equipment to carry out awakening test on the target terminal equipment so as to obtain the reference success rate of awakening the target terminal equipment in a single awakening period, wherein the single awakening period comprises a monitoring time slot;
determining an expected success rate of awakening the target terminal equipment in a single awakening period according to the time delay parameter of data transmission;
determining the number N of target wireless access devices according to the reference success rate and the expected success rate, wherein N is an integer greater than 1;
selecting a plurality of target wireless access devices from a list of available wireless access devices of the target terminal device based on the number N of the target wireless access devices;
and sending target data to the target wireless access devices so that the target wireless access devices send wake-up commands to the target terminal devices, the target terminal devices are woken up in periodically appearing monitoring time slots of the target terminal devices, and the target data are sent to the target terminal devices after the target terminal devices are woken up successfully.
21. A wireless access device, comprising a memory, a processor and a communication component, wherein the wireless access device is an available wireless access device of a target terminal device;
the memory is to store one or more computer instructions;
the processor is coupled with the memory and the communication component for executing the one or more computer instructions for:
performing wake-up test on target terminal equipment to enable a server to obtain a reference success rate of the target terminal equipment being awakened in a single wake-up period, wherein the single wake-up period comprises a listening time slot; determining an expected success rate of awakening the target terminal equipment in a single awakening period according to the time delay parameter of data transmission; determining the number N of target wireless access devices according to the reference success rate and the expected success rate, wherein N is an integer greater than 1; selecting a plurality of target wireless access devices from an available wireless access device list of the target terminal device based on the number N of the target wireless access devices, and issuing target data to the plurality of target wireless access devices;
receiving a terminal equipment awakening request sent by a server through the communication assembly, wherein the awakening request comprises an identification of target terminal equipment and target data;
sending a wake-up command to the target terminal device through the communication component based on the identification of the target terminal device;
if the target terminal equipment is successfully awakened by the wireless access equipment in the periodically appeared interception time slot of the target terminal equipment, the target data is sent to the target terminal equipment through the communication component; and when the target terminal equipment is confirmed to successfully receive the target data, sending a data transmission success message to the server through the communication assembly, so that other wireless access equipment which receives the terminal equipment awakening request in the server control data transmission system stops sending the awakening command to the target terminal equipment.
22. A computer-readable storage medium storing computer instructions which, when executed by one or more processors, cause the one or more processors to perform the data transmission method of any one of claims 9-15.
23. A computer-readable storage medium storing computer instructions, which when executed by one or more processors, cause the one or more processors to perform the data transmission method of any one of claims 16-19.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910134398.0A CN111615117B (en) | 2019-02-22 | 2019-02-22 | Data transmission method, device, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910134398.0A CN111615117B (en) | 2019-02-22 | 2019-02-22 | Data transmission method, device, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111615117A CN111615117A (en) | 2020-09-01 |
CN111615117B true CN111615117B (en) | 2023-03-07 |
Family
ID=72199885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910134398.0A Active CN111615117B (en) | 2019-02-22 | 2019-02-22 | Data transmission method, device, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111615117B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112584360B (en) * | 2020-12-06 | 2022-02-01 | 广州技象科技有限公司 | Networking transmission method, device, equipment and storage medium based on data time delay |
CN112291270B (en) * | 2020-12-08 | 2021-03-12 | 北京和利时***工程有限公司 | Data transmission method and device |
CN114158068B (en) * | 2021-11-26 | 2023-06-16 | 中国联合网络通信集团有限公司 | Method and device for data transmission in private network |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108024211B (en) * | 2016-11-04 | 2020-12-11 | 中兴通讯股份有限公司 | Equipment awakening method and equipment |
CN109151959B (en) * | 2017-06-28 | 2021-02-12 | 华为技术有限公司 | Wireless communication method and wireless communication device |
-
2019
- 2019-02-22 CN CN201910134398.0A patent/CN111615117B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111615117A (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111615117B (en) | Data transmission method, device, system and storage medium | |
US10681632B2 (en) | System and method for low power signaling in a wireless local area network | |
US20150029917A1 (en) | Apparatus and method for controlling multi-carrier supporting operation | |
US10645670B2 (en) | Method and device for instructing a user equipment to monitor a downlink information | |
KR101828295B1 (en) | Terminal and method for managing application thereof | |
US10075409B2 (en) | Terminal and application synchronization method therefor | |
US11382060B2 (en) | Method and system for paging user equipment | |
US20170374623A1 (en) | Managing Power Resources of an Internet of Everything (IoE) Device | |
US20130055273A1 (en) | Terminal and application management method thereof | |
CN107113879A (en) | System and method for the discontinuous operation of wireless device | |
US20230007590A1 (en) | Communication method and apparatus | |
EP3926467A1 (en) | Application control method and apparatus, terminal, and computer-readable storage medium | |
JP2018520566A (en) | Paging method, user equipment, base station, and core network device | |
CN110572420B (en) | Method, device and storage medium for distributing, forwarding and processing task information | |
US9066294B2 (en) | Real time event-driven automation for energy management in a wireless network | |
US9106320B1 (en) | Node synchronization in a frequency hopping wireless network | |
JP2018528680A (en) | Anchor master AM management method and node | |
US20190182774A1 (en) | Communicating timing information for a next dio transmission | |
CN108141907B (en) | Method for controlling sleep mode of communication module of terminal through terminal and server | |
JP6703938B2 (en) | Signal transmission method, signal transmission device, and storage medium | |
CN114363832B (en) | Information sending method, radio frequency tag, radio frequency system and storage medium | |
JP2019134458A (en) | Anchor master AM management method and node | |
CN112752356A (en) | Discontinuous reception configuration method, device, base station, terminal and storage medium | |
US12032429B2 (en) | Application program freezing control method and apparatus, terminal, and readable storage medium | |
KR101376299B1 (en) | Apparatus for recovering beacon frame in beacon-based wireless network and method thereof |
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 |