CN113473539A - Data transmission method and electronic equipment - Google Patents
Data transmission method and electronic equipment Download PDFInfo
- Publication number
- CN113473539A CN113473539A CN202110601477.5A CN202110601477A CN113473539A CN 113473539 A CN113473539 A CN 113473539A CN 202110601477 A CN202110601477 A CN 202110601477A CN 113473539 A CN113473539 A CN 113473539A
- Authority
- CN
- China
- Prior art keywords
- indication information
- access point
- wireless access
- frame
- service data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 136
- 230000005540 biological transmission Effects 0.000 title claims abstract description 81
- 238000004891 communication Methods 0.000 claims abstract description 67
- 230000004044 response Effects 0.000 claims description 107
- 239000000523 sample Substances 0.000 claims description 49
- 230000015654 memory Effects 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 238000007726 management method Methods 0.000 description 70
- 238000013461 design Methods 0.000 description 28
- 238000005516 engineering process Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 13
- 230000003993 interaction Effects 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 238000001514 detection method Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010791 quenching Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
- H04W28/12—Flow control between communication endpoints using signalling between network elements
-
- 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 application provides a data transmission method and electronic equipment, and relates to the technical field of communication. The data transmission method comprises the following steps: under the condition that the first equipment meets the set condition, the first equipment sends first indication information to the wireless access point; the first indication information comprises an identifier indicating application of a low-delay service; the wireless access point receives third service data sent by the first equipment and receives fourth service data sent by the second equipment; the wireless access point sends the third service data according to a second preset mode and sends the fourth service data according to the first preset mode; the transmission priority of the second preset mode is higher than that of the first preset mode. The first equipment can acquire the network resources in time according to actual service requirements, and the data transmission timeliness of the electronic equipment is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method and an electronic device.
Background
With the development of network communication technology, real-time applications (i.e., applications with high requirements on data transmission timeliness) are increasing, and users using the real-time applications are also increasing. Therefore, users have increasingly stringent requirements for data transmission in communication networks.
However, when multiple devices access the same Wireless access point, such as an access point based on Wireless-Fidelity (Wi-Fi) technology, the access point allocates air interface resources to the devices in a first-come first-serve manner. This may cause the device to be unable to request network resources in time according to actual service requirements, and further unable to meet low-latency service requirements of the device.
Disclosure of Invention
The embodiment of the application provides a data transmission method and electronic equipment, and under the condition that a set condition is met, indication information indicating activation of a low-delay characteristic is initiated to a wireless access point, and the wireless access point is indicated to send out service data of the electronic equipment preferentially. The electronic equipment can acquire the network resources in time according to actual service requirements, and the data transmission timeliness of the electronic equipment is improved.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a data transmission system, where the data transmission system includes a wireless access point, and a first device and a second device that access the wireless access point, and the method includes: the wireless access point receives first service data sent by the first equipment and receives second service data sent by the second equipment; the wireless access point sends the first service data and the second service data according to a first preset mode; the method comprises the steps that under the condition that the first equipment meets set conditions, the first equipment sends first indication information to the wireless access point; the first indication information comprises an identifier indicating application of a low-delay service; the wireless access point receives third service data sent by the first equipment and receives fourth service data sent by the second equipment; the wireless access point sends the third service data according to a second preset mode and sends the fourth service data according to the first preset mode; the transmission priority of the second preset mode is higher than that of the first preset mode.
In the above embodiment, before the first device sends the first indication information, the wireless access point processes the service data sent by the first device and the second device according to the first preset mode. After the first device sends the first indication information, the wireless access point transmits the service data of the first device by adopting a second preset mode with higher priority, and continues to transmit the service data of the second device by adopting the first preset mode. Because the transmission priority of the second preset mode is higher than that of the first preset mode, under the condition that a plurality of devices are accessed to the wireless access point, the service data of the first device can be sent out before the service data of other devices, the data transmission waiting time of the first device can be reduced, and the data transmission timeliness of the first device is improved.
Illustratively, the first indication information is a management frame, and an identifier indicating that the low latency service is applied is included in a reserved information element of the first indication information; or, the first indication information is a control frame, the control frame includes a frame entity byte, and the indication for applying for the low latency service includes the frame entity byte.
In addition, the setting condition may indicate that the first device has a low-latency service requirement, and the first device determines whether to send the first indication information to the wireless access point by determining whether the first device meets the setting condition. Therefore, according to the actual service requirement of the first equipment, the transmission timeliness of the service data of the first equipment is improved.
With reference to the first aspect, in a possible design manner, the first indication information further includes an identifier of the first application; the third service data is service data of the first application; after the first device sends the first indication information to the wireless access point, the method further comprises: the wireless access point receives fifth service data sent by the first equipment, wherein the fifth service data is service data of a second application in the first equipment; and the wireless access point sends the fifth service data according to the first preset mode.
Illustratively, the first application is a real-time application in the first device, and the second application is a non-real-time application in the first device.
In the above embodiment, the service data with a low latency requirement, such as the third service data, sent by the first device to the wireless access point is sent in the second preset manner, and the service data without a low latency requirement, such as the fifth service data, sent by the first device to the wireless access point is still sent in the first preset manner. The first device is prevented from occupying transmission resources for a long time and unnecessarily and influencing the sending of the fourth service data.
With reference to the first aspect, in a possible design manner, the first indication information is a management frame, and the identifier of the first application is included in a reserved information element of the first indication information; or, the first indication information is a control frame, and the identifier of the first application is included in the frame entity byte.
With reference to the first aspect, in a possible design manner, the sending, by the wireless access point, the third service data according to a second preset manner, and sending the fourth service data according to the first preset manner includes: the wireless access point stores the third service data to a first queue and stores the fourth service data to a second queue; the transmission priority of the first queue is higher than the transmission priority of the second queue; and the wireless access point sends the third service data in the first queue, and sends the fourth service data in the second queue after the third service data is sent out.
In the above embodiment, since the third traffic data is stored in the first queue, the wireless access point preferentially transmits the data in the first queue at the same time. That is, after there is no data in the first queue, the data stored in the second queue is sequentially transmitted. Thereby, it is ensured that the traffic data (e.g. the fourth traffic data) stored in the second queue does not affect the transmission of the third traffic data.
In some possible embodiments, the first preset manner may be: when the service data which need to be sent through the first preset mode does not exist, the wireless access point sends the service data which need to be sent through the first preset mode in sequence according to the receiving sequence.
For example, the wireless access point receives the service data b first and then receives the service data a. When no service data which needs to be sent in the first preset mode exists, the wireless access point sends the service data b first and then sends the service data a.
In some possible embodiments, the first preset manner may be: when no service data which needs to be sent in the first preset mode exists, the wireless access point sends out the service data which needs to be sent in the first preset mode in sequence according to the preset service priority.
The preset service priority may be a priority configured for different types of services in advance. That is, the wireless access point may first identify the service type corresponding to the service data, then determine the priority corresponding to the service type, and finally rank the service data according to the priority to send out the service data.
For example, the service priority of the service data a is higher than that of the service data b, and when there is no service data that needs to be sent in the first preset mode, the wireless access point sends the service data a first and then sends the service data b.
With reference to the first aspect, in a possible design manner, after the first device sends the first indication information to the wireless access point, the method further includes: the wireless access point sends first response information to the first equipment; wherein the first response information includes an identifier indicating that the low latency service application was successful.
With reference to the first aspect, in one possible design manner, the method further includes: sending second indication information to the first equipment under the condition that the network of the wireless access point is abnormal; the second indication information is a management frame, and a reserved information element of the second indication information comprises an identifier indicating switching of a communication channel; or, the second indication information is a control frame, the second indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating switching of a communication channel.
In the embodiment, the first device can be timely notified to switch the communication channel, and the influence of the network abnormality on the third service data is improved.
With reference to the first aspect, in one possible design manner, the method further includes: after the first equipment switches the communication channel, the first equipment sends second response information to the wireless access point; wherein the second response information comprises an identifier indicating that channel switching is successful; under the condition that the network of the wireless access point is recovered to be normal, third indication information is sent to the first equipment; the third indication information is a management frame, and a reserved information element of the third indication information comprises an identifier indicating access to the wireless access point; or, the third indication information is a control frame, the third indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating access to the wireless access point.
With reference to the first aspect, in a possible design manner, before the first device sends the first indication information to the wireless access point, the method further includes: the wireless access point broadcasts a Beacon frame; wherein the vendor specific field of the beacon frame includes an identification indicating that a low latency characteristic is supported.
In the above embodiments, the wireless access point may effectively inform the first device and the second device that the wireless access point supports the low latency feature so that the first device and the second device decide whether to initiate the low latency service.
With reference to the first aspect, in a possible design manner, before the first device sends the first indication information to the wireless access point, the method further includes: the first device sends a probe request frame to the wireless access point; the wireless access point responds to the probe request frame and sends a probe response frame to the first equipment; wherein the vendor specific field of the probe response frame includes an identifier indicating that a low latency characteristic is supported.
In the above embodiments, the wireless access point may effectively inform the first device that the wireless access point supports the low latency feature so that the first device decides whether to initiate the low latency service.
With reference to the first aspect, in a possible design manner, before the first device sends the first indication information to the wireless access point, the method further includes: the first equipment sends fourth indication information to the wireless access point; the fourth indication information is a management frame, and a reserved information element of the fourth indication information includes an identifier indicating a registration low-latency characteristic; or, the fourth indication information is a control frame, the fourth indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating a registration low-latency characteristic; the wireless access point sends fourth response information to the first equipment; the fourth response information includes an identifier indicating that the registration of the low latency characteristic is successful.
With reference to the first aspect, in one possible design manner, the method further includes: under the condition that the first equipment does not meet the set condition, the first equipment sends fifth indication information to the wireless access point; the fifth indication information is a management frame, and a reserved information element of the fifth indication information includes an identifier indicating to close a low-latency service; the fifth indication information is a control frame, the fifth indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating to close the low-latency service; the wireless access point receives sixth service data sent by the first equipment; and the wireless access point responds to the fifth indication information, and the wireless access point sends the sixth service data according to the first preset mode.
With reference to the first aspect, in one possible design manner, the manner in which the first device satisfies the setting condition includes one or more of the following combinations: the first application of the first device is started to run; the equipment temperature of the first equipment exceeds a preset temperature value; the real-time electric quantity of the first equipment is lower than a preset electric quantity value;
the manner in which the first device does not satisfy the set condition includes a combination of one or more of: the first application of the first device stops running; the equipment temperature of the first equipment does not exceed a preset temperature value; the real-time electric quantity of the first equipment is not lower than a preset electric quantity value.
In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a wireless access point; the method comprises the following steps: the wireless access point receives first indication information sent by electronic equipment; the first indication information comprises an identifier indicating application of a low-delay service; the wireless access point receives third service data sent by the electronic equipment; fourth service data to be transmitted in the wireless access point; and the wireless access point preferentially sends the third service data compared with the fourth service data.
Illustratively, the first indication information is a management frame, and an identifier indicating that the low latency service is applied is included in a reserved information element of the first indication information; or, the first indication information is a control frame, the control frame includes a frame entity byte, and the indication for applying for the low latency service includes the frame entity byte.
As an implementation manner, the wireless access point preferentially sends the third service data compared with the fourth service data, and may send the fourth service data in a first preset manner and send the third service data in a second preset manner.
With reference to the second aspect, in a possible design manner, the first indication information further includes an identifier of the first application; the third service data is service data of the first application.
With reference to the second aspect, in a possible design manner, the first indication information is a management frame, and the identifier of the first application is included in a reserved information element of the first indication information; or,
the first indication information is a control frame, and the identifier of the first application is included in the frame entity byte.
With reference to the second aspect, in a possible design manner, the sending, by the wireless access point, the third service data preferentially over the fourth service data includes:
the wireless access point stores the third service data to a first queue; the fourth service data is stored in a second queue, and the transmission priority of the first queue is higher than that of the second queue;
and the wireless access point sends the third service data in the first queue, and sends the fourth service data in the second queue after the third service data is sent out.
With reference to the second aspect, in a possible design manner, after the wireless access point receives the first indication information sent by the electronic device, the method further includes:
the wireless access point sends first response information to the electronic equipment; wherein the first response information includes an identifier indicating that the low latency service application was successful.
With reference to the second aspect, in one possible design manner, the method further includes:
sending second indication information to the electronic equipment under the condition that the network of the wireless access point is abnormal;
the second indication information is a management frame, and a reserved information element of the second indication information comprises an identifier indicating switching of a communication channel; or, the second indication information is a control frame, the second indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating switching of a communication channel.
With reference to the second aspect, in one possible design manner, the method further includes:
the wireless access point receives second response information sent by the electronic equipment; wherein the second response information comprises an identifier indicating that channel switching is successful;
under the condition that the network of the wireless access point is recovered to be normal, third indication information is sent to the electronic equipment;
the third indication information is a management frame, and a reserved information element of the third indication information comprises an identifier indicating access to the wireless access point; or, the third indication information is a control frame, the third indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating access to the wireless access point.
With reference to the second aspect, in a possible design manner, before the wireless access point receives the first indication information sent by the electronic device, the method further includes:
the wireless access point broadcasts a Beacon frame; wherein the vendor specific field of the beacon frame includes an identification indicating that a low latency characteristic is supported.
With reference to the second aspect, in a possible design manner, before the wireless access point receives the first indication information sent by the electronic device, the method further includes:
the wireless access point receives a probe request frame sent by the electronic equipment;
the wireless access point responds to the probe request frame and sends a probe response frame to the electronic equipment; wherein the vendor specific field of the probe response frame includes an identifier indicating that a low latency characteristic is supported.
With reference to the second aspect, in a possible design manner, before the wireless access point receives the first indication information sent by the electronic device, the method further includes:
the wireless access point receives fourth indication information sent by the electronic equipment; the fourth indication information is a management frame, and a reserved information element of the fourth indication information includes an identifier indicating a registration low-latency characteristic;
or, the fourth indication information is a control frame, the fourth indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating a registration low-latency characteristic;
the wireless access point sends fourth response information to the electronic equipment; the fourth response information includes an identifier indicating that the registration of the low latency characteristic is successful.
With reference to the second aspect, in one possible design manner, the method further includes:
the wireless access point receives fifth indication information sent by the electronic equipment; the fifth indication information is a management frame, and a reserved information element of the fifth indication information includes an identifier indicating to close a low-latency service; the fifth indication information is a control frame, the fifth indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating to close the low-latency service;
the wireless access point receives sixth service data sent by the electronic equipment;
and the wireless access point responds to the fifth indication information, and the wireless access point sends the sixth service data according to the first preset mode.
In a third aspect, an embodiment of the present application provides a data transmission method, which is applied to an electronic device, and the method includes:
under the condition that the electronic equipment meets set conditions, first indication information is sent to the wireless access point; the first indication information comprises an identifier indicating application of a low-delay service;
the electronic equipment receives first response information sent by the wireless access point; wherein the first response information comprises an identifier indicating that the low-latency service application is successful;
and the electronic equipment sends third service data to the wireless access point.
With reference to the third aspect, in a possible design manner, the first indication information further includes an identifier of the first application; the third service data is service data of the first application;
the first indication information is a management frame, and the identifier of the first application and the identifier indicating the application of the low-latency service are included in a reserved information element of the first indication information; or,
the first indication information is a control frame, the control frame includes a frame entity byte, and the identifier of the first application and the identifier indicating the application for the low latency service are included in the frame entity byte.
With reference to the third aspect, in one possible design manner, the method further includes:
under the condition that the electronic equipment receives second indication information sent by the wireless access point, switching a communication channel for sending the third service;
the second indication information is a management frame, and a reserved information element of the second indication information comprises an identifier indicating switching of a communication channel; or, the second indication information is a control frame, the second indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating switching of a communication channel;
under the condition that the electronic equipment is successfully switched, sending the second response information to the wireless access point; wherein the second response information comprises an identifier indicating that channel switching is successful;
sending the second response information to the wireless access point under the condition that the electronic equipment fails to switch; wherein the second response information comprises an identifier indicating channel switching failure and a failure reason error code.
With reference to the third aspect, in one possible design manner, the method further includes:
the electronic equipment receives third indication information sent by the wireless access point;
the third indication information is a management frame, and a reserved information element of the third indication information comprises an identifier indicating access to the wireless access point; or, the third indication information is a control frame, the third indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating to access the wireless access point;
and the electronic equipment transmits the third service data through a communication channel provided by the wireless access point.
With reference to the third aspect, in a possible design manner, before the electronic device sends the first indication information to the wireless access point, the method further includes:
the electronic equipment receives the Beacon frame broadcast by the wireless access point; wherein a vendor specific field of the beacon frame includes an identification indicating support of a low latency characteristic;
after the electronic equipment accesses the wireless access point, sending fourth indication information to the wireless access point; the fourth indication information is a management frame, and a reserved information element of the fourth indication information includes an identifier indicating a registration low-latency characteristic; or, the fourth indication information is a control frame, the fourth indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating a registration low-latency characteristic.
With reference to the third aspect, in a possible design manner, before the electronic device sends the first indication information to the wireless access point, the method further includes:
the electronic equipment sends a probe request frame to the wireless access point;
the electronic equipment receives a probe response frame sent by the wireless access point; wherein a vendor-specific field of the probe response frame includes an identifier indicating that a low latency characteristic is supported;
after the electronic equipment accesses the wireless access point, sending fourth indication information to the wireless access point; the fourth indication information is a management frame, and a reserved information element of the fourth indication information includes an identifier indicating a registration low-latency characteristic; or, the fourth indication information is a control frame, the fourth indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating a registration low-latency characteristic.
With reference to the third aspect, in one possible design manner, the method further includes:
under the condition that the electronic equipment meets the set condition, the electronic equipment sends fifth indication information to the wireless access point; the fifth indication information is a management frame, and a reserved information element of the fifth indication information includes an identifier indicating to close a low-latency service; the fifth indication information is a control frame, the fifth indication information includes a frame entity byte, and the frame entity byte includes an identifier indicating to close the low latency service.
With reference to the third aspect, in one possible design manner, the manner in which the electronic device satisfies the setting condition includes one or more of the following combinations:
the first application of the electronic equipment is started to run;
the equipment temperature of the electronic equipment exceeds a preset temperature value;
the real-time electric quantity of the electronic equipment is lower than a preset electric quantity value;
the mode that the electronic equipment does not meet the set condition comprises one or more of the following combinations:
the first application of the electronic device stops running;
the equipment temperature of the electronic equipment does not exceed a preset temperature value;
the real-time electric quantity of the electronic equipment is not lower than a preset electric quantity value.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes one or more processors and one or more memories; the one or more memories are coupled to the one or more processors for storing computer program code comprising computer instructions which, when executed by the one or more processors, implement the method of any one of the second aspects or possible implementations of the second aspect; or implementing the method according to any of the third aspect or possible implementations of the third aspect.
In a fifth aspect, embodiments of the present application provide a computer storage medium, which includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method according to the second aspect or any one of the possible implementation manners of the second aspect; or cause the electronic device to perform the method of any of the third aspect or possible implementations of the third aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to execute the method according to the first aspect or any one of the possible implementation manners of the first aspect; or implementing a method as set forth in the second aspect or any of its possible implementations; or implementing the method according to any of the third aspect or possible implementations of the third aspect.
It is to be understood that the electronic device according to the fourth aspect, the computer storage medium according to the fifth aspect, and the computer program product according to the sixth aspect are all configured to execute the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device according to the fourth aspect can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Drawings
FIG. 1 is a schematic diagram of a station supporting Wi-Fi technology accessing a wireless access point supporting Wi-Fi technology;
fig. 2 is an exemplary diagram of a transmission sequence of service data of each access device by a router when the router is accessed in the manner shown in fig. 1;
fig. 3 is a signaling interaction diagram of a data transmission method according to an embodiment of the present application;
fig. 4 is an exemplary diagram of a sending sequence of service data of each access device by a router after the data transmission method shown in fig. 3 is adopted;
FIG. 5 is a schematic structural diagram of a Wi-Fi device according to an embodiment of the present disclosure;
fig. 6 is a flowchart illustrating steps of a data transmission method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a beacon frame according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of indication information 2 provided in the embodiment of the present application;
fig. 9 is a second schematic structural diagram of the indication information 2 provided in the embodiment of the present application;
fig. 10 is a second flowchart illustrating steps of a data transmission method according to an embodiment of the present application;
fig. 11 is a third flowchart illustrating steps of a data transmission method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of indication information 1 provided in the embodiment of the present application;
fig. 13 is a second schematic structural diagram of the indication information 1 provided in the embodiment of the present application;
FIG. 14 is a flowchart illustrating a fourth step of a data transmission method according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of indication information 3 provided in an embodiment of the present application;
fig. 16 is a schematic view of another scenario provided in the embodiment of the present application;
fig. 17 is a schematic composition diagram of a chip system according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data transmission method which can be applied to electronic equipment based on Wi-Fi technology communication. The Wi-Fi technology is a wireless local area network technology of which the Wi-Fi alliance is established in the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard.
Illustratively, after the device 1 supporting the Wi-Fi technology accesses the device 2 supporting the Wi-Fi technology through the Wi-Fi protocol, the device 1 and the device 2 can communicate based on the Wi-Fi protocol.
It should be noted that the device 1 described in the embodiment of the present application may be an electronic device supporting Wi-Fi, and may also be referred to as a Station (STA). As an example. The device 1 may be a mobile phone, a television, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a Personal Computer (PC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), a wearable device (e.g., a smart watch), an in-vehicle computer, a game machine, a camera, a sound box, and an Augmented Reality (AR) \\ Virtual Reality (VR) device, and other electronic devices supporting Wi-Fi. The embodiment of the present application does not specifically limit the specific form of the apparatus 1.
The device 2 described in this embodiment may be an electronic device having an Access Point (AP) capability, that is, an electronic device that can access a Wi-Fi network. For example, the device 2 may be a router.
Of course, in some possible embodiments, the device 2 may also be an electronic device supporting Wi-Fi direct. For example, the device 2 may also be a cell phone, a television, a tablet, a desktop, a laptop, a handheld computer, a notebook, a Personal Computer (PC), or the like.
Understandably, either AP-capable device 2 or Wi-Fi direct enabled device 2 may be referred to as a wireless access point.
Generally, the process of accessing the device 2 by the device 1 can be divided into a scanning phase, an identity authentication phase and an association phase. As an example, as shown in (a) of fig. 1, the scanning phase may be that after the device 1 sends probe request information, such as a probe request frame, to the device 2, the device 2 is triggered to send probe response information, such as a probe response frame, to the device 1. As another example, as shown in (b) of fig. 1, the scanning phase may also be that the device 2 actively sends out a Beacon frame, such as a Beacon frame. Thus, the device 1 can obtain the beacon frame sent out by the device 2 by means of scanning.
That is, in the scanning phase, the device 1 may decide whether to access the device 2 according to the received probe response frame or Beacon frame. In case the device 1 determines to access the device 2, the authentication phase is entered.
In the Authentication phase, the device 1 sends an Authentication request, such as an Authentication request frame, to the device 2 to obtain an Authentication response, such as an Authentication response frame, fed back by the device 2.
As an implementation manner, the identity authentication request carries information indicating the type of the authentication algorithm, for example, information indicating that the type of the authentication algorithm is Shared Key. In response to the authentication request, the device 2 feeds back a challenge text (challenge) to the device 1. After encrypting the challenge plaintext by using the preset key, the device 1 obtains a challenge ciphertext (Cipher text challenge), and sends the challenge ciphertext to the device 2. The device 2 decrypts the received challenge ciphertext and compares the challenge plaintext with the challenge plaintext. If they are consistent, the device 2 sends an authentication response to the device 1, thereby completing authentication.
After the identity authentication is completed, the device 1 further needs to send an association request, such as an association request frame, to the device 2. Device 2 replies an association response, e.g., an association response frame, to device 1. Device 1 can then communicate with device 2.
Of course, other Wi-Fi enabled devices may access device 2 in the same manner. Obviously, the device 2 as an AP may be accessed by a plurality of devices supporting Wi-Fi technology at the same time. However, the air interface resources (time domain resources, frequency domain resources, etc.) that can be provided by the device 2 are limited, and after multiple devices supporting the Wi-Fi technology are accessed, the air interface resources need to be sequentially allocated to each accessed device according to a polling scheduling manner. This means that after the air interface resource of the device 2 is occupied, the newly accessed device needs to wait. That is, in the case that there are multiple devices that support the Wi-Fi technology and access to the device 2, because the air interface resources of the devices 2 are insufficient, on one hand, the devices 2 cannot create Packet Data Unit (PDU) sessions for the newly accessed devices 1 in time, and on the other hand, the devices 2 cannot schedule the air interface resources to send service data to the Wi-Fi network side for the devices 1 in time, which further causes data transmission delay of the devices 1.
In this scenario, it is difficult for the device 1 to meet the data transmission requirements of the real-time class application.
As shown in fig. 2, a mobile phone (device 1), a tablet computer (other device), and a notebook computer (other device) all need to access a router (device 2) for example.
In the scenario shown in fig. 2, when the mobile phone starts a real-time application, for example, a real-time online game, data interaction, for example, transmission of service data 1, needs to be performed with the game server through the router. When the tablet computer starts the live video, a live data stream transmitted by the live server needs to be received through the router, such as transmission service data 2. When the notebook computer starts the chat application, data interaction, such as transmission of service data 3, needs to be performed with the chat server through the router. The service data is data generated by an application running in the device and to be transmitted through the device 2.
In the scenario shown in fig. 2, after the router creates a PDU session for the tablet computer, the notebook computer, and the mobile phone, the router allocates air interface resources to the service data sent by the tablet computer, the notebook computer, and the mobile phone according to a polling scheduling manner. It may happen that the time for transmitting the service data 1 is later than the service data 2 and the service data 3 by using the air interface resource.
However, from the perspective of the application run by each device, the real-time online game used by the mobile phone has a high requirement on timeliness of data transmission, and the amount of data required to be transmitted is small. The live video used by the tablet computer has a secondary requirement on timeliness of data transmission, and the data volume required to be transmitted is large. The chatting application which is needed to be used by the notebook computer has low requirement on timeliness of data transmission.
That is, in the related art, the low-latency service requirement of the real-time application running in the mobile phone is not guaranteed. For example, the mobile phone has a serious time delay, so that the real-time online game cannot be started normally, and the use experience of the user is influenced.
In order to solve the above problem, an embodiment of the present application provides a data transmission method. The method comprises the following steps: after the device 1 accesses the device 2, the device 1 requests the device 2 to start a low-latency service, and the data transmission priority of the device 1 can be improved through the low-latency service. Therefore, the device 2 is prompted to preferentially create the PDU session for the device 1 and preferentially send out the service data of the device 1, thereby avoiding the problem of data transmission delay of the device 1.
Exemplarily, as shown in fig. 3, in case that a first STA (i.e., device 1) and a second STA access an AP (i.e., device 2), the first STA, the second STA and the AP constitute a data transmission system. If the first STA sends indication information 1 to the AP, it is also referred to as first indication information. The indication information 1 is used to indicate to start the low latency service. In the case where the AP supports the low latency characteristic and is capable of providing the low latency service to the first STA, the AP may provide the low latency service to the first STA. During the low-delay service period, even if the AP receives the service data of the second STA first, the AP preferentially uses the air interface resource to send out the service data sent by the first STA. Therefore, the waiting time of the device 1 is reduced, and the transmission time consumption of the service data of the device 1 is shortened. Thus, the timeliness of data transmission of the apparatus 1 is improved.
For example, in the case where a tablet computer, a notebook computer, and a mobile phone access a router in sequence, as shown in fig. 4, when the mobile phone (a first STA) applies for the low latency service, and the tablet computer and the notebook computer (a second STA) do not apply for the low latency service, the transmission priority of the service data 1 in the router is higher than that of the service data 2 and the service data 3. Therefore, the router can preferentially utilize the air interface resource to transmit the service data 1, and the problem of data transmission delay of the mobile phone is solved. The use experience of the user is improved.
In some embodiments, before the first STA transmits the indication information 1, in the same period, the traffic data transmitted by the first STA to the AP may be referred to as first traffic data, and the traffic data transmitted by the second STA to the AP may be referred to as second traffic data. After the first STA transmits the indication information 1, the traffic data transmitted by the first STA to the AP in the same period may be referred to as third traffic data. In some embodiments, the third traffic data may refer to all traffic data transmitted by the first STA to the AP. In other embodiments, the third traffic data may refer to traffic data of the real-time class application transmitted by the first STA to the AP. The traffic data transmitted by the second STA to the AP may be referred to as fourth traffic data. In addition, the fourth traffic data may also refer to traffic data sent by a device that does not apply for the low latency service.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 5 is a schematic structural diagram of an apparatus 1 and an apparatus 2 provided in an embodiment of the present application. For convenience of description, the device 1 and the device 2 are collectively referred to as Wi-Fi devices.
As shown in fig. 5, the Wi-Fi device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to Wi-Fi devices. In other embodiments, the Wi-Fi apparatus may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
For example, in the case that the Wi-Fi device is a router, the Wi-Fi device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, and a wireless communication module 160.
For another example, in the case that the Wi-Fi device is a mobile phone, the Wi-Fi device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like.
Further, processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of a Wi-Fi device. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of a Wi-Fi device. The charging management module 140 may also provide power to the Wi-Fi device via the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the Wi-Fi device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in a Wi-Fi device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied on Wi-Fi devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to Wi-Fi devices, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves. For example, in this embodiment, the wireless communication module 160 may be configured to send a probe request frame and may also be configured to receive a probe response frame from another Wi-Fi device.
In some embodiments, antenna 1 of the Wi-Fi device is coupled to the mobile communication module 150 and antenna 2 is coupled to the wireless communication module 160 so that the Wi-Fi device can communicate with the network and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when a Wi-Fi device is in frequency point selection, a digital signal processor is used for performing Fourier transform and the like on frequency point energy.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the Wi-Fi device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the Wi-Fi device and data processing by executing instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may cause the Wi-Fi device to transmit a probe request frame and receive a probe response frame by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, a phone book and the like) created in the use process of the Wi-Fi device. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The methods in the following embodiments may be implemented in a device having the above hardware structure.
The method provided by the embodiment of the present application is described below by taking the device 1 as a mobile phone and the device 2 as a router as an example.
In an embodiment of the present application, as shown in fig. 6, the data transmission method may include the following steps:
s101, the router sends a beacon frame.
The Beacon frame is a Wi-Fi frame which is periodically sent, and is also called a Beacon frame. The router enables external devices, such as mobile phones, tablet computers, notebook computers and other devices supporting Wi-Fi functions, to discover the router by sending the beacon frame.
In some embodiments, the beacon frame may include characteristic information of the router, such as low latency characteristic information. The characteristic information may be used to indicate whether the router supports various types of characteristics, for example, may be used to indicate whether the router supports the low latency characteristic. As an example, the characteristic information indicating whether the low latency characteristic is supported or not may be included in a reserved field in the Beacon frame, for example, a vendor-specific field (vendor-specific) in the Beacon frame.
Exemplarily, refer to fig. 7, which shows a frame structure of a Beacon frame 700 provided by an embodiment of the present application. As shown in fig. 7, the Beacon frame 700 includes a frame header (i.e., MAC header) 701, a frame entity (frame body)702, and a Frame Check Sequence (FCS) field 703. The MAC header 701 is a Media Access Control (MAC) header.
The frame header 701 includes a frame Control field (frame Control), a duration (duration), an address field (address), a MAC address of a station (BSSID), a sequence Control field (sequence Control), and a high throughput Control (HT Control). The type of the frame control field is 00, and the subtype is 1000.
The frame entity (frame body)702 includes a field (field at area not information element)7021 of a non-information element and a field (field at area information element)7022 of an information element. The field 7022 of the above information element is composed of a plurality of information elements (information elements). Each of the above information elements may include an element id (element id), a Length (Length), information (information), and so on. The types of the above information elements include SSID field, supported Rates (supported Rates), extended supported Rates (extended supported Rates), and a "vendor-specific" field, etc. In some embodiments, the type to which the information element corresponds may be distinguished by the element ID of the information element.
Illustratively, an information element with an element ID of 211, i.e., a "vendor-specific" field, an information element with an element ID of 0, i.e., an "SSID" field, an information element with an element ID of 1, i.e., a "Rates" field, etc. The fields corresponding to the information elements of the other element IDs may refer to the description in the Wi-Fi protocol, and are not described herein again.
In some embodiments, the "vendor-specific" field in the beacon frame may include, in addition to the element ID, a Length, an information, and an Organization Unique Identifier (OUI). Wherein OUI is used to indicate the organization that defines this field.
As an example, the length corresponding to the above-mentioned "vendor-specific" may be 9. The information corresponding to the "vector-specific" may include a value (value), and the value may include 6 bytes. Different bytes correspond to different meanings, i.e. carry different information content.
For example, Value [0], the first byte in Value, is used to indicate the type of field. For example, Value [0] may be 0x01, indicating that the information element is a vendor-specific field. Value [1] is the second byte in Value, and 1 byte reserved for scalability, Value [1] may be set to rsv. Value [2:3], is the third and fourth byte in Value, which is used to enumerate properties. The correspondence between different property types and different values may be predefined. If 0x0001 is predefined to refer to the low latency characteristic, and the Value [2:3] corresponds to 0x0001, the enumerated characteristic is indicated as the low latency characteristic. As such, Value [2:3] may also be used to indicate enumeration of other properties when taking other values. Value [4:5], i.e., the fifth and sixth bytes in Value, is used to indicate whether enumerated properties are supported. If Value [4:5] is 0x0001, the Value is used for indicating the support of the equipment; and if Value [4:5] can be 0x0000, it is used to indicate that the device does not support. Of course, it can also be used to indicate the present device support when Value [4:5] is 0x 0000; when Value [4:5] is 0x0001, it is used to indicate that the present device does not support.
Thus, the handset can determine whether the router supports the low-latency characteristic according to the 'vendor-specific' field in the beacon frame. For example, from the vector-specific of beacon frame with element ID 221 and Value [2:3] 0x0001, identify the Value of Value [4:5], if Value [4:5] is 0x0001, then the mobile phone confirms that the router supports the low latency characteristic, and if Value [4:5] is 0x0000, then the mobile phone confirms that the router does not support the low latency characteristic.
It will be appreciated that a router supporting low latency features may provide low latency services to accessed devices. Thus, a router may notify an external device (i.e., a Wi-Fi device, such as a cell phone, that discovers the router) that the router may provide low latency services by sending a beacon frame that includes information indicating that low latency features are supported. Thus, the external device (e.g., mobile phone) can also decide whether to request the router for the low latency service.
Of course, in other embodiments, the beacon frame may not carry characteristic information indicating whether the low latency characteristic is supported. For example, in a scenario where all routers can support the low latency characteristic, a beacon frame transmitted by a router may not carry characteristic information indicating whether the low latency characteristic is supported.
And S102, the mobile phone responds to the beacon frame and sends an identity authentication request to the router.
In some embodiments, the Authentication request may be an Authentication request frame.
S103, the router sends an identity authentication response to the mobile phone.
In some embodiments, the Authentication response may be an Authentication response frame.
The above S102 and S103 may be an identity authentication link of the mobile phone access router. In some embodiments, the implementation may be in the form of a Shared key. Of course, other ways of identity authentication may be used. The implementation process may refer to related technologies and protocols, and will not be described in detail herein. In the case where the router sends an authentication response to the mobile phone to indicate that the authentication is passed, the flow proceeds to S104.
S104, the mobile phone initiates an association request to the router.
In some embodiments, the association request may be an association request frame.
S105, the router sends the association response to the mobile phone.
In some embodiments, the association response may be an association response frame.
The above S104 and S105 may be the association link of the handset access router. The implementation process may refer to related technologies and protocols, and will not be described in detail herein.
In some embodiments, in the case where a preset condition is satisfied, the flow proceeds to S106.
Illustratively, the meeting of the preset condition includes successful association between the mobile phone and the router.
Further illustratively, the meeting of the preset condition further includes that the mobile phone starts a real-time application, such as a real-time online game, after the association between the mobile phone and the router is successful.
In addition, for another example, the meeting of the preset condition further includes determining, by the mobile phone, that the router supports the low-latency characteristic.
In some embodiments, if all routers support the low latency feature by default, the handset also defaults all accessible routers to support the low latency feature, and thus, the beacon frame may not carry an identifier indicating whether the low latency feature is supported. In other embodiments, the handset may further determine whether the router supports the low latency characteristic according to the characteristic information carried in the beacon frame, and the principle may refer to the description in the foregoing embodiments. Therefore, invalid air interface interaction is reduced, and the data interaction efficiency between the mobile phone and the router is improved.
And S106, the mobile phone sends the indication information 2 to the router under the condition that the preset condition is met.
In some embodiments, the indication information 2 is also referred to as fourth indication information. The indication information 2 may be a Wi-Fi frame. Further, the indication information 2 may be used to indicate that the low latency characteristic is registered, and may be referred to as indicating that the low latency characteristic is enabled. The indication information 2 includes content for indicating registration of the low latency characteristics, and the content for indicating registration of the low latency characteristics may be stored in a reserved field of the Wi-Fi frame. The structure of the Wi-Fi frame described above may refer to the specification of the Wi-Fi protocol. The Wi-Fi frames may be classified into various types such as control frames, management frames, and data frames.
In the embodiment of the present application, the indication information 2 may be a control frame or a management frame, which is not limited to this.
Each type of Wi-Fi frame corresponds to multiple subtypes, as specified in the Wi-Fi protocol.
For example, the management frame may also include Beacon frame, Authentication request frame, Authentication response frame, association request frame, association response frame, and Reserved frame. Referring to table 1:
TABLE 1
As shown in table 1, the Subtype can indicate, by different values, which of the management frames is a Beacon frame, an Authentication request frame, an Authentication Response frame, an association request frame, an association Response frame, a protocol request frame, a Probe Response frame, or a reserved frame.
For example, when Type is 00 and Subtype is 0000, it indicates that the Wi-Fi frame is a management frame and the corresponding Subtype is Association Request frame. When the Type is 00 and the Subtype is 0001, the Wi-Fi frame is indicated as a management frame, and the corresponding Subtype is Association Response frame. When the Type is 00 and the Subtype is 1011, the Wi-Fi frame is indicated as a management frame, and the corresponding Subtype is an Authentication frame. When the Type is 00 and the Subtype is 1000, indicating that the Wi-Fi frame is a Beacon frame; when the Type is 00 and the Subtype is 1111, the Wi-Fi frame is indicated as a management frame and the corresponding Subtype is a reserved frame.
For another example, the subtype of the control frame may further include a Reserved frame, a Trigger frame, and the like. Referring to table 2:
TABLE 2
As shown in table 2, when Type is 01 and Subtype is 0000, the Wi-Fi frame is indicated as a control frame, and the corresponding Subtype is a reserved frame. When the Type is 01 and the Subtype is 0001, the Wi-Fi frame is indicated as a control frame, and the corresponding Subtype is a reserved frame. When the Type is 01 and the Subtype is 0010, the Wi-Fi frame is indicated as a control frame, and the corresponding Subtype is a trigger frame.
Of course, the control frame may also include other subtypes, which may be referred to in the specification of the Wi-Fi protocol, and will not be described herein again.
Of course, the content of the indication information 2 for indicating the low latency characteristic registration may be in the corresponding frame entity regardless of whether the indication information 2 is a control frame or a management frame.
Taking the indication information 2 as a management frame and the corresponding subtype as a reserved frame as an example, the content for indicating the registration of the low latency characteristic may be stored in the reserved information element. The reserved information element is a reserved field of the management frame, and exists in the form of an information element (information element), and the element ID of the reserved information element can refer to the Wi-Fi protocol. As shown in fig. 8, Type field of the frame header 801 corresponding to the indication information 2 is 00, and Subtype is 1111. The frame entity 802 corresponding to the indication information 2 includes reserved information elements, where:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
Frame body, databyte [2-3], for indicating the relevant matters of the enumerated characteristics, e.g., Frame body, databyte [0-1] is 0x0001 and Frame body, databyte [2-3] is 0x0001, for indicating low latency characteristic registration. Understandably, the registration of the low latency characteristic is one of the related matters of the low latency characteristic.
That is, the Frame body, databyte [0-1] is 0x0001 and the Frame body, databyte [2-3] is 0x0001 is the content of the indication information 2 for indicating the registration of the low latency characteristic.
Also, Frame body.
Of course, the detector 801 may further include: duration (duration), address field (address), MAC address of a station (BSSID), sequence Control field (sequence Control), and high throughput Control (HT Control), which will not be described in detail.
Taking the indication information 2 as a control frame and the corresponding subtype as a reserved frame as an example, the content for indicating the registration of the low latency characteristic may be stored in the frame entity 902. As shown in fig. 9, the Type field Type of the frame header 901 corresponding to the indication information 2 is 01, and Subtype is 0000. In the frame entity 902 corresponding to the indication information 2:
the Frame body.
Frame body, databyte [2-3], for indicating the relevant matters of the enumerated characteristics, e.g., Frame body, databyte [0-1] is 0x0001 and Frame body, databyte [2-3] is 0x0001, for indicating low latency characteristic registration. Understandably, the above-mentioned low latency characteristic is registered as one of the related matters of the low latency characteristic.
Also, Frame body.
S107, the router sends indication response information 2 to the mobile phone.
In some embodiments, the indication response information 2 is also referred to as fourth response information. The above indication response information 2 is used to indicate the result of the characteristic registration. The above-mentioned indication response information 2 carries a content for indicating the characteristic registration result. The indication response information 2 may also be a Wi-Fi frame, such as a control frame or a management frame. The above-described contents for indicating the feature registration result may be stored in a reserved field of the Wi-Fi frame.
The feature registration result may include a feature registration success and a feature registration failure, among others.
For example, in a case that the router turns off the low latency feature, the router may determine that the feature registration result corresponding to the mobile phone is a feature registration failure.
Further exemplarily, when the router determines that the mobile phone does not have the condition for using the low latency feature service, the router may determine that the feature registration result corresponding to the mobile phone is a feature registration failure. For example, when the mobile phone is listed in the device list that cannot use the low latency service by the router, the router may determine that the feature registration result corresponding to the mobile phone is a feature registration failure.
Further illustratively, in a case where the router turns on the low latency feature and the router determines that the mobile phone has the condition for using the low latency feature service, it may be determined that the feature registration result corresponding to the mobile phone is a feature registration success.
The indication response information 2 is also divided into registration success information and registration failure information in correspondence with the characteristic registration result.
In some embodiments, the router may send registration success information to the handset in case the feature registration result is that the feature registration is successful.
Taking the registration success information as a management frame and the corresponding subtype as a reserved frame as an example, the content for indicating the registration with low latency characteristics may be stored in the reserved information element. The Type field of the frame header corresponding to the registration success information is 00, and Subtype is 1111. The reserved information element of the frame entity corresponding to the registration success information:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
Frame body, databyte [2-3], indicating the related matters of enumerated characteristics, such as Frame body, databyte [0-1] is 0x0001 and Frame body, databyte [2-3] is 0x0002, indicating the registration result feedback of low latency characteristics. Understandably, the feedback of the registration result of the low latency characteristic is also one of the related matters of the low latency characteristic.
The Frame body, databyte [4-5] is used to indicate the actual registration result, e.g., when the Frame body, databyte [0-1] is 0x0001, the Frame body, databyte [2-3] is 0x0002, and the Frame body, databyte [4-5] is x0000, it indicates that the feature registration of low latency is successful.
That is, the Frame body, databyte [0-1] is 0x0001, the Frame body, databyte [2-3] is 0x0002, and the Frame body, databyte [4-5] is x0000 is the content in the registration success information for indicating the characteristic registration result.
Also, Frame body.
In other embodiments, when the registration success information is a control frame and the corresponding Subtype is a reserved frame, the Type field of the frame header corresponding to the registration success information is 01, and the Subtype field of the frame header corresponding to the registration success information is 0000. The registration success information belonging to the control frame is the same as the frame entity of the registration success information belonging to the management frame, and is not described herein again.
In some embodiments, in the case that the feature registration result is a feature registration failure, the router sends registration failure information to the handset.
The difference between the registration failure information and the registration success information may include: frame body. Illustratively, if the Frame body.databyte [0-1] is 0x0001, the Frame body.databyte [2-3] is 0x0002, and the Frame body.databyte [4-5] is x0000, for indicating that the registration of the characteristic for the low latency characteristic is successful, then the Frame body.databyte [0-1] is 0x0001, the Frame body.databyte [2-3] is 0x0002, and the Frame body.databyte [4-5] is x0001, for indicating that the registration of the characteristic for the low latency characteristic is failed.
That is, the Frame body, databyte [0-1] is 0x0001, the Frame body, databyte [2-3] is 0x0002, and the Frame body, databyte [4-5] is x0001, which is the content indicating the characteristic registration result in the registration failure information.
In other possible embodiments, the registration failure information may also carry a reason for the characteristic registration failure. As such, the distinction between the registration failure information and the registration success information may further include: frame body, databyte [6-7] in the Frame entity of the registration failure information is used for carrying the failure cause error code. For example, when the pre-agreed failure cause error code is 0, it indicates that the registration has failed due to the feature shutdown. For another example, when the predetermined failure cause error code is 1, it indicates that the registration has failed due to other reasons. Thus, Frame body, databyte [0-1] is 0x0001, Frame body, databyte [2-3] is 0x0002, Frame body, databyte [4-5] is x0001, and Frame body, databyte [6-7] is 0x0000, indicating that the cause of the low latency feature registration failure is feature off.
In addition, in some embodiments, the registration failure information may be a management frame, where Type is 00 and Subtype is 1111 in the Type field of the corresponding frame header. In other embodiments, the registration failure information may also be a control frame, where Type is 01 and Subtype is 0000 in the Type field of the corresponding frame header.
In some embodiments, through the above air interface interaction of S101 to S107, if the registration of the low latency feature of the mobile phone is successful, the router may preferentially create the PDU session for the mobile phone. And the time delay caused by untimely PDU session establishment is avoided.
Of course, the method shown in fig. 6 is only an example, and shows that the method provided in the embodiment of the present application is applied in a scenario where a mobile phone passively accesses a router. In other possible embodiments, the method provided by the embodiment of the present application may also be applied to a scenario in which a mobile phone actively accesses a router. That is, as shown in fig. 10, the method provided in the embodiment of the present application further includes:
s201, the mobile phone sends a detection request to the router.
In some embodiments, the Probe request may be a Probe request frame and also belong to a management frame in a Wi-Fi frame. Illustratively, when Type is 00 and Subtype is 0100, the Wi-Fi frame is also the Probe request frame. The frame header and the frame entity of the Probe request frame can be referred to the specification in the Wi-Fi protocol, and are not described herein again.
S202, responding to the detection request, the router sends a detection response to the mobile phone.
In some embodiments, the router sends a probe response to the handset in response to a probe request sent by the handset. The Probe response may be a Probe response frame, which also belongs to a management frame in the Wi-Fi frame. Illustratively, when Type is 00 and Subtype is 0101, the Wi-Fi frame is also the Probe Respons frame. Of course, unlike a conventional Probe responses frame, the Probe responses frame may indicate whether the router supports various types of features. For example, the Probe responses frame may indicate whether the router supports the low latency feature. In some embodiments, the Probe responses frame sent by the router to the handset may carry characteristic information of the router, such as low latency characteristic information. The characteristic information may be used to indicate whether the router supports various types of characteristics. In some embodiments, the property information may be included in a vendor-specific field (vendor-specific) in the Probe responses frame. The principle of configuring property information in the vector-specific of the Probe responses frame can refer to the configuration of property information in the vector-specific of the Beacon frame in the foregoing embodiment. And will not be described in detail herein.
Similarly, the handset can determine whether the router supports the low-latency characteristic according to the "vendor-specific" field of the Probe responses frame. If the Value of Value [4:5] is identified from the vector-specific with element ID 221 and Value [2:3] 0x0001 in the Probe responses frame, if the Value [4:5] is 0x0001, the mobile phone confirms that the router supports the low delay characteristic, and if the Value [4:5] is 0x0000, the mobile phone confirms that the router does not support the low delay characteristic.
S203, the mobile phone responds to the detection response and sends an identity authentication request to the router.
S204, the router sends an identity authentication response to the mobile phone.
S205, the mobile phone initiates an association request to the router.
S206, the router sends the association request to the mobile phone.
And S207, the mobile phone sends the indication information 2 to the router under the condition that the preset condition is met.
S208, the router sends the indication response information 2 to the mobile phone.
It is understood that the principle of S203 to S208 can refer to S102 to S107 in the method shown in fig. 6, and the description thereof is omitted.
In some embodiments, through the air interface interaction of S201 to S208, the router may preferentially create the PDU session for the mobile phone when the characteristic registration result is that the characteristic registration is successful. And the time delay caused by untimely PDU session establishment is avoided.
In other embodiments, after the feature registration of the low latency feature is successful, the mobile phone may further apply for the low latency service (which may also be referred to as activation of the low latency feature) according to whether the real-time class application is running. And preferentially scheduling air interface resources for the mobile phone under the condition that the low-delay service request is successful. Therefore, low-delay service facing to actual service requirements can be realized.
That is, in some embodiments, after S107 or S208, as illustrated in fig. 11, the method may further include:
s301, when the mobile phone satisfies the setting condition, the mobile phone sends instruction information 1 to the router.
Illustratively, the manner of satisfying the setting condition includes one or more of the following combinations:
(1) the mobile phone starts a first application. That is, when the first application is started, the mobile phone may be triggered to send the corresponding indication information 1 to the router.
(2) The electric quantity of the mobile phone is lower than a preset electric value. At this time, for the mobile phone, waiting for data transmission increases power consumption, and when the power of the mobile phone is low, the mobile phone can also be regarded as having a low-latency transmission requirement, and the mobile phone can send corresponding indication information 1 to the router.
(3) The temperature of the mobile phone exceeds the preset temperature, and the like.
In some embodiments, the indication information 1 may include an identifier of the first application. The first application may be an application program with a high requirement on data transmission timeliness. For example, a real-time online game with a high demand on timeliness of data transmission in a mobile phone may be the first application. The indication information 1 may be used to indicate that a low latency service is applied for the first application, so as to improve the transmission timeliness of the traffic data of the first application.
The indication information 1 may further include an identifier indicating that the low latency service is applied.
In some embodiments, the indication information 1 may be a control frame in a Wi-Fi frame or a management frame in a Wi-Fi frame. The above-mentioned identification of the first application and the identification indicating application for the low latency service may be included in a frame entity of the Wi-Fi frame. Therefore, the mobile phone sends the indication information 1 to the router, so that the priority of the first application can be applied to be improved in the router, the timeliness of data transmission of the first application is accelerated, and the actual operation requirement is met.
Taking the indication information 1 as a management frame and the corresponding subtype as a reserved frame as an example, the identifier of the first application and the identifier indicating application for the low latency service are stored in the reserved information element. As shown in fig. 12, Type field Type of the frame header 1201 corresponding to the indication information 1 is 00, and Subtype is 1111. The reserved information element in the frame entity 1202 corresponding to the indication information 1:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
Frame body, databyte [2-3] for indicating the relevant matters of the enumerated property, e.g., Frame body, databyte [0-1] is 0x0001 and Frame body, databyte [2-3] is 0x0003, indicating that a low latency service is applied. Understandably, the low latency service is a service that can be provided by a device with low latency characteristics, and therefore, the application for the low latency service is also one of the related matters of the low latency characteristics.
In addition, the Frame body, databyte [0-1] is 0x0001 and the Frame body, databyte [2-3] is 0x0003 is the identifier indicating the application for the low latency service in the indication information 1.
Databyte [4-7] for indicating the communication IP used by the first application. The communication IP belongs to one of the identifiers of the first application, and is used for the router to identify the first application. For example, the Frame body. databyte [4-7] can be 0x123456789 a.
Databyte [8-9] for indicating a port used by the first application. The port also belongs to one of the identifiers of the first application, and the data sent by the first application can be quickly identified through the communication IP and the router matched with the port. For example, Frame body. databyte [8-9] can be 0x 1234.
Also, Frame body.
Note that, when the instruction information 1 is a control frame, it is as shown in fig. 13. In the indication information 1 at this time, the type fields of the frame headers are different from those of the indication information 1 shown in fig. 12. That is, the frame header 1301 of the indication information 1 shown in fig. 13: type 01 and Subtype 0000. The included first application identifier and the identifier indicating that the low latency service is applied are both stored in the frame entity 1302 shown in fig. 13, and are not described herein again.
S302, the router feeds back indication response information 1 to the mobile phone.
In some embodiments, the indication response information 1 is also referred to as first response information. The indication response information 1 carries an identifier indicating a low-latency service application result. The indication response information 1 may be a Wi-Fi frame, for example, a control frame or a management frame. The identifier indicating the low latency service application result may also be stored in a reserved field of the Wi-Fi frame.
In addition, the low-latency service application result may include application success and application failure.
For example, when the service of the router is closed, the router may determine that the low-latency service application result corresponding to the mobile phone is application failure.
Further exemplarily, the router may determine that the low latency service application result corresponding to the mobile phone is application failure when the number of applications of the router currently providing the low latency service exceeds a preset value.
In another example, when the router further has the capability of providing the low-latency service and the service is not closed, the router may determine that the low-latency service application result corresponding to the mobile phone is successful.
The indication response information 1 may also include application success information and application failure information corresponding to the low latency service application result.
In some embodiments, in the case that the low-latency service application for the first application is successful, the router not only increases the transmission priority of the traffic data (e.g., referred to as the third traffic data) of the first application, but also sends the application success information to the handset.
Taking the application success information as a management frame and the corresponding subtype as a reserved frame as an example, the identifier indicating the low latency service application result is included in the reserved information element. The Type field of the frame header corresponding to the successful application information is 00, and Subtype is 1111. And reserving information elements in a frame entity corresponding to the application success information:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
Frame body, databyte [2-3], indicating the related matters of enumerated characteristics, such as when Frame body, databyte [0-1] is 0x0001 and Frame body, databyte [2-3] is 0x0004, indicating low latency service application result feedback. Understandably, the feedback of the low-latency service application result is also one of the related matters of the low-latency characteristic.
The Frame body, databyte [4-5] is used to indicate the actual registration result, e.g., when the Frame body, databyte [0-1] is 0x0001, the Frame body, databyte [2-3] is 0x0004, and the Frame body, databyte [4-5] is x0000, it indicates the success of the low latency service application.
It can be understood that, the Frame body, databyte [0-1] is 0x0001, the Frame body, databyte [2-3] is 0x0004, and the Frame body, databyte [4-5] is x0000, that is, the identifier indicating the low latency service application result in the application success information.
Also, Frame body.
In other embodiments, when the application success information is a control frame and the corresponding Subtype is a reserved frame, the Type field of the frame header corresponding to the application success information is 01, and the Subtype field of the frame header corresponding to the application success information is 0000. The identifier indicating the low latency service application result is contained in a Frame entity, for example, Frame body. 0x 0001. Frame body. databyte [2-3 ]: 0x 0004. Frame body. databyte [4-5 ]: x 0000. Wherein, Frame body. 0x0001, Frame body. dataByte [2-3 ]: 0x0004 indicates a low latency characteristic service application result. Frame body. databyte [4-5 ]: x0000 indicates application success.
In some embodiments, in the case that the low-latency service application for the first application fails, the router sends application failure information to the handset.
The difference between the application failure information and the application success information may include: frame body. Illustratively, if the Frame body.databyte [0-1] is 0x0001, the Frame body.databyte [2-3] is 0x0004, and the Frame body.databyte [4-5] is x0000, indicating that the low latency service application was successful, then the Frame body.databyte [0-1] is 0x0001, the Frame body.databyte [2-3] is 0x0004, and the Frame body.databyte [4-5] is x0001, indicating that the low latency service application failed.
Similarly, the Frame body, databyte [0-1] is 0x0001, the Frame body, databyte [2-3] is 0x0004, and the Frame body, databyte [4-5] is x0001, which is also the identifier indicating the low latency service application result in the application failure information.
In other possible embodiments, the application failure information may also carry a reason for the service application failure. Thus, the difference between the application failure information and the application success information may further include: frame body, databyte [6-7] in the Frame entity applying for failure information is used for carrying failure cause error codes. For example, when the predetermined failure cause error code is 0, the application fails corresponding to the service shutdown. For another example, if the predetermined failure cause error code is 1, the application fails corresponding to other reasons. Thus, a Frame body, databyte [0-1] is 0x0001, a Frame body, databyte [2-3] is 0x0004, a Frame body, databyte [4-5] is x0001, and a Frame body, databyte [6-7] is 0x0000, indicating that the reason for the failure of the low latency service application is service shutdown.
In addition, in some embodiments, the application failure information may be a management frame, where Type is 00 and Subtype is 1111 in the Type field of the corresponding frame header. In other embodiments, the application failure information may also be a management frame, where Type is 01 and Subtype is 0000 in the Type field of the corresponding frame header.
It can be seen that, under the coordination of S301 and S302, if the mobile phone successfully applies for the low-latency service for the first application, the service data of the first application, such as referred to as third service data, may be identified according to the communication IP and port acquired from the indication information 1. And store it in a low-latency queue (e.g., referred to as a first queue), so that when an air interface resource (also referred to as a transmission resource) in the router is idle, the data buffered in the low-latency queue is sent out by preferentially using the air interface resource. Therefore, the data transmission timeliness is improved for the first application, and the user experience is enhanced. During this period, the generated service data, which may be referred to as fifth service data, may be sent according to an Enhanced Distributed Coordinated Access (EDCA) priority mechanism, so as to avoid affecting service data transmission of other devices. In addition, the service data of other devices, such as the fourth service data, may also be sent according to the EDCA priority mechanism. In some embodiments, the second application may also refer to all applications in the mobile phone that do not apply for the low latency service.
In some embodiments, the low latency queues are different from Background stream (BG) queues, Best effort transport stream (BE) queues, Video stream (VI) queues, and Voice stream (VO) queues provided by EDCA. The BG queue, the BE queue, the VI queue and the VO queue are called as a second queue. For the service data sent by the application which does not apply for the low-latency service, the service data can BE stored in a BE queue, a BG queue, a VO queue and a VI queue according to the traditional EDCA priority. Thus, when data exists in the low-delay queue, the data in the low-delay queue is sent out preferentially. And when no data exists in the low-delay queue, selecting a queue needing to occupy the empty resource for data transmission from the BE queue, the BG queue, the VO queue and the VI queue according to the EDCA priority rule.
The above "stores the service data in the second queue. After the service data in the first queue is sent, the process of sending the data stored in the second queue by using the idle air interface resource may be called sending the service data by using a first preset mode.
The above "storing the service data in the first queue and sending out the data stored in the first queue by using the free air interface resource" may be referred to as sending the service data by using a second preset mode.
In other embodiments, the sending the service data by using the second preset method may further be: when idle air interface resources exist, the service data is directly sent out by utilizing the air interface resources without waiting. The sending of the service data by using the first preset mode may further be: and under the condition that the service data sent by the second preset mode is not needed, the service data are sent out in sequence according to the sequence of the received service data, or the service data are sent out in sequence according to the service priority corresponding to the service data.
It can be understood that the transmission priority of the second predetermined manner is higher than the transmission priority of the first predetermined manner. For example, when the third service data sent by the mobile phone is transmitted in the second preset manner and the fourth service data sent by the tablet computer is transmitted in the first preset manner, the third service data is preferentially sent compared with the fourth service data.
Of course, in other embodiments, after going through S105 or S206, that is, after completing the association between the handset and the router, the process may directly enter S301. It is understood that, in the case that all Wi-Fi devices support the low latency feature, the registration of the low latency feature is not required, that is, after S105 or S206, S106 and S207 are skipped, and the process proceeds to S301. Therefore, after the router determines that the low-delay service is provided for the first application of the mobile phone, the PDU session is preferentially established for the mobile phone, and the service data of the first application is preferentially sent to the Wi-Fi network side. If the router determines that the PDU session corresponding to the mobile phone is established when the router provides the low-delay service for the first application of the mobile phone, the service data of the first application is preferentially sent to the Wi-Fi network side.
In addition, in the process that the mobile phone transmits data through the router, the router can also suggest the mobile phone to select the used network according to the real-time network state of the Wi-Fi network side. That is, in some embodiments, as shown in fig. 14, the data transmission method may further include:
s401, when the router detects the network instability factor, the router sends indication information 3 to the mobile phone.
In some embodiments, the indication information 3 is also referred to as second indication information. The network instability factors can be congestion on the wired side of the router, strong interference in the environment, carrier switching of Wi-Fi due to radar influence, and the like. For example, when the router detects the source-side quench packet, it may be determined that congestion occurs on the wired side of the router. As another example, the router may scan the wireless signal strength of the environment where the router is located, and determine that the environment has strong interference when the scanned wireless signal strength exceeds a preset threshold. The preset threshold may be a signal strength threshold, which is used to measure whether a wireless signal existing in the environment is an interference signal. The preset threshold value can be obtained by testing in a strong interference environment in advance. In other embodiments, the preset threshold may be an empirical value configured by a user.
In some embodiments, the indication 3 may be a Wi-Fi frame. The indication information 3 may be used to indicate switching of the communication channel. In some embodiments, the indication information 3 includes an identifier for indicating switching of the communication channel. The above-mentioned identification for indicating switching of the communication channel is stored in a reserved bit in the Wi-Fi frame. In this way, after receiving the indication information 3, the handset can autonomously switch to another communication channel, such as a communication channel provided by an operator mobile data channel or other routes, to replace the current Wi-Fi communication channel. Therefore, the data transmission time limit of the first application in the mobile phone, which is influenced by the unstable factors in the current Wi-Fi network, is improved. And the timeliness of data transmission of the mobile phone is further guaranteed. In addition, compared with the situation that the mobile phone is completely disconnected with the router and then switched to other communication channels, the channel switching is more timely.
The indication information 3 may be a management frame or a control frame.
Taking the indication information 3 as a management frame and the corresponding subtype as a reserved frame as an example, the identifier for indicating switching of the communication channel is included in the reserved information element. As shown in fig. 15, the Type field of the frame header 1501 corresponding to the indication information 3 is 00, and Subtype is 1111. The reserved information element in the frame entity corresponding to the indication information 3:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
The Frame body, databyte [2-3], is used to indicate that the network service quality provided by the router is not good and the channel needs to be switched, for example, when the Frame body, databyte [2-3] is 0x0010, it indicates that the channel is recommended to be switched. In other words, Frame body, databyte [2-3] of 0x0010 is the identifier in the indication information 3 for indicating switching of the communication channel.
Also, Frame body.
When the indication information 3 is a control frame, the corresponding Type is 01, and the Subtype is 0000. The above-mentioned identifier indicating switching of the communication channel is contained in a Frame entity, for example, Frame body. 0x 0001. Frame body. databyte [2-3 ]: 0x 0010. Frame body. databyte [4-5 ]: x 0000. Wherein, Frame body. 0x0001, Frame body. dataByte [2-3 ]: 0x0010 is an identifier indicating switching of a communication channel.
S402, the mobile phone sends indication response information 3 to the router.
In some embodiments, the indication response information 3 is also referred to as second response information. The indication response information 3 carries the content indicating the channel switching result. The indication response information 3 may also be a Wi-Fi frame, such as a control frame or a management frame. The content of the channel switching result can also be stored in the frame entity of the Wi-Fi frame.
In addition, the channel switching result may include channel switching success and channel switching failure. Accordingly, the indication response information 3 may also include handover success information and handover failure information.
In some embodiments, in the case that the mobile phone is successfully switched to the other communication channel, that is, the mobile phone enables the other communication channel to transmit the service data of the first application. The mobile phone sends the switching success information to the router.
Taking the switching success information as a management frame and the corresponding subtype as a reserved frame as an example, the content indicating the channel switching result is included in the reserved information element. The Type field of the frame header corresponding to the handover success information is 00, and Subtype is 1111. The reserved information element in the frame entity corresponding to the switching success information:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
DataByte [2-3] for indicating feedback for channel switching, e.g., 0x0001 for Frame body, DataByte [0-1] and 0x0011 for Frame body, DataByte [2-3 ].
The Frame body, databyte [4-5] is used to indicate the actual switching result, e.g., when the Frame body, databyte [2-3] is 0x0011 and the Frame body, databyte [4-5] is x0000, the channel switching is successful.
That is, the Frame body, databyte [2-3] is 0x0011 and the Frame body, databyte [4-5] is x0000, which is the content indicating the channel switching result in the switching success information.
Also, Frame body.
In other embodiments, when the handover success information is a control frame and the corresponding Subtype is a reserved frame, the Type field of the frame header corresponding to the handover success information is 01, and the Subtype field of the frame header corresponding to the handover success information is 0000. The content indicating the channel switching result is contained in a Frame entity, for example, the Frame entity includes Frame body. 0x 0001. Frame body. databyte [2-3 ]: 0x 0011. Frame body. databyte [4-5 ]: x 0000.
In some embodiments, in case of failure of switching the handset to other communication channel, the router sends a switching failure message to the handset.
The difference between the handover failure information and the handover success information may include: frame body. Illustratively, if the Frame body.
That is, the Frame body, databyte [2-3] is 0x0011 and the Frame body, databyte [4-5] is x0001, which is the content indicating the channel switching result in the switching failure information.
In some other possible embodiments, the handover failure information may also carry a reason for the channel handover failure. As such, the distinction between the handover failure information and the handover success information may further include: frame body. For example, when the predetermined failure cause error code is 0, the indication information error causes the handover failure. For another example, when the predetermined failure cause error code is 1, it indicates that the handover fails due to other reasons. Thus, the Frame body, databyte [2-3] is 0x0011, the Frame body, databyte [4-5] is x0001, and the Frame body, databyte [6-7] is 0x0000, indicating that the cause of the channel switch failure is an information error.
In addition, in some embodiments, the information failure information may be a management frame, where Type is 00 and Subtype is 1111 in the Type field of the corresponding frame header. In other embodiments, the information failure information may also be a management frame, where Type is 01 and Subtype is 0000 in the Type field of the corresponding frame header.
In some embodiments, after receiving the handover success information sent by the mobile phone, if it is detected that the network recovers to normal, for example, the network instability factor disappears, the router sends, to the mobile phone, indication information 4, also referred to as third indication information, for indicating that the mobile phone uses the communication channel provided by the router, that is, the traffic data of the first application is sent by using the communication channel provided by the router. In some embodiments, the indication information 4 may be a control frame in a Wi-Fi frame or a management frame in a Wi-Fi frame.
Take the case that the indication information 4 is a management frame and the corresponding subtype is a reserved frame. The Type field of the frame header corresponding to the indication information 4 is 00, and Subtype is 1111. The reserved information element in the frame entity corresponding to the indication information 4:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
Databyte [2-3], may be used to indicate network service restoration provided by the router. Illustratively, a Frame body.
Also, Frame body.
When the indication information 4 is a control frame, the Type field of the corresponding frame header is 01, and Subtype is 0000. The corresponding frame entities may be: frame body. databyte [0-1 ]: 0x 0001. Frame body. databyte [2-3 ]: 0x 0012. Also, Frame body.
In some embodiments, the router instructs the mobile phone to switch the communication channel, which may be for the mobile phone with the low latency feature activated, that is, the mobile phone that has applied for the low latency service for the first application. Therefore, the low-delay service provided for the first application in the embodiment of the application can ensure the timeliness of data transmission of the first application. Even if the network service quality provided by the router is poor, the data transmission can be effectively and timely ensured.
Of course, the ability of a router to provide low latency services is limited. After a plurality of first applications enable the low-latency service, the situation that the application fails is easy to occur when the new first applications re-apply for starting the low-latency service. In order to improve the above problem, the low latency service corresponding to the first application may also be closed in time when the first application does not use the low latency service. Therefore, the method provided by the embodiment of the present application may further include: the handset sends indication information 5 to the router for indicating to close the low latency service for the first application.
In some embodiments, when the handset does not satisfy the set condition, the indication information 5 may be sent to the router.
For example, the manner in which the setting condition is not satisfied may include a combination of one or more of the following:
(1) the mobile phone closes the first application. (2) The temperature of the mobile phone does not exceed the preset temperature. (3) The electric quantity of the mobile phone exceeds the preset electric quantity.
The indication information 5 may be a control frame in a Wi-Fi frame or a management frame in a Wi-Fi frame. The identification of the first application and the identification indicating that the low latency service is turned off may be included in a Wi-Fi frame reservation field. In this way, after receiving the indication information 5, the router does not preferentially send the service data of the first application.
Take the example that the indication information 5 is a management frame and the corresponding subtype is a reserved frame. The Type field of the frame header corresponding to the indication information 5 is 00, and Subtype is 1111. The reserved information element in the frame entity corresponding to the indication information 5:
the Frame body, databyte [0-1], is used to enumerate the features, e.g., when the Frame body, databyte [0-1] is 0x0001, it indicates a low latency feature.
Frame body, databyte [2-3], indicating the relevant matters of the enumerated property, e.g., Frame body, databyte [0-1] is 0x0001 and Frame body, databyte [2-3] is 0x0005, indicating the application to turn off the low latency service. Understandably, the application for turning off the low latency service is also one of the related matters of the low latency characteristic.
In addition, the Frame body, databyte [0-1] is 0x0001 and the Frame body, databyte [2-3] is 0x0005 is the identifier indicating to turn off the low latency service in the indication information 5.
Databyte [4-7] for indicating the communication IP used by the first application. The communication IP belongs to one of the identifiers of the first application, and is used for the router to identify the first application. For example, the Frame body. databyte [4-7] can be 0x123456789 a.
Databyte [8-9] for indicating a port used by the first application. The port also belongs to one of the identifiers of the first application, and the data sent by the first application can be quickly identified through the communication IP and the router matched with the port. For example, Frame body. databyte [8-9] can be 0x 1234.
Also, Frame body.
It should be noted that, when the indication information 5 is the control frame, the Type of the indication information 5 is 01, and the Subtype is 0000, and the identifier of the first application and the identifier indicating to close the low latency service are included in the frame entity, which is not described again.
Thus, the router, upon receiving the indication 5, can determine which application to shut down for low latency service. Avoiding affecting other first applications.
In the above embodiment, the device 1 is a mobile phone, and the device 2 is a router. The method provided by the embodiment of the application can also be applied to other scenes relating to Wi-Fi.
As shown in fig. 16, the device 1 is a handle supporting Wi-Fi direct, and the device 2 is a smart tv supporting Wi-Fi direct. The handle is connected to the intelligent television through the Wi-Fi technology. When the intelligent television starts a real-time online game, the handle can receive the operation of a user and convert the operation into game interaction data. In addition, the handle also needs to send game interaction data to a corresponding game server through the smart television. And after receiving the game interaction data, the game server determines a displayed game picture and transmits the game picture to the intelligent television for displaying. In the process, the timeliness requirement of the handle on the transmission of the game interaction data is high. Certainly, the smart television can also be accessed by other devices supporting the Wi-Fi technology, for example, a tablet computer is accessed to the smart television, the video server is accessed through the smart television, and the video is searched and played in a small window of the smart television. Although the smart television solves the problem of accessing and using multiple devices by dividing the display area, the air interface resources provided by the smart television are more limited, and more serious delay occurs when a plurality of access devices (such as handles or tablet computers) need to perform data interaction with corresponding servers through the smart computers.
Therefore, the data transmission method provided by the embodiment of the application is also applicable to the scene that the device 1 is a handle supporting the Wi-Fi technology and the device 2 is an intelligent television supporting the Wi-Fi technology. That is, the handle corresponds to the mobile phone in the foregoing embodiment, and the smart tv corresponds to the router in the foregoing embodiment. After the handle is connected into the intelligent television, the low-delay characteristic can be registered. And after the real-time online game is started, if a specified key on a handle operated by a user is received, the handle applies for low-delay service to the intelligent television. Thereby guaranteeing the timeliness of data transmission of the handle. Of course, other devices accessing the smart television may also apply for low latency feature registration and low latency service, and the principle is the same as that of the foregoing embodiment, and will not be described herein again.
An embodiment of the present application further provides an electronic device, which may include: a memory and one or more processors. The memory is coupled to the processor. The memory is for storing computer program code comprising computer instructions. When the electronic device is referred to as the device 1, the processor executes the computer instructions to make the electronic device perform the steps performed by the mobile phone in the above embodiments. When the electronic device is referred to as the device 2, the processor executes the computer instructions to cause the electronic device to perform the steps performed by the router in the above embodiments. Of course, the electronic device includes, but is not limited to, the above-described memory and one or more processors. For example, the structure of the electronic device may refer to the hardware structure shown in fig. 5.
The embodiment of the present application further provides a chip system, which can be applied to the electronic device in the foregoing embodiments. As shown in FIG. 17, the system-on-chip includes at least one processor 2201 and at least one interface circuit 2202. The processor 2201 may be a processor in the electronic device described above. The processor 2201 and the interface circuit 2202 may be interconnected by wires. The processor 2201 may receive and execute computer instructions from the memory of the electronic device described above via the interface circuit 2202. When the electronic device is referred to as device 1, the computer instructions, when executed by the processor 2201, may cause the electronic device to perform the steps performed by the handset in the above embodiments. When the electronic device is referred to as device 2, the computer instructions, when executed by the processor 2201, may cause the electronic device to perform the steps performed by the router in the above embodiments. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.
Claims (31)
1. A data transmission method applied to a data transmission system, the data transmission system including a wireless access point, and a first device and a second device accessing the wireless access point, the method comprising:
the wireless access point receives first service data sent by the first equipment and receives second service data sent by the second equipment;
the wireless access point sends the first service data and the second service data according to a first preset mode;
the method comprises the steps that under the condition that the first equipment meets set conditions, the first equipment sends first indication information to the wireless access point; the first indication information is a Management frame, and a reserved information element of the first indication information comprises an identifier indicating that a low-latency service is applied; or, the first indication information is a Control frame, where the Control frame includes a frame entity frame byte, and indicates that an identifier for applying for the low latency service is included in the frame body byte;
the wireless access point receives third service data sent by the first equipment and receives fourth service data sent by the second equipment;
the wireless access point sends the third service data according to a second preset mode and sends the fourth service data according to the first preset mode;
the transmission priority of the second preset mode is higher than that of the first preset mode.
2. The method of claim 1, wherein the first indication information further comprises an identification of a first application; the third service data is service data of the first application;
after the first device sends the first indication information to the wireless access point, the method further comprises:
the wireless access point receives fifth service data sent by the first equipment, wherein the fifth service data is service data of a second application in the first equipment;
and the wireless access point sends the fifth service data according to the first preset mode.
3. The method of claim 1, wherein the wireless access point transmitting the third traffic data according to a second predetermined manner and transmitting the fourth traffic data according to the first predetermined manner comprises:
the wireless access point stores the third service data to a first queue and stores the fourth service data to a second queue; the transmission priority of the first queue is higher than the transmission priority of the second queue;
and the wireless access point sends the third service data in the first queue, and sends the fourth service data in the second queue after the third service data is sent out.
4. The method of claim 1, wherein after the first device sends the first indication information to the wireless access point, the method further comprises:
the wireless access point sends first response information to the first equipment; wherein the first response information includes an identifier indicating that the low latency service application was successful.
5. The method of claim 1, wherein the method further comprises:
sending second indication information to the first equipment under the condition that the network of the wireless access point is abnormal;
the second indication information is a Management frame, and a reservation information element of the second indication information comprises an identifier indicating switching of a communication channel; or, the second indication information is a Control frame, the second indication information includes a frame body byte, and the frame body byte includes an identifier indicating switching of a communication channel.
6. The method of claim 5, wherein the method further comprises:
after the first equipment switches the communication channel, the first equipment sends second response information to the wireless access point; wherein the second response information comprises an identifier indicating that channel switching is successful;
under the condition that the network of the wireless access point is recovered to be normal, third indication information is sent to the first equipment;
the third indication information is a Management frame, and a reservation information element of the third indication information includes an identifier indicating access to the wireless access point; or, the third indication information is a Control frame, and the third indication information includes a frame body byte that includes an identifier indicating to access the wireless access point.
7. The method of claim 1, wherein prior to the first device sending first indication information to the wireless access point, the method further comprises:
the wireless access point broadcasts a Beacon frame; wherein the vendor-specific field of the beacon frame includes an identification indicating support of a low latency characteristic.
8. The method of claim 1, wherein prior to the first device sending first indication information to the wireless access point, the method further comprises:
the first device sends a probe request frame to the wireless access point;
the wireless access point responds to the probe request frame and sends a probe response frame to the first equipment; wherein a vendor-specific field of the probe response frame includes an identifier indicating that a low latency characteristic is supported.
9. The method of claim 1, wherein prior to the first device sending first indication information to the wireless access point, the method further comprises:
the first equipment sends fourth indication information to the wireless access point; the fourth indication information is a Management frame, and a reservation information element of the fourth indication information includes an identifier indicating a registered low-latency characteristic;
or, the fourth indication information is a Control frame, the fourth indication information includes a frame body byte, and the frame body byte includes an identifier indicating a registration low latency characteristic;
the wireless access point sends fourth response information to the first equipment; the fourth response information includes an identifier indicating that the registration of the low latency characteristic is successful.
10. The method of claim 1, wherein the method further comprises:
under the condition that the first equipment does not meet the set condition, the first equipment sends fifth indication information to the wireless access point; the fifth indication information is a Management frame, and a reservation information element of the fifth indication information includes an identifier indicating that the low latency service is closed; the fifth indication information is a Control frame, the fifth indication information includes a frame body byte, and the frame body byte includes an identifier indicating to close a low latency service;
the wireless access point receives sixth service data sent by the first equipment;
and the wireless access point responds to the fifth indication information, and the wireless access point sends the sixth service data according to the first preset mode.
11. The method of claim 2 or 10,
the way in which the first device satisfies the set condition includes a combination of one or more of:
starting and running a first application of the first device;
the equipment temperature of the first equipment exceeds a preset temperature value;
the real-time electric quantity of the first equipment is lower than a preset electric quantity value;
the manner in which the first device does not satisfy the set condition includes a combination of one or more of:
the first application of the first device stops running;
the equipment temperature of the first equipment does not exceed a preset temperature value;
the real-time electric quantity of the first equipment is not lower than a preset electric quantity value.
12. A data transmission method is applied to a wireless access point; the method comprises the following steps:
the wireless access point receives first indication information sent by electronic equipment; the first indication information is a Management frame, and the reserved information element of the first indication information comprises an identifier indicating that a low-latency service is applied; or, the first indication information is a Control frame, the Control frame includes a frame body byte, and an indication that the identifier for applying for the low latency service is included in the frame body byte;
the wireless access point receives third service data sent by the electronic equipment; fourth service data to be transmitted in the wireless access point;
and the wireless access point preferentially sends the third service data compared with the fourth service data.
13. The method of claim 12, wherein the first indication information further comprises an identification of a first application; the third service data is service data of the first application.
14. The method of claim 12, wherein the wireless access point prioritizes transmitting the third traffic data over the fourth traffic data, comprising:
the wireless access point stores the third service data to a first queue; the fourth service data is stored in a second queue, and the transmission priority of the first queue is higher than that of the second queue;
and the wireless access point sends the third service data in the first queue, and sends the fourth service data in the second queue after the third service data is sent out.
15. The method of claim 12, wherein after the wireless access point receives the first indication information transmitted by the electronic device, the method further comprises:
the wireless access point sends first response information to the electronic equipment; wherein the first response information includes an identifier indicating that the low latency service application was successful.
16. The method of claim 12, wherein the method further comprises:
sending second indication information to the electronic equipment under the condition that the network of the wireless access point is abnormal;
the second indication information is a Management frame, and a reservation information element of the second indication information comprises an identifier indicating switching of a communication channel; or, the second indication information is a Control frame, the second indication information includes a frame body byte, and the frame body byte includes an identifier indicating switching of a communication channel.
17. The method of claim 16, wherein the method further comprises:
the wireless access point receives second response information sent by the electronic equipment; wherein the second response information comprises an identifier indicating that channel switching is successful;
under the condition that the network of the wireless access point is recovered to be normal, third indication information is sent to the electronic equipment;
the third indication information is a Management frame, and a reservation information element of the third indication information includes an identifier indicating access to the wireless access point; or, the third indication information is a Control frame, and the third indication information includes a frame body byte that includes an identifier indicating to access the wireless access point.
18. The method of claim 12, wherein prior to the wireless access point receiving the first indication information transmitted by the electronic device, the method further comprises:
the wireless access point broadcasts a Beacon frame; wherein a carrier-specific field of the beacon frame includes an identification indicating that a low latency characteristic is supported.
19. The method of claim 12, wherein prior to the wireless access point receiving the first indication information transmitted by the electronic device, the method further comprises:
the wireless access point receives a probe request frame sent by the electronic equipment;
the wireless access point responds to the probe request frame and sends a probe response frame to the electronic equipment; wherein a vendor-specific field of the probe response frame includes an identifier indicating that a low latency characteristic is supported.
20. The method of claim 12, wherein prior to the wireless access point receiving the first indication information transmitted by the electronic device, the method further comprises:
the wireless access point receives fourth indication information sent by the electronic equipment; the fourth indication information is a Management frame, and a reservation information element of the fourth indication information includes an identifier indicating a registered low-latency characteristic;
or, the fourth indication information is a Control frame, the fourth indication information includes a frame body byte, and the frame body byte includes an identifier indicating a registration low latency characteristic;
the wireless access point sends fourth response information to the electronic equipment; the fourth response information includes an identifier indicating that the registration of the low latency characteristic is successful.
21. The method of claim 12, wherein the method further comprises:
the wireless access point receives fifth indication information sent by the electronic equipment; the fifth indication information is a Management frame, and a reservation information element of the fifth indication information includes an identifier indicating that the low latency service is closed; the fifth indication information is a Control frame, the fifth indication information includes a frame body byte, and the frame body byte includes an identifier indicating to close a low latency service;
the wireless access point receives sixth service data sent by the electronic equipment;
and the wireless access point responds to the fifth indication information, and the wireless access point sends the sixth service data according to a first preset mode.
22. A data transmission method, applied to an electronic device, the method comprising:
under the condition that the electronic equipment meets set conditions, first indication information is sent to a wireless access point; the first indication information is a Management frame, and the reserved information element of the first indication information comprises an identifier indicating that a low-latency service is applied; or, the first indication information is a Control frame, the Control frame includes a frame body byte, and an indication that the identifier for applying for the low latency service is included in the frame body byte;
the electronic equipment receives first response information sent by the wireless access point; wherein the first response information comprises an identifier indicating that the low-latency service application is successful;
and the electronic equipment sends third service data to the wireless access point.
23. The method of claim 22, wherein the first indication information further comprises an identification of a first application; the third service data is service data of the first application;
the first indication information is a Management frame, and the identifier of the first application is included in a reservation information element of the first indication information; or,
the first indication information is a Control frame, and the identifier of the first application is included in the frame body byte.
24. The method of claim 22, wherein the method further comprises:
under the condition that the electronic equipment receives second indication information sent by the wireless access point, switching a communication channel for sending the third service;
the second indication information is a Management frame, and a reservation information element of the second indication information comprises an identifier indicating switching of a communication channel; or, the second indication information is a Control frame, the second indication information includes a frame body byte, and the frame body byte includes an identifier indicating switching of a communication channel;
under the condition that the electronic equipment is successfully switched, second response information is sent to the wireless access point; wherein the second response information comprises an identifier indicating that channel switching is successful;
sending the second response information to the wireless access point under the condition that the electronic equipment fails to switch; wherein the second response information comprises an identifier indicating channel switching failure and a failure reason error code.
25. The method of claim 24, wherein the method further comprises:
the electronic equipment receives third indication information sent by the wireless access point;
the third indication information is a Management frame, and a reservation information element of the third indication information includes an identifier indicating access to the wireless access point; or the third indication information is a Control frame, the third indication information includes a frame body byte, and the frame body byte includes an identifier indicating to access the wireless access point;
and the electronic equipment transmits the third service data through a communication channel provided by the wireless access point.
26. The method of claim 22, wherein prior to the electronic device transmitting the first indication information to the wireless access point, the method further comprises:
the electronic equipment receives the Beacon frame broadcast by the wireless access point; wherein a vendor-specific field of the beacon frame includes an identification indicating that a low latency characteristic is supported;
after the electronic equipment accesses the wireless access point, sending fourth indication information to the wireless access point; the fourth indication information is a Management frame, and a reservation information element of the fourth indication information includes an identifier indicating a registered low-latency characteristic; or, the fourth indication information is a Control frame, and the fourth indication information includes a frame body byte, where the frame body byte includes an identifier indicating a registration low latency characteristic.
27. The method of claim 22, wherein prior to the electronic device transmitting the first indication information to the wireless access point, the method further comprises:
the electronic equipment sends a probe request frame to the wireless access point;
the electronic equipment receives a probe response frame sent by the wireless access point; wherein a vendor-specific field of the probe response frame includes an identifier indicating that a low latency characteristic is supported;
after the electronic equipment accesses the wireless access point, sending fourth indication information to the wireless access point; the fourth indication information is a Management frame, and a reservation information element of the fourth indication information includes an identifier indicating a registered low-latency characteristic; or, the fourth indication information is a Control frame, and the fourth indication information includes a frame body byte, where the frame body byte includes an identifier indicating a registration low latency characteristic.
28. The method of claim 22, wherein the method further comprises:
under the condition that the electronic equipment meets the set condition, the electronic equipment sends fifth indication information to the wireless access point; the fifth indication information is a Management frame, and a reservation information element of the fifth indication information includes an identifier indicating that the low latency service is closed; the fifth indication information is a Control frame, and the fifth indication information includes a frame body byte, and the frame body byte includes an identifier indicating that the low latency service is closed.
29. The method of claim 23 or 28,
the mode of the electronic equipment meeting the set condition comprises one or more of the following combinations:
starting and running a first application of the electronic equipment;
the equipment temperature of the electronic equipment exceeds a preset temperature value;
the real-time electric quantity of the electronic equipment is lower than a preset electric quantity value;
the mode that the electronic equipment does not meet the set condition comprises one or more of the following combinations:
the first application of the electronic device stops running;
the equipment temperature of the electronic equipment does not exceed a preset temperature value;
the real-time electric quantity of the electronic equipment is not lower than a preset electric quantity value.
30. An electronic device, comprising one or more processors and one or more memories; the one or more memories coupled to the one or more processors for storing computer program code comprising computer instructions which, when executed by the one or more processors, implement the method of any of claims 12-29.
31. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 12-29.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110601477.5A CN113473539B (en) | 2021-05-31 | 2021-05-31 | Data transmission method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110601477.5A CN113473539B (en) | 2021-05-31 | 2021-05-31 | Data transmission method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113473539A true CN113473539A (en) | 2021-10-01 |
CN113473539B CN113473539B (en) | 2022-07-05 |
Family
ID=77871728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110601477.5A Active CN113473539B (en) | 2021-05-31 | 2021-05-31 | Data transmission method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113473539B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658611A (en) * | 2005-03-22 | 2005-08-24 | 中国科学院计算技术研究所 | Method for guarantee service quality of radio local network |
WO2013048228A1 (en) * | 2011-09-29 | 2013-04-04 | Mimos Berhad | Cross - layer scheduling in particular for mobile wimax |
CN104039016A (en) * | 2013-03-08 | 2014-09-10 | 中兴通讯股份有限公司 | Transmission processing method and apparatus of service data, and transmission method and apparatus of service data |
WO2017196362A1 (en) * | 2016-05-13 | 2017-11-16 | Nokia Technologies Oy | Mmwave 5g air-interface radio resource control states |
US20180167915A1 (en) * | 2015-05-29 | 2018-06-14 | Lg Electronics Inc. | Method for transmitting and receiving data in wireless communication system, and device therefor |
CN111373788A (en) * | 2017-10-31 | 2020-07-03 | 萨基姆宽带连接公司 | Method for selecting primary channel for wireless communication |
-
2021
- 2021-05-31 CN CN202110601477.5A patent/CN113473539B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658611A (en) * | 2005-03-22 | 2005-08-24 | 中国科学院计算技术研究所 | Method for guarantee service quality of radio local network |
WO2013048228A1 (en) * | 2011-09-29 | 2013-04-04 | Mimos Berhad | Cross - layer scheduling in particular for mobile wimax |
CN104039016A (en) * | 2013-03-08 | 2014-09-10 | 中兴通讯股份有限公司 | Transmission processing method and apparatus of service data, and transmission method and apparatus of service data |
US20180167915A1 (en) * | 2015-05-29 | 2018-06-14 | Lg Electronics Inc. | Method for transmitting and receiving data in wireless communication system, and device therefor |
WO2017196362A1 (en) * | 2016-05-13 | 2017-11-16 | Nokia Technologies Oy | Mmwave 5g air-interface radio resource control states |
CN111373788A (en) * | 2017-10-31 | 2020-07-03 | 萨基姆宽带连接公司 | Method for selecting primary channel for wireless communication |
Also Published As
Publication number | Publication date |
---|---|
CN113473539B (en) | 2022-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105764124B (en) | Method for reducing power consumption of terminal and terminal | |
EP3979571A1 (en) | Method for controlling device and terminal | |
US10193933B2 (en) | System and method for post-discovery communication within a neighborhood-aware network | |
US20190045476A1 (en) | User device and message forwarding method | |
US11026288B2 (en) | Discontinuous reception method, terminal, and network device | |
CN114584966B (en) | Sharing method of radio frequency channels and related device | |
WO2018137601A1 (en) | Communication method and related device | |
CN113038627B (en) | File sharing method, mobile device and computer storage medium | |
US20230080142A1 (en) | Communication method, apparatus, and system | |
WO2023284862A1 (en) | Wireless channel resource management method, device and system | |
CN113556805B (en) | Method and terminal for reducing power consumption | |
US20240022469A1 (en) | Method for determining edge configuration server and apparatus | |
US20190043286A1 (en) | User identification card control method, terminal, and computer storage medium | |
CN113473539B (en) | Data transmission method and electronic equipment | |
US20170127456A1 (en) | Apparatus, method, and program | |
CN113114798B (en) | Method for acquiring Internet protocol IP address and electronic equipment | |
CN116709442A (en) | Wireless network switching method and electronic equipment | |
EP4145870A1 (en) | Communication method and communication apparatus | |
CN115643625A (en) | Multi-path data sending method, device and equipment | |
CN115696463A (en) | Multi-terminal combined session management method, network side equipment and terminal | |
CN113709818A (en) | Communication method and communication device | |
JP2023500081A (en) | Data transmission method | |
WO2024164647A1 (en) | Communication method and communication device | |
US20230309012A1 (en) | Sleep Control Method for Mobile Routing Device and Mobile Routing Device | |
JP7516669B2 (en) | Resource allocation method, device and terminal |
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 |