CN111343615B - Method and apparatus for short-range communication - Google Patents

Method and apparatus for short-range communication Download PDF

Info

Publication number
CN111343615B
CN111343615B CN201911424782.0A CN201911424782A CN111343615B CN 111343615 B CN111343615 B CN 111343615B CN 201911424782 A CN201911424782 A CN 201911424782A CN 111343615 B CN111343615 B CN 111343615B
Authority
CN
China
Prior art keywords
communication
port
communication device
message
short
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911424782.0A
Other languages
Chinese (zh)
Other versions
CN111343615A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911424782.0A priority Critical patent/CN111343615B/en
Publication of CN111343615A publication Critical patent/CN111343615A/en
Application granted granted Critical
Publication of CN111343615B publication Critical patent/CN111343615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0222Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave in packet switched networks
    • 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

A method for data transmission in WLAN is provided, which comprises: the short-distance communication chip of the first communication device receives a message sent by a first port of the second communication device through a receiver; the short-distance communication chip determines whether the first port belongs to a port set according to the information of the first port, wherein the port set is a set of ports allowing a message to be sent to the first communication equipment; if the short-range communication chip determines that the first port does not belong to the port set, the short-range communication chip prohibits sending the message to a main chip of the first communication device; and if the short-distance communication chip determines that the first port belongs to the port set, the short-distance communication chip sends the message to the main chip. Therefore, the WLAN device reduces the power consumption of the WLAN device by identifying and filtering the peer port with which the WLAN transmission is performed.

Description

Method and apparatus for short-range communication
The application is a divisional application of an invention application of which the application date is 2016, 7, 20, china application number is 201610577985.3 and the application name is short-distance communication method and device.
Technical Field
The present invention relates to the field of communications, and in particular, to a method and apparatus for short-range communications in a wireless local area network in the field of communications.
Background
In short-range communication technologies, such as conventional wireless local area network (Wireless Local Area Networks, abbreviated as "WLAN") networking, WLAN devices can be classified into 2 categories, namely Access Point (AP) and Station (STA). This classification is not problematic when a mobile terminal such as a notebook or a mobile phone is used as a main STA. Because all of these devices have a common feature, they access each other or the internet through the AP.
With the rise of the internet of things of wireless fidelity (Wireless Fidelity, abbreviated as "WIFI"), devices of various service types, such as refrigerators, washing machines, air conditioners, electric cookers, and the like, appear in WLANs. These devices remain associated most of the time but data traffic is rare, mainly by reporting status information over the WLAN. Since most of the time is sleeping, it is susceptible to data from other devices in the network, increasing power consumption.
In addition, in a moving Digital Video (DV) scene, although DV is a role of an AP, it cannot provide a service for accessing the internet. If the handset side still transmits a large amount of hypertext transfer protocol (Hyper Text Transfer Protocol, abbreviated as "HTTP") or domain name system (Domain Name System, abbreviated as "DNS") data, not only the power consumption of the handset itself but also the power consumption of DV is increased.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method and an apparatus for short-range communication, which reduce power consumption of the short-range communication apparatus.
In a first aspect, a method of short-range communication is provided, the method comprising: the short-distance communication chip of the first communication device receives a message sent by a first port of the second communication device through a receiver; the short-distance communication chip determines whether the first port belongs to a port set according to the information of the first port, wherein the port set is a set of ports allowing a message to be sent to the first communication equipment; if the short-range communication chip determines that the first port does not belong to the port set, the short-range communication chip prohibits sending the message to a main chip of the first communication device; and if the short-distance communication chip determines that the first port belongs to the port set, the short-distance communication chip sends the message to the main chip.
Therefore, the short-distance communication chip of the short-distance communication device filters the message received from the opposite terminal device, so that unnecessary awakening of the main chip is avoided, and the power consumption overhead of the main chip of the short-distance communication device is saved.
It should be understood that, in the embodiment of the present invention, the port set may include a port number that allows sending or receiving of a message, or include a port number that does not allow sending or receiving of a message. That is, the ports in the port set may be prohibited ports, and when the communication device determines that the port for transmitting the message or the message to be received is in the port set, the communication device prohibits executing the transmission message or the receiving message, and if the port for transmitting the message or the message to be received is not in the port set, the communication device may transmit the message to the opposite terminal device or receive the message transmitted by the opposite terminal device. The present invention is not limited in any way.
As another embodiment, the method further comprises: the short-range communication chip sends the information of the port set to the second communication device.
Optionally, taking the WLAN device as an example, the WIFI chip of the first communication device may add a vendor custom IE in a protocol frame such as BEACON, PROBREQ, PROBRSP, ASSOCREQ or ASSOCRSP, where the IE includes information about a port set, for example, a port number of a port that can be supported, and the first communication device notifies the second communication device of the information about the port set by sending the protocol frame to the second communication device that communicates with the first communication device.
As another embodiment, the set of ports includes a user datagram protocol UDP port and/or a transmission control protocol TCP port.
As another embodiment, the short-range communication includes wireless local area network WLAN communication, and if the first communication device is a station STA side device, the second communication device is an access point AP side device, the method further includes: and if the first communication equipment does not receive the message sent by the second communication equipment in n continuous first delivery transmission indication information (DTIM) periods, the first communication equipment executes scheduling of the second communication equipment according to a second DTIM period, the length of the second DTIM period is larger than that of the first DTIM period, and n is a natural number larger than 1.
As another embodiment, the method further comprises: and after the first communication equipment receives the message sent by the second communication equipment, the first communication equipment executes scheduling of the second communication equipment according to the first DTIM period.
As another embodiment, the short-range communication includes WLAN communication, and if the first communication device is an AP-side device, the second communication device is an STA-side device, the method further includes: if the first communication device does not send a message to the second communication device in n continuous DTIM periods, the first communication device schedules the second communication device according to a second DTIM period, the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
As another embodiment, the method further comprises: and after the first communication equipment sends the message to the second communication equipment, the first communication equipment schedules the second communication equipment according to the first DTIM period.
For example, assuming that the initial length of the DTIM period is 1, after the STA side device enters the sleep state, the AP side device may dynamically adjust the length of the DTIM period, for example, if no message is to be sent to the STA side device by the AP side device in 10 consecutive DTIM periods, the DTIM period may be increased by 1, that is, become dtim=2. If the STA side device wakes up to receive the message buffered by the AP side device afterwards, the DTIM period may restore the initial value of 1 again.
Therefore, the AP side device can dynamically adjust the DTIM period, so that the number of awakening times for the same access device is reduced, more dormancy time can be provided, power consumption is saved, different access devices in the WLAN network can also set different DTIM periods according to own requirements, unnecessary power expenditure is avoided, and called service time delay caused by ARP message loss is not needed to worry.
It should be noted that the adjusted DTIM period should ensure the real-time performance of the data and successful key update. Dropped lines are easily generated if the DTIM period length is too large. For example, it may be ensured that the adjusted Beacon period x DTIM period is no longer than 500ms, where Beacon period=100 ms, DTIM period=5.
It should also be noted that here the proxy ARP (Proxy Arp) feature of the AP-side device is also guaranteed, i.e. the DTIM period is adjusted with the guarantee that ARP broadcast frames are not lost.
In a second aspect, there is provided a method of short-range communication, the method comprising: a short-distance communication chip of a first communication device receives a message sent by a main chip of the first communication device; the short-distance communication chip determines whether a first port belongs to a port set according to information of the first port, wherein the first port is a port of second communication equipment to receive the message, and the port set is a set of ports allowing the message to be sent to the second communication equipment; if the short-range communication chip determines that the first port does not belong to the port set, the short-range communication chip prohibits sending the message to the second communication device; and if the short-distance communication chip determines that the first port belongs to the port set, the short-distance communication chip sends the message to the second communication device.
Thus, the short-distance communication chip of the short-distance communication device filters the message received from the main chip, so that unnecessary interaction with the opposite terminal device is avoided, and the power consumption overhead of the short-distance communication chip of the short-distance communication device and the opposite terminal device is saved.
It should be understood that, in the embodiment of the present invention, the port set may include a port number that allows sending or receiving of a message, or include a port number that does not allow sending or receiving of a message. That is, the ports in the port set may be prohibited ports, and when the short-distance communication device determines that the port for transmitting the message or the message to be received is in the port set, the sending message or the receiving message is prohibited, and if the port for transmitting the message or the message to be received is not in the port set, the message may be sent to the opposite terminal device or the message sent by the opposite terminal device is received. The present invention is not limited in any way.
As another embodiment, before the short-range communication chip determines whether the first port belongs to a port set according to the information of the first port, the method further includes: and the short-distance communication chip receives the information of the port set sent by the second communication device through a receiver.
Optionally, taking a WLAN device as an example, the WIFI chip of the first communication device may receive information of the port set carried in a protocol frame such as BEACON, PROBREQ, PROBRSP, ASSOCREQ or ASSOCRSP sent by the second communication device.
As another embodiment, the set of ports comprises user datagram protocol, UDP, ports and/or transmission control protocol, TCP, ports.
As another embodiment, the short-range communication includes wireless local area network WLAN communication, and if the first communication device is an access point AP-side device, the second communication device is a station STA-side device, the method further includes: if the first communication device does not send a message to the second communication device in n continuous first delivery transmission indication information (DTIM) periods, the first communication device schedules the second communication device according to a second DTIM period, the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
As another embodiment, the method further comprises: and after the first communication equipment sends the message to the second communication equipment, the first communication equipment schedules the second communication equipment according to the first DTIM period.
As another embodiment, the short-range communication includes WLAN communication, and if the first communication device is a STA-side device, the second communication device is an AP-side device, the method further includes: and if the first communication equipment does not receive the message sent by the second communication equipment in n continuous first delivery transmission indication information (DTIM) periods, the first communication equipment executes scheduling of the second communication equipment according to a second DTIM period, the length of the second DTIM period is larger than that of the first DTIM period, and n is a natural number larger than 1.
As another embodiment, the method further comprises: and after the first communication equipment receives the message sent by the second communication equipment, the first communication equipment executes scheduling of the second communication equipment according to the first DTIM period.
For example, assuming that the initial length of the DTIM period is 1, after the STA side device enters the sleep state, the AP side device may dynamically adjust the length of the DTIM period, for example, if no message is to be sent to the STA side device by the AP side device in 10 consecutive DTIM periods, the DTIM period may be increased by 1, that is, become dtim=2. If the STA side device wakes up to receive the message buffered by the AP side device afterwards, the DTIM period may restore the initial value of 1 again.
Therefore, the AP side device can dynamically adjust the DTIM period, so that the number of awakening times for the same access device is reduced, more dormancy time can be provided, power consumption is saved, different access devices in the WLAN network can also set different DTIM periods according to own requirements, unnecessary power expenditure is avoided, and called service time delay caused by ARP message loss is not needed to worry.
It should be noted that the adjusted DTIM period should ensure the real-time performance of the data and successful key update. Dropped lines are easily generated if the DTIM period length is too large. For example, it may be ensured that the adjusted Beacon period x DTIM period is no longer than 500ms, where Beacon period=100 ms, DTIM period=5.
It should also be noted that here the proxy ARP (Proxy Arp) feature of the AP-side device is also guaranteed, i.e. the DTIM period is adjusted with the guarantee that ARP broadcast frames are not lost.
In a third aspect, a short-range communication device is provided, which may perform the method of the first aspect or any of the possible implementation forms of the first aspect. The communication device is a first communication device, and the first communication device comprises a receiver, a short-distance communication chip and a main chip; the receiver is used for receiving a message sent by a first port of the second communication equipment; the short-range communication chip is used for: determining whether the first port belongs to a port set according to the information of the first port, wherein the port set is a set of ports allowing a message to be sent to the first communication equipment; under the condition that the first port does not belong to the port set, prohibiting sending the message to the main chip; and sending the message to the main chip under the condition that the first port belongs to the port set.
In a fourth aspect, there is provided a short-range communication device, which may perform the method of the second aspect or any of the possible implementation manners of the second aspect. The communication device is a first communication device, and the first communication device comprises a short-distance communication chip, a main chip and a transmitter; the short-range communication chip is used for: receiving a message sent by the main chip; determining whether a first port belongs to a port set according to information of the first port, wherein the first port is a port of second communication equipment to receive the message, and the port set is a set of ports allowing the message to be sent to the second communication equipment; under the condition that the first port does not belong to the port set, the transmitter is forbidden to send the message to the second communication equipment; and under the condition that the first port belongs to the port set, sending the message to the second communication equipment through the transmitter.
In a fifth aspect, a computer readable medium is provided for storing a computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
In a sixth aspect, a computer readable medium is provided for storing a computer program comprising instructions for performing the method of the second aspect or any possible implementation of the second aspect.
Based on the technical scheme, in the process of message transmission under short-distance communication, the short-distance communication equipment identifies and filters the opposite terminal port for short-distance transmission, so that unnecessary message transmission is reduced, unnecessary awakening of a main chip is reduced, and the power consumption of the equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a schematic architecture diagram of an application scenario of an embodiment of the present invention.
Fig. 2 is a schematic diagram of an embodiment of the present invention in a sports DV application scenario.
Fig. 3 (a) is a schematic diagram of packet reception in a sleep state and an awake state of a STA in the related art.
Fig. 3 (b) is a schematic diagram of the prior art message reception in the presence of a DTIM period and a Beacon period.
Fig. 4 is a flow chart of a method of short-range communication according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a method of short-range communication according to an embodiment of the present invention.
Fig. 6 is a flow chart of a method of short-range communication in accordance with another embodiment of the present invention.
Fig. 7 is a schematic diagram of a method of short-range communication according to another embodiment of the present invention.
Fig. 8 is a flow chart of a method of short-range communication in accordance with another embodiment of the present invention.
Fig. 9 is a schematic diagram of a method of short-range communication according to another embodiment of the present invention.
Fig. 10 is a flow chart of a method of short-range communication in accordance with another embodiment of the present invention.
Fig. 11 is a schematic diagram of a method of short-range communication according to another embodiment of the present invention.
Fig. 12 is a schematic diagram of dynamically adjusting DTIM periods in accordance with an embodiment of the present invention.
Fig. 13 is a block diagram of a short-range communication apparatus according to an embodiment of the present invention.
Fig. 14 is a block diagram of a short-range communication apparatus according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
Fig. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention. Access points and stations under the WLAN networking of the internet of things are shown in fig. 1. The access point may be paired with one or more stations and may communicate with the one or more stations. As shown in fig. 1, the AP 100 may be a router, and may provide a service for accessing the internet for a station, including AP 100 and STA110, STA 120, STA 130, STA 140, STA 150, STA 160, STA 170, STA 180, STA190, STA 1901, and STA 1902. The stations STA110 to STA1902 may be a mobile phone, a netbook, a notebook computer, a usb disk, a tablet computer, a camera, a switch, a refrigerator, a washing machine, an air conditioner, and an electric cooker, respectively. The stations STA110 to STA1902 and the access point AP 100 can perform message transmission through the WLAN, so as to implement data interaction. These sites include not only traditional networking equipment notebooks, cell phones, etc., but also new service type equipment refrigerators, washing machines, air conditioners, electric cookers, etc.
Fig. 2 is a schematic diagram of an embodiment of the present invention in a sports DV application scenario. The access points and stations under the outdoor mobile WLAN networking are shown in fig. 2. The access point may be paired with one or more stations and may communicate with the one or more stations. As shown in fig. 2, includes an AP 200, an STA 210, and an STA 220. The access point AP 200 may be a motion DV, the station STA 210 may be a tablet computer, and the STA220 may be a mobile phone. In a sports DV scenario, although the AP 200 acts as an access point, it does not provide services for accessing the internet.
The two networking characteristics are that: 1. the device that is the STA does not necessarily have to access the internet; 2. the device serving as the AP is not necessarily a router capable of providing a service for accessing the internet. From the viewpoint of power consumption, when the conventional binary structure of the AP and the STA is used for networking of the WLAN of the Internet of things, the router on the AP side is required to meet the performance of the conventional mobile phone, the notebook and other devices. It is difficult to meet the low power consumption requirement of the internet of things equipment. Moreover, for the internet of things equipment, the optimization of power consumption is always forced to sleep, and the optimization effect has the problems of losing key frames and untimely response. In the sports DV scenario, however, DV does not provide Internet (Internet) services, although it is an access point. If the mobile still sends the Internet probe message, the power consumption of DV and the mobile is not small. In addition, in the scenario of the mobile phone associated router, after the mobile phone enters deep sleep (the main processor sleeps), the mobile phone does not provide any service. The WIFI chip wakes up to receive the cache broadcast frame and the unicast frame too frequently according to the delivery transmission indication message (Delivery Traffic Indication Message, DTIM for short) of the router, and power consumption is affected.
In the prior art, in order to solve the problem of higher power consumption of the WLAN device, a policy of forced periodic sleep of the STA side is adopted, and the policy has the advantages of simplicity, but the disadvantage that the packet loss probability is greatly increased, and the response of the called service is slow. Fig. 3 (a) is a schematic diagram of packet reception in a sleep state and an awake state of a STA in the related art. As shown in fig. 3 (a), when the AP-side device transmits a broadcast frame such as an address resolution protocol (Address Resolution Protocol, abbreviated as "ARP") message, if the STA is in a sleep state, it cannot receive the ARP message, and a packet loss event occurs. Only when the equipment at the AP side sends the ARP message, the STA is in the wake-up state, so that the correct receiving of the ARP message can be ensured.
Another way is to add DTIM periods and Beacon (Beacon) periods at the AP side. Fig. 3 (b) is a schematic diagram of the prior art message reception in the presence of a DTIM period and a Beacon period. The benefit of this strategy is that the sleep time of the access device can be increased, but the reaction of all access devices is slowed down.
The delivery transmission indication message DTIM is used for the AP to inform the STA of its buffered multicast or broadcast data, which is a periodic Beacon formed according to the frequency set by the DTIM period. Beacon is a data packet used by an AP to synchronize a wireless network. A common transmission indication message exists in each Beacon for advertising the presence of buffered unicast packets. The AP will send multicast or broadcast data once per DTIM. The DTIM period determines how many Beacon periods AP will transmit a buffered broadcast frame at intervals and this period value will be contained within each Beacon frame. According to the DTIM period, the DTIM is included in the Beacon frame to inform the STA device whether the AP has buffered broadcast or multicast data to send. In the power save mode, the STA device may choose to sleep one or more Beacon periods and wake up when a Beacon frame containing DTIM is received. For example, when DTIM period=1, indicating every other Beacon interval, the AP will send all temporarily buffered messages. When DTIM period=2, the STA device in power saving mode will wake up when receiving Beacon frame containing DTIM. DTIM period=0, indicating that the AP is about to send all temporarily buffered messages. The larger the DTIM period, the longer the STA device sleeps, and thus the more power efficient. Too small a length of the DTIM period may not perform a power saving function, but too large a length may affect the quality of broadcast or multicast communication. Typically through test adjustment to achieve power saving without affecting the application.
Therefore, the embodiment of the invention provides a data transmission method in a wireless local area network, which reduces unnecessary message transmission by carrying out WLAN equipment identification and service port registration, thereby reducing the power consumption of WLAN equipment.
It should be understood that the technical solution of the embodiment of the present invention may be applied to various communication systems, for example: current communication systems such as global system for mobile communications (Global System of Mobile communication, abbreviated "GSM") systems, code division multiple access (Code Division Multiple Access, abbreviated "CDMA") systems, wideband code division multiple access (Wideband Code Division Multiple Access, abbreviated "WCDMA") systems, general packet radio service (General Packet Radio Service, abbreviated "GPRS"), long term evolution (Long Term Evolution, abbreviated "LTE") systems, general mobile communication systems (Universal Mobile Telecommunication System, abbreviated "UMTS") and future 5G systems.
The embodiment of the present invention is only described by taking the short-range communication process between communication devices in WLAN as an example, but the present invention is not limited thereto. The short-range communication device may include a WLAN device, and the short-range communication chip used for communication in the short-range communication device may include a WIFI chip. The station STA side device and the access point AP side device in the embodiment of the present invention may also be applicable to other communication networks other than WLAN networks.
It should also be understood that the AP herein may be a WLAN AP through which the user device may connect to the internet. The AP may be a separate AP, which is controlled and managed by an access controller (Access Controller, abbreviated as "AC"), may be an AP including an AC function, or may form a specific base station with a base station, and the present invention is not limited thereto.
It should also be understood that the STA herein may be at least one of a wearable device, a mobile phone, a tablet, a notebook computer, a refrigerator, a washing machine, an air conditioner, an electric cooker, etc., and the AP may also be at least one of a wearable device, a mobile phone, a tablet, a notebook computer, a refrigerator, a washing machine, an air conditioner, an electric cooker, etc., which is not limited in this invention. The AP is an electronic device capable of accessing the Internet by a mobile communication technology, and may access a core network by a mobile communication technology such as a long term evolution (Long Term Evolution, abbreviated as "LTE"), a universal mobile telecommunication system (Universal Mobile Telecommunications System, abbreviated as "UMTS"), or 5G, and then connect the Internet by the core network, for example. Further, the STA side accesses the AP through the WLAN, and connects to the Internet via the master device, so that the STA may communicate with the server on the network side through the Internet, where the STA accesses the AP through the WLAN, and may access the AP through WIFI, bluetooth, near field communication (Near Field Communication, abbreviated as "NFC"), infrared, and other technologies. It should be noted that in the embodiment of the present invention, the STA needs a communication function under the WLAN, but is not limited to an electronic device that only supports the communication function under the WLAN.
It should also be appreciated that the access to the AP via the WLAN may be one STA or multiple STAs. After the STA and the AP are successfully connected, the AP can transmit messages with the STA. The following describes an example of the AP 10 and the STA 20.
Fig. 4 is a flow chart of a method of short-range communication according to an embodiment of the present invention. The AP 10 and STA20 are shown in fig. 4, wherein the AP 10 shown in fig. 4 includes a main chip 101 and a WIFI chip 102, and the STA20 includes a WIFI chip 202. As shown in fig. 4, the specific flow of data transmission in the wireless lan includes:
401, the master chip 101 of the AP 10 sends a message to the WIFI chip 102 of the AP 10.
Specifically, when the AP 10 sends a message to the STA20 in the wireless local area network, the master chip 101 of the AP 10 may send the message to the WIFI chip 102 of the AP 10, so that the WIFI chip 102 of the AP 10 sends the message to the STA20 through the wireless local area network.
Optionally, the message includes information about the port of the STA20 that is to receive the message, e.g., the message includes the destination port number.
The WIFI chip 102 of the ap 10 determines 402 whether the port of the STA20 that receives the message belongs to the port set.
Specifically, when the WIFI chip 102 of the AP 10 receives a transmitted packet of the master chip 101, it is determined whether the port of the STA20 that is to receive the packet belongs to the port set. The ports in the port set include ports of the STA20 that are capable of receiving the message. If the WIFI chip 102 of the AP 10 determines that the port of the STA20 that is to receive the packet belongs to the port set, the WIFI chip 102 of the AP 10 sends the packet sent by the master chip 101 to the STA20 through the port, that is, executing 403; if the WIFI chip 102 of the AP 10 determines that the port of the STA20 that is to receive the packet does not belong to the port set, the WIFI chip 102 of the AP 10 does not send the packet sent by the master chip 101 to the STA20, i.e. the execution 404.
403, the WIFI chip 102 of the ap 10 sends a message to the WIFI chip 202 of the STA 20.
404, the WIFI chip 102 of the ap 10 releases the message.
Specifically, if the WIFI chip 102 of the AP 10 determines that the port of the STA 20 that is to receive the message belongs to the port set, the WIFI chip 102 of the AP 10 may send the message to the WIFI chip 202 of the STA 20; if the WIFI chip 102 of the AP 10 determines that the port of the STA 20 that is to receive the packet does not belong to the port set, the WIFI chip 102 of the AP 10 prohibits sending the packet to the WIFI chip 202 of the STA 20, e.g., the WIFI chip 102 of the AP 10 may release the packet.
That is, the WIFI chip 102 of the AP 10 filters the messages received by the WIFI chip 102 according to the port information in the port set stored by itself, only the messages meeting the conditions are correctly sent to the STA 20, and for the messages not meeting the conditions, the messages are not sent to the STA 20, so that unnecessary message transmission between the AP 10 and the STA 20 is avoided, and thus the power consumption overhead of the WIFI chip 102 of the AP 10 and the STA 20 is saved.
For example, fig. 5 shows a schematic diagram of a method of short-range communication according to another embodiment of the present invention. Assuming that the AP 10 is a router and the STA 20 is a camera, when the router sends a packet to the camera, for example, when the router sends a broadcast frame, an address refresh request or a random internet packet explorer (Packet Internet Groper, abbreviated as "Ping") packet to the camera, the master chip of the router will send the packet to its WIFI chip first, and when the WIFI chip of the router receives the packet, it will determine whether the target device sending the packet, i.e. the port number of the camera, is in the port set saved in the router, and when finding out, the port number of the camera is not in the port set, then the packets will not be sent to the camera, so as to reduce the power consumption of the router and the camera.
As another example, the method may further include 405 and 406 before 402.
405, WIFI chip 202 of sta 20 determines the port set.
In this embodiment, the STA 20 may determine the port number of the peer device capable of supporting the pairing with the STA 20 for packet transmission, and the port information in the port set of the STA 20 may also be referred to as the service capability of the STA 20, that is, the port set includes the service ports capable of being supported by the STA 20.
That is, a message transmitted by a port in the port set can be received by the main chip 201 of the STA 20, and a message transmitted by a port not in the port set is prohibited from being received by the main chip 201 of the STA 20. After determining the port set, the STA 20 may send the information of the port set to the WIFI chip 102 of the AP 10, and after receiving the information of the port set, the WIFI chip 102 of the AP 10 may identify and filter the port sending the message to the STA 20 according to the port set.
Alternatively, the port number that can be paired with the STA 20 may be saved at the time of device initialization.
Optionally, the port set may include a user datagram protocol UDP port and a transmission control protocol TCP port, and the number of user datagram protocol UDP ports in the port set may be set to be less than or equal to 8, and the number of transmission control protocol TCP ports may be set to be less than or equal to 8.
406, WIFI chip 202 of sta 20 sends the information of the port set to WIFI chip 102 of AP 10.
Specifically, after the WIFI chip 202 of the STA 20 determines the port set, the information of the port set may be sent to other peer devices, such as the AP 10, in a manner carried in a protocol frame, so as to inform the AP 10 that a message sent by a port in the port set can be received by the port, so that the WIFI chip 102 of the AP 10 determines whether to send, according to the received information of the port set, a message received from the master chip 101 to the STA 20.
Optionally, the STA 20 may add a vendor customized information element (Information Element, abbreviated as "IE") in a protocol frame such as BEACON, PROBREQ, PROBRSP, ASSOCREQ or ASSOCRSP, for example, oui=ac-85-3D-11, and notify the peer device in communication with the STA 20 of its port set information, where OUI represents a vendor customized type, AC-85-3D refers to 11 representing WLAN private peer. The specific format may be found in the bytes shown in table one. The following acts as the number of occupied bytes.
List one
This information may be placed in the location of the vendor specific catalog in table one, which may include the contents shown in table 2. The lower row represents the number of bytes occupied.
Watch II
The port set information needs to specify the supported service ports, for example, the number of supported UDP and TCP ports, and the information such as the supported port number list. After successful association with the peer device performing the packet transmission, the peer device, such as AP 10, may obtain information about the port set determined by STA 20 by receiving these protocol frames, so as to perform port filtering according to the port set to determine whether to send the packet received from main chip 101 to STA 20.
Therefore, the reliability and timeliness of service data of the Internet of things equipment in the WLAN are guaranteed, and meanwhile, the power consumption of the equipment can be reduced through port filtering.
Fig. 6 is a flow chart of a method of short-range communication in accordance with another embodiment of the present invention. AP 10 and STA 20 are shown in fig. 6, where AP 10 shown in fig. 6 includes WIFI chip 102, and STA 20 includes main chip 201 and WIFI chip 202. As shown in fig. 6, the specific flow of data transmission in the wireless lan includes:
601, the WIFI chip 102 of the ap 10 sends a message to the WIFI chip 202 of the STA 20.
Optionally, the message includes information of a port of the AP 10 that is to send the message, for example, the message includes a source port number. After receiving the message sent by the WIFI chip 102 of the AP 10, the WIFI chip 202 of the STA 20 can identify and filter the port according to the information of the port included in the message to determine whether to send the message to the main chip 201. The port information may also inform WIFI chip 202 of STA 20 in other ways.
602, WIFI chip 202 of sta20 determines whether the port that sends the packet AP 10 belongs to the port set.
Specifically, when the WIFI chip 202 of the STA20 receives the message sent by the WIFI chip 102 of the AP 10, it determines whether the port of the AP 10 that sends the message belongs to the port set. The packets sent by the ports in the port set of STA20 can be received by the master chip 201 of STA 20. If the WIFI chip 202 of the STA20 determines that the port of the AP 10 that sends the message belongs to the port set, the WIFI chip 202 of the STA20 sends the received message to the main chip 201, that is, executes 603; if the WIFI chip 202 of the STA20 determines that the port of the AP 10 that transmits the message does not belong to the port set, the WIFI chip 202 of the STA20 does not transmit the received message to the main chip 201, i.e. the execution 604.
603, the WIFI chip 202 of the sta20 sends the received message to the master chip 201.
604, WIFI chip 202 of sta20 releases the message.
Specifically, if the WIFI chip 202 of the STA20 determines that the port of the AP 10 that sends the message belongs to the port set, the WIFI chip 202 of the STA20 sends the received message to the master chip 201; if the WIFI chip 202 of the STA20 determines that the port of the AP 10 that transmits the packet does not belong to the port set, the WIFI chip 202 of the STA20 prohibits the received packet from being transmitted to the master chip 201, e.g., the WIFI chip 202 of the STA20 may release the packet.
That is, the STA 20 filters the messages received by the WIFI chip 202 according to the port information in the port set stored by itself, only the messages meeting the conditions are correctly sent to the main chip 201, and the messages not meeting the conditions are not sent to the main chip 201, so that unnecessary wake-up of the main chip 201 of the STA 20 is avoided, and thus the power consumption overhead of the main chip 201 is saved.
For example, fig. 7 shows a schematic diagram of a method of short-range communication according to another embodiment of the present invention. Assuming that the AP 10 is a router, the STA 20 is a camera, when the router sends a message to the camera, for example, when the router sends a broadcast frame, an address refresh request or a random Ping packet to the camera, when the WIFI chip of the camera receives the message sent by the router, the camera will determine whether the device sending the message, that is, the port number of the router, is in the port set stored in the camera, and when finding that the port number of the router is not in the port set, the WIFI chip of the camera will not send the messages to the master chip of the camera, so that the master chip of the camera may not need to be awakened, and the power consumption of the master chip of the camera is reduced.
Therefore, in the method of the embodiment of the present invention, during the process of transmitting the message under the WLAN, the STA 20 identifies and filters the opposite port with which the WLAN transmission is performed, so as to reduce unnecessary message transmission, and avoid unnecessary wake-up of the main chip, thereby reducing the power consumption of the STA 20.
As another example, the method may further comprise 605 prior to 602.
605, WIFI chip 202 of sta 20 determines the port set.
Specifically, the WIFI chip 202 of the STA 20 determines a port number of a peer device capable of supporting pairing with the STA 20 for message transmission, and the port information in the port set of the STA 20 may also be referred to as a service capability of the STA 20, that is, the port set includes a service port capable of being supported by the STA 20.
After the WIFI chip 202 of the STA 20 determines the port set, it can determine the message sent by the AP 10 according to the port information in the port set, and only if the port sending the message is in the port set, the WIFI chip 202 of the STA 20 will send the message received from the AP 10 to the main chip 201.
Alternatively, the port number that can be paired with the STA 20 may be saved at the time of device initialization.
Optionally, the port set may include a user datagram protocol UDP port and a transmission control protocol TCP port, and the number of user datagram protocol UDP ports in the port set may be set to be less than or equal to 8, and the number of transmission control protocol TCP ports is set to be less than or equal to 8.
The specific process of determining the port set by the STA 20 may refer to the process of determining the port set by the STA 20 in 405 in fig. 4, which is not described herein for brevity.
As another example, after 605, the method may further include 606.
606, WIFI chip 202 of sta 20 sends the information of the port set to WIFI chip 102 of AP 10.
Specifically, after the WIFI chip 202 of the STA 20 determines the port set, the information of the port set may be sent to other peer devices, such as the AP 10, in a manner carried in a protocol frame, so as to inform the other peer devices that a message sent by a port in the port set can be received by the other peer devices, so that the other peer devices determine whether to send the message to the STA 20 according to the received information of the port set.
The specific process of the STA 20 transmitting the information of the port set to the AP 10 may refer to the process of the STA 20 transmitting the information of the port set in 406 in fig. 4, which is not described herein for brevity.
Based on the method of the embodiment of the invention, in the process of transmitting the message under the WLAN, the station and the access point identify and filter the opposite terminal port for transmitting the WLAN with the station and the access point so as to reduce unnecessary message transmission and unnecessary awakening of a main chip, thereby reducing the power consumption of the device.
The above is described as the case when the AP 10 transmits a message to the STA 20, and the following describes the case when the STA 20 transmits a message to the AP 10. When STA 20 transmits a message to AP 10, STA 20 also needs to filter the message. Fig. 8 is a flow chart of a method of short-range communication in accordance with another embodiment of the present invention. AP 10 and STA 20 are shown in fig. 8, where AP 10 shown in fig. 8 includes WIFI chip 102, and STA 20 includes main chip 201 and WIFI chip 202. As shown in fig. 8, the specific flow of data transmission in the wireless lan includes:
801, the main chip 201 of STA 20 sends a message to the WIFI chip 202 of STA 20.
Specifically, when the STA 20 sends a message to the AP 10 in the wireless local area network, the master chip 201 of the STA 20 may send the message to the WIFI chip 202 of the STA 20, so that the WIFI chip 202 of the STA 20 sends the message to the AP 10 through the wireless local area network.
Optionally, the message may include information of a port of the AP 10 that is to receive the message, for example, the message includes a destination port number. 802, WIFI chip 202 of sta 20 determines whether the port of AP 10 receiving the message belongs to the port set.
Specifically, when the WIFI chip 202 of the STA 20 receives the transmitted message of the main chip 201, it is determined whether the port of the AP 10 that will receive the message belongs to the port set. The port set of STA 20 is a transmitting port set, and the ports in the port set are ports of AP 10 capable of receiving the packet. If the WIFI chip 202 of the STA 20 determines that the port of the AP 10 that is to receive the packet belongs to the port set, the WIFI chip 202 of the STA 20 sends the packet sent by the main chip 201 to the AP 10 through the port, that is, executing 803; if the WIFI chip 202 of the STA 20 determines that the port of the AP 10 that is to receive the packet does not belong to the port set, the WIFI chip 202 of the STA 20 does not send the packet sent by the main chip 201 to the AP 10, i.e. step 804 is performed.
803, the WIFI chip 202 of the sta 20 sends a message to the WIFI chip 102 of the AP 10.
804, WIFI chip 202 of sta 20 releases the message.
Specifically, if the WIFI chip 202 of the STA 20 determines that the port of the AP 10 that is to receive the message belongs to the port set, the WIFI chip 202 of the STA 20 sends the message to the WIFI chip 102 of the AP 10; if the WIFI chip 202 of STA 20 determines that the port of AP 10 that is to receive the message does not belong to the port set, the WIFI chip 202 of STA 20 prohibits sending the message to the WIFI chip 102 of AP 10, e.g., the WIFI chip 202 of STA 20 may release the message.
That is, the WIFI chip 202 of the STA 20 filters the message received by the WIFI chip 202 according to the port information in the port set stored by itself, only the message meeting the condition is correctly sent to the AP 10, and the message not meeting the condition is not sent to the AP 10, so that unnecessary message transmission between the STA 20 and the AP 10 is avoided, and thus the power consumption overhead of the WIFI chip 202 of the STA 20 is saved.
For example, fig. 9 shows a schematic diagram of a method of short-range communication according to another embodiment of the present invention. Assuming that the AP 10 is a motion DV, the STA 20 is a mobile phone, when the mobile phone sends a message to the motion DV, for example, when an application such as a WeChat, weather application software or antivirus software on the mobile phone sends a data message to the camera, a master chip of the mobile phone will send the data message to a WIFI chip of the mobile phone first, when the WIFI chip of the router receives the data message, it will determine whether a target device sent by the message, that is, a port number of the motion DV, is in a port set stored in the mobile phone, and when finding, it is found that the port number of the motion DV is not in the port set, then the data messages will not be sent to the motion DV, so as to reduce power consumption of the mobile phone and the motion DV.
As another example, the method may further include 805 and 806 prior to 802.
805, the WIFI chip 102 of the ap 10 determines a port set.
In this embodiment, the AP 10 may determine the ports of the peer devices capable of supporting the pairing with the AP 10 for packet transmission, and the port information in the port set of the AP 10 may also be referred to as the service capability of the AP 10, that is, the port set includes the service ports capable of being supported by the AP 10.
That is, a message sent by a port in the port set can be received by the master chip 101 of the AP 10, and a message sent by a port not in the port set is prohibited from being received by the master chip 101 of the AP 10. After the AP 10 determines the port set, it sends the information of the port set to the WIFI chip of the STA 20, and the WIFI chip of the STA 20 can filter the port sending the message to the AP 10 according to the information of the port set.
Alternatively, the ports with which the AP 10 can pair may be saved at the time of device initialization.
Optionally, the port set may include a user datagram protocol UDP port and a transmission control protocol TCP port, and the number of user datagram protocol UDP ports in the port set may be set to be less than or equal to 8, and the number of transmission control protocol TCP ports is set to be less than or equal to 8.
806, WIFI chip 102 of ap 10 sends the information of the port set to WIFI chip 202 of STA 20.
Specifically, after the WIFI chip 102 of the AP 10 determines the port set, the information of the port set may be sent to other peer devices, such as the STA 20, in a manner carried in a protocol frame, so as to inform the STA 20 that the message sent by the port in the port set can be received by the STA, so that the WIFI chip 202 of the STA 20 determines whether to send the message to the AP 10 according to the received information of the port set.
Optionally, the AP 10 may add a vendor-defined IE in a specific field of a protocol frame such as BEACON, PROBREQ, PROBRSP, ASSOCREQ or ASSOCRSP, where the IE includes information about a port set, for example, a port number of a port that can be supported, and after successful association with a peer device that performs packet transmission, the peer device, for example, STA 20, may obtain the port set information determined by the AP 10 from the protocol frames.
The specific process of determining and transmitting the port set by the AP 10 may refer to the process of determining and transmitting the port set by the STA 20 in fig. 4 and fig. 6, and will not be described herein for brevity.
Fig. 10 is a flow chart of a method of short-range communication according to an embodiment of the present invention. The AP 10 and the STA 20 are shown in fig. 10, wherein the AP 10 shown in fig. 10 includes a main chip 101 and a WIFI chip 102, and the STA 20 includes a WIFI chip 202. As shown in fig. 10, the specific flow of data transmission in the wireless lan includes:
1001, the WIFI chip 202 of the sta 20 sends a message to the WIFI chip 102 of the AP 10.
Optionally, the message includes information about the port of the STA 20 that is to send the message, e.g., the message includes a source port number. After the WIFI chip 102 of the AP 10 receives the message sent by the WIFI chip 202 of the STA 20, the port can be filtered according to the information of the port therein to determine whether to send the message to the main chip 101. The port information may also inform WIFI chip 102 of AP 10 in other ways.
1002, the WIFI chip 102 of the AP 10 determines whether the port that transmits the packet STA 20 belongs to the port set of the AP 10.
Specifically, when WIFI chip 102 of AP 10 receives the message sent by WIFI chip 202 of STA 20, it determines whether the port of STA 20 that sent the message belongs to the port set of AP 10. The port set of the AP 10 is a receiving port set, and a packet sent by a port in the port set can be received by the master chip 201 of the AP 10. If the WIFI chip 102 of the AP 10 determines that the port of the STA 20 that sends the message belongs to the port set, the WIFI chip 102 of the AP 10 sends the received message to the master chip 101, i.e. executes 1003; if the WIFI chip 102 of the AP 10 determines that the port of the AP 10 that sends the message does not belong to the port set, the WIFI chip 102 of the AP 10 will not send the received message to the master chip 101, i.e. execution 1004.
1003, the WIFI chip 202 of the sta 20 sends the received message to the master chip 201.
1004, the WIFI chip 202 of the sta 20 releases the message.
Specifically, if the WIFI chip 202 of the STA 20 determines that the port of the AP 10 that sends the message belongs to the port set, the WIFI chip 202 of the STA 20 sends the received message to the master chip 201; if the WIFI chip 202 of STA 20 determines that the port of the AP 10 that sent the packet does not belong to the port set, then the WIFI chip 202 of STA 20 prohibits sending the received packet to the master chip 201, e.g., the WIFI chip 202 of STA 20 may release the packet.
That is, the AP 10 filters the messages received by the WIFI chip 102 according to the port information in the port set stored by itself, only the messages meeting the conditions are correctly sent to the main chip 101, and the messages not meeting the conditions are not sent to the main chip 101, so that unnecessary wake-up of the main chip 101 of the AP 10 is avoided, and power consumption overhead of the main chip 101 is saved.
For example, fig. 11 shows a schematic diagram of a method of short-range communication according to another embodiment of the present invention. Assuming that the AP 10 is a motion DV, the STA 20 is a mobile phone, the motion DV receives a message sent by the mobile phone, for example, the motion DV receives a data message sent by an application such as a WeChat, a weather application or an antivirus software of the mobile phone, when the WIFI chip of the motion DV receives the message sent by the mobile phone, the motion DV can determine whether a device sending the message, that is, a port number corresponding to an application program of the mobile phone, is in a port set saved by the motion DV, and when finding, it is found that the port number of the application program sending the data message in the mobile phone is not in the port set, then the WIFI chip of the motion DV will not send the messages to a main chip of the motion DV, so that the main chip of the motion DV can be unnecessarily awakened, and the power consumption of the main chip of the motion DV is reduced.
Therefore, in the method of the embodiment of the invention, in the process of transmitting the message under the WLAN, the access point and the station identify and filter the opposite terminal port for transmitting the WLAN with the access point and the station so as to reduce unnecessary message transmission and unnecessary awakening of the main chip, thereby reducing the power consumption of the equipment at the AP side.
As another example, the method may further comprise 1005 prior to 1002.
1005, the WIFI chip 102 of the ap 10 determines the port set.
Specifically, the AP 10 determines the ports of the peer devices capable of supporting the pairing with the AP 10 for packet transmission, and the port information in the port set of the AP 10 may also be referred to as the service capability of the AP 10, that is, the port set includes the service ports capable of being supported by the STA 20.
Alternatively, the ports with which the AP 10 can pair may be saved at the time of device initialization.
Optionally, the port set may include a user datagram protocol UDP port and a transmission control protocol TCP port, and the number of user datagram protocol UDP ports in the port set may be set to be less than or equal to 8, and the number of transmission control protocol TCP ports is set to be less than or equal to 8.
As another example, after 1005, the method may further comprise 1006.
1006, WIFI chip 102 of ap 10 sends information of the port set to WIFI chip 202 of STA 20.
Specifically, after the WIFI chip 202 of the STA 20 determines the port set, the information of the port set may be sent to other peer devices, such as the STA 20, in a manner carried in a protocol frame, so as to inform the STA 20 that a message sent by a port in the port set can be received by the port, so that the WIFI chip 202 of the STA 20 determines whether to send, according to the received information of the port set, the message received from the master chip 201 to the AP 10.
Optionally, the AP 10 may add a vendor-defined IE in a specific field of a protocol frame such as BEACON, PROBREQ, PROBRSP, ASSOCREQ or ASSOCRSP, where the IE includes information about a port set, for example, a port number of a port that can be supported, and after successful association with a peer device that performs packet transmission, the peer device may obtain, for example, the STA 20 information about the port set of the AP 10.
The specific process of determining and transmitting the information of the port set by the AP 10 may refer to the process of determining and transmitting the information of the port set by the AP 10 in 805 and 806 of fig. 8, which is not described herein for brevity.
It should be understood that, in the embodiment of the present invention, the port set may include a port number that allows sending or receiving of a message, or include a port number that does not allow sending or receiving of a message. That is, the ports in the port set may also be prohibited ports, when the WLAN device determines that the port for transmitting the message or the port for receiving the message is in the port set, the WLAN device prohibits executing the transmitting message or the receiving the message, and if the port for transmitting the message or the port for receiving the message is not in the port set, the WLAN device may transmit the message or receive the message transmitted by the peer device. The present invention is not limited in any way.
According to the method provided by the embodiment of the invention, in the process of transmitting the message under the WLAN, the WLAN equipment identifies and filters the opposite terminal port for transmitting the WLAN with the WLAN equipment so as to reduce unnecessary message transmission, avoid unnecessary awakening of a main chip and further reduce the power consumption of the equipment.
The power consumption of the sports DV and the cell phone without port identification and filtering and with port filtering and identification is shown in table three.
The normal mode refers to a mode in which port identification and filtering are not performed, and the filtering mode refers to a mode in which port identification and filtering are performed. For brevity, the description is omitted.
Watch III
It can be seen that when the mobile phone adopts the method of the embodiment of the invention to identify and filter the port which is communicated with the mobile phone, the power consumption of the mobile phone is obviously reduced compared with the power consumption of the mobile phone without the port identification and filtering. In the DV ordinary mode or DV filtering mode, the power consumption of the mobile phone is reduced from 39mA to 25mA, so that the power consumption of 14mA can be saved, and the power consumption of 35% is saved.
When the DV adopts the method disclosed by the embodiment of the invention to identify and filter the port communicated with the DV, the power consumption of the DV is obviously reduced compared with that of the DV without the port identification and filtering. In a common mode of the mobile phone, the power consumption of the DV is reduced from 30mA to 15mA, so that the power consumption of 15mA can be saved, and the power consumption of nearly 50% is saved; in the mobile phone filtering mode, the power consumption of the DV is 12mA, and the power consumption saving is mainly embodied on the mobile phone.
When the mobile phone adopts the filtering mode, the reduction of the power consumption of the mobile phone and the reduction of the power consumption of the DV can be realized no matter whether the DV adopts the filtering mode or not; when the mobile phone adopts a common mode, the DV adopts a filtering mode, so that the power consumption of the DV can be reduced.
The power consumption of the doorbell and the AP without port identification and filtering and with port filtering and identification is shown in table four. The doorbell in table four is associated with the AP and is in a standby scenario.
Table four
AP normal mode AP filtering mode
Doorbell common mode Doorbell power consumption 30mA 12mA
Doorbell filtration mode Doorbell power consumption 15mA 12mA
It can be seen that when the doorbell adopts the method described in the embodiments of the present invention to identify and filter the port with which it communicates, the power consumption of the doorbell is significantly reduced compared with the case where no port identification and filtering is performed. In an AP common mode, the power consumption of the doorbell is reduced from 30mA to 15mA, so that the power consumption of 15mA can be saved, and the power consumption of 50% is saved; in the AP filtering mode, the power consumption of the doorbell is 12mA, and the power consumption saving is mainly embodied on the AP.
When the AP adopts the method of the embodiment of the invention to identify and filter the port which is communicated with the AP, the power consumption of the doorbell is greatly influenced, and compared with the case that the AP does not identify and filter the port, the power consumption of the doorbell is obviously reduced. In a doorbell common mode, the power consumption of the doorbell is reduced from 30mA to 12mA, so that 18mA power consumption can be saved, and 60% power consumption is saved; in doorbell filter mode, the power consumption of the doorbell is reduced from 15mA to 12mA.
When the AP adopts the filtering mode, the doorbell can reduce the power consumption no matter whether the doorbell adopts the filtering mode or not.
In table five, power consumption of the handset and the AP is shown in the case where port identification and filtering are not performed, and in the case where port filtering and identification are performed. The mobile phone in the fifth table is associated with the AP and is in a standby scene of the dark screen.
TABLE five
AP normal mode AP filtering mode
Common mode of mobile phone Mobile phone power consumption 32mA 32mA
Mobile phone filtering mode Mobile phone power consumption 15mA 15mA
It can be seen that when the mobile phone adopts the method of the embodiment of the invention to identify and filter the port which is communicated with the mobile phone, the power consumption of the mobile phone is obviously reduced compared with the power consumption of the mobile phone without the port identification and filtering. In the AP common mode, the power consumption of the mobile phone is reduced from 32mA to 15mA, so that the power consumption of 17mA can be saved, and the power consumption of 53% is saved; in the AP filtering mode, the power consumption of the mobile phone is reduced from 32mA to 15mA, so that the power consumption of 17mA can be saved, and the power consumption of 53% is saved.
When the mobile phone adopts the filtering mode, the power consumption of the mobile phone can be reduced no matter whether the AP adopts the filtering mode or not.
In the method for reducing power consumption of the access device in the prior art, the DTIM period is added at the AP side. However, the time length of the DTIM period is fixed, that is, when there are messages to be sent to the STA, the AP buffers the messages first, and sends the messages to the STA at fixed time intervals, that is, at intervals of the DTIM period, so that the STA wakes up from a sleep state to receive the messages at intervals of the DTIM period. However, if the STA has no traffic message to receive for a long period of time, it may increase unnecessary power consumption if it wakes up from a sleep state for a fixed length of time. Thus, in another embodiment of the present invention, unnecessary power consumption overhead of STA devices is reduced by dynamically adjusting the DTIM period.
As another embodiment, if the AP 10 does not send a message to the STA 20 in n consecutive first delivery transmission indication information DTIM periods, the AP 10 schedules the STA 20 according to a second DTIM period, where the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
In this embodiment, after the main chip 201 of the STA 20 enters the sleep state, if there is no service packet that needs to be sent to the STA 20 in n consecutive DTIM periods, that is, when the AP 10 does not buffer the service packet to be sent to the STA 20 in the n DTIM periods, since the main chip 201 of the STA 20 is in the sleep state, in order to increase the sleep time of the main chip 201 to reduce the power consumption, the length of the first DTIM period may be increased to obtain the second DTIM period, so that the AP 10 schedules the STA 20 according to the second DTIM period. If there are still no traffic messages to be sent to STA 20 within n second DTIM periods, the length of the second DTIM periods may continue to be increased.
If the AP 10 transmits a traffic message for the STA 20 at any time later and the main chip 201 of the STA 20 wakes up from the sleep state to receive the traffic message, the length of the second DTIM period may be restored to the initial value, i.e., the length of the first DTIM period. And the DTIM period can be dynamically adjusted continuously according to the message receiving condition according to the scheme.
For example, assuming that the initial length of the DTIM period is 1, the length of the DTIM period may be dynamically increased after the main chip 201 of the STA 20 enters the sleep state, for example, 1 may be added to the DTIM period when no packet is buffered for the STA 20 by the AP 10 in 10 consecutive DTIM periods, that is, dtim=2. If the master chip 201 of STA 20 wakes up to receive the message buffered by AP 10 later, the DTIM period resumes initial value 1 again.
The AP 10 can dynamically adjust the DTIM period, so that the number of times of awakening for the same access device is reduced, more sleep time is available, power consumption is saved, and different access devices in the WLAN network can set different DTIM periods according to their own needs, so that unnecessary power overhead is avoided, and the called service delay caused by ARP message loss is not needed.
It should be noted that the adjusted DTIM period should ensure the real-time performance of the data and successful key update. Dropped lines are easily generated if the DTIM period length is too large. For example, it may be ensured that the adjusted Beacon period x DTIM period is no longer than 500ms, where Beacon period=100 ms, DTIM period=5.
It should also be noted that here the proxy ARP (Proxy Arp) nature of the AP 10 is also guaranteed, i.e. the DTIM period is adjusted in case ARP broadcast frames are guaranteed not to be lost.
Fig. 12 is a schematic diagram of dynamically adjusting DTIM periods in accordance with an embodiment of the present invention. An AP 10, STA 20, STA30, and STA40 are shown in fig. 10. The AP 10 can configure DTIM periods with different lengths for the STA 20, the STA30, and the STA40 according to the own requirement of each STA device. For example, the frequency of receiving the service message by the STA 20 is higher, the frequency of the AP 10 scheduling the STA 20 to wake up is higher, and the length of the DTIM period is smaller; the frequency of receiving the service message by the STA40 is low, the frequency of the AP 10 scheduling the STA40 to wake up is low, the DTIM period is long, and the STA40 can have more time to be in a dormant state; the frequency with which STA30 receives the traffic message is moderate, so that it wakes up between STA 20 and STA40. In this way, unnecessary power consumption by STA40 when the fixed DTIM period is short can be avoided, and ARP message loss of STA 20 when the fixed DTIM period is long can also be avoided.
It should be understood that the sequence numbers of the above processes do not mean the order of execution, and the execution order of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation process of the embodiments of the present invention.
The method for transmitting data in the wireless local area network WLAN according to the embodiment of the present invention is described in detail above with reference to fig. 1 to 12, and the user equipment and the base station for transmitting data according to the embodiment of the present invention will be described in detail below with reference to fig. 13 to 14.
Fig. 13 is a block diagram of a short-range communication apparatus according to an embodiment of the present invention. The short-range communication device 1300 shown in fig. 13 can be used to perform the respective processes implemented by the STA 20 or the AP 10 in the foregoing method embodiments of fig. 4 to 12. The short-range communication device 1300 shown in fig. 13 is a first communication device, and a counterpart device that performs data transmission with the first communication device 1300 may be referred to as a second communication device. The first communication device 1300 includes a transceiver 1310, a short-range communication chip 1320, a main chip 1330, and an antenna 1340, where the transceiver 1310 may include a receiver 1311 and a transmitter 1312. The receiver 1311 is configured to receive a message sent by the first port of the second communication device; the short-range communication chip 1320 is configured to: determining whether the first port belongs to a port set according to the information of the first port received by the receiver, wherein the port set is a set of ports allowing a message to be sent to the first communication equipment; in the case that the first port is determined not to belong to the port set, prohibiting sending the message to the master chip 1330; and sending the message to the master chip 1330 if it is determined that the first port belongs to the port set.
Optionally, the transmitter 1312 is configured to: and sending the information of the port set to the second communication equipment.
Optionally, the port set includes a user datagram protocol UDP port and/or a transmission control protocol TCP port.
Optionally, the short-range communication includes wireless local area network WLAN communication, if the first communication device 1300 is a station STA side device, the second communication device is an access point AP side device, and the first communication device 1300 is configured to: if the receiver 1311 does not receive the message sent by the second communication device in n consecutive first delivery transmission indication information DTIM periods, scheduling of the second communication device is performed according to a second DTIM period, where the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
Optionally, the first communication device 1300 is further configured to: and after the receiver 1311 receives the message sent by the second communication device, scheduling the second communication device according to the first DTIM period.
Optionally, the short-range communication includes WLAN communication, and the first communication device 1300 further includes a transmitter 1312, and if the first communication device 1300 is an AP-side device, the second communication device is an STA-side device, the first communication device 1300 is configured to: if the transmitter 1312 does not send a message to the second communication device in n consecutive DTIM periods, scheduling the second communication device according to a second DTIM period, where the length of the second DTIM period is greater than the length of the first DTIM period, and n is a natural number greater than 1.
Optionally, the first communication device 1300 is further configured to: after the transmitter 1312 transmits a message to the second communication device, the second communication device is scheduled according to the first DTIM period.
Fig. 14 is a block diagram of a short-range communication apparatus according to another embodiment of the present invention. The short-range communication device 1400 shown in fig. 14 can be used to perform the various processes implemented by the STA 20 or the AP 10 in the method embodiments of fig. 4-12 described above. The short-range communication device 1400 shown in fig. 14 is a first communication device, and a counterpart device that performs data transmission with the first communication device 1400 may be referred to as a second communication device. The first communication device 1400 includes a transceiver 1410, a short-range communication chip 1420, a main chip 1430, and an antenna 1440, and a receiver 1411 and a transmitter 1412 may be included in the transceiver 1410. Wherein the short-range communication chip 1420 is configured to: receiving a message sent by the master chip 1430; determining whether a first port belongs to a port set according to information of the first port, wherein the first port is a port of second communication equipment to receive the message, and the port set is a set of ports allowing the message to be sent to the second communication equipment; in the case that the first port is determined not to belong to the port set, prohibiting the transmission of the message to the second communication device by the transmitter 1412; and in the case that the first port belongs to the port set, sending, by the sender 1412, the message to the second communication device.
Optionally, the first communication device further includes a receiver 1411, and before the short-range communication chip 1420 determines, according to the information of the first port, whether the first port belongs to a port set, the receiver 1411 is further configured to: and receiving the information of the port set sent by the second communication equipment.
Optionally, the port set includes a user datagram protocol UDP port and/or a transmission control protocol TCP port.
Optionally, the short-range communication includes wireless local area network WLAN communication, and if the first communication device 1400 is an access point AP-side device, the second communication device is a station STA-side device, and the first communication device is configured to: if the transmitter 1412 does not send a message to the second communication device in n consecutive first delivery transmission indication information DTIM periods, the second communication device is scheduled according to a second DTIM period, where the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
Optionally, the first communication device 1400 is further configured to: after the transmitter 1412 sends a message to the second communication device, the second communication device is scheduled according to the first DTIM period.
Optionally, the short-range communication includes wireless local area network WLAN communication, the first communication device further includes a receiver 1411, and if the first communication device 1400 is a STA-side device, the second communication device is an AP-side device, and the first communication device 1400 is configured to: if the receiver 1411 does not receive the message sent by the second communication device in n consecutive first delivery transmission indication information DTIM periods, scheduling the second communication device according to a second DTIM period, where the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
Optionally, the first communication device 1400 is further configured to: after the receiver 1411 receives the message sent by the second communication device, scheduling of the second communication device is performed according to the first DTIM period.
In the short-distance communication equipment disclosed by the embodiment of the invention, in the process of transmitting the message under the short-distance communication network, the short-distance communication equipment identifies and filters the opposite terminal port for short-distance transmission, so that unnecessary message transmission and processing are reduced, and the power consumption of the short-distance communication equipment is reduced.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
It should be understood that the terms "and/or" and "at least one of a or B" herein are merely one type of association relationship describing the associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should also be appreciated that in embodiments of the present invention, the processor may be a central processing unit (Central Processing Unit, abbreviated as "CPU"), the processor may also be other general purpose processors, digital signal processors (Digital Signal Processor, abbreviated as "DSP"), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as "ASIC"), field programmable gate arrays (Field Programmable Gates Array, abbreviated as "FPGA"), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor executes instructions in the memory to perform the steps of the method described above in conjunction with its hardware. To avoid repetition, a detailed description is not provided herein.
Those of ordinary skill in the art will appreciate that the various method steps and elements described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the steps and components of the various embodiments have been described generally in terms of functionality in the foregoing description to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Those of ordinary skill in the art may implement the described functionality using different approaches for each particular application, but such implementation is not considered to be beyond the scope of the present invention.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (28)

1. A method of short-range communication, the method comprising:
a short-distance communication chip of first communication equipment receives a message sent by a first port of second communication equipment through a receiver, wherein the message comprises information of the first port;
the short-distance communication chip determines whether the first port belongs to a port set according to the information of the first port, wherein the port set is a set of ports allowing a message to be sent to the first communication equipment;
if the short-range communication chip determines that the first port does not belong to the port set, the short-range communication chip prohibits sending the message to a main chip of the first communication device;
and if the short-distance communication chip determines that the first port belongs to the port set, the short-distance communication chip sends the message to the main chip.
2. The method of claim 1, wherein the method further comprises:
the short-range communication chip sends the information of the port set to the second communication device.
3. The method according to claim 1 or 2, wherein the set of ports comprises user datagram protocol, UDP, ports and/or transmission control protocol, TCP, ports.
4. The method of claim 1 or 2, wherein the short-range communication comprises wireless local area network, WLAN, communication, and if the first communication device is a station, STA, side device, the second communication device is an access point, AP, side device, the method further comprising:
and if the first communication equipment does not receive the message sent by the second communication equipment in n continuous first delivery transmission indication information (DTIM) periods, the first communication equipment executes scheduling of the second communication equipment according to a second DTIM period, the length of the second DTIM period is larger than that of the first DTIM period, and n is a natural number larger than 1.
5. The method of claim 4, wherein the method further comprises:
and after the first communication equipment receives the message sent by the second communication equipment, the first communication equipment executes scheduling of the second communication equipment according to the first DTIM period.
6. The method of claim 1 or 2, wherein the short-range communication comprises WLAN communication, and if the first communication device is an AP-side device, the second communication device is a STA-side device, the method further comprising:
And if the first communication equipment does not send a message to the second communication equipment in n continuous first DTIM periods, the first communication equipment schedules the second communication equipment according to a second DTIM period, the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
7. The method of claim 6, wherein the method further comprises:
and after the first communication equipment sends the message to the second communication equipment, the first communication equipment schedules the second communication equipment according to the first DTIM period.
8. A method of short-range communication, the method comprising:
a short-distance communication chip of a first communication device receives a message sent by a main chip of the first communication device, wherein the message comprises information of a first port;
the short-distance communication chip determines whether the first port belongs to a port set according to the information of the first port, wherein the first port is a port of second communication equipment to receive the message, and the port set is a set of ports allowing the message to be sent to the second communication equipment;
If the short-range communication chip determines that the first port does not belong to the port set, the short-range communication chip prohibits sending the message to the second communication device;
and if the short-distance communication chip determines that the first port belongs to the port set, the short-distance communication chip sends the message to the second communication device.
9. The method of claim 8, wherein before the short-range communication chip determines whether the first port belongs to a port set based on the information of the first port, the method further comprises:
and the short-distance communication chip receives the information of the port set sent by the second communication device through a receiver.
10. The method according to claim 8 or 9, wherein the set of ports comprises user datagram protocol, UDP, ports and/or transmission control protocol, TCP, ports.
11. The method of claim 8 or 9, wherein the short-range communication comprises wireless local area network, WLAN, communication, and if the first communication device is an access point, AP, side device, the second communication device is a station, STA, side device, the method further comprising:
If the first communication device does not send a message to the second communication device in n continuous first delivery transmission indication information (DTIM) periods, the first communication device schedules the second communication device according to a second DTIM period, the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
12. The method of claim 11, wherein the method further comprises:
and after the first communication equipment sends the message to the second communication equipment, the first communication equipment schedules the second communication equipment according to the first DTIM period.
13. The method of claim 8 or 9, wherein the short-range communication comprises WLAN communication, and if the first communication device is a STA-side device, the second communication device is an AP-side device, the method further comprising:
and if the first communication equipment does not receive the message sent by the second communication equipment in n continuous first delivery transmission indication information (DTIM) periods, the first communication equipment executes scheduling of the second communication equipment according to a second DTIM period, the length of the second DTIM period is larger than that of the first DTIM period, and n is a natural number larger than 1.
14. The method of claim 13, wherein the method further comprises:
and after the first communication equipment receives the message sent by the second communication equipment, the first communication equipment executes scheduling of the second communication equipment according to the first DTIM period.
15. A communication device, wherein the communication device is a first communication device, the first communication device comprising a receiver, a short-range communication chip and a master chip;
the receiver is configured to receive a packet sent by a first port of a second communication device, where the packet includes information of the first port;
the short-range communication chip is used for:
determining whether the first port belongs to a port set according to the information of the first port, wherein the port set is a set of ports allowing a message to be sent to the first communication equipment;
under the condition that the first port does not belong to the port set, prohibiting sending the message to the main chip;
and sending the message to the main chip under the condition that the first port belongs to the port set.
16. The communication device of claim 15, wherein the first communication device further comprises a transmitter to:
And sending the information of the port set to the second communication equipment.
17. The communication device according to claim 15 or 16, wherein the set of ports comprises user datagram protocol, UDP, ports and/or transmission control protocol, TCP, ports.
18. The communication device according to claim 15 or 16, wherein the short-range communication comprises wireless local area network, WLAN, communication, and if the first communication device is a station, STA, side device, the second communication device is an access point, AP, side device, the first communication device is configured to:
and if the receiver does not receive the message sent by the second communication device in n continuous first delivery transmission indication information DTIM periods, scheduling the second communication device according to a second DTIM period, wherein the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
19. The communication device of claim 18, wherein the first communication device is further to:
and after the receiver receives the message sent by the second communication device, the scheduling of the second communication device is executed according to the first DTIM period.
20. The communication device of claim 15 or 16, wherein the short-range communication comprises WLAN communication, the first communication device further comprises a transmitter, and if the first communication device is an AP-side device, the second communication device is a STA-side device, the first communication device is configured to:
and if the transmitter does not send a message to the second communication equipment in n continuous first DTIM periods, scheduling the second communication equipment according to a second DTIM period, wherein the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
21. The communication device of claim 20, wherein the first communication device is further to:
and after the transmitter transmits a message to the second communication equipment, scheduling the second communication equipment according to the first DTIM period.
22. A communication device, wherein the communication device is a first communication device, the first communication device comprising a short-range communication chip, a main chip and a transmitter;
the short-range communication chip is used for:
receiving a message sent by the main chip, wherein the message comprises information of a first port;
Determining whether the first port belongs to a port set according to the information of the first port, wherein the first port is a port of second communication equipment to receive the message, and the port set is a set of ports allowing the message to be sent to the second communication equipment;
under the condition that the first port does not belong to the port set, the transmitter is forbidden to send the message to the second communication equipment;
and under the condition that the first port belongs to the port set, sending the message to the second communication equipment through the transmitter.
23. The communication device of claim 22, wherein the first communication device further comprises a receiver, the receiver further configured to, prior to the short-range communication chip determining whether the first port belongs to a port set based on the information of the first port:
and receiving the information of the port set sent by the second communication equipment.
24. The communication device according to claim 22 or 23, wherein the set of ports comprises user datagram protocol, UDP, ports and/or transmission control protocol, TCP, ports.
25. The communication device according to claim 22 or 23, wherein the short-range communication comprises wireless local area network, WLAN, communication, and if the first communication device is an access point, AP, side device, the second communication device is a station, STA, side device, the first communication device is configured to:
And if the transmitter does not send a message to the second communication equipment in n continuous first delivery transmission indication information DTIM periods, scheduling the second communication equipment according to a second DTIM period, wherein the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
26. The communication device of claim 25, wherein the first communication device is further to:
and after the transmitter transmits a message to the second communication equipment, scheduling the second communication equipment according to the first DTIM period.
27. The communication device of claim 22 or 23, wherein the short-range communication comprises wireless local area network, WLAN, communication, the first communication device further comprising a receiver, the second communication device being an AP-side device if the first communication device is an STA-side device, the first communication device being configured to:
and if the receiver does not receive the message sent by the second communication device in n continuous first delivery transmission indication information DTIM periods, scheduling the second communication device according to a second DTIM period, wherein the length of the second DTIM period is greater than that of the first DTIM period, and n is a natural number greater than 1.
28. The communication device of claim 27, wherein the first communication device is further to:
and after the receiver receives the message sent by the second communication device, the scheduling of the second communication device is executed according to the first DTIM period.
CN201911424782.0A 2016-07-20 2016-07-20 Method and apparatus for short-range communication Active CN111343615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911424782.0A CN111343615B (en) 2016-07-20 2016-07-20 Method and apparatus for short-range communication

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911424782.0A CN111343615B (en) 2016-07-20 2016-07-20 Method and apparatus for short-range communication
CN201610577985.3A CN106231533B (en) 2016-07-20 2016-07-20 Method and apparatus for short-range communication

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610577985.3A Division CN106231533B (en) 2016-07-20 2016-07-20 Method and apparatus for short-range communication

Publications (2)

Publication Number Publication Date
CN111343615A CN111343615A (en) 2020-06-26
CN111343615B true CN111343615B (en) 2024-04-09

Family

ID=57532108

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610577985.3A Active CN106231533B (en) 2016-07-20 2016-07-20 Method and apparatus for short-range communication
CN201911424782.0A Active CN111343615B (en) 2016-07-20 2016-07-20 Method and apparatus for short-range communication

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610577985.3A Active CN106231533B (en) 2016-07-20 2016-07-20 Method and apparatus for short-range communication

Country Status (1)

Country Link
CN (2) CN106231533B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108923819B (en) 2017-04-24 2020-04-21 广东虚拟现实科技有限公司 Communication connection method, equipment and system
CN110365895A (en) * 2019-06-03 2019-10-22 浙江大华技术股份有限公司 Photographic device adjusting method, system, readable storage medium storing program for executing and equipment
CN111193912A (en) * 2020-01-15 2020-05-22 珠海安联锐视科技股份有限公司 Low-power-consumption battery camera set system
CN114585054B (en) * 2022-02-23 2023-11-14 北京小米移动软件有限公司 WIFI connection control method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669348A (en) * 2007-04-27 2010-03-10 诺基亚公司 Universal datagram protocol (udp) port based broadcast filtering
CN101741742A (en) * 2009-12-18 2010-06-16 华为技术有限公司 Message processing method, access equipment and communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404586A (en) * 2008-09-27 2009-04-08 北京星网锐捷网络技术有限公司 Control method and apparatus for multicast upstream port
US20140146734A1 (en) * 2012-11-26 2014-05-29 Qualcomm Incorporated Systems and methods for power conservation in wireless networks
US9078210B2 (en) * 2013-02-07 2015-07-07 Qualcomm Incorporated Systems and methods for power saving for multicast and broadcast data
US9509469B2 (en) * 2013-04-04 2016-11-29 Futurewei Technologies, Inc. Device, network, and method for utilizing a downlink discovery reference signal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669348A (en) * 2007-04-27 2010-03-10 诺基亚公司 Universal datagram protocol (udp) port based broadcast filtering
CN101741742A (en) * 2009-12-18 2010-06-16 华为技术有限公司 Message processing method, access equipment and communication system

Also Published As

Publication number Publication date
CN106231533B (en) 2020-01-17
CN106231533A (en) 2016-12-14
CN111343615A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
US9247526B2 (en) Systems and methods for paging message enhancement
CN101399676B (en) Power saving via variable listen intervals in a wlan
EP1999888B1 (en) Standby time improvements for stations in a wireless network
WO2018192374A1 (en) Site wake-up method and site
CN107979443B (en) Wake-up method and device
US11895589B2 (en) Power-efficient communication of group-addressed frames
CN108616968B (en) Method and apparatus for transmitting frame
KR20070086567A (en) Method of operating a wlan mobile station
CN111343615B (en) Method and apparatus for short-range communication
KR20100132971A (en) Wireless network including post groupcast time
WO2018000383A1 (en) Site wakeup method, relevant equipment and system
US20230055108A1 (en) Communications devices and methods
US10999796B2 (en) System information sending method, system information update method, and device
CN113938995B (en) Communication method and device
CN111417182A (en) Data transmission method, device, storage medium, processor and system
US20220007281A1 (en) Coordinated Multi-Role Access-Point Operation
CN110753387B (en) Monitoring method of downlink control channel and control method of downlink control channel monitoring
CN108513341B (en) Communication method, communication device and communication terminal of wireless local area network
WO2020164143A1 (en) Discontinuous reception method, terminal device and network device
Li et al. DLI: A dynamic listen interval scheme for infrastructure-based IEEE 802.11 WLANs
WO2019149109A1 (en) System message updating method, device and system
WO2023024006A1 (en) Method and apparatus for determining energy-saving signal monitoring occasion, and terminal device
WO2023024005A1 (en) Time window determination method and apparatus and terminal device
WO2024001939A1 (en) Uplink signal transmission method, terminal, and network side device
WO2023024009A1 (en) Method and apparatus for determining transmission resource of energy-saving signal, and terminal 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
GR01 Patent grant