WO2014135003A1 - 一种终端设备及帧发送和接收方法 - Google Patents

一种终端设备及帧发送和接收方法 Download PDF

Info

Publication number
WO2014135003A1
WO2014135003A1 PCT/CN2014/072155 CN2014072155W WO2014135003A1 WO 2014135003 A1 WO2014135003 A1 WO 2014135003A1 CN 2014072155 W CN2014072155 W CN 2014072155W WO 2014135003 A1 WO2014135003 A1 WO 2014135003A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
terminal device
operation data
interaction
data
Prior art date
Application number
PCT/CN2014/072155
Other languages
English (en)
French (fr)
Inventor
高建波
王鹏人
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US14/914,737 priority Critical patent/US9788356B2/en
Publication of WO2014135003A1 publication Critical patent/WO2014135003A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03006Arrangements for removing intersymbol interference
    • H04L25/03012Arrangements for removing intersymbol interference operating in the time domain
    • H04L25/03019Arrangements for removing intersymbol interference operating in the time domain adaptive, i.e. capable of adjustment during data reception
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • H04L47/365Dynamic adaptation of the packet size
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for transmitting and receiving a terminal device and a frame.
  • Wi-Fi Alliance Wi-Fi Alliance
  • Wi-Fi Direct Standard refers to Allows devices on the wireless network to connect to each other without going through a wireless router.
  • Wi-Fi Direct devices can be connected to each other anytime, anywhere. Since no Wi-Fi router or access point is required, Wi-Fi devices can connect anywhere.
  • Wi-Fi Direct Device Discovery and Service Discovery help users determine which devices and services are available and then establish a connection.
  • Wi-Fi Directed devices use Wi-Fi Protected SetupTM to simplify the process of creating secure connections between devices.
  • Group Owner is compatible with the traditional Wi-Fi network and can act as an STA (client) or AP (access point).
  • STA client
  • AP access point
  • P2P secure connection with multiple Group Clients.
  • the Group Client is similar to STA.
  • STA station
  • P2P connection with the Group Owner.
  • the mobile terminal can use Wi-Fi Direct for simple, fast, and secure direct connection to other digital devices.
  • Wi-Fi Direct for simple, fast, and secure direct connection to other digital devices.
  • the transmission rate and the connection range are very advantageous.
  • the technology does not require wireless routing support, and the implementation is very convenient, but the Wi-Fi direct connection technology is due to the radio frequency antenna.
  • Problems such as the transmission power, and high power consumption, so it has a great influence on the (terminal) equipment using the DC power supply, and cannot be directly applied to the equipment of the DC power supply.
  • 802.11 frames there are mainly three types of 802.11 frames. Data frames are responsible for transferring data between workstations.
  • Data frames will vary depending on the network environment in which they are located. Control frames are usually used in conjunction with data frames to be responsible for area clearing, channel acquisition, and carrier sense maintenance, and to respond positively when data is received, thereby facilitating the reliability of data transmission between workstations.
  • the management frame is responsible for supervision, mainly for joining or exiting the wireless network, and for handling the transfer of connections between base stations.
  • the data frame passes the data of the upper layer protocol to the frame body for transmission.
  • Figure 1 shows the basic structure of a data frame. Control frames are primarily used to assist in the delivery of data frames. They can be used to monitor access to wireless media (but not the media itself) and to provide MAC-level reliability.
  • the control frames shown in Figure 2 all use the same frame control bits.
  • the basic structure of the management frame is shown in Figure 3.
  • the MAC headers of all management frames are the same, regardless of the subtype of the frame. Management frames use information elements (data blocks with numeric labels) to exchange data with other systems.
  • the transmission power is constant (generally 16dbm)
  • the power consumption consumed by receiving data within 100ms per unit time is 410mw
  • the power consumption consumed by transmitting data is 500mw.
  • the power consumption required to receive the unit data lkbit is 0.68mw
  • the power consumption required to transmit the unit data lkbit is 0.83mw.
  • An object of the embodiments of the present invention is to provide a terminal device and a frame sending and receiving method, which reduce power consumption of a Wi-Fi direct-connected device caused by problems such as a large transmit power of a radio frequency antenna, and reduce the use of a DC power supply device. The impact of this, thereby expanding the technical field of Wi-Fi Direct technology applications.
  • an embodiment of the present invention provides a terminal device, including: an acknowledgment module, configured to send a broadcast control frame to other terminal devices supporting Wi-Fi Direct technology, and receive a reply from the other terminal device.
  • the other terminal device that confirms the reply broadcast response frame supports dynamic frame interaction; and the scan module is configured to send a scan request frame to the other terminal device supporting dynamic frame interaction, and the scan request frame is received.
  • the end address field is empty.
  • the foregoing terminal device further includes: a discovery module, configured to receive a scan request frame sent by the other terminal device that supports dynamic frame interaction, and parse the scan request frame to obtain an analysis result, if the parsing result indicates that Other terminal settings If the address field of the receiving end of the scan request frame is empty, the scan response frame is constructed and sent to the other terminal device, where only the type and subtype information are reserved in the MAC header field of the scan response frame.
  • the terminal device further includes: an operation module, configured to send an operation data frame to the other terminal device that supports dynamic frame interaction, where a frame body data area length of the operation data frame is smaller than a frame body data area length of the original operation data frame .
  • the length of the frame body data area of the operation data frame is less than or equal to 10 bytes, and the control type is identified by 1 byte in the frame body data area, and the remaining data area is used to store the controlled additional data.
  • the frame body data area of the operation data frame further includes: an element identifier for identifying whether the operation data frame is an extended operation data frame.
  • the operation module is further configured to: receive an operation data frame sent by the other terminal device that supports dynamic frame interaction, and read an element identifier in a frame body data area of the operation data frame, according to the element The value of the identifier determines whether the operational data frame is an extended operational data frame. Further, when the operation module determines that the received operation data frame is an extended operation data frame, the operation module reads the data of the first byte in the frame body data area of the operation data frame.
  • the terminal device further includes: a setting module, configured to preset a function corresponding to the control information according to the terminal device type, wherein the control information includes the control type and the additional data.
  • the embodiment of the invention further provides a frame sending method, including: sending a broadcast control frame to other terminal devices supporting the Wi-Fi direct connection technology, and confirming the reply broadcast after receiving the broadcast response frame replied by the other terminal device
  • the other terminal device of the response frame supports dynamic frame interaction; and sends a scan request frame to the other terminal device that supports dynamic frame interaction, and the receiving end address field of the scan request frame is empty.
  • the above frame sending method further includes: And transmitting, to the other terminal device that supports dynamic frame interaction, an operation data frame, where a frame body data area length of the operation data frame is smaller than a frame body data area length of the original operation data frame.
  • the frame body data area of the operation data frame further includes: an element identifier for identifying whether the operation data frame is an extended operation data frame.
  • the embodiment of the present invention further provides a frame receiving method, including: receiving a broadcast control frame sent by another terminal device supporting the Wi-Fi Direct technology, and replying to the other terminal device with a broadcast response frame, and confirming that the dynamic frame interaction is supported; Receiving a scan request frame sent by the other terminal device that supports the dynamic frame interaction, and parsing the scan request frame to obtain an analysis result, if the parsing result indicates the receiving end of the scan request frame sent by the other terminal device If the address field is empty, the scan response frame is constructed and sent to the other terminal device, where only the type and subtype information are reserved in the MAC header field of the scan response frame.
  • the receiving method further includes: receiving an operation data frame sent by the other terminal device that supports dynamic frame interaction, and reading an element identifier in a frame body data area of the operation data frame, according to the element identifier The value determines whether the operational data frame is an extended operational data frame.
  • FIG. 1 shows a basic structure of an 802.11 data frame
  • FIG. 2 shows a frame control bit of an 802.11 control frame
  • FIG. 3 shows a basic structure of an 802.11 management frame
  • Figure 5 is a diagram showing an optimized structure of a scan request frame in the embodiment of the present invention
  • Figure 6 is a diagram showing an optimized structure of a scan response frame in the embodiment of the present invention
  • Figure 7 is a diagram showing an optimized structure of an operation data frame in the embodiment of the present invention
  • FIG. 9 is a flowchart of analyzing a scan request frame in the embodiment of the present invention
  • FIG. 1 shows a basic structure of an 802.11 data frame
  • FIG. 2 shows a frame control bit of an 802.11 control frame
  • FIG. 3 shows a basic structure of an 802.11 management frame
  • Figure 5 is a diagram showing an optimized structure of a scan request frame in the embodiment of the present invention
  • Figure 6 is a diagram showing an optimized structure of a scan response frame in the embodiment of the present invention
  • the embodiments of the present invention provide a terminal device for the problem that the device supporting the Wi-Fi direct connection technology consumes a large amount of power and has a large influence on the device that uses the DC power supply, respectively, by separately detecting the scanning phase and the discovery phase.
  • the frames in the operation phase are dynamically adaptively adjusted to the length of the interactive frame. It is not necessary to send a fixed-length data frame every time. It only needs to send enough information data according to the characteristics of the Wi-Fi direct connection technology, and the frame is saved a lot.
  • an embodiment of the present invention provides a terminal device 10, including: an acknowledgment module 11 configured to send a broadcast control frame to other terminal devices supporting Wi-Fi Direct technology, and receive the other After the broadcast response frame replied by the terminal device, the other terminal device that confirms the reply broadcast response frame supports dynamic frame interaction; and the scanning module 13 is configured to send a scan request frame to the other terminal device that supports dynamic frame interaction, where the scan The receiving end address field of the request frame is empty.
  • the terminal device 10 of the above-mentioned embodiment of the present invention queries whether the current Wi-Fi Direct device supports dynamic frame interaction by adding a broadcast control frame, and if the support, returns a broadcast to the query device.
  • the response frame indicates that dynamic frame interaction is supported. If it is not supported, since the broadcast control frame is an extended control frame, other terminal devices will not respond because they are not recognized.
  • the terminal device 10 records only the device that has replied to the broadcast response frame locally, and then can perform dynamic frame interaction with the device. For other terminal devices that do not support dynamic frame interaction, they still interact according to the regular frame type, which ensures compatibility for various devices.
  • the scanning module 13 sends a scan request frame Probe Request, which belongs to the management frame type and is also a broadcast control frame type.
  • a scan request frame Probe Request which belongs to the management frame type and is also a broadcast control frame type.
  • the MAC address of the receiving end will be completely filled in FF , that is, the address field of the receiving end of the scanning request frame is empty; therefore, in this process, the address field in the frame structure can be removed,
  • the field is 6 bytes. Since the scan request frame is sent very frequently in actual operation, the 6 bytes of the frame can be saved.
  • the terminal device 10 further includes: a discovery module 14 configured to receive a scan request frame sent by the other terminal device that supports dynamic frame interaction, and parse the scan request frame, Obtaining an analysis result, if the parsing result indicates that the receiving end address field of the scan request frame sent by the other terminal device is empty, constructing a scan response frame, and transmitting the scan response frame to the other terminal device, where the scan response frame Only the type and subtype information is retained in the MAC header field.
  • the discovery module 14 of the terminal device 10 of the above embodiment of the present invention mainly uses a Wi-Fi Direct device to reside on each channel, responds to the received scan request frame, and then sends a scan response frame to the other terminal device.
  • the address field of the scan response frame cannot be removed, otherwise the other terminal device cannot confirm the MAC address of the scan response frame; and the scan response frame is the control frame, as shown in FIG. 6, considering the characteristics of the control frame, for the MAC header field There are no special requirements for media access, extended fragment bits, retry bits, additional data, etc., so it can be removed. Only the type and subtype are required in the MAC header field of the control frame. The type uses 2 bits to identify the supported protocol version, subtype. Use 4bit to identify the frame type; this can reduce the 2 bytes 16 bits of the MAC header field to one byte and 8 bits. Due to the low speed transmission of the MAC header field, the MAC header field length is reduced, which can increase the transmission efficiency. .
  • the terminal device 10 further includes: The operation module 15 is configured to send an operation data frame to the other terminal device that supports dynamic frame interaction, where a frame body data area length of the operation data frame is smaller than a frame body data area length of the original operation data frame.
  • the length of the frame body data area of the operation data frame is less than or equal to 10 bytes, and the control type is identified by 1 byte in the frame body data area, and the remaining data area is used to store the controlled additional data.
  • the main optimization of the operation module 15 is in the main frame of the frame.
  • the frame body data area length of the above-mentioned original operation data frame is at most 2312 bytes.
  • 2312 bytes of the frame body data area are reduced to 10 bytes, wherein 1 byte is used to identify 256 states, that is, 256 types.
  • Control state the remaining bytes, used to store additional data for control; the remaining data area length is also dynamic, can be 0, indicating no additional data, such as on, off state, etc., up to 9 bytes can be Complete, such as temperature data of the refrigerator, air volume data of the air conditioner, and the like.
  • the frame body data area of the operation data frame further includes: an element identifier for identifying whether the operation data frame is an extended operation data frame.
  • the frame body of the operation data frame uses a dynamic IE (Information Elements) method, and an element identifier (Element ID) is occupied by one byte, and then The length of the subsequent data is recorded to identify whether the operation data frame is an extended operation data frame. If the recorded data length is less than or equal to 10 bytes, the operation data frame is an extended operation data frame; otherwise, the operation data frame is not an extended operation data frame.
  • IE Information Elements
  • the average length of the frame body in the operation data frame is 100 bytes, so that each operation data frame can save 90 bytes, according to the data frame.
  • Data frames can save a lot of power if data interaction is frequent.
  • the operation module 15 is further configured to: receive an operation data frame sent by the other terminal device supporting dynamic frame interaction, and read an element identifier in a frame body data area of the operation data frame, according to the element The value of the identifier determines whether the operational data frame is an extended operational data frame.
  • the operation module 15 determines that the received operation data frame is an extended operation data frame
  • the operation module reads the data of the first byte in the frame body data area of the operation data frame, and obtains The control type of the other terminal device, and reading the subsequent additional data according to the data length stored in the second byte, and parsing the complete control information according to the control type and the additional data, according to the
  • the control information is responsive to a control operation performed by the other terminal device, and transmits result status information indicating whether the operation is successful to the other terminal device.
  • the operation module 15 has the function of transmitting an operation data frame, and also has the function of receiving and parsing the operation data frame.
  • the operation module 15 first determines whether the operation data frame is an extended operation data frame by using the element identifier of the operation data frame, and if so, reads the first byte in the frame body data area of the operation data frame, and identifies Is the control type of other terminal devices; then reads the subsequent additional data according to the data length stored in the second byte, and then parses out the complete control information according to the control type and the additional data, and then the peer Wi-Fi direct device After the function status of the terminal request is completed, the control terminal is sent a state of success or failure of the operation; thus, a large number of frames are saved, and power consumption can be greatly saved in frequent frame interaction. In the prior art, the Internet of Things has been widely used in other technical fields.
  • the present invention combines the Internet of Things with the Wi-Fi Direct technology.
  • the terminal device 10 further includes: a setting module 12 And configured to preset a function corresponding to the control information according to the terminal device type, wherein the control information includes the control type and the additional data.
  • the setting module 12 presets functions corresponding to the control information according to the type of the terminal device 10, such as a refrigerator temperature control bit: 1; an air conditioning air volume control bit: 2, and the like.
  • the one-to-one correspondence may be stored in advance to a terminal and a device, or may be provided to the user with an open entry function control code, and the user may set the correspondence according to his or her habits, preferences, and the like.
  • the embodiment of the present invention further provides a frame sending method, including: Step 111: Send a broadcast control frame to other terminal devices supporting the Wi-Fi Direct technology, and after receiving the broadcast response frame replied by the other terminal device Confirming that the other terminal devices that reply to the broadcast response frame support dynamic frame interaction; Step 112: Send a scan request frame to the other terminal device that supports dynamic frame interaction, where a receiving end address field of the scan request frame is empty. As shown in FIG.
  • Step 101 Construct a query broadcast control frame
  • Step 102 Determine, within a timeout period, whether a broadcast response frame of another terminal device is received
  • Step 103 If the broadcast response frame of the other terminal device is received within the timeout period, it indicates that the other terminal device supports the dynamic frame interaction
  • Step 104 if the broadcast response frame of the other terminal device is not received within the timeout period, then according to Normal frame interaction.
  • the method for transmitting a frame further includes: Step 113: Send an operation data frame to the other terminal device that supports dynamic frame interaction, where a frame body data area length of the operation data frame is smaller than a frame body data area of the original operation data frame. length.
  • the frame body data area of the operation data frame further includes: an element identifier for identifying whether the operation data frame is an extended operation data frame.
  • the method embodiment is a method corresponding to the foregoing terminal device as a transmitting end, and all embodiments of the terminal device are applicable to the method, and can achieve the same technical effects as the terminal device.
  • An embodiment of the present invention further provides a frame receiving method, including: Step 211: Receive a broadcast control frame sent by another terminal device supporting Wi-Fi Direct technology, and reply a broadcast response frame to the other terminal device to confirm support.
  • Step 212 Receive a scan request frame sent by the other terminal device that supports dynamic frame interaction, and parse the scan request frame to obtain an analysis result, if the parsing result indicates that the other terminal device sends
  • the scan request frame of the scan request frame is empty, and a scan response frame is constructed and sent to the other terminal device, wherein only the type and subtype information are retained in the MAC header field of the scan response frame.
  • step 212 of the foregoing embodiment of the present invention specifically includes: Step 301: Receive a scan request frame; Step 302: Determine whether the address field of the receiving end is empty in the received scan request frame. Step 303: If the address field of the receiving end is empty, the scanning request frame is a dynamically optimized request frame.
  • Step 304 Construct An extended scan response frame
  • Step 305 sending a scan response frame to other terminal devices.
  • the method for receiving a frame further includes: Step 213: Receive an operation data frame sent by the other terminal device that supports dynamic frame interaction, and read an element identifier in a frame body data area of the operation data frame, according to The value of the element identifier determines whether the operational data frame is an extended operational data frame. As shown in FIG.
  • step 213 of the foregoing embodiment of the embodiment of the present invention specifically includes: Step 601: Receive an operation data frame sent by a terminal device; Step 602: Read an element identifier in a frame body of the operation data frame; Step 603, determining, according to the value of the element identifier, whether the operation data frame is an extended operation data frame; Step 604, if it is an extended operation data frame, reading the first byte of the operation data frame frame main data area Data, the data indicates the control type of the other terminal device; Step 605, according to the control type read in step 604, and then reads the additional data of the following byte according to the data length of the second byte; Step 606, combine The data read in steps 604 and 605 parses the complete control information and responds to the control operations of other terminal devices.
  • Step 607 returning the operation result status information to the terminal control device, as long as the operation result is returned successfully.
  • the method embodiment is a method corresponding to the foregoing terminal device as a receiving end, and all the embodiments of the terminal device are applicable to the method, and can achieve the same technical effects as the terminal device.
  • the frames of the scanning phase, the discovery phase, and the operation phase are dynamically adaptively adjusted to adjust the length of the interaction frame, and the fixed-length data frame is not sent every time, and only needs to be based on the Wi-Fi direct connection technology.
  • the characteristics of sending sufficient information data can save a lot of frame length, effectively solve the power consumption problem, and realize a simple connection scheme, so that devices supporting Wi-Fi direct connection can be simple Interaction.
  • the above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can make several improvements and retouchings without departing from the principles of the present invention. It should also be considered as the scope of protection of the present invention.
  • INDUSTRIAL APPLICABILITY The technical solution provided by the embodiments of the present invention can be applied to the field of communication technologies, and the lengths of the interaction frames are dynamically adaptively adjusted by the frames in the scanning phase, the discovery phase, and the operation phase, respectively, without sending a fixed length every time.
  • the data frame only needs to send enough information data according to the characteristics of the Wi-Fi direct connection technology, which greatly saves the length of the frame, effectively solves the power consumption problem, and can realize a simple connection scheme and enables Wi. -Si direct interaction between devices directly connected to the Fi.

Landscapes

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

Abstract

本发明提供一种终端设备及帧发送和接收的方法,涉及通信领域。所述终端设备包括:确认模块,设置为向支持Wi-Fi直连技术的其它终端设备发送广播控制帧,并在收到所述其它终端设备回复的广播响应帧后,确认回复广播响应帧的所述其它终端设备支持动态帧交互;扫描模块,设置为向支持动态帧交互的所述其它终端设备发送扫描请求帧,所述扫描请求帧的接收端地址字段为空。通过分别对扫描阶段,发现阶段,操作阶段的帧都动态自适应的调整交互帧的长度,大量节省了帧的长度,有效的解决了功耗问题,同时能够实现简单的物连方案,使支持Wi-Fi直联的设备之间可以进行简单的交互。

Description

一种终端设备及帧发送和接收方法
技术领域 本发明涉及通信技术领域, 特别涉及一种终端设备及帧的发送和接收方法。 背景技术 2010年 10月, Wi-Fi Alliance (Wi-Fi联盟) 发布 Wi-Fi直联白皮书, 白皮书中介 绍了有关于这种技术的基本信息、 特点和功能, Wi-Fi 直联标准是指允许无线网络中 的设备无需通过无线路由器即可相互连接。 Wi-Fi直联设备能够随时随地实现互相连 接。 由于不需要 Wi-Fi路由器或接入点, 因此 Wi-Fi设备可以在任何地点实现连接。 Wi-Fi直联的设备发现(Device Discovery)与服务发现(Service Discovery)功能帮助 用户确定可用的设备与服务,然后建立连接。同时, Wi-Fi 直联设备采用 Wi-Fi Protected Setup™简化了在设备之间创建安全连接的过程。 在 Wi-Fi 直联 的新型网络中, 出现了两类新型角色 Group Owner (群组 拥有者) 和 Group Client (群组客户端) 以支持 P2P的连接。 规范定义中, Group Owner 兼容传统的 Wi-Fi 网络, 可以充当 STA (客户端) 或者 AP (接 入点) 的角色, 此外, 还可以与多个 Group Client 建立 P2P安全连接。 Group Client 则是一种类似于 STA , 除了 STA 的功能外还能与 Group Owner 建立 P2P 的连接。 一个设备, 可以同时充当 Group Owner和 Group Client 的角色。 不管屋里周围是否有布设传统的 AP, 移动终端可以使用 Wi-Fi 直联 与其他 数字设备进行简单、 快速、 安全的直连。 目前, 使用 Wi-Fi 直联技术的网络结构中, 传输速率和连接范围都是非常 有优势的, 同时该技术不需要无线路由的支持, 实现很方便, 但是 Wi-Fi 直联 技术由于射频天线发射功率等问题, 功耗较大, 所以对于使用直流电源的(终端) 设备影响很大, 不能直接应用于直流电源的设备。 现有技术中, 802.11 帧主要有三种类型。 数据帧负责在工作站之间传输数 据。 数据帧会因为所处的网络环境不同而有所差异。 控制帧通常与数据帧搭配 使用, 负责区域的清空、 信道的取得以及载波监听的维护, 并于收到数据时予 以正面的应答, 借此促进工作站间数据传输的可靠性。 管理帧负责监督, 主要 用来加入或退出无线网络, 以及处理基站之间连接的转移事宜。 数据帧会将上层协议的数据置于帧主体加以传递。 图 1 显示了数据帧的基 本结构。 控制帧主要在协助数据帧的传递。 它们可用来监督无线介质的访问 (但非 介质本身) , 以及提供 MAC 层次的可靠性。 图 2显示的控制帧均使用相同的帧控制位。 管理帧的基本结构如图 3所示。 所有管理帧的 MAC 标头都一样, 这与帧 的次类型无关。 管理帧会使用信息元素 (带有数字标签的数据区块) 来与其他 系统交换数据。 按照理论值计算,测试 802.11b协议 11M速率,发射功率一定的情况下(一 般为 16dbm) , 单位时间 100ms内接收数据所消耗的功耗为 410mw, 发送数据 所消耗的功耗为 500mw。 同时结合实际的网络吞吐量 6M/s, 可以计算出接收单 位数据 lkbit 所需要的功耗为 0.68mw, 发送单位数据 lkbit 所需要的功耗为 0.83mw。 发明内容 本发明实施例的目的在于提供一种终端设备及帧发送和接收方法, 降低了由于射 频天线发送功率大等问题造成的 Wi-Fi直联设备的功耗, 减小对使用直流电源设备的 影响, 从而拓展 Wi-Fi Direct技术应用的技术领域。 为了解决上述技术问题, 本发明实施例提供一种终端设备, 包括: 确认模块, 设置为向支持 Wi-Fi直连技术的其它终端设备发送广播控制帧, 并在 收到所述其它终端设备回复的广播响应帧后, 确认回复广播响应帧的所述其它终端设 备支持动态帧交互; 扫描模块, 设置为向支持动态帧交互的所述其它终端设备发送扫描请求帧, 所述 扫描请求帧的接收端地址字段为空。 上述终端设备, 还包括: 发现模块, 设置为接收支持动态帧交互的所述其它终端设备发送的扫描请求帧, 并对所述扫描请求帧进行解析, 得到解析结果, 若所述解析结果表明所述其它终端设 备发送的扫描请求帧的接收端地址字段为空, 则构建扫描响应帧, 并发送给所述其它 终端设备, 其中, 所述扫描响应帧的 MAC头域中只保留类型和子类型信息。 上述终端设备, 还包括: 操作模块, 设置为向支持动态帧交互的所述其它终端设备发送操作数据帧, 所述 操作数据帧的帧主体数据区长度小于原操作数据帧的帧主体数据区长度。 其中,所述操作数据帧的帧主体数据区长度小于或者等于 10字节, 且所述帧主体 数据区中以 1字节来标识控制类型, 剩余数据区用来存储控制的附加数据。 其中, 上述述操作数据帧的帧主体数据区中还包括: 用于标识所述操作数据帧是 否为扩展操作数据帧的元素标识符。 其中, 所述操作模块还设置为: 接收支持动态帧交互的所述其它终端设备发送的 操作数据帧, 并读取所述操作数据帧的帧主体数据区中的元素标识符, 根据所述元素 标识符的值判断所述操作数据帧是否为扩展的操作数据帧。 进一步的,所述操作模块在判断接收到的所述操作数据帧为扩展的操作数据帧时, 所述操作模块读取所述操作数据帧的帧主体数据区中的第一个字节的数据, 获取所述 其它终端设备的控制类型,并根据第二个字节中存储的数据长度读取后面的附加数据, 并根据所述控制类型和所述附加数据解析出完整的控制信息, 根据所述控制信息响应 所述其它终端设备进行的控制操作, 并向所述其它终端设备发送操作是否成功的结果 状态信息。 进一步的, 上述终端设备, 还包括: 设置模块, 设置为根据所述终端设备类型预先设定与所述控制信息对应的功能, 其中所述控制信息包括所述控制类型和所述附加数据。 本发明实施例还提供一种帧发送方法, 包括: 向支持 Wi-Fi直连技术的其它终端设备发送广播控制帧, 并在收到所述其它终端 设备回复的广播响应帧后,确认回复广播响应帧的所述其它终端设备支持动态帧交互; 向支持动态帧交互的所述其它终端设备发送扫描请求帧, 所述扫描请求帧的接收 端地址字段为空。 上述帧发送方法, 还包括: 向支持动态帧交互的所述其它终端设备发送操作数据帧, 所述操作数据帧的帧主 体数据区长度小于原操作数据帧的帧主体数据区长度。 优选地, 所述操作数据帧的帧主体数据区中还包括: 用于标识所述操作数据帧是 否为扩展操作数据帧的元素标识符。 本发明实施例还提供一种帧接收方法, 包括: 接收支持 Wi-Fi直连技术的其它终端设备发送的广播控制帧, 并向所述其它终端 设备回复广播响应帧, 确认支持动态帧交互; 接收支持动态帧交互的所述其它终端设备发送的扫描请求帧, 并对所述扫描请求 帧进行解析, 得到解析结果, 若所述解析结果表明所述其它终端设备发送的扫描请求 帧的接收端地址字段为空, 则构建扫描响应帧, 并发送给所述其它终端设备, 其中, 所述扫描响应帧的 MAC头域中只保留类型和子类型信息。 上述接收方法, 还包括: 接收支持动态帧交互的所述其它终端设备发送的操作数据帧, 并读取所述操作数 据帧的帧主体数据区中的元素标识符, 根据所述元素标识符的值判断所述操作数据帧 是否为扩展的操作数据帧。 本发明实施例的上述技术方案至少具有以下有益效果: 本发明实施例的终端设备, 通过分别对扫描阶段, 发现阶段, 操作阶段的帧都动 态自适应的调整交互帧的长度, 不用每次都发送定长的数据帧, 只需要根据 Wi-Fi直 联技术的特点, 发送足够的信息数据即可, 大量节省了帧的长度, 有效的解决了功耗 问题, 同时能够实现简单的物连方案, 使支持 Wi-Fi直联的设备之间可以进行简单的 交互。 附图说明 图 1表示 802.11数据帧的基本结构; 图 2表示 802.11控制帧的帧控制位; 图 3表示 802.11管理帧的基本结构; 图 4表示本发明实施例中终端设备各模块示意图; 图 5表示本发明实施例中扫描请求帧的优化结构图; 图 6表示本发明实施例中扫描响应帧的优化结构图; 图 7表示本发明实施例中操作数据帧的优化结构图; 图 8表示本发明实施例中设备确认功能流程图; 图 9表示本发明实施例中扫描请求帧解析流程图; 图 10表示本发明实施例中操作数据帧解析流程图。 具体实肺式 为使本发明要解决的技术问题、 技术方案和优点更加清楚, 下面将结合附图及具 体实施例进行详细描述。 本发明实施例针对现有技术中支持 Wi-Fi直联技术的设备功耗较大, 对使用直流 电源的设备影响较大的问题, 提供一种终端设备, 通过分别对扫描阶段, 发现阶段, 操作阶段的帧都动态自适应的调整交互帧的长度, 不用每次都发送定长的数据帧, 只 需要根据 Wi-Fi直联技术的特点, 发送足够的信息数据即可, 大量节省了帧的长度, 有效的解决了功耗问题, 同时能够实现简单的物连方案, 使支持 Wi-Fi直联的设备之 间可以进行简单的交互。 如图 4所示, 本发明的实施例提供一种终端设备 10, 包括: 确认模块 11, 设置为向支持 Wi-Fi直连技术的其它终端设备发送广播控制帧, 并 在收到所述其它终端设备回复的广播响应帧后, 确认回复广播响应帧的所述其它终端 设备支持动态帧交互; 扫描模块 13, 设置为向支持动态帧交互的所述其它终端设备发送扫描请求帧, 所 述扫描请求帧的接收端地址字段为空。 本发明的上述实施例的终端设备 10在 Wi-Fi直联设备确认阶段,通过添加一个广 播控制帧, 询问当前 Wi-Fi直联设备是否支持动态帧交互, 如果支持则给询问设备回 复一个广播响应帧, 说明支持动态帧交互; 如果不支持, 由于该广播控制帧是扩展的 控制帧, 那么其它终端设备由于不识别, 所以不会回应。 终端设备 10在扫描超时后,仅仅在本地记录回复过广播响应帧的设备,后续可以 与这个设备进行动态帧交互。 对于不支持动态帧交互的其它终端设备, 仍然按照常规 的帧类型进行交互, 保证了对于各种设备的兼容性。 优选地,扫描模块 13发送扫描请求帧 Probe Request,扫描请求帧是属于管理帧类 型的, 同时也是广播控制帧类型。 如图 5所示, 在管理帧中, 接收端 MAC地址将会 全部填写 FF, 即扫描请求帧的接收端地址字段为空; 因此在这一过程中, 可以去掉帧 结构中的地址字段, 该字段 6个字节。 由于实际操作中, 扫描请求帧会非常频繁的发送, 因此可以节省帧的 6个字节。 具体而言,按照背景技术中计算的单位数据的发射和接收功耗,同时结合标准的 100ms 的信标间隔, 在被动扫描中, 接收数据 1分钟就可以节省(6* 8 *10*60/1024) * 0.68 = 19.125mw, 发送数据 1分钟就可以节省 (6* 8 *10*60/1024 ) * 0.83 = 23.34mw。 本发明的另一实施例中, 上述终端设备 10, 还包括: 发现模块 14, 设置为接收支持动态帧交互的所述其它终端设备发送的扫描请求 帧, 并对所述扫描请求帧进行解析, 得到解析结果, 若所述解析结果表明所述其它终 端设备发送的扫描请求帧的接收端地址字段为空, 则构建扫描响应帧, 并发送给所述 其它终端设备, 其中, 所述扫描响应帧的 MAC头域中只保留类型和子类型信息。 本发明的上述实施例的终端设备 10的发现模块 14主要是 Wi-Fi直联设备驻留在 各个信道上, 响应收到的扫描请求帧, 然后给所述其它终端设备发送扫描响应帧。 而 扫描响应帧的地址字段不能去掉, 否则其它终端设备无法确认扫描响应帧的 MAC地 址; 同时扫描响应帧为控制帧, 如图 6所示, 考虑到控制帧的特性, 对于 MAC头域 中的介质访问、 扩展片段位、 重试位、 附加数据等都没有特殊要求, 因此可以去除, 在控制帧的 MAC头域中只需要有类型和子类型, 类型使用 2bit来标识支持的协议版 本, 子类型使用 4bit来标识帧类型; 这样就可以将 MAC头域的 2个字节 16bit减少到 一个字节 8个 bit, 由于 MAC头域的低速传输性, 因此 MAC头域长度减少, 可以增 加传输的效率。 具体而言, 同样在 100ms信标间隔的情况下, 根据理论的计算方法, 可以计算出 接收数据 1分钟就可以节省 3.2mw, 发送数据 1分钟就可以节省 3.9mw。 为了更好的降低功耗, 上述终端设备 10, 还包括: 操作模块 15, 设置为向支持动态帧交互的所述其它终端设备发送操作数据帧, 所 述操作数据帧的帧主体数据区长度小于原操作数据帧的帧主体数据区长度。 其中,所述操作数据帧的帧主体数据区长度小于或者等于 10字节, 且所述帧主体 数据区中以 1字节来标识控制类型, 剩余数据区用来存储控制的附加数据。 本发明的上述实施例的终端设备 10中,操作模块 15的主要优化在帧的主体 Frame
Body (帧主体数据区) 中, 上述原操作数据帧的帧主体数据区长度最大为 2312个字 节。 如图 7所示, 在数据区的操作交互中, 将帧主体数据区的 2312个字节縮减到 10 个字节以内, 其中使用 1个字节来标识出 256种状态, 也就是 256种控制状态, 剩余 的字节, 用来存储控制的附加数据; 其中剩余的数据区长度也是动态的, 可以为 0, 表示不用附加数据, 比如开、 关状态等, 最大为 9个字节就可以完成, 比如冰箱的温 度数据、 空调的风量数据等。 优选地, 所述操作数据帧的帧主体数据区中还包括: 用于标识所述操作数据帧是 否为扩展操作数据帧的元素标识符。 本发明的上述实施例的终端设备 10中,在操作交互时,操作数据帧的帧主体中使 用动态 IE (Information Elements ) 的方式, 自定义一个元素标识符 (Element ID) 占 用一个字节,然后记录后续数据的长度,用以标识操作数据帧是否为扩展操作数据帧。 若记录的数据长度小于或者等于 10个字节,则操作数据帧为扩展的操作数据帧,否则, 操作数据帧则不是扩展的操作数据帧。 举例说明如下: 假定通过终端设备发送给冰箱一个控制信息, 标识温度降低 3度, 如果我们之前 记录的冰箱降温状态码为十六进制 20, 附加数据为 3, 那么此时操作数据帧的帧主体 的数据格式如下:
Figure imgf000009_0001
具体而言, 根据经验值, 认为动态帧主体的情况下, 操作数据帧中的帧主体的平 均长度为 100字节, 那么每一个操作数据帧, 就可以节省 90个字节, 按照数据帧的平 均发送速度, 1分钟发送 30个数据帧,那么接收数据 1分钟就可以节省(90* 8 *30/1024 ) * 0.68 = 14.35mw, 发送数据 1分钟就可以节省 (90* 8 *30/1024 ) * 0.83 = 17.51mw。 如果数据交互频繁的情况下, 数据帧就可以节省大量功耗。 优选地, 操作模块 15还设置为:接收支持动态帧交互的所述其它终端设备发送的 操作数据帧, 并读取所述操作数据帧的帧主体数据区中的元素标识符, 根据所述元素 标识符的值判断所述操作数据帧是否为扩展的操作数据帧。 其中,操作模块 15在判断接收到的所述操作数据帧为扩展的操作数据帧时,所述 操作模块读取所述操作数据帧的帧主体数据区中的第一个字节的数据, 获取所述其它 终端设备的控制类型, 并根据第二个字节中存储的数据长度读取后面的的附加数据, 并根据所述控制类型和所述附加数据解析出完整的控制信息, 根据所述控制信息响应 所述其它终端设备进行的控制操作, 并向所述其它终端设备发送操作是否成功的结果 状态信息。 本发明上述实施例的终端设备 10中, 操作模块 15既有发送操作数据帧的作用, 也同时具有接收并解析上述操作数据帧的作用。操作模块 15首先通过上述操作数据帧 的元素标识符判断上述操作数据帧是否为扩展的操作数据帧, 如果是, 则读取操作数 据帧的帧主体数据区中的第一个字节, 标识的是其他终端设备的控制类型; 接着根据 第二个字节中存储的数据长度读取后面的附加数据, 然后根据控制类型和附加数据解 析出完整的控制信息, 然后对端 Wi-Fi直联设备完成终端请求的功能状态后, 给控制 终端发送操作成功或失败的状态即可; 这样就节省了大量帧的长度, 在频繁的帧交互 中, 可以大大的节省功耗。 现有技术中, 物联网在其它技术领域的应用已十分广泛, 因此本发明将物联网与 Wi-Fi直联技术相结合, 本发明的又一实施例, 终端设备 10还包括: 设置模块 12, 设置为根据所述终端设备类型预先设定与所述控制信息对应的功 能, 其中所述控制信息包括所述控制类型和所述附加数据。 在物联网络中, 设置模块 12根据终端设备 10的类型预先设定与所述控制信息对 应的功能, 如冰箱温度控制位: 1 ; 空调风量大小控制位: 2等。 这个一一对应的关系 可以事先存储到给个终端与设备中, 也可以提供给用户开放式的录入功能控制代码, 用户可以根据自己的习惯、 喜好等设置该对应关系。 巧妙的将 Wi-Fi直联技术与物联 网相结合, 让人们的生活更加方便, 符合人性化的设计。 本发明的实施例还提供一种帧发送方法, 包括: 步骤 111, 向支持 Wi-Fi直连技术的其它终端设备发送广播控制帧, 并在收到所述 其它终端设备回复的广播响应帧后, 确认回复广播响应帧的所述其它终端设备支持动 态帧交互; 步骤 112, 向支持动态帧交互的所述其它终端设备发送扫描请求帧, 所述扫描请 求帧的接收端地址字段为空。 如图 8所示, 本发明实施例的步骤 111的具体步骤包括: 步骤 101, 构建询问的广播控制帧; 步骤 102, 在超时时限内, 判断是否收到其它终端设备的广播响应帧; 步骤 103, 如果在超时时限内, 收到其它终端设备的广播响应帧, 那么表明上述 其它终端设备支持动态帧交互; 步骤 104, 如果在超时时限内, 没有收到其它终端设备的广播响应帧, 那么按照 正常帧交互。 其中, 上述帧发送方法, 还包括: 步骤 113, 向支持动态帧交互的所述其它终端设备发送操作数据帧, 所述操作数 据帧的帧主体数据区长度小于原操作数据帧的帧主体数据区长度。 优选地, 所述操作数据帧的帧主体数据区中还包括: 用于标识所述操作数据帧是 否为扩展操作数据帧的元素标识符。 需要说明的是, 该方法实施例是与上述终端设备作为发送端对应的方法, 上述终 端设备的所有实施例均适用于该方法, 也能达到与上述终端设备相同的技术效果。 本发明的实施例还提供一种帧接收方法, 包括: 步骤 211,接收支持 Wi-Fi直连技术的其它终端设备发送的广播控制帧,并向所述 其它终端设备回复广播响应帧, 确认支持动态帧交互; 步骤 212, 接收支持动态帧交互的所述其它终端设备发送的扫描请求帧, 并对所 述扫描请求帧进行解析, 得到解析结果, 若所述解析结果表明所述其它终端设备发送 的扫描请求帧的接收端地址字段为空, 则构建扫描响应帧, 并发送给所述其它终端设 备, 其中, 所述扫描响应帧的 MAC头域中只保留类型和子类型信息。 如图 9所示, 本发明的上述实施例中步骤 212具体包括: 步骤 301, 接收扫描请求帧; 步骤 302, 判断收到的扫描请求帧中, 接收端地址字段是否为空; 步骤 303, 如果接收端地址字段为空, 那么说明该扫描请求帧是一个动态优化过 的请求帧; 步骤 304, 构建扩展的扫描响应帧; 步骤 305, 给其它终端设备发送扫描响应帧。 其中, 上述帧接收方法, 还包括: 步骤 213, 接收支持动态帧交互的所述其它终端设备发送的操作数据帧, 并读取 所述操作数据帧的帧主体数据区中的元素标识符, 根据所述元素标识符的值判断所述 操作数据帧是否为扩展的操作数据帧。 如图 10所示, 本发明实施例的上述实施例的步骤 213具体包括: 步骤 601, 收到终端设备发送的操作数据帧; 步骤 602, 读取操作数据帧的帧主体中的元素标识符; 步骤 603, 根据上述元素标识符的值判断上述操作数据帧是否是扩展的操作数据 帧; 步骤 604, 如果是扩展的操作数据帧, 那么读取操作数据帧帧主体数据区的第一 个字节的数据, 该数据表示的是其它终端设备的控制类型; 步骤 605, 根据步骤 604中读取的控制类型, 接着根据第二字节的数据长度读取 后面字节的附加数据; 步骤 606, 结合步骤 604和 605读取的数据, 解析出完整的控制信息, 并响应其 它终端设备的控制操作; 步骤 607, 给终端控制设备返回操作结果状态信息, 只要返回操作结果是否成功 即可。 需要说明的是, 该方法实施例是与上述终端设备作为接收端对应的方法, 上述终 端设备的所有实施例均适用于该方法, 也能达到与上述终端设备相同的技术效果。 本发明实施例中, 通过分别对扫描阶段, 发现阶段, 操作阶段的帧都动态自适应 的调整交互帧的长度, 不用每次都发送定长的数据帧, 只需要根据 Wi-Fi直联技术的 特点, 发送足够的信息数据即可, 大量节省了帧的长度, 有效的解决了功耗问题, 同 时能够实现简单的物连方案, 使支持 Wi-Fi直联的设备之间可以进行简单的交互。 以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普通技术人员 来说, 在不脱离本发明所述原理的前提下, 还可以做出若干改进和润饰, 这些改进和 润饰也应视为本发明的保护范围。 工业实用性 本发明实施例提供的技术方案可以应用于通信技术领域, 通过分别对扫描阶段, 发现阶段, 操作阶段的帧都动态自适应的调整交互帧的长度, 不用每次都发送定长的 数据帧, 只需要根据 Wi-Fi直联技术的特点, 发送足够的信息数据即可, 大量节省了 帧的长度, 有效的解决了功耗问题, 同时能够实现简单的物连方案, 使支持 Wi-Fi直 联的设备之间可以进行简单的交互。

Claims

权 利 要 求 书 一种终端设备, 包括:
确认模块,设置为向支持 Wi-Fi直连技术的其它终端设备发送广播控制帧, 并在收到所述其它终端设备回复的广播响应帧后, 确认回复广播响应帧的所述 其它终端设备支持动态帧交互;
扫描模块,设置为向支持动态帧交互的所述其它终端设备发送扫描请求帧, 所述扫描请求帧的接收端地址字段为空。 根据权利要求 1所述的终端设备, 其中, 还包括:
发现模块, 设置为接收支持动态帧交互的所述其它终端设备发送的扫描请 求帧, 并对所述扫描请求帧进行解析, 得到解析结果, 若所述解析结果表明所 述其它终端设备发送的扫描请求帧的接收端地址字段为空,则构建扫描响应帧, 并发送给所述其它终端设备, 其中, 所述扫描响应帧的 MAC头域中只保留类 型和子类型信息。 根据权利要求 1所述的终端设备, 其中, 还包括:
操作模块,设置为向支持动态帧交互的所述其它终端设备发送操作数据帧, 所述操作数据帧的帧主体数据区长度小于原操作数据帧的帧主体数据区长度。 根据权利要求 3所述的终端设备, 其中, 所述操作数据帧的帧主体数据区长度 小于或者等于 10字节,且所述帧主体数据区中以 1字节来标识控制类型,剩余 数据区用来存储控制的附加数据。 根据权利要求 4所述的终端设备, 其中, 所述操作数据帧的帧主体数据区中还 包括: 用于标识所述操作数据帧是否为扩展操作数据帧的元素标识符。 根据权利要求 3所述的终端设备, 其中, 所述操作模块还设置为: 接收支持动 态帧交互的所述其它终端设备发送的操作数据帧, 并读取所述操作数据帧的帧 主体数据区中的元素标识符, 根据所述元素标识符的值判断所述操作数据帧是 否为扩展的操作数据帧。 根据权利要求 6所述的终端设备, 其中, 所述操作模块在判断接收到的所述操 作数据帧为扩展的操作数据帧时, 所述操作模块读取所述操作数据帧的帧主体 数据区中的第一个字节的数据, 获取所述其它终端设备的控制类型, 并根据第 二个字节中存储的数据长度读取后面的的附加数据, 并根据所述控制类型和所 述附加数据解析出完整的控制信息, 根据所述控制信息响应所述其它终端设备 进行的控制操作, 并向所述其它终端设备发送操作是否成功的结果状态信息。
8. 根据权利要求 7所述的终端设备, 其中, 还包括: 设置模块, 设置为根据所述终端设备类型预先设定与所述控制信息对应的 功能, 其中所述控制信息包括所述控制类型和所述附加数据。
9. 一种帧发送方法, 包括:
向支持 Wi-Fi直连技术的其它终端设备发送广播控制帧, 并在收到所述其 它终端设备回复的广播响应帧后, 确认回复广播响应帧的所述其它终端设备支 持动态帧交互;
向支持动态帧交互的所述其它终端设备发送扫描请求帧, 所述扫描请求帧 的接收端地址字段为空。
10. 根据权利要求 9所述的帧发送方法, 其中, 还包括:
向支持动态帧交互的所述其它终端设备发送操作数据帧, 所述操作数据帧 的帧主体数据区长度小于原操作数据帧的帧主体数据区长度。
11. 根据权利要求 10所述的帧发送方法,其中,所述操作数据帧的帧主体数据区中 还包括: 用于标识所述操作数据帧是否为扩展操作数据帧的元素标识符。
12. 一种帧接收方法, 包括:
接收支持 Wi-Fi直连技术的其它终端设备发送的广播控制帧, 并向所述其 它终端设备回复广播响应帧, 确认支持动态帧交互;
接收支持动态帧交互的所述其它终端设备发送的扫描请求帧, 并对所述扫 描请求帧进行解析, 得到解析结果, 若所述解析结果表明所述其它终端设备发 送的扫描请求帧的接收端地址字段为空, 则构建扫描响应帧, 并发送给所述其 它终端设备, 其中, 所述扫描响应帧的 MAC头域中只保留类型和子类型信息。
13. 根据权利要求 12所述的帧接收方法, 其中, 还包括: 接收支持动态帧交互的所述其它终端设备发送的操作数据帧, 并读取所述 操作数据帧的帧主体数据区中的元素标识符, 根据所述元素标识符的值判断所 述操作数据帧是否为扩展的操作数据帧。
PCT/CN2014/072155 2013-08-26 2014-02-17 一种终端设备及帧发送和接收方法 WO2014135003A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/914,737 US9788356B2 (en) 2013-08-26 2014-02-17 Terminal device, and frame sending and receiving methods

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310375812.X 2013-08-26
CN201310375812.XA CN104427592B (zh) 2013-08-26 2013-08-26 一种终端设备及帧发送和接收方法

Publications (1)

Publication Number Publication Date
WO2014135003A1 true WO2014135003A1 (zh) 2014-09-12

Family

ID=51490619

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/072155 WO2014135003A1 (zh) 2013-08-26 2014-02-17 一种终端设备及帧发送和接收方法

Country Status (3)

Country Link
US (1) US9788356B2 (zh)
CN (1) CN104427592B (zh)
WO (1) WO2014135003A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743154A (zh) * 2017-10-18 2018-02-27 上海兴容信息技术有限公司 一种基于Wi‑Fi智能终端的追踪及考勤系统及其方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9955333B2 (en) 2014-08-20 2018-04-24 Qualcomm, Incorporated Secure wireless wake-up companion
CN106789415A (zh) * 2016-12-12 2017-05-31 东软集团股份有限公司 设备信息的采集方法、装置及系统
CN113900386B (zh) * 2021-11-17 2022-02-25 北京联盛德微电子有限责任公司 一种物联网设备自适应联动控制方法及系统
CN116021160B (zh) * 2022-12-29 2023-10-27 中国电力科学研究院有限公司 通过计量现场手持设备控制激光蚀刻设备的方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102668647A (zh) * 2009-11-17 2012-09-12 三星电子株式会社 用于调查在WiFi直连网络中的WiFi显示服务的方法和装置
CN103067776A (zh) * 2012-12-26 2013-04-24 Tcl集团股份有限公司 节目推送方法、系统及智能显示设备、云端服务器
EP2590454A1 (en) * 2011-11-02 2013-05-08 Industrial Technology Research Institute Direct communication method and direct communication device and coordinator device using the same

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8891497B1 (en) * 2006-03-14 2014-11-18 Atmel Corporation Method and apparatus for coordinating a wireless PAN network and a wireless LAN network
US8755302B2 (en) * 2009-09-24 2014-06-17 Samsung Electronics Co., Ltd. Method and system for ad-hoc communications over millimeter wave wireless channels in wireless systems
KR101774009B1 (ko) * 2009-09-29 2017-09-04 한국전자통신연구원 무선 통신 시스템에서 릴레이 링크 셋업 방법 및 장치
WO2012074316A2 (en) * 2010-12-01 2012-06-07 Lg Electronics Inc. Method and apparatus of link adaptation in wireless local area network
US20120188981A1 (en) * 2010-12-24 2012-07-26 Electronics And Telecommunications Research Institute Signalling method for direct communication between terminals
WO2013106404A1 (en) * 2012-01-12 2013-07-18 Marvell World Trade Ltd. Systems and methods for establishing a wi-fi display (wfd) session
AU2013244199B2 (en) * 2012-04-02 2017-07-13 Lg Electronics Inc. Method and apparatus for accessing channel in WLAN system
AU2013250182B2 (en) * 2012-04-15 2016-10-20 Lg Electronics Inc. Method and apparatus for transmitting and receiving feedback trigger frames in wireless LAN systems
WO2014003342A1 (ko) * 2012-06-26 2014-01-03 엘지전자 주식회사 무선 통신 시스템에서 d2d(device-to-device) 통신을 위한 신호 송수신 방법 및 장치
US9094820B2 (en) * 2012-08-29 2015-07-28 Qualcomm Incorporated Systems and methods for securely transmitting and receiving discovery and paging messages
US9736766B2 (en) * 2013-02-21 2017-08-15 Lg Electronics Inc. Method for finding instrument for wi-fi direct P2P (peer to peer) communication and apparatus therefor
US9654961B2 (en) * 2013-04-04 2017-05-16 Lg Electronics Inc. Method for device to device communication in a wireless communication system and apparatus therefor
FI124600B (en) * 2013-04-30 2014-10-31 Bluegiga Technologies Oy Method and technical apparatus for short - distance communication
EP2866482B1 (en) * 2013-10-24 2019-12-18 Nokia Technologies Oy Device discovery, device selection and connection setup in a short-range wireless communication system.

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102668647A (zh) * 2009-11-17 2012-09-12 三星电子株式会社 用于调查在WiFi直连网络中的WiFi显示服务的方法和装置
EP2590454A1 (en) * 2011-11-02 2013-05-08 Industrial Technology Research Institute Direct communication method and direct communication device and coordinator device using the same
CN103067776A (zh) * 2012-12-26 2013-04-24 Tcl集团股份有限公司 节目推送方法、系统及智能显示设备、云端服务器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743154A (zh) * 2017-10-18 2018-02-27 上海兴容信息技术有限公司 一种基于Wi‑Fi智能终端的追踪及考勤系统及其方法
CN107743154B (zh) * 2017-10-18 2024-02-06 兴容(上海)信息技术股份有限公司 一种基于Wi-Fi智能终端的追踪及考勤系统及其方法

Also Published As

Publication number Publication date
US20160212781A1 (en) 2016-07-21
US9788356B2 (en) 2017-10-10
CN104427592A (zh) 2015-03-18
CN104427592B (zh) 2019-04-26

Similar Documents

Publication Publication Date Title
JP4518183B2 (ja) 無線通信システム、無線通信装置、無線通信方法及びプログラム
US9912446B2 (en) Device, method and computer readable medium for communication on a ZigBee network
RU2397620C2 (ru) Гибкие интервалы прослушивания для многоадресных и/или широковещательных служб
KR101569298B1 (ko) 무선랜 시스템에서 통신 방법
CN1947357B (zh) 802.11多播寻呼应用的节电方法
JP5670477B2 (ja) 無線通信システムにおける拡張サービス発見機構
US8320286B2 (en) Infrastructure offload wake on wireless LAN (WOWL)
US20070291681A1 (en) Method and apparatus for providing information about each group address that has data waiting for delivery in node, point or terminal in a WLAN
US7570610B2 (en) Power management method
US8345647B2 (en) Flexible multicast and/or broadcast listening intervals
CN101331702A (zh) 用于多播和/或广播确认方法、无线局域网、节点和设备
JP2009521187A (ja) より節電するためのマルチポール指示
WO2014135003A1 (zh) 一种终端设备及帧发送和接收方法
US7289518B2 (en) Method and apparatus for reducing power consumption in a wireless network station
WO2013181852A1 (zh) 快速初始入网连接建立通信装置和方法
WO2018072544A1 (zh) 信息传输方法及站点
KR20080083086A (ko) 무선 네트워크에서의 통신방법, 무선 네트워크에서스테이션의 통신방법 및 스테이션
CN114338852B (zh) 一种封装基于Thread协议的数据包以获得IEEE 802.11物理帧的方法
KR20190117401A (ko) 블룸 필터를 이용한 wur 멀티캐스팅 장치 및 방법
KR20110026710A (ko) 무선개인 통신망에서의 mac프레임을 이용한 브로드캐스팅 시스템 및 이의 제어방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14759653

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 14914737

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 14759653

Country of ref document: EP

Kind code of ref document: A1