CN113286330A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN113286330A
CN113286330A CN202110828406.9A CN202110828406A CN113286330A CN 113286330 A CN113286330 A CN 113286330A CN 202110828406 A CN202110828406 A CN 202110828406A CN 113286330 A CN113286330 A CN 113286330A
Authority
CN
China
Prior art keywords
frame
workstation
check code
beacon frame
beacon
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
Application number
CN202110828406.9A
Other languages
Chinese (zh)
Other versions
CN113286330B (en
Inventor
吴平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gaotuoxunda (Beijing) Microelectronics Co.,Ltd.
Original Assignee
Alto Beam (china) Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alto Beam (china) Inc filed Critical Alto Beam (china) Inc
Priority to CN202110828406.9A priority Critical patent/CN113286330B/en
Publication of CN113286330A publication Critical patent/CN113286330A/en
Application granted granted Critical
Publication of CN113286330B publication Critical patent/CN113286330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a data transmission method and a data transmission device, which are applied to a wireless network, wherein the method comprises the following steps: the method comprises the following steps that a workstation receives a part of beacon frames, and performs frame check sequence calculation on trusted fields in the part of beacon frames to obtain a current check code; the partial beacon frame comprises a part of the beacon frame from the frame head to the traffic indication segment; the workstation compares the current check code with the historical check code to determine whether the current check code is consistent with the historical check code; if the current check code is consistent with the historical check code, the workstation analyzes the flow indication segment and judges whether the wireless access point has cache data or not; when the wireless access point has the cache data, the workstation receives the cache data and the residual beacon frames, and after the receiving is finished, the workstation is switched to a dormant state; the remaining beacon frame includes a portion of the beacon frame after the traffic indication segment.

Description

Data transmission method and device
Technical Field
The present application relates to the field of wireless network technologies, and in particular, to a data transmission method and apparatus.
Background
Nowadays, wireless network technology is rapidly developed, and a corresponding low-power technology becomes a large research direction of related researchers. Most of the low power consumption technologies of the wireless network at present are generally performed in a manner defined in the IEEE802.11 standard, and most of beacon frames transmitted by a wireless AP (Access Point) are not cached by an identifier in an actual use process, so in most cases, a sleep process of a workstation is waken up according to a beacon frame period, a data cache identifier in the beacon frame is analyzed, whether data needs to be received is checked, if data needs to be received, the wireless AP is notified to transmit cached data, and if not, the wireless AP enters into sleep.
In the prior art, a TIM (Traffic Indication Map, Traffic Indication Map) information element is usually in the middle of the content of a beacon frame, and when receiving the TIM information element field, a station actually knows whether a wireless AP has a buffered packet to send, but due to the uncertainty of data transmission over the air, the station needs to check the FCS (frame check sequence) of the beacon frame correctly to ensure that the data in the TIM field is correct. Therefore, the workstation must receive the complete beacon frame to determine whether to enter the sleep mode, which causes excessive waste of the wake-up power consumption of the workstation and waste of the sleep power consumption of the wireless device.
Disclosure of Invention
In view of the above, an object of the present application is to provide a data transmission method and apparatus, which are used to solve the problem of how to reduce the sleep power consumption of a wireless device in the prior art.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a wireless network, and the method includes:
the method comprises the following steps that a workstation receives a part of beacon frames, and performs frame check sequence calculation on trusted fields in the part of beacon frames to obtain a current check code; the partial beacon frame comprises a part of the beacon frame from the frame head to the traffic indication segment; the credible field contains a flow indication segment;
the workstation compares the current check code with the historical check code to determine whether the current check code is consistent with the historical check code;
if the current check code is consistent with the historical check code, the workstation analyzes the flow indication segment and judges whether the wireless access point has cache data or not;
when the wireless access point has the cache data, the workstation receives the cache data and the residual beacon frames, and after the receiving is finished, the workstation is switched to a dormant state; the remaining beacon frame includes a portion of the beacon frame after the traffic indication segment.
In some embodiments, when the station is configured with a processor, the station receiving a partial beacon frame and performing a frame check sequence calculation on a trusted field in the partial beacon frame to obtain a current check code, including:
the workstation receives a part of the beacon frame;
performing frame check sequence calculation on the credible field in the part of the beacon frames to obtain a frame check sequence corresponding to the credible field, and recording the frame check sequence corresponding to the credible field into a register;
and the workstation identifies the frame check sequence corresponding to the credible field in the register as the current check code.
In some embodiments, after the workstation compares the current check code with the historical check code, and determines whether the current check code is consistent with the historical check code, the method further includes:
if the current check code is inconsistent with the historical check code, the workstation continues to receive the residual beacon frame to obtain a complete beacon frame and a frame check sequence in the residual beacon frame;
performing frame check sequence calculation on the complete beacon frame to obtain a frame check sequence corresponding to the complete beacon frame, and judging whether the frame check sequences in the remaining beacon frames are consistent with the frame check sequence corresponding to the complete beacon frame;
when the frame check sequence in the remaining beacon frame is consistent with the frame check sequence corresponding to the complete beacon frame, the workstation updates the historical check code to the value of the current check code and judges whether the wireless access point has cache data or not;
when the wireless access point has the cache data, the workstation receives the cache data, and after the receiving is finished, the workstation is switched to a dormant state.
In some embodiments, after the workstation continues to receive the remaining beacon frame and determines whether a frame check sequence in the remaining beacon frame is consistent with a frame check sequence corresponding to the complete beacon frame if the current check code is inconsistent with the historical check code, the method further includes:
when the frame check sequence in the residual beacon frame is not consistent with the frame check sequence corresponding to the complete beacon frame, the workstation judges whether the traffic indication segment is a transmission traffic indication segment;
if the flow indication segment is a transmission flow indication segment, the workstation keeps an awakening state;
and if the flow indication segment is not the transfer flow indication segment, the workstation is switched to the dormant state.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to a wireless network, and the apparatus includes:
the computing module is used for receiving a part of beacon frames by the workstation and carrying out frame check sequence computation on the credible fields in the part of beacon frames to obtain a current check code; the partial beacon frame comprises a part of the beacon frame from the frame head to the traffic indication segment; the credible field contains a flow indication segment;
the comparison module is used for comparing the current check code with the historical check code by the workstation and determining whether the current check code is consistent with the historical check code;
the first judgment module is used for analyzing the flow indication segment by the workstation and judging whether the wireless access point has cache data or not if the current check code is consistent with the historical check code; when the wireless access point has the cache data, the workstation receives the cache data and the residual beacon frames, and after the receiving is finished, the workstation is switched to a dormant state; the remaining beacon frame includes a portion of the beacon frame after the traffic indication segment.
In some embodiments, when the workstation is configured with a processor, the computing module comprises:
a receiving unit for receiving a part of the beacon frame by the workstation;
the recording unit is used for carrying out frame check sequence calculation on the credible field in the part of the beacon frames to obtain a frame check sequence corresponding to the credible field and recording the frame check sequence corresponding to the credible field into the register;
and the identification unit is used for identifying the frame check sequence corresponding to the credible field in the register as the current check code by the workstation.
In some embodiments, the apparatus further comprises:
the second judgment module is used for continuously receiving the residual beacon frame by the workstation if the current check code is inconsistent with the historical check code to obtain a complete beacon frame and a frame check sequence in the residual beacon frame; performing frame check sequence calculation on the complete beacon frame to obtain a frame check sequence corresponding to the complete beacon frame, and judging whether the frame check sequences in the remaining beacon frames are consistent with the frame check sequence corresponding to the complete beacon frame;
a third judging module, configured to, when a frame check sequence in the remaining beacon frame is consistent with a frame check sequence corresponding to the complete beacon frame, update a historical check code to a value of the current check code by the workstation, and judge whether the wireless access point has cached data; when the wireless access point has the cache data, the workstation receives the cache data, and after the receiving is finished, the workstation is switched to a dormant state.
In some embodiments, the apparatus further comprises:
a fourth judging module, configured to, when a frame check sequence in the remaining beacon frame is not consistent with a frame check sequence corresponding to the complete beacon frame, judge, by the workstation, whether the traffic indication segment is a transmission traffic indication segment; if the flow indication segment is a transmission flow indication segment, the workstation keeps an awakening state; and if the flow indication segment is not the transfer flow indication segment, the workstation is switched to the dormant state.
In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method in any one of the above first aspects when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps of the method in any one of the above first aspects.
The data transmission method provided by the embodiment of the application comprises the steps of receiving only a frame header to a flow indication segment of a beacon frame, carrying out frame check sequence calculation on a credible field in the part of the beacon frame to obtain a current check code, then after confirming that the beacon frame is credible through comparison between the current check code and a historical check code, judging whether cache data exist in a wireless access point or not through analyzing the flow indication segment, if cache data exist, receiving the rest beacon frame and the cache data by a work station, and entering a dormant state after receiving is finished. The data transmission method provided by the embodiment of the application judges whether the follow-up data needs to be received or not through the flow indication segment on the basis of the flow indication segment, improves the data transmission efficiency of the workstation in a wireless network, shortens the time from the awakening state to the sleeping state of the workstation, and reduces the sleeping power consumption of the wireless equipment.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
An embodiment of the present application provides a data transmission method, which is applied to a wireless network, and as shown in fig. 1, includes the following steps:
step S101, a work station receives a part of beacon frames and carries out frame check sequence calculation on credible fields in the part of beacon frames to obtain current check codes; the partial beacon frame comprises a part of the beacon frame from the frame head to the flow indication segment; the credible field contains a flow indication segment;
step S102, the workstation compares the current check code with a historical check code to determine whether the current check code is consistent with the historical check code;
step S103, if the current check code is consistent with the historical check code, the workstation analyzes the flow indication segment and judges whether the wireless access point has cache data;
step S104, when the cache data exists in the wireless access point, the workstation continues to receive the residual beacon frame and the cache data, and after the receiving is finished, the workstation is switched to a dormant state; the remaining beacon frame includes a portion of the beacon frame following the traffic indication segment.
Specifically, the workstation synchronously switches to an awake state at intervals of one or more beacon frame periods according to the beacon frame period specified by the wireless access point, and starts to receive the beacon frame. The workstation receives the beacon frame and simultaneously calculates the unchangeable field (including the traffic indication field and other user-specified fields) in the beacon frame, namely the credible field, so as to obtain the current check code, wherein the current check code is the frame check sequence in the traffic indication field. The variable field of the beacon frame can be customized by a user according to actual needs.
And then, the historical check code is the correct check code when the beacon frame is received last time, the workstation judges whether the current check code is consistent with the historical check code by comparing, if so, the current beacon frame is credible, and the flow indication map in the current beacon frame is considered to be correct. The comparison is performed by the built-in processor in a workstation with a built-in processor and by the built-in digital logic of the workstation in a workstation without a built-in processor.
The station traffic indication segment is parsed to determine whether the wireless access point has buffered data, i.e., whether the wireless access point has data to transmit in the form of data frames after the beacon frame. If the workstation judges that the cache data exist in the wireless access point, the workstation continues to receive the residual beacon frame and simultaneously generates a received data identification frame, after the reception of the residual beacon frame is finished, the workstation sends the received data identification frame to the wireless access point to inform the wireless access point that the workstation is in a ready-to-receive state, and the wireless access point sends the cache data to the workstation after judging that the workstation enters the ready-to-receive state; after the workstation receives all the cached data, the workstation informs the wireless access point that the workstation will enter a dormant state and switches to the dormant state. And if the workstation judges that the wireless access point does not have the cache data, the workstation does not receive the residual beacon frame any more and is directly switched into a dormant state.
In some embodiments, when the workstation is configured with a processor, the step S101, in which the workstation receives a partial beacon frame, and performs frame check sequence calculation on a trusted field in the partial beacon frame to obtain a current check code, includes:
step 1011, the workstation receives a part of beacon frames;
step 1012, performing frame check sequence calculation on the trusted field in the partial beacon frame to obtain a frame check sequence corresponding to the trusted field, and recording the frame check sequence corresponding to the trusted field in a register;
and step 1013, the workstation identifies the frame check sequence corresponding to the trusted field in the register as the current check code.
Specifically, in a workstation configured with a processor, when the workstation receives the last bit of data of a part of beacon frames, an interrupt message is immediately generated to the processor, so that the processor performs subsequent check code comparison and other operations. And then the workstation calculates a frame check sequence aiming at the credible field in part of the beacon frames, stores the obtained frame check sequence corresponding to the credible field into a register, and indicates that the frame check sequence is the current check code.
The same procedure can also be realized by that when the workstation receives the last bit of data of part of the beacon frame, the processor calculates the current check code and stores the current check code in the memory.
For a workstation without a processor, the calculation process and the subsequent comparison work are implemented by the built-in digital logic of the workstation.
In some embodiments, after the workstation compares the current check code with the historical check code in step S102 to determine whether the current check code is consistent with the historical check code, as shown in fig. 2, the method further includes:
step S201, if the current check code is inconsistent with the historical check code, the workstation continues to receive the remaining beacon frame to obtain a complete beacon frame and a frame check sequence in the remaining beacon frame;
step S202, frame check sequence calculation is carried out on the complete beacon frame to obtain a frame check sequence corresponding to the complete beacon frame, and whether the frame check sequences in the rest beacon frames are consistent with the frame check sequence corresponding to the complete beacon frame is judged;
step S203, when the frame check sequence in the remaining beacon frame is consistent with the frame check sequence corresponding to the complete beacon frame, the workstation updates the historical check code to the value of the current check code and judges whether the wireless access point has cache data;
step S204, when the wireless access point has the cache data, the workstation receives the cache data, and after the receiving is finished, the workstation is switched to the dormant state.
Specifically, under the condition that the current check code is inconsistent with the historical check code, the workstation needs to complete receiving the remaining part of the beacon frame (the remaining beacon frame) and perform frame check sequence calculation for the complete beacon frame to obtain a frame check sequence corresponding to the complete beacon frame in order to further determine whether the check code of the wireless access point is modified. The remaining beacon frames also contain the frame check sequence set by the sending end of the beacon frame, and the frame check sequence corresponding to the complete beacon frame is compared with the frame check sequence in the remaining beacon frames to determine whether the current check code has a problem.
If the comparison result shows that the frame check sequence corresponding to the complete beacon frame is consistent with the frame check sequences in the rest beacon frames, the check code of the wireless access point is modified, the workstation updates the historical check code to be the current check code, judges whether the wireless access point has cache data or not by analyzing the flow indication diagram, receives the cache data if the cache data exists, and enters a dormant state after the cache data is completed; if no buffered data is present, the workstation goes directly to sleep.
In some embodiments, after the workstation continues to receive the remaining beacon frame and determines whether the frame check sequence in the remaining beacon frame is consistent with the frame check sequence corresponding to the complete beacon frame if the current check code is inconsistent with the historical check code, as shown in fig. 2, the method further includes:
step S205, when the frame check sequence in the remaining beacon frame is not consistent with the frame check sequence corresponding to the complete beacon frame, the workstation determines whether the traffic indication segment is a transmission traffic indication segment;
step S206, if the flow indication segment is a transmission flow indication segment, the workstation keeps an awakening state;
step S207, if the traffic indication segment is not the transfer traffic indication segment, the workstation switches to the sleep state.
Specifically, the frame check sequence in the remaining beacon frame is inconsistent with the current check code, which indicates that there may be problems with the frame check sequence corresponding to the complete beacon frame, one is that the traffic indication segment is erroneous, and the other is that the location of the traffic indication segment in the beacon frame may be the delivery traffic indication segment.
If the position of the traffic indication segment in the beacon frame is the delivery traffic indication segment, it indicates that the wireless access point may subsequently transmit the buffered multicast frame, and therefore, the station needs to keep the awake state to wait for the transmission of the multicast frame.
If the traffic indicates that the segment itself is faulty, the station immediately discards the beacon frame and goes to sleep.
The present application also provides a data transmission apparatus, which is applied to a wireless network, as shown in fig. 3, the apparatus includes:
the calculation module 30 is used for the workstation to receive a part of beacon frames and to perform frame check sequence calculation on the trusted fields in the part of beacon frames to obtain the current check code; the partial beacon frame comprises a part of the beacon frame from the frame head to the flow indication segment; the credible field contains a flow indication segment;
a comparison module 31, configured to compare the current check code with a historical check code by a workstation, and determine whether the current check code is consistent with the historical check code;
a first determining module 32, configured to, if the current check code is consistent with the historical check code, analyze the traffic indication segment by the workstation, and determine whether the wireless access point has cached data; when the cache data exists in the wireless access point, the workstation receives the cache data and the residual beacon frames, and after the receiving is finished, the workstation is switched to a dormant state; the remaining beacon frame includes a portion of the beacon frame following the traffic indication segment.
In some embodiments, when the workstation is configured with a processor, the computing module 30 includes:
a receiving unit 301, configured to receive a partial beacon frame by a workstation;
a recording unit 302, configured to perform frame check sequence calculation on a trusted field in a part of beacon frames to obtain a frame check sequence corresponding to the trusted field, and record the frame check sequence corresponding to the trusted field in a register;
and the identifying unit 303 is configured to identify, by the workstation, the frame check sequence corresponding to the trusted field in the register as the current check code.
In some embodiments, the apparatus further comprises:
a second determining module 33, configured to, if the current check code is inconsistent with the historical check code, continue to receive the remaining beacon frame by the workstation, so as to obtain a complete beacon frame and a frame check sequence in the remaining beacon frame; performing frame check sequence calculation on the complete beacon frame to obtain a frame check sequence corresponding to the complete beacon frame, and judging whether the frame check sequences in the remaining beacon frames are consistent with the frame check sequence corresponding to the complete beacon frame;
a third determining module 34, configured to, when the frame check sequence in the remaining beacon frame is consistent with the frame check sequence corresponding to the complete beacon frame, update the historical check code to the value of the current check code by the workstation, and determine whether the wireless access point has cached data; when the wireless access point has the cache data, the workstation receives the cache data, and after the receiving is finished, the workstation is switched to a dormant state.
In some embodiments, the apparatus further comprises:
a fourth judging module 35, configured to, when the frame check sequence in the remaining beacon frame is not consistent with the frame check sequence corresponding to the complete beacon frame, judge, by the workstation, whether the traffic indication segment is a transmission traffic indication segment; if the flow indication segment is a transmission flow indication segment, the workstation keeps an awakening state; if the flow indication segment is not the transfer flow indication segment, the workstation is switched to the dormant state.
Corresponding to a data transmission method in fig. 1, an embodiment of the present application further provides a computer device 400, as shown in fig. 4, the device includes a memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402, where the processor 402 implements the data transmission method when executing the computer program.
Specifically, the memory 401 and the processor 402 can be general-purpose memories and processors, which are not limited in particular, and when the processor 402 runs a computer program stored in the memory 401, the data transmission method can be executed, so that the problem of how to reduce sleep power consumption of a wireless device in the prior art is solved.
Corresponding to a data transmission method in fig. 1, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the steps of the data transmission method.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, etc., on which the computer program is executed, the above-mentioned data transmission method can be implemented to solve the problem of how to reduce the sleep power consumption of the wireless device in the prior art, and the data transmission method provided in the embodiment of the present application, the current check code is obtained by receiving only the frame header to the flow indication segment of the beacon frame and performing frame check sequence calculation on the credible field in the part of the beacon frame, then, after the beacon frame is confirmed to be credible through the comparison of the current check code and the historical check code, whether the wireless access point has cache data or not is judged through analyzing the flow indication segment, if the cache data exists, the workstation receives the rest beacon frame and the cache data, and the workstation enters a dormant state after receiving. The data transmission method provided by the embodiment of the application judges whether the follow-up data needs to be received or not through the flow indication segment on the basis of the flow indication segment, improves the data transmission efficiency of the workstation in a wireless network, shortens the time from the awakening state to the sleeping state of the workstation, and reduces the sleeping power consumption of the wireless equipment.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A data transmission method, applied to a wireless network, the method comprising:
the method comprises the following steps that a workstation receives a part of beacon frames, and performs frame check sequence calculation on trusted fields in the part of beacon frames to obtain a current check code; the partial beacon frame comprises a part of the beacon frame from the frame head to the traffic indication segment; the credible field contains a flow indication segment;
the workstation compares the current check code with the historical check code to determine whether the current check code is consistent with the historical check code;
if the current check code is consistent with the historical check code, the workstation analyzes the flow indication segment and judges whether the wireless access point has cache data or not;
when the wireless access point has the cache data, the workstation receives the cache data and the residual beacon frames, and after the receiving is finished, the workstation is switched to a dormant state; the remaining beacon frame includes a portion of the beacon frame after the traffic indication segment.
2. The method of claim 1, wherein when the station is configured with a processor, the station receiving a partial beacon frame and performing a frame check sequence calculation on a trusted field in the partial beacon frame to obtain a current check code, comprising:
the workstation receives a part of the beacon frame;
performing frame check sequence calculation on the credible field in the part of the beacon frames to obtain a frame check sequence corresponding to the credible field, and recording the frame check sequence corresponding to the credible field into a register;
and the workstation identifies the frame check sequence corresponding to the credible field in the register as the current check code.
3. The method of claim 1, wherein after the workstation compares the current check code with the historical check code to determine whether the current check code is consistent with the historical check code, further comprising:
if the current check code is inconsistent with the historical check code, the workstation continues to receive the residual beacon frame to obtain a complete beacon frame and a frame check sequence in the residual beacon frame;
performing frame check sequence calculation on the complete beacon frame to obtain a frame check sequence corresponding to the complete beacon frame, and judging whether the frame check sequences in the remaining beacon frames are consistent with the frame check sequence corresponding to the complete beacon frame;
when the frame check sequence in the remaining beacon frame is consistent with the frame check sequence corresponding to the complete beacon frame, the workstation updates the historical check code to the value of the current check code and judges whether the wireless access point has cache data or not;
when the wireless access point has the cache data, the workstation receives the cache data, and after the receiving is finished, the workstation is switched to a dormant state.
4. The method as claimed in claim 3, wherein after the workstation continues to receive the remaining beacon frames and determines whether the frame check sequence in the remaining beacon frames is consistent with the frame check sequence corresponding to the complete beacon frame if the current check code is inconsistent with the historical check code, the method further comprises:
when the frame check sequence in the residual beacon frame is not consistent with the frame check sequence corresponding to the complete beacon frame, the workstation judges whether the traffic indication segment is a transmission traffic indication segment;
if the flow indication segment is a transmission flow indication segment, the workstation keeps an awakening state;
and if the flow indication segment is not the transfer flow indication segment, the workstation is switched to the dormant state.
5. A data transmission apparatus, for use in a wireless network, the apparatus comprising:
the computing module is used for receiving a part of beacon frames by the workstation and carrying out frame check sequence computation on the credible fields in the part of beacon frames to obtain a current check code; the partial beacon frame comprises a part of the beacon frame from the frame head to the traffic indication segment; the credible field contains a flow indication segment;
the comparison module is used for comparing the current check code with the historical check code by the workstation and determining whether the current check code is consistent with the historical check code;
the first judgment module is used for analyzing the flow indication segment by the workstation and judging whether the wireless access point has cache data or not if the current check code is consistent with the historical check code; when the wireless access point has the cache data, the workstation receives the cache data and the residual beacon frames, and after the receiving is finished, the workstation is switched to a dormant state; the remaining beacon frame includes a portion of the beacon frame after the traffic indication segment.
6. The apparatus of claim 5, wherein when the workstation is configured with a processor, the computing module comprises:
a receiving unit for receiving a part of the beacon frame by the workstation;
the recording unit is used for carrying out frame check sequence calculation on the credible field in the part of the beacon frames to obtain a frame check sequence corresponding to the credible field and recording the frame check sequence corresponding to the credible field into the register;
and the identification unit is used for identifying the frame check sequence corresponding to the credible field in the register as the current check code by the workstation.
7. The apparatus of claim 5, further comprising:
the second judgment module is used for continuously receiving the residual beacon frame by the workstation if the current check code is inconsistent with the historical check code to obtain a complete beacon frame and a frame check sequence in the residual beacon frame; performing frame check sequence calculation on the complete beacon frame to obtain a frame check sequence corresponding to the complete beacon frame, and judging whether the frame check sequences in the remaining beacon frames are consistent with the frame check sequence corresponding to the complete beacon frame;
a third judging module, configured to, when a frame check sequence in the remaining beacon frame is consistent with a frame check sequence corresponding to the complete beacon frame, update a historical check code to a value of the current check code by the workstation, and judge whether the wireless access point has cached data; when the wireless access point has the cache data, the workstation receives the cache data, and after the receiving is finished, the workstation is switched to a dormant state.
8. The apparatus of claim 7, further comprising:
a fourth judging module, configured to, when a frame check sequence in the remaining beacon frame is not consistent with a frame check sequence corresponding to the complete beacon frame, judge, by the workstation, whether the traffic indication segment is a transmission traffic indication segment; if the flow indication segment is a transmission flow indication segment, the workstation keeps an awakening state; and if the flow indication segment is not the transfer flow indication segment, the workstation is switched to the dormant state.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of the preceding claims 1-4 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method of any one of the preceding claims 1 to 4.
CN202110828406.9A 2021-07-22 2021-07-22 Data transmission method and device Active CN113286330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110828406.9A CN113286330B (en) 2021-07-22 2021-07-22 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110828406.9A CN113286330B (en) 2021-07-22 2021-07-22 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN113286330A true CN113286330A (en) 2021-08-20
CN113286330B CN113286330B (en) 2021-10-08

Family

ID=77287108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110828406.9A Active CN113286330B (en) 2021-07-22 2021-07-22 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN113286330B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090010191A1 (en) * 2007-07-05 2009-01-08 Conexant Systems, Inc. Systems and Methods for Indicating Buffered Data at an Access Point Using an Embedded Traffic Indication Map
CN107835527A (en) * 2017-12-19 2018-03-23 河海大学 A kind of wireless sensor network communication method based on timesharing dormancy
CN108012313A (en) * 2016-10-31 2018-05-08 华为技术有限公司 Frame transmission method, equipment and system
WO2018153013A1 (en) * 2017-02-24 2018-08-30 珠海市魅族科技有限公司 Communication method and apparatus for wireless local area network, and communication terminal
CN108495372A (en) * 2018-01-19 2018-09-04 西安电子科技大学 In a kind of WLAN in cell multi-site Simultaneous Transmission of Data method
CN110337103A (en) * 2019-05-28 2019-10-15 杭州安恒信息技术股份有限公司 A kind of connectionless data hided transmission method based on 802.11 agreements
CN111556586A (en) * 2020-05-19 2020-08-18 西安电子科技大学 Self-adaptive media access control method adopting superframe in clustering WSN
CN112189329A (en) * 2019-08-23 2021-01-05 北京小米移动软件有限公司 Downlink data cache indication method and device and downlink data acquisition method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090010191A1 (en) * 2007-07-05 2009-01-08 Conexant Systems, Inc. Systems and Methods for Indicating Buffered Data at an Access Point Using an Embedded Traffic Indication Map
CN108012313A (en) * 2016-10-31 2018-05-08 华为技术有限公司 Frame transmission method, equipment and system
WO2018153013A1 (en) * 2017-02-24 2018-08-30 珠海市魅族科技有限公司 Communication method and apparatus for wireless local area network, and communication terminal
CN108513339A (en) * 2017-02-24 2018-09-07 珠海市魅族科技有限公司 Communication means, communication device and the communication terminal of WLAN
CN107835527A (en) * 2017-12-19 2018-03-23 河海大学 A kind of wireless sensor network communication method based on timesharing dormancy
CN108495372A (en) * 2018-01-19 2018-09-04 西安电子科技大学 In a kind of WLAN in cell multi-site Simultaneous Transmission of Data method
CN110337103A (en) * 2019-05-28 2019-10-15 杭州安恒信息技术股份有限公司 A kind of connectionless data hided transmission method based on 802.11 agreements
CN112189329A (en) * 2019-08-23 2021-01-05 北京小米移动软件有限公司 Downlink data cache indication method and device and downlink data acquisition method and device
CN111556586A (en) * 2020-05-19 2020-08-18 西安电子科技大学 Self-adaptive media access control method adopting superframe in clustering WSN

Also Published As

Publication number Publication date
CN113286330B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
EP2999276B1 (en) Method and terminal for reporting sensor data
CN102740334B (en) Wireless device and the method used in a wireless device
KR101840245B1 (en) A method for transmitting a heartbeat message and a mobile terminal
AU2005229818A1 (en) Networked wireless communications device programmed to identify and eliminate probable multipath errors to enhance accuracy in correcting sleep clock for thermally induced errors
KR20160121876A (en) Changing method from sleep mode to awake mode in wifi system
CN113286330B (en) Data transmission method and device
CN109548121B (en) Communication method and device of wireless local area network, access point equipment and site equipment
CN104869617A (en) Terminal control method
CN113472374B (en) Device wake-up method and wake-up receiver
CN115604796A (en) Data transmission method, system, device and storage medium
WO2017054581A1 (en) Application program stopping failure detection method, system and apparatus
CN104954583A (en) Terminal
CN107295539A (en) A kind of surfing flow service condition method for pushing and device
CN111417106A (en) Registration method and device of user identification card, storage medium and terminal
CN114884724B (en) Cloud server interaction method and device, readable storage medium and terminal equipment
CN109739557B (en) Zero overhead circulation device, realization method, system, equipment and computer medium
CN113852444A (en) RF wireless wake-up method and system
CN105897384A (en) Data exchange method
CN116668978A (en) Electronic price tag management method and device and electronic equipment
CN115314999A (en) Paging method, device, system, electronic equipment and storage medium
CN113784232A (en) Low-power-consumption communication method of intelligent water meter based on LoRa
CN117241353A (en) Positioning terminal control method and system
CN117528738A (en) Low-power consumption LoRa communication system, method, gateway and node terminal
CN116234011A (en) Paging method, device and system
CN114828168A (en) Method, device, wireless terminal and storage medium for monitoring wireless link

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: No. A1, A2 and D, 8th floor, building 2, yard 1, Wangzhuang Road, Haidian District, Beijing 100082

Patentee after: Gaotuoxunda (Beijing) Microelectronics Co.,Ltd.

Address before: No. A1, A2 and D, 8th floor, building 2, yard 1, Wangzhuang Road, Haidian District, Beijing 100082

Patentee before: ALTO BEAM (CHINA) Inc.