[go: up one dir, main page]

CN113038579A - Processing method and device - Google Patents

Processing method and device Download PDF

Info

Publication number
CN113038579A
CN113038579A CN202110217063.2A CN202110217063A CN113038579A CN 113038579 A CN113038579 A CN 113038579A CN 202110217063 A CN202110217063 A CN 202110217063A CN 113038579 A CN113038579 A CN 113038579A
Authority
CN
China
Prior art keywords
data
electronic device
router
source
power saving
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.)
Pending
Application number
CN202110217063.2A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110217063.2A priority Critical patent/CN113038579A/en
Publication of CN113038579A publication Critical patent/CN113038579A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is leader and terminal is follower
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] 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
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] 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
    • H04W52/0238Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is an unwanted signal, e.g. interference or idle signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供了处理方法及装置,在无线通信芯片处于省电模式下,监控来自路由器的管理帧,所述管理帧包括用于指示所述路由器获得的数据属于的设备的第一数据以及用于指示所述数据的来源的第二数据;无线通讯芯片不会仅依据第一数据确定是否退出省电模式,即不会在仅满足第一数据表征路由器获得了属于电子设备的数据的情况下,则退出省电模式,而是依据第一数据以及第二数据确定是否退出省电模式,即在第一数据指示路由器获得了属于电子设备的数据的情况下,无线通信芯片可能仍维持处于省电模式,所以延长了无线通信芯片处于PSM模式的时间,减少无线通信芯片从路由器接收数据的次数,节省了电子设备的电量,提高了电子设备的续航能力。

Figure 202110217063

Embodiments of the present application provide a processing method and apparatus for monitoring a management frame from a router when a wireless communication chip is in a power saving mode, where the management frame includes first data used to indicate the device to which the data obtained by the router belongs and The second data used to indicate the source of the data; the wireless communication chip will not determine whether to exit the power saving mode only based on the first data, that is, it will not only satisfy the situation that the first data indicates that the router has obtained the data belonging to the electronic device If the first data indicates that the router has obtained the data belonging to the electronic device, the wireless communication chip may still remain in the power saving mode. The power saving mode prolongs the time that the wireless communication chip is in the PSM mode, reduces the number of times the wireless communication chip receives data from the router, saves the power of the electronic device, and improves the battery life of the electronic device.

Figure 202110217063

Description

Processing method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a processing method and apparatus.
Background
The endurance of the electronic device is an important index for measuring the performance of the electronic device, and therefore how to improve the endurance of the electronic device is a difficult problem to be solved urgently by a person skilled in the art.
Disclosure of Invention
In view of the above, the present application provides a processing method and apparatus.
In order to achieve the above purpose, the present application provides the following technical solutions:
a method of processing, the method comprising:
monitoring a management frame from the router if the wireless communication chip of the electronic device is in a power saving mode; the management frame includes first data indicating a device to which the data obtained by the router belongs and second data indicating a source of the data;
analyzing the management frame to obtain first data and second data;
determining whether to exit the power saving mode based on the first data and the second data.
Optionally, the determining whether to exit the power saving mode based on the first data and the second data includes:
if the first data indicates that the router does not obtain the target data belonging to the electronic equipment, the wireless communication chip is maintained in the power saving mode;
if the first data indicates that the router obtains target data belonging to the electronic equipment, and the second data indicates that the source of the target data does not comprise a preset source, the wireless communication chip is maintained in the power saving mode;
if the first data indicate that the router obtains target data belonging to the electronic equipment, and the second data indicate that the source of the target data comprises a preset source, the wireless communication chip exits the power saving mode.
Optionally, after the wireless communication chip exits the power saving mode, the processing method further includes:
sending a request frame to the router, wherein the request frame is used for requesting the target data;
receiving a data frame which is sent by the router and contains the target data;
and entering the power saving mode after the target data is received.
Optionally, the method further includes:
receiving a write-in request, wherein the write-in request carries a white list set by a user, and the white list comprises one or more preset sources;
and responding to the write request, and storing the white list.
Optionally, the method further includes:
comparing the source of the target data to the whitelist;
if the source of the target data matches any preset source contained in the white list, determining that the source of the target data indicated by the second data includes the preset source.
Optionally, the source of the data includes an internet protocol IP address of a server that sends the data to the router, or the source of the data includes an IP address and a port number of the server.
A processing method is applied to a router and comprises the following steps:
receiving data transmission requests respectively sent by at least one server, wherein the data transmission requests comprise: the method comprises the steps that data, a destination communication address of electronic equipment to receive the data and a source communication address of a server are obtained;
obtaining first data indicating electronic devices to which at least one piece of the data respectively belongs, based on at least one of the destination communication addresses;
obtaining second data indicating sources corresponding to the at least one data respectively based on the at least one source communication address;
generating a management frame including the first data and the second data; the first data and the second data are the basis for determining whether to exit the power saving mode by a wireless communication chip contained in the electronic equipment;
and sending the management frame to the electronic equipment.
Optionally, after the step of sending the management frame to the destination electronic device, the method further includes:
and if the request frame sent by the electronic equipment is not received within the preset time length, discarding the data.
A processing device applied to electronic equipment comprises:
the monitoring module is used for monitoring the management frame from the router if the wireless communication chip of the electronic equipment is in a power-saving mode; the management frame includes first data indicating a device to which the data obtained by the router belongs and second data indicating a source of the data;
the analysis module is used for analyzing the management frame to obtain first data and second data;
a determination module to determine whether to exit the power saving mode based on the first data and the second data.
A processing device applied to a router comprises:
a receiving module, configured to receive data transmission requests sent by at least one server, where the data transmission requests include: the method comprises the steps that data, a destination communication address of electronic equipment to receive the data and a source communication address of a server are obtained;
a first obtaining module, configured to obtain, based on at least one destination communication address, first data indicating electronic devices to which at least one piece of data belongs, respectively;
a second obtaining module, configured to obtain, based on at least one of the source communication addresses, second data indicating sources to which at least one of the data corresponds, respectively;
a generation module configured to generate a management frame including the first data and the second data; the first data and the second data are the basis for determining whether to exit the power saving mode by a wireless communication chip contained in the electronic equipment;
and the sending module is used for sending the management frame to the electronic equipment.
As can be seen from the foregoing technical solutions, in the processing method applied to the wireless communication chip provided in the embodiment of the present application, when the wireless communication chip is in the power saving mode, a management frame from a router is monitored, where the management frame includes first data used for indicating a device to which data obtained by the router belongs and second data used for indicating a source of the data; the wireless communication chip of the electronic device does not determine whether to exit the power saving mode only according to the first data, namely, does not exit the power saving mode only under the condition that the first data indicates that the router obtains the data belonging to the electronic device, but determines whether to exit the power saving mode according to the first data and the second data, namely, the wireless communication chip can still be in the power saving mode under the condition that the first data indicates that the router obtains the data belonging to the electronic device, so that the time that the wireless communication chip is in the PSM mode is prolonged, the times that the wireless communication chip receives the data from the router are reduced, the electric quantity of the electronic device is saved, and the cruising ability of the electronic device is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is an architecture diagram of a hardware environment in which embodiments of the present application are implemented;
fig. 2 is a schematic diagram illustrating an interaction process between a server, a router, and an electronic device according to an embodiment of the present application;
fig. 3 is a flowchart of a processing method applied to a wireless communication chip in an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a relationship between a Bitmap control field and a PartialVirtualBitmap field provided in an embodiment of the present application;
fig. 5 is a data structure diagram of a BDH provided in an embodiment of the present application;
fig. 6 is a flowchart of a processing method applied to a router according to an embodiment of the present application;
fig. 7 is a structural diagram of a processing device applied to an electronic device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a processing device applied to a router according to an embodiment of the present application;
fig. 9 is a block diagram of an implementation manner of an electronic device provided in an embodiment of the present application;
fig. 10 is a block diagram of an implementation manner of a router according to an embodiment of the present application.
Detailed Description
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 of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to Save the electric quantity of the electronic equipment and improve the cruising ability of the electronic equipment, a wireless communication chip (WiFi chip) in the electronic equipment is in a PSM (Power Save Mode), if the router caches data to be sent to the electronic equipment, the wireless communication chip exits the PSM Mode, and then receives the data from the router; after exiting the PSM mode, the wireless communication chip may be in Wake UP mode, and receive the data from the router, the wireless communication chip is in Wake UP mode, and the process of receiving the data from the router may accelerate the consumption of the power of the electronic device, so how to extend the time that the wireless communication chip is in PSM mode, and reduce the number of times that the wireless communication chip receives the data from the router is a problem that those skilled in the art need to solve urgently, and also to save the power of the electronic device, and to improve the endurance of the electronic device.
Illustratively, the PSM mode is a power saving mode of the 802.11 protocol, and the Wake UP mode is an awake mode of the 802.11 protocol.
Based on this, embodiments of the present application provide a processing method and apparatus to achieve the purpose of prolonging the time that the wireless communication chip is in the PSM mode and reducing the number of times that the wireless communication chip receives data from the router. Before the technical solution provided by the embodiment of the present application is introduced, a hardware environment applied by the present application is introduced.
As shown in fig. 1, an architecture diagram of a hardware environment applied in the embodiment of the present application is shown, where the hardware environment includes: at least one electronic device 11, a router 12, and at least one server 13.
The electronic device 11 may be any electronic product capable of interacting with a user through one or more ways, such as a keyboard, a touch PAD, a touch screen, a remote controller, a voice interaction device, or a handwriting device, for example, a mobile phone, a notebook computer, a tablet computer, a palm computer, a personal computer, a wearable device, a smart television, a PAD, and the like.
The server 13 may be one server, a server cluster composed of a plurality of servers, or a cloud computing server center. The server 13 may include a processor, memory, and a network interface, among others.
For example, different servers 13 may correspond to different clients, for example, communication type clients, video type clients. The client may be an application client or a web page version client, for example.
Illustratively, one or more clients may be installed in the electronic device 11.
It should be noted that fig. 1 is only an example, and the types of the electronic devices may be various, and are not limited to the notebook computer, the smart phone, the PAD, and the personal computer in fig. 1. Fig. 1 shows 4 electronic devices and 2 servers, and in practical applications, the numbers of the electronic devices and the servers may be determined based on practical situations, and the application does not limit the numbers of the electronic devices and the servers.
The interaction process between any server 13, router 12, and any electronic device 11 is the same, and therefore, the interaction process will be described below by taking one server 13, router 12, and one electronic device 11 as an example. As shown in fig. 2, a schematic diagram of an interaction process between a server, a router, and an electronic device provided in the embodiment of the present application is shown, where the interaction process includes steps S201 to S203.
Step S201: the server 13 obtains a data transmission request including data to be transmitted, a destination communication address, and a source communication address, and sends the data transmission request to the router 12.
Wherein the destination communication address characterizes the address of the electronic device 11 receiving the data. The source communication address is the address of the server 13.
Illustratively, one server 13 may transmit data to one or more electronic devices 11; different servers 13 may transmit data to the same electronic device.
Illustratively, the Address of the electronic device 11 may include an IP (Internet protocol Address) Address, and/or a MAC (Media Access Control) Address. Illustratively, the IP address of the electronic device may be a public network IP address or a private network IP address.
Illustratively, the source communication address of the server may include: the IP address of the server, or source address, may include: the IP address and port number of the server.
For example, the types of the clients corresponding to the server 13 are different, and the obtained data transmission requests are different, which is described below by way of example.
Firstly, the type of the client is a video client.
Illustratively, the server 13 obtains a data transmission request in the case of video update, wherein the data to be transmitted may be a video update notification message.
Illustratively, the data transmission request may be generated by the server 13, and illustratively, the data transmission request may be received by the server 13.
And secondly, the type of the client is a communication client.
Illustratively, the server 13 obtains the data transmission request in the case of a communication demand, for example, in the case of text communication, voice communication or video communication between the user a and the user B. For example, if user a sends text information to user B, the server 13 may receive a data transmission request sent by an electronic device held by user a.
Step S202: the router 12 generates a management frame in response to the data transmission request, and transmits the management frame to the electronic device 11.
A router is a hardware device that connects two or more networks, acts as a gateway between the networks, and is a dedicated intelligent network device that reads the destination communication address in each data transfer request and then decides how to transmit.
The router 12 is capable of understanding different communication protocols, such as the ethernet protocol used by a certain local area network, the TCP/IP protocol used by the internet. Thus, the router can analyze the destination communication addresses of the data transmission requests transmitted by various different types of networks, and convert the addresses of the non-TCP/IP networks into TCP/IP addresses or vice versa; and transmitting the data in each data transmission request to the designated position according to the selected routing algorithm according to the optimal route. The router may connect a non-TCP/IP network to the internet.
Illustratively, if the communication protocol between the server 13 and the router 12 is different from the communication protocol between the router and the electronic device 13, the router 12 needs to construct management frames and data frames that satisfy the communication protocol between the electronic device 13.
The router 12 may resolve the addresses in the data transfer request, i.e., the destination communication address and the source communication address. First data indicating a device to which the data obtained by the router belongs and second data indicating a source of the data are thus available.
For example, if the router obtains a plurality of data belonging to different devices, the first data is used to indicate the devices to which the plurality of data obtained by the router belong, respectively. The second data is used for indicating the source corresponding to the data respectively.
Illustratively, if the router obtains one or more data belonging to the same device, the first data is used to indicate a device to which the plurality of data obtained by the router belong in common. The second data is used for indicating the source corresponding to the data respectively.
The device to which the data obtained by the router belongs is the device to receive the data carried in the data transmission request.
Illustratively, router 12 may generate a management frame that includes the first data as well as the second data.
In an alternative implementation, router 12 may send the management frame to one or more electronic devices that have an association with router 12.
Illustratively, the process of establishing the association relationship between the electronic device 11 and the router 12 is as follows: when the electronic device 11 is connected to the network, it needs to send an Association initiation Request (Association Request) to the router 12, and the router feeds back an Association Response frame (Association Response), thereby establishing an Association relationship between the electronic device 11 and the router 12.
For example, in the process of establishing the Association relationship, the router may assign an AID (Association Identifier) to the electronic device, and the Association corresponding frame fed back to the electronic device by the router may include the AID assigned to the electronic device by the router. The AIDs corresponding to different electronic devices are different.
For example, the first data may include data identification corresponding to AIDs of one or more electronic devices, and for example, if the data identification corresponding to the AIDs of the electronic devices is a first identification, the characterizing router obtains data belonging to the electronic device, and if the data identification corresponding to the AIDs of the electronic devices is a second identification, the characterizing router does not obtain data belonging to the electronic device.
Illustratively, the first identifier includes one or more of a number, a letter, and a special character, and the second identifier is one or more of a number, a letter, and a special character, and the first identifier is different from the second identifier.
Illustratively, the second data includes sources of data respectively corresponding to AIDs of the one or more electronic devices. The server corresponds to the client, so the source of the data can represent the client corresponding to the data, for example, if the source of the data is a WeChat server, the client corresponding to the data is a WeChat client, and if the source of the data is a jitter Server, the client corresponding to the data is a jitter client.
Step S203: for any electronic device 11, if the wireless communication chip of the electronic device 11 is in the power saving mode, the management frame from the router 12 is monitored, and whether to exit the power saving mode is determined based on the first data and the second data included in the management frame.
It should be noted that the wireless communication chip is in the power saving mode regardless of the state of the electronic device, and in the power saving mode of the wireless communication chip, the electronic device may be in any state, for example, in a bright screen state or a dark screen state, and the electronic device may operate one or more clients or may not operate any client.
Illustratively, the wireless communication chip may be any one of a BCM4325 chip, a BCM4329 chip, a BCM4330 chip, a BCM4390 chip, and the like.
Illustratively, the wireless communication chip may also monitor the management frame from the router 12 after exiting the power saving mode.
In the related art, when the wireless communication chip is in the power saving mode, if the first data indicates that the router has obtained the data belonging to the electronic device 11, the wireless communication chip exits the power saving mode, and if the first data indicates that the router has not obtained the data belonging to the electronic device 11, the wireless communication chip is maintained in the power saving mode. In the embodiment of the present application, when the wireless communication chip is in the power saving mode, whether to exit the power saving mode is not determined only according to the first data. Instead, whether to exit the power saving mode is determined according to the first data and the second data, that is, the wireless communication chip may still be in the power saving mode under the condition that the first data indicates that the router obtains the data belonging to the electronic device 11, so that the time that the wireless communication chip is in the PSM mode is prolonged, the frequency of receiving the data from the router by the wireless communication chip is reduced, the electric quantity of the electronic device is saved, and the cruising ability of the electronic device is improved.
It will be understood by those skilled in the art that the foregoing electronic devices and servers are merely exemplary and that other existing or future electronic devices or servers may be suitable for use with the present disclosure and are intended to be included within the scope of the present disclosure and are hereby incorporated by reference.
The following describes a processing method provided in an embodiment of the present application with reference to the drawings. As shown in fig. 3, a flowchart of a processing method applied to a wireless communication chip in an electronic device according to an embodiment of the present application is provided, where the method includes steps S301 to S303.
Step S301: the management frame from the router is monitored if the wireless communication chip of the electronic device is in a power saving mode.
The management frame includes first data indicating a device to which the data obtained by the router belongs and second data indicating a source of the data.
For example, the first data may include data identification corresponding to one or more devices respectively.
For example, the second data may include sources of data corresponding to one or more devices, respectively.
For example, the source of the data may be an IP address of a server, and since the server corresponds to the client, the client corresponding to the data source may be determined based on the data source.
For example, the source of the data may include an IP address and a port number of the server, and since the IP address of the server corresponds to the client and the port number of the server corresponds to the functional module of the client, the functional module of the client may be determined based on the source of the data.
For example, the port number a of the server corresponds to the function module 1 of the client, that is, the server sends data related to the function module 1 to the client through the port number a, for example, a friend circle function of the communication client, the port number a of the server sends data related to the friend circle function to the client, and after receiving the data, the client can successfully refresh the friend circle, so as to show the latest movement of a friend to the user.
Illustratively, different port numbers of the server correspond to different functional modules of the client.
In an optional implementation manner, the management frame may be a beacon packet. Illustratively, the first data is located in a TIM (Traffic Indication Map) field included in the beacon packet, where the TIM field belongs to Tagged Parameters in IEEE 802.11Wireless Management. Tagged Parameters may also include second Data, which may be a BDH (bitmap Data header) field, which is subsequently specified collectively.
Illustratively, the TIM field includes a Bitmap control field, a Partial Virtual Bitmap field, and the first data may be characterized by the Bitmap control field and the Partial Virtual Bitmap field.
Fig. 4 is a schematic diagram of a relationship between a Bitmap control field and a partial virtual Bitmap field provided in the embodiment of the present application.
Illustratively, the Bitmap control field is also divided into two parts: x0Is used to indicate whether multicast/broadcast packets are buffered, this is a special bit. If 1, then there is multicast/broadcast data buffered, if 0, then there is no multicast/broadcast data buffered, only unicast data buffered. X1To X7(circled by a dotted line in fig. 4) is used to identify a Bitmap Offset, indicating the Offset of the AID.
X of Bitmap control field assuming no multicast/broadcast packet is buffered0For 0, assuming that the router 12 obtains the minimum value of the AID of the electronic device to which one or more pieces of data respectively belong is 100, and the router obtains only the data corresponding to the electronic devices with AID 100 and AID 103, since the minimum number from 100 is 8 × 2^2+8 × 2^3 ^ 96, X is1To X7The values are in turn 0110000. Since 100 ═ 96+4, assuming the first flag is 1 and the second flag is 0, then the offset of the PartialVirtualBitmap field is 00001001.
Illustratively, the PartialVirtualBitmap is a field of variable length. And if the router caches the data corresponding to the AIDs, the bit number occupied by the partial VirtualBitmap is more than 8.
In an optional implementation manner, the management frame may be a beacon packet. For example, the first data may be located in a TIM (Traffic Indication Map) field included in the beacon message. The second Data may be a BDH (bitmap Data header) field, where the BDH field belongs to Tagged Parameters added at the end of Tagged Parameters of the beacon packet.
Illustratively, the TIM field includes a Bitmap control field, a PartialVirtualBitmap field, and the first data may be characterized by the Bitmap control field and the PartialVirtualBitmap field. Referring specifically to fig. 4, the detailed description is omitted here.
Illustratively, the BDH field may be a parameter of a variable field size. Fig. 5 is a diagram illustrating a data structure of a BDH according to an embodiment of the present invention.
As shown in fig. 5, the BDH field may include 5 parts, wherein the first part 51 is a fixed value for indicating the protocol types adopted by the BDH field for the second part to the fourth part; the second part Taglenggth 52 is the number of bytes occupied by the third part to the fifth part in total; the OUI53 in the third part is the identifier of the manufacturer of the protocol used for making the BDH field; the fourth part OUI type54 is the type of protocol; at least one fifth portion 55, each fifth portion 55 being a source of data corresponding to one or more AIDs respectively.
The following explains the above section 5 by way of example.
For example, the first part may be located in the first byte of the BDH field, e.g., 0xdd, and 0xdd indicates that the BDH field is a vector specific field. The second part of Tag length may be located at byte 1 of the BDH field, and the third part may be located at byte 3 to byte 5 of the BDH field, for example, the third part OUI is Motorola id F0-D7-AA; the fourth part may be located at the 6 th byte of the BDH field, for example, the fourth part OUI type is 0x 02.
For example, the number of bytes occupied by the 5 parts included in the BDH is only an example, for example, the number of bytes occupied by each of the first part to the fifth part may be any positive integer, and for example, the number of bytes occupied by the second part Tag length is 2, 3, 4, 5, ….
For example, if the BDH field is a vendor specific field, the number of bytes occupied by the second portion of Tag length is 1, in which case the fifth portion contains at most 10 sources of data corresponding to AIDs respectively.
For example, the BDH field may not be a vendor specific field, but other custom fields.
The reason why the fifth part includes data corresponding to 10 AIDs at most will be described below.
It can be understood that the number of bytes occupied by the IP address is 4 to 16, wherein the number of bytes occupied by the IP address of Ipv4 is 4, the number of bytes occupied by the IP address of Ipv6 is 16, the number of bytes occupied by the type of IP address is 2, wherein the protocol type of Ipv4 is 0x0800, the protocol type of Ipv6 is 0x86dd, the number of bytes occupied by the port number is 2, and the fifth part occupies 251 bytes at most since the third part and the fourth part occupy 4 bytes.
Fig. 5 shows three AID structures 551, and the maximum number of bytes occupied by one AID structure, i.e., the number of bytes occupied by AID + the number of bytes occupied by length + the number of bytes occupied by the type of IP address + the number of bytes occupied by port number, i.e., 1+2+2+16+2, 23. Where length represents the number of bytes occupied by Data (part shown in fig. 5). Since 251 ÷ 23 ÷ 10.9, the fifth part contains at most 10 sources of data corresponding to the AIDs.
For example, one BDH field may include one or more fifth parts.
Step S302: and analyzing the management frame to obtain first data and second data.
For example, the Bitmap control field and the partial virtual Bitmap field included in the TIM field included in the management frame may be parsed to obtain the first data, and the BDH field may be parsed to obtain the second data.
Step S303: determining whether to exit the power saving mode based on the first data and the second data.
In the related art, if the first data indicates that the router has acquired the data belonging to the electronic device 11, the power saving mode is exited, and if the first data indicates that the router has not acquired the data belonging to the electronic device 11, the power saving mode is maintained. In the embodiment of the present application, when the first data indicates that the router obtains the data belonging to the electronic device 11, the wireless communication chip may exit the power saving mode only if the second data satisfies a certain condition.
In the processing method applied to the wireless communication chip provided by the embodiment of the application, when the wireless communication chip is in a power saving mode, a management frame from a router is monitored, wherein the management frame comprises first data used for indicating a device to which data obtained by the router belongs and second data used for indicating a source of the data; the wireless communication chip of the electronic device does not determine whether to exit the power saving mode only according to the first data, namely, does not exit the power saving mode only under the condition that the first data indicates that the router obtains the data belonging to the electronic device, but determines whether to exit the power saving mode according to the first data and the second data, namely, the wireless communication chip can still be in the power saving mode under the condition that the first data indicates that the router obtains the data belonging to the electronic device, so that the time that the wireless communication chip is in the PSM mode is prolonged, the times that the wireless communication chip receives the data from the router are reduced, the electric quantity of the electronic device is saved, and the cruising ability of the electronic device is improved.
In an alternative implementation manner, there are various implementation manners of step S303, and the present embodiment provides but is not limited to the following manners, and the implementation manner of step S303 includes three cases.
In the first case: if the router indicated by the first data does not obtain the target data belonging to the electronic equipment, the wireless communication chip is maintained in the power saving mode.
In the second case: if the first data indicate that the router obtains target data belonging to the electronic equipment, and the second data indicate that the source of the target data does not belong to a preset source, the wireless communication chip is maintained in the power saving mode.
In the third case: and if the first data indicate that the router obtains target data belonging to the electronic equipment and the second data indicate that the source of the target data belongs to a preset source, the wireless communication chip exits the power saving mode.
In both the first and second cases, the wireless communication chip is in a power saving mode, and in the third case, the wireless communication chip exits the power saving mode.
In an alternative implementation manner, there are various manners of setting the preset source, and the embodiments of the present application provide, but are not limited to, the following two manners.
First, the electronic device automatically sets the default source.
For example, the electronic device may automatically set the predetermined source based on the remaining power.
For example, if the processor of the electronic device detects that the remaining power of the electronic device is less than the first threshold, the IP address of the server corresponding to the communication-type client is set as the preset source. Or if the processor of the electronic device detects that the remaining power of the electronic device is less than the first threshold, setting the IP address and the port number of the server corresponding to the communication module of the communication type client as a preset source. The processor of the electronic device writes a predetermined source into the wireless communication chip.
For example, the electronic device may set the preset source based on the state of the client, for example, set the IP address (or the IP address and the port number) of the server corresponding to the client in the running state as the preset source. The IP address (or IP address and port number) of the server corresponding to the client that is not in the running state is not a preset source.
For example, the electronic device may set an IP address (or an IP address and a port number) of a server corresponding to the client, which is exposed at the front end of the electronic device within a preset time, as a preset source.
For example, the processor of the electronic device may write the predetermined source to the wireless communication chip.
Second, the user manually sets the default source.
In an optional implementation manner, the processing method applied to the wireless communication chip further includes: receiving a write-in request, wherein the write-in request carries a white list set by a user, and the white list comprises one or more preset sources; and responding to the write request, and storing the white list.
Illustratively, the user may set the predetermined source via a user interface presented by the electronic device. Specific modes include, but are not limited to, the following two.
The first implementation includes steps a11 through a 14.
Step A11: and if the operation of setting the white list is detected, displaying a user interface, wherein one or more application icons are displayed on the user interface.
For example, the operation of setting the white list may be a voice operation, a touch operation, or a gesture operation.
Step A12: determining at least one application icon from the one or more application icons.
Step A13: and acquiring the IP address of the server corresponding to the at least one application icon.
Step A14: and adding the IP address of the server corresponding to the at least one application icon to the white list.
The second implementation includes steps a21 through a 26.
Step A21: and if the operation of setting the white list is detected, displaying a user interface, wherein one or more application icons are displayed on the user interface.
Step A22: determining at least one application icon from the one or more application icons.
Illustratively, the application icon of the application program may be a literal name, or, an image.
Step A23: and displaying the icon of the functional module corresponding to the at least one application icon.
For example, the icon of the function module may be a name or an image of the function module.
Step A24: and determining the icon of at least one functional module from the icons of the functional modules corresponding to the at least one application icon.
Step A25: and acquiring an IP address of a server corresponding to the at least one application icon and a port number of the server corresponding to one or more functional modules contained in the at least one application, wherein data corresponding to the functional modules contained in one application is sent through the port number of the server corresponding to the functional modules.
Step A26: and adding the IP address of the server corresponding to the at least one application and the port number of the server corresponding to one or more functions contained in the at least one application to the white list.
In an optional implementation manner, a black list may also be set, the preset source is not included in the black list, and the process of setting the black list is the same as the process of setting the white list, which is not described herein again.
The following describes a black list and a white list by taking a process of determining whether the target data indicated by the second data is a preset source as an example.
Comparing the source of the target data to the whitelist; and if the source of the target data is matched with any preset source contained in the white list, determining that the source of the target data indicated by the second data comprises a preset source. If the source of the target data does not match any preset source contained in the white list, determining that the source of the target data indicated by the second data does not include a preset source.
Comparing the source of the target data with the preset blacklist; and if the source of the target data is matched with any source contained in the preset list, determining that the source of the target data indicated by the second data does not comprise a preset source. And if the source of the target data is not matched with any source contained in the preset list, determining that the source of the target data indicated by the second data comprises a preset source.
In an alternative implementation manner, after the wireless communication chip exits the power saving mode, the processing method further includes the following steps B1 to B3.
Step B1: and sending a request frame to the router, wherein the request frame is used for requesting target data corresponding to the electronic equipment.
Illustratively, the request frame may be a PS-Poll frame.
In an optional implementation manner, the Backoff may be performed after the electronic device exits the power saving mode, and after the Backoff is completed, the PS-Poll frame is sent to the router. Illustratively, the PS-Poll frame includes the AID of the electronic device.
Step B2: and receiving a data frame which is sent by the router and contains the target data.
In an optional implementation manner, after receiving the request frame, the router feeds back an ACK (acknowledgement character) to the electronic device, and after sending the ACK, the router generates a data frame based on the target data and sends the data frame to the electronic device; or after the router receives the request frame, the data frame is generated directly based on the target data without feeding back the ACK, and the data frame is sent to the electronic equipment.
In an optional implementation manner, after receiving the data frame, the electronic device feeds back ACK to the router; or after receiving the data frame, the electronic device does not feed back the ACK to the router.
The amount of data carried in one data frame is constant, so the target data can be carried by one or more data frames, i.e. the data carried by one or more data frames constitutes the target data.
For example, the data frame carries a More data field, and if the More data field in the data frame received by the electronic device is equal to 1, it indicates that the router has not finished sending the target data belonging to the electronic device, so it is necessary to return to step B1 until the received data frame carries the More data field equal to 0, that is, the router has finished sending the target data belonging to the electronic device.
Step B3: and entering the power saving mode after the target data is received.
In summary, in the processing method applied to the electronic device, when the first data indicates that the router obtains the target data belonging to the electronic device, the second data is required to satisfy a certain condition, for example, the second data indicates that the source of the target data includes a preset source, the wireless communication chip will exit the power saving mode, otherwise, the wireless communication chip remains in the power saving mode. Thereby saving the electric quantity of the electronic equipment. For example, if the second data indicates that the source of the target data includes a preset source, it indicates that the target data belonging to the electronic device and obtained by the router includes data required by the electronic device, and therefore, the wireless communication chip is required to exit the power saving mode, and send the target data belonging to the electronic device and obtained by the router to the electronic device.
For example, one server may send one or more data to the same electronic device, and different servers may send one or more data to the same electronic device, it is understood that the source of the one or more data belonging to the electronic device includes a preset source, which indicates that at least part of the one or more data belonging to the electronic device obtained by the router is data required by the electronic device.
For example, after the wireless communication chip exits the power saving mode, the router may transmit all the obtained data belonging to the electronic device.
For example, after the wireless communication chip exits the power saving mode, the router may send the obtained data, which is from a predetermined source, of all data belonging to the electronic device.
The embodiment of the present application further provides a processing method applied to a router, and as shown in fig. 6, the method is a flowchart of the processing method applied to the router provided in the embodiment of the present application, and includes steps S601 to S605.
Step S601: receiving data transmission requests respectively sent by at least one server, wherein the data transmission requests comprise: data, a destination communication address of the data to be received, and a source communication address of the server.
In an optional implementation manner, each electronic device and the router are in the same local area network, the router already stores a correspondence between an identification ID of each electronic device and an AID, and the destination communication address includes a public network IP address of the router and an identification ID of the electronic device to receive data. The address identification of the electronic device may be a MAC address or a private network IP address of the electronic device.
In an optional implementation manner, the IP address of each electronic device is a public network IP address, and then, the destination communication address is a public network IP address of the electronic device.
Step S602: first data indicating destination electronic devices to which at least one of the data respectively belongs are obtained based on at least one of the destination communication addresses.
If the router stores the corresponding relation between the identification ID of each electronic device and the AID, the AID corresponding to at least one target communication address can be obtained; and obtaining first data based on AIDs respectively corresponding to at least one target communication address.
Step S603: and obtaining second data indicating sources corresponding to the at least one data respectively based on the at least one source communication address.
Illustratively, the second data is obtained based on an address type of the at least one source communication address, an IP address and a port number included in the at least one source communication address.
Step S604: generating a management frame including the first data and the second data; the first data and the second data are the basis for the wireless communication chip to determine whether to exit the power saving mode.
Step S605: and sending the management frame to the destination electronic equipment.
In an optional implementation manner, the processing method applied to the router further includes: and if the request frame sent by the electronic equipment is not received within the preset time length, discarding the data.
After the router sends the management frame to the electronic device, if the request frame sent by the electronic device is not received within the preset time length, the electronic device does not need the data, and therefore the data is discarded, and the storage space of the router is also saved.
For example, the preset time period may be determined based on actual conditions, and is not limited herein.
The method is described in detail in the embodiments disclosed in the present application, and the method of the present application can be implemented by various types of apparatuses, so that an apparatus is also disclosed in the present application, and the following detailed description is given of specific embodiments.
As shown in fig. 7, a block diagram of a processing apparatus applied to an electronic device according to an embodiment of the present application is provided, where the apparatus includes: a monitoring module 71, a parsing module 72, and a determining module 73, wherein:
a monitoring module 71, configured to monitor a management frame from the router if the wireless communication chip of the electronic device is in a power saving mode; the management frame includes first data indicating a device to which the data obtained by the router belongs and second data indicating a source of the data;
the analysis module 72 is configured to analyze the management frame to obtain first data and second data;
a determining module 73, configured to determine whether to exit the power saving mode based on the first data and the second data.
In an alternative implementation, the determining module includes:
a maintaining unit, configured to maintain the wireless communication chip in the power saving mode if the first data indicates that the router does not obtain target data belonging to the electronic device;
a maintaining unit, configured to maintain the wireless communication chip in the power saving mode if the first data indicates that the router obtains target data belonging to the electronic device, and the second data indicates that a source of the target data does not include a preset source;
and the exit unit is used for exiting the power saving mode by the wireless communication chip if the first data indicate that the router obtains target data belonging to the electronic equipment and the second data indicate that the source of the target data comprises a preset source.
In an optional implementation manner, after the wireless communication chip exits the power saving mode, the processing apparatus further includes:
a sending unit, configured to send a request frame to the router, where the request frame is used to request the target data;
a first receiving unit, configured to receive a data frame that includes the target data and is sent by the router;
and the switching unit is used for entering the power saving mode after the target data is received.
In an optional implementation manner, the processing apparatus further includes:
a second receiving unit, configured to receive a write request, where the write request carries a white list set by a user, and the white list includes one or more preset sources;
and the storage unit is used for responding to the write request and storing the white list.
In an optional implementation manner, the processing apparatus further includes:
a comparing unit, configured to compare a source of the target data with the white list;
a determining unit, configured to determine that the source of the target data indicated by the second data includes any preset source if the source of the target data matches any preset source included in the white list.
In an optional implementation manner, the source of the data includes an internet protocol IP address of a server sending the data to the router, or the source of the data includes an IP address and a port number of the server.
As shown in fig. 8, a block diagram of a processing device applied to a router provided in the embodiment of the present application includes: a receiving module 81, a first obtaining module 82, a second obtaining module 83, a generating module 84, and a sending module 85, wherein:
a receiving module 81, configured to receive data transmission requests respectively sent by at least one server, where the data transmission requests include: the method comprises the steps that data, a destination communication address of electronic equipment to receive the data and a source communication address of a server are obtained;
a first obtaining module 82, configured to obtain, based on at least one of the destination communication addresses, first data indicating electronic devices to which at least one of the data respectively belongs;
a second obtaining module 83, configured to obtain, based on at least one of the source communication addresses, second data indicating sources corresponding to at least one of the data respectively;
a generating module 84, configured to generate a management frame including the first data and the second data; the first data and the second data are the basis for determining whether to exit the power saving mode by a wireless communication chip contained in the electronic equipment;
a sending module 85, configured to send the management frame to the electronic device.
In an optional implementation manner, the method further includes:
and the discarding module is used for discarding the data if the request frame sent by the electronic equipment is not received within a preset time length after the management frame is sent to the electronic equipment.
As shown in fig. 9, which is a structural diagram of an implementation manner of an electronic device provided in an embodiment of the present application, the electronic device includes:
a memory 91 for storing a program;
a wireless communication chip 92, configured to execute the program, where the program is specifically configured to:
monitoring a management frame from the router if the wireless communication chip of the electronic device is in a power saving mode; the management frame includes first data indicating a device to which the data obtained by the router belongs and second data indicating a source of the data;
analyzing the management frame to obtain first data and second data;
determining whether to exit the power saving mode based on the first data and the second data.
Illustratively, the wireless communication chip 92 may be a special integrated circuit.
The electronic device may further include a communication interface 93 and a communication bus 94, wherein the memory 91, the wireless communication chip 92 and the communication interface 93 are configured to communicate with each other via the communication bus 94.
As shown in fig. 10, a structure diagram of an implementation manner of a router provided in the embodiment of the present application, the router includes:
a memory 101 for storing a program;
a processor 102 configured to execute the program, the program specifically configured to:
receiving data transmission requests respectively sent by at least one server, wherein the data transmission requests comprise: the method comprises the steps that data, a destination communication address of electronic equipment to receive the data and a source communication address of a server are obtained;
obtaining first data indicating electronic devices to which at least one piece of the data respectively belongs, based on at least one of the destination communication addresses;
obtaining second data indicating sources corresponding to the at least one data respectively based on the at least one source communication address;
generating a management frame including the first data and the second data; the first data and the second data are the basis for determining whether to exit the power saving mode by a wireless communication chip contained in the electronic equipment;
and sending the management frame to the electronic equipment.
The processor 102 may be a central processing unit CPU or an Application Specific Integrated Circuit (ASIC).
The electronic device may further comprise a communication interface 103 and a communication bus 104, wherein the memory 101, the processor 102 and the communication interface 103 are in communication with each other via the communication bus 104.
An embodiment of the present application further provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processing method applied to the electronic device is implemented.
The embodiment of the application also provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processing method applied to the router is realized.
Note that the features described in the embodiments in the present specification may be replaced with or combined with each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.一种处理方法,所述方法包括:1. A processing method, the method comprising: 如果电子设备的无线通信芯片处于省电模式,监控来自路由器的管理帧;所述管理帧包括用于指示所述路由器获得的数据属于的设备的第一数据以及用于指示所述数据的来源的第二数据;If the wireless communication chip of the electronic device is in the power saving mode, the management frame from the router is monitored; the management frame includes first data indicating the device to which the data obtained by the router belongs, and a data indicating the source of the data. second data; 解析所述管理帧,获得第一数据和第二数据;Parse the management frame to obtain first data and second data; 基于所述第一数据和所述第二数据确定是否退出所述省电模式。Whether to exit the power saving mode is determined based on the first data and the second data. 2.根据权利要求1所述处理方法,所述基于所述第一数据和所述第二数据确定是否退出所述省电模式步骤包括:2. The processing method according to claim 1, wherein the step of determining whether to exit the power saving mode based on the first data and the second data comprises: 如果所述第一数据指示所述路由器未获得属于所述电子设备的目标数据,所述无线通信芯片维持处于所述省电模式;If the first data indicates that the router has not obtained target data belonging to the electronic device, the wireless communication chip is maintained in the power saving mode; 如果所述第一数据指示所述路由器获得了属于所述电子设备的目标数据,以及,所述第二数据指示所述目标数据的来源不包括预设来源,所述无线通信芯片维持处于所述省电模式;If the first data indicates that the router has obtained target data belonging to the electronic device, and the second data indicates that the source of the target data does not include a preset source, the wireless communication chip remains in the power saving mode; 如果所述第一数据指示所述路由器获得了属于所述电子设备的目标数据,以及,所述第二数据指示所述目标数据的来源包括预设来源,所述无线通信芯片退出所述省电模式。If the first data indicates that the router has obtained target data belonging to the electronic device, and the second data indicates that the source of the target data includes a preset source, the wireless communication chip exits the power saving model. 3.根据权利要求2所述处理方法,在所述无线通信芯片退出所述省电模式后,所述处理方法还包括:3. The processing method according to claim 2, after the wireless communication chip exits the power saving mode, the processing method further comprises: 向所述路由器发送请求帧,所述请求帧用于请求所述目标数据;sending a request frame to the router, where the request frame is used to request the target data; 接收所述路由器发送的包含所述目标数据的数据帧;receiving a data frame containing the target data sent by the router; 若接收完毕所述目标数据后,进入所述省电模式。After receiving the target data, enter the power saving mode. 4.根据权利要求2或3所述处理方法,还包括:4. The processing method according to claim 2 or 3, further comprising: 接收写入请求,所述写入请求携带有用户设定的白名单,所述白名单包括一个或多个所述预设来源;receiving a write request, where the write request carries a whitelist set by the user, and the whitelist includes one or more of the preset sources; 响应所述写入请求,存储所述白名单。In response to the write request, the whitelist is stored. 5.根据权利要求4所述处理方法,其特征在于,还包括:5. The processing method according to claim 4, further comprising: 将所述目标数据的来源与所述白名单进行比较;comparing the source of the target data with the whitelist; 若所述目标数据的来源与所述白名单包含的任一预设来源相匹配,确定所述第二数据指示的所述目标数据的来源包括所述预设来源。If the source of the target data matches any preset source included in the whitelist, it is determined that the source of the target data indicated by the second data includes the preset source. 6.根据权利要求1或2或3或5所述处理方法,其特征在于,所述数据的来源包括发送所述数据至所述路由器的服务器的互联网协议IP地址,或,所述数据的来源包括所述服务器的IP地址以及端口号。6. The processing method according to claim 1 or 2 or 3 or 5, wherein the source of the data comprises an Internet Protocol IP address of a server that sends the data to the router, or the source of the data Include the IP address and port number of the server. 7.一种处理方法,应用于路由器,包括:7. A processing method, applied to a router, comprising: 接收至少一个服务器分别发送的数据传输请求,所述数据传输请求包括:数据、待接收所述数据的电子设备的目的通信地址以及所述服务器的源通信地址;Receive a data transmission request respectively sent by at least one server, where the data transmission request includes: data, the destination communication address of the electronic device to receive the data, and the source communication address of the server; 基于至少一个所述目的通信地址,获得指示至少一个所述数据分别属于的电子设备的第一数据;Based on at least one of the destination communication addresses, obtain first data indicating at least one electronic device to which the data respectively belongs; 基于至少一个所述源通信地址,获得指示至少一个所述数据分别对应的来源的第二数据;Based on at least one of the source communication addresses, obtain second data indicating at least one of the sources respectively corresponding to the data; 生成包含所述第一数据以及所述第二数据的管理帧;其中,所述第一数据以及所述第二数据是电子设备包含的无线通信芯片确定是否退出省电模式的依据;generating a management frame including the first data and the second data; wherein the first data and the second data are the basis for the wireless communication chip included in the electronic device to determine whether to exit the power saving mode; 将所述管理帧发送至所述电子设备。The management frame is sent to the electronic device. 8.根据权利要求7所述处理方法,在所述将所述管理帧发送至所述目的电子设备步骤之后,还包括:8. The processing method according to claim 7, after the step of sending the management frame to the destination electronic device, further comprising: 若在预设时长内未收到所述电子设备发送的请求帧,丢弃所述数据。If the request frame sent by the electronic device is not received within a preset time period, the data is discarded. 9.一种处理装置,应用于电子设备,包括:9. A processing device, applied to electronic equipment, comprising: 监控模块,用于如果电子设备的无线通信芯片处于省电模式,监控来自路由器的管理帧;所述管理帧包括用于指示所述路由器获得的数据属于的设备的第一数据以及用于指示所述数据的来源的第二数据;A monitoring module for monitoring a management frame from a router if the wireless communication chip of the electronic device is in a power-saving mode; the management frame includes first data for indicating the device to which the data obtained by the router belongs and for indicating the second data of the source of the said data; 解析模块,用于解析所述管理帧,获得第一数据和第二数据;a parsing module for parsing the management frame to obtain first data and second data; 确定模块,用于基于所述第一数据和所述第二数据确定是否退出所述省电模式。A determination module, configured to determine whether to exit the power saving mode based on the first data and the second data. 10.一种处理装置,应用于路由器,包括:10. A processing device, applied to a router, comprising: 接收模块,用于接收至少一个服务器分别发送的数据传输请求,所述数据传输请求包括:数据、待接收所述数据的电子设备的目的通信地址以及所述服务器的源通信地址;a receiving module, configured to receive a data transmission request respectively sent by at least one server, where the data transmission request includes: data, a destination communication address of an electronic device to receive the data, and a source communication address of the server; 第一获取模块,用于基于至少一个所述目的通信地址,获得指示至少一个所述数据分别属于的电子设备的第一数据;a first obtaining module, configured to obtain, based on at least one of the destination communication addresses, first data indicating at least one electronic device to which the data respectively belongs; 第二获取模块,用于基于至少一个所述源通信地址,获得指示至少一个所述数据分别对应的来源的第二数据;a second obtaining module, configured to obtain, based on at least one of the source communication addresses, second data indicating a source corresponding to at least one of the data respectively; 生成模块,用于生成包含所述第一数据以及所述第二数据的管理帧;其中,所述第一数据以及所述第二数据是电子设备包含的无线通信芯片确定是否退出省电模式的依据;A generating module, configured to generate a management frame including the first data and the second data; wherein the first data and the second data are determined by the wireless communication chip included in the electronic device to determine whether to exit the power saving mode in accordance with; 发送模块,用于将所述管理帧发送至所述电子设备。A sending module, configured to send the management frame to the electronic device.
CN202110217063.2A 2021-02-26 2021-02-26 Processing method and device Pending CN113038579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110217063.2A CN113038579A (en) 2021-02-26 2021-02-26 Processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110217063.2A CN113038579A (en) 2021-02-26 2021-02-26 Processing method and device

Publications (1)

Publication Number Publication Date
CN113038579A true CN113038579A (en) 2021-06-25

Family

ID=76461724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110217063.2A Pending CN113038579A (en) 2021-02-26 2021-02-26 Processing method and device

Country Status (1)

Country Link
CN (1) CN113038579A (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917401A (en) * 2005-08-16 2007-02-21 冲电气工业株式会社 Method for acquiring positional information on a wireless terminal
US20080301322A1 (en) * 2007-05-30 2008-12-04 Kabushiki Kaisha Toshiba Network controller, information processing apparatus and wake-up control method
CN101902804A (en) * 2009-05-27 2010-12-01 宏碁股份有限公司 Wireless communication device and its power saving method and encapsulation packet filtering method
CN102892193A (en) * 2012-09-20 2013-01-23 华为技术有限公司 Method and equipment for transmitting data
CN103369124A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Battery management method and device
CN103430601A (en) * 2011-01-16 2013-12-04 Lg电子株式会社 Method for communication based on identifying information assignment and apparatus for the same
US20140126442A1 (en) * 2012-11-02 2014-05-08 Qualcomm Incorporated Systems and methods for low power wake-up signal implementation and operations for wlan
US20150026491A1 (en) * 2013-07-22 2015-01-22 Samsung Electronics Co., Ltd. Remotely controllable electronic device and system including the same
CN104919766A (en) * 2013-02-22 2015-09-16 英特尔Ip公司 Path switching procedure for device-to-device communication
CN105515173A (en) * 2015-12-07 2016-04-20 北京奇虎科技有限公司 Wearable device and method thereof for managing application program according to electric quantity
CN105677141A (en) * 2015-12-29 2016-06-15 深圳市金立通信设备有限公司 Application program management method and terminal
CN106254662A (en) * 2016-08-16 2016-12-21 陈银芳 Interior of mobile phone control method and system
CN107733022A (en) * 2017-10-25 2018-02-23 成都猴子软件有限公司 Intelligent worn device continuation of the journey management system
CN107872839A (en) * 2016-09-24 2018-04-03 华为技术有限公司 Method, trunking and the network equipment of data forwarding
CN108990056A (en) * 2018-07-26 2018-12-11 科大讯飞股份有限公司 Wireless router and its control method, device, readable storage medium storing program for executing
CN109429357A (en) * 2017-08-30 2019-03-05 珠海市魅族科技有限公司 Communication means, device, access point apparatus and the site apparatus of WLAN
CN109803353A (en) * 2017-11-16 2019-05-24 展讯通信(上海)有限公司 A kind of data processing method, access point and work station
CN110720256A (en) * 2017-05-01 2020-01-21 黑莓有限公司 Waking up an address in a trigger frame
CN111294906A (en) * 2020-02-26 2020-06-16 京东方科技集团股份有限公司 Terminal, communication system and communication method
CN112068688A (en) * 2020-09-09 2020-12-11 北京字节跳动网络技术有限公司 Power saving method and device, electronic equipment and computer readable medium

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917401A (en) * 2005-08-16 2007-02-21 冲电气工业株式会社 Method for acquiring positional information on a wireless terminal
US20080301322A1 (en) * 2007-05-30 2008-12-04 Kabushiki Kaisha Toshiba Network controller, information processing apparatus and wake-up control method
CN101902804A (en) * 2009-05-27 2010-12-01 宏碁股份有限公司 Wireless communication device and its power saving method and encapsulation packet filtering method
CN103430601A (en) * 2011-01-16 2013-12-04 Lg电子株式会社 Method for communication based on identifying information assignment and apparatus for the same
CN103369124A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Battery management method and device
CN102892193A (en) * 2012-09-20 2013-01-23 华为技术有限公司 Method and equipment for transmitting data
US20140126442A1 (en) * 2012-11-02 2014-05-08 Qualcomm Incorporated Systems and methods for low power wake-up signal implementation and operations for wlan
CN104919766A (en) * 2013-02-22 2015-09-16 英特尔Ip公司 Path switching procedure for device-to-device communication
US20150026491A1 (en) * 2013-07-22 2015-01-22 Samsung Electronics Co., Ltd. Remotely controllable electronic device and system including the same
CN105515173A (en) * 2015-12-07 2016-04-20 北京奇虎科技有限公司 Wearable device and method thereof for managing application program according to electric quantity
CN105677141A (en) * 2015-12-29 2016-06-15 深圳市金立通信设备有限公司 Application program management method and terminal
CN106254662A (en) * 2016-08-16 2016-12-21 陈银芳 Interior of mobile phone control method and system
CN107872839A (en) * 2016-09-24 2018-04-03 华为技术有限公司 Method, trunking and the network equipment of data forwarding
CN110720256A (en) * 2017-05-01 2020-01-21 黑莓有限公司 Waking up an address in a trigger frame
CN109429357A (en) * 2017-08-30 2019-03-05 珠海市魅族科技有限公司 Communication means, device, access point apparatus and the site apparatus of WLAN
CN107733022A (en) * 2017-10-25 2018-02-23 成都猴子软件有限公司 Intelligent worn device continuation of the journey management system
CN109803353A (en) * 2017-11-16 2019-05-24 展讯通信(上海)有限公司 A kind of data processing method, access point and work station
CN108990056A (en) * 2018-07-26 2018-12-11 科大讯飞股份有限公司 Wireless router and its control method, device, readable storage medium storing program for executing
CN111294906A (en) * 2020-02-26 2020-06-16 京东方科技集团股份有限公司 Terminal, communication system and communication method
CN112068688A (en) * 2020-09-09 2020-12-11 北京字节跳动网络技术有限公司 Power saving method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
US9198217B2 (en) Method for maintaining connection between terminal and network server, terminal and network server
KR101821711B1 (en) Neighbor discovery to support sleepy nodes
CN104871496B (en) Method and apparatus for transmitting data between different peer-to-peer communications groups
CN106686070B (en) Database data migration method, device, terminal and system
JP6290397B2 (en) Data processing method and apparatus
US9866448B2 (en) Electronic device and method for DNS processing
JP2008301077A (en) Network controller, information processing apparatus, and wakeup control method
EP2856698B1 (en) Network presence offload
Martínez et al. The smart doorbell: A proof-of-concept implementation of a bluetooth mesh network
US9544851B2 (en) Communication terminal, communication method, and computer readable medium
CN115695374B (en) IPv6 subnet prefix notification implementation method, device, equipment and storage medium
CN103858388A (en) Loop detection method and apparatus
CN110337137B (en) Packet filtering method, device and system
US8433820B2 (en) Method and system for conserving battery power in wireless devices operating in a wireless local area network
CN113992600A (en) Method and device for multi-rate mode data transmission control based on buffer queue
CN113038579A (en) Processing method and device
CN105340238A (en) System and method of ANQP querying using common ANQP group version
CN111756817A (en) Device discovery method, apparatus, and computer-readable storage medium
TWI462521B (en) Network access device withflexible precise low-power remote wake-up mechanism applicable in various application layer handshake protocols
CN110622470B (en) Method for waking up network access equipment from internet
CN100505645C (en) Method for Detecting the Status of Devices in the Network
US9774566B2 (en) Communication method and mobile electronic device using the same
CN111490910A (en) Device information scanning method, terminal device and computer readable storage medium
CN119316479B (en) A network transmission method, device, electronic device and storage medium
WO2024032599A1 (en) Session binding method and function, and storage medium and electronic device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210625