CN102833837B - Data communication equipment and data communications method - Google Patents
Data communication equipment and data communications method Download PDFInfo
- Publication number
- CN102833837B CN102833837B CN201210359249.2A CN201210359249A CN102833837B CN 102833837 B CN102833837 B CN 102833837B CN 201210359249 A CN201210359249 A CN 201210359249A CN 102833837 B CN102833837 B CN 102833837B
- Authority
- CN
- China
- Prior art keywords
- frame
- flag
- business
- message frame
- message
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides data communication equipment and data communications method, wherein, data communication equipment comprises: message generating module, generating messages frame, described message frame comprises message frame flag and business information flag, the value of described message frame flag identifies the type of described message frame and represents that described message frame comprises described business information flag, and the value of described business information flag represents the relevant information of business; Data interaction module, sends described message frame.By the present invention, make equipment in the process found, the time that message sends is unlikely to long, reduce the consumption of electricity, and can before being associated, just can know affiliated partner whether with oneself have same hobby or business, to avoid carrying out unnecessary connection.
Description
Technical field
The present invention relates to moving communicating field, in particular to a kind of data communication equipment and a kind of data communications method.
Background technology
At WFA(Wi-Fi Alliance) in, set up new seminar NAN(NeighborAwareness Networking, neighbours' sensing network), the content of its research is social networks, mainly STA(terminal) how to find other STA and carry out interest and share, find fast and how power saving in discovery procedure.
In NAN network, require between user time close to each other, equipment can find that other equipment are to associate fast; Search equipment need to find a large amount of while carry out the NAN equipment of broadcasting; NAN broadcasting equipment should collect broadcast in time to ensure that search equipment can not power consumption in a large number when finding a large amount of NAN equipment.
In existing Wi-Fi p 2 p technology, defining a kind of device discovery frame, by periodically broadcasting out in Beacon frame, the communication of some business can be carried out after setting up p2p network.
Consider that the feature of NAN network is to allow by jointly to like or the equipment of common service can form NAN network, carrying out service communication.And existing Wi-Fi p 2 p technology is obviously the feature that can not meet NAN network: the device discovery messages 1, in p2p is included in Beacon frame, Beacon frame is long, if frequent broadcast is unfavorable for equipment power saving; 2, p2p equipment is before being associated, be do not know affiliated partner whether with oneself have same hobby or business.
Therefore, need a kind of new equipment/service discovering mechanism, make equipment in the process found, the time that message sends is unlikely to long, reduce the consumption of electricity, and can before being associated, just can know affiliated partner whether with oneself have same hobby or business, to avoid carrying out unnecessary connection.
Summary of the invention
Technical problem to be solved by this invention is, a kind of new equipment/service discovering mechanism is provided, make equipment in the process found, the time that message sends is unlikely to long, reduce the consumption of electricity, and can before being associated, just can know affiliated partner whether with oneself have same hobby or business, to avoid carrying out unnecessary connection.
In view of this, the invention provides a kind of data communication equipment, comprise: message generating module, generating messages frame, described message frame comprises message frame flag and business information flag, the value of described message frame flag identifies the type of described message frame and represents that described message frame comprises described business information flag, and the value of described business information flag represents the relevant information of business; Data interaction module, sends described message frame.In this technical scheme, data communication equipment is as terminal, data interaction module can by realizations such as the signal receiving/transmission device of terminal and antennas, message generating module can be realized by the processing unit of terminal inner generating messages, pass through the technical program, utilize message frame to carry out the notice of service related information, and notify the type of recipient's message frame, make recipient can judge whether to resolve according to the type of message frame, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, be conducive to power saving, message frame is also for recipient provides service related information in addition, judges whether that needing to connect transmit leg commences business for recipient according to service related information.
In technique scheme, preferably, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, message frame can be sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, preferably, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, preferably, when described message frame is described control frame, described message frame flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described message frame flag comprises the frame head part of the media access control frame of described common action frame or one or more positions of body section.In this technical scheme, message identifier position can be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position can be arranged on its frame head part or body section, all effectively can indicate the existence of business information flag and indicate the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, preferably, when described message frame is described control frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames; When described message frame is described common action frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, the value retaining position can be utilized to come indicating services message identification position whether exist, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, no matter be use type and subtype subdomain or utilize body section position, be all fine, method is the same with the method for management frames and control frame, repeats no more here.
In technique scheme, preferably, represent when the value of described type subdomain and subtype subdomain is the first value that described message frame is for neighbours' sensing network discovery message frame, described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, it is that NAN finds message frame that flag more specifically can identify message frame, represent that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described business information flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described business information flag comprises one or more positions of the body section of the media access control frame of described common action frame.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, such as in control frame and management frames, can the position of business information flag is arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, and concrete can be arranged on body section order 1 position field, can certainly be arranged on other order position field.
In technique scheme, preferably, when described message frame is described common action frame, described business information flag comprises the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the value of described type of service flag represents the type of described business, the value of described action action frame flag represents that recipient can associate with transmit leg when receiving described common action frame, and the value of described business details flag represents the details of described business.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, any concrete business inside business details domain identifier type of service kind, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory; For common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, it is that NAN finds message frame that action action frame information field is used for identifying this frame.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, preferably, described business is described data communication equipment business that is current or that carry out At All Other Times.In this technical scheme, the information of current business can be recorded in message frame, also the business that other times carry out can be recorded, to inform recipient, like this after other potential user resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
The present invention also provides a kind of data communications method, comprise: generating messages frame, described message frame comprises message frame flag and business information flag, the type that the value of described message frame flag identifies described message frame and represent described message frame type in comprise described business information flag, the value of described business information flag represents the relevant information of business; Send described message frame.In this technical scheme, utilize message frame to carry out the notice of service related information, and notify the type of recipient's message frame, make recipient can judge whether to resolve according to the type of message frame, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, and is conducive to power saving; Message frame is also for recipient provides service related information in addition, judges whether that needing to connect transmit leg commences business for recipient according to service related information.
In technique scheme, preferably, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, message frame can be sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, preferably, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, preferably, when described message frame is described control frame, described message frame flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described message frame flag comprises the frame head part of the media access control frame of described common action frame or one or more positions of body section.In this technical scheme, message identifier position can be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position can be arranged on its frame head part or body section, all effectively can indicate the existence of business information flag and indicate the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, preferably, when described message frame is described control frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames; When described message frame is described common action frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, the value retaining position can be utilized to come indicating services message identification position whether exist, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, no matter be use type and subtype subdomain or utilize body section position, be all fine, method is the same with the method for management frames and control frame, repeats no more here.
In technique scheme, preferably, represent when the value of described type subdomain and subtype subdomain is the first value that described message frame is for neighbours' sensing network discovery message frame, described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, it is that NAN finds message frame that flag more specifically can identify message frame, represent that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described business information flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described business information flag comprises one or more positions of the body section of the media access control frame of described common action frame.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, such as in control frame and management frames, can the position of business information flag is arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, and concrete can be arranged on body section order 1 position field, can certainly be arranged on other order position field.
In technique scheme, preferably, when described message frame is described common action frame, described business information flag comprises the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the value of described type of service flag represents the type of described business, the value of described action action frame flag represents that recipient can associate with transmit leg when receiving described common action frame, and the value of described business details flag represents the details of described business.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, any concrete business inside business details domain identifier type of service kind, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory; For common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, it is that NAN finds message frame that action action frame information field is used for identifying this frame.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, preferably, described business is the transmit leg business that is current or that carry out At All Other Times of described message frame.In this technical scheme, the information of current business can be recorded in message frame, also the business that other times carry out can be recorded, to inform recipient, like this after other potential user resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
The present invention also provides a kind of data communication equipment, comprising: data interaction module, receipt message frame, and described message frame comprises message frame flag and business information flag; Message processing module, determines the type of described message frame according to the value of described message frame flag and determines to comprise described business information flag in described message frame, and the relevant information of value determination business according to described business information flag.In this technical scheme, data communication equipment is as terminal, data interaction module can by realizations such as the signal receiving/transmission device of terminal and antennas, message processing module can be realized by the processing unit of terminal inner processing messages, pass through the technical program, first reception can know the type of message frame, type according to message frame judges whether to resolve, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, be conducive to power saving, message frame is also for recipient provides service related information in addition, according to service related information, recipient judges whether that needing to connect transmit leg commences business.
In technique scheme, preferably, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, message frame can be sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, preferably, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, preferably, when described message frame is described control frame, described message processing module determines that one or more positions of the frame head part of media access control frame in described control frame are described message frame flag; When described message frame is described management frames, described message processing module determines that one or more positions of the frame head part of media access control frame in described management frames are described message frame flag; When described message frame is described common action frame, described message processing module determines that the frame head part of the media access control frame of described common action frame or one or more positions of body section are described message frame flag.In this technical scheme, message identifier position may be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position may be arranged on its frame head part or body section, recipient according to the structure of different frame, can Timeliness coverage business information flag existence and determine the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, preferably, when described message frame is described control frame, described message processing module determines that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame are described message frame flag; When described message frame is described management frames, described message processing module determines that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames are described message frame flag; When described message frame is described common action frame, described message processing module determines one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position are described message frame flag.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, according to the value retaining position, recipient can determine whether business information flag exists, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, depend on the concrete structure of common action frame, recipient according to type and subtype subdomain or the value utilizing body section position, can determine whether business information flag exists, method is the same with the method for process management frames and control frame, repeats no more here.
In technique scheme, preferably, when the value of described type subdomain and subtype subdomain is the first value, described message processing module determines that described message frame finds message frame for neighbours' sensing network, and described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, according to flag, recipient more specifically can determine that message frame is that NAN finds message frame, determine that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, preferably, when described message frame is described control frame, described message processing module determines that one or more positions of the frame head part of media access control frame in described control frame are described business information flag; When described message frame is described management frames, described message processing module determines that one or more positions of the frame head part of media access control frame in described management frames are described business information flag; When described message frame is described common action frame, described message processing module determines that one or more positions of the body section of the media access control frame of described common action frame are described business information flag.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, for example in control frame and management frames, can the position of business information flag be arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, concrete can be arranged on body section order 1 position field, other order position field can certainly be arranged on, recipient is according to the feature of control frame and common action frame, from frame, corresponding position obtains service related information.
In technique scheme, preferably, when described message frame is described common action frame, determine that the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field are described business information flag.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section, according to business information, recipient can determine whether that needs are commenced business after resolving.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, described message processing module determines the type of described business according to the value of described type of service flag, determines the details of described business according to the value of described business details flag; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, described message processing module determines the type of described business according to the value of described type of service flag, determines the details of described business according to the value of described business details flag; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, described message processing module determines the type of described business according to the value of described type of service flag, determining that recipient can associate with transmit leg when receiving described common action frame according to the value of described action action frame flag, determining the details of described business according to the value of described business details flag.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, recipient determines any concrete business inside type of service kind according to business details territory, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory, for common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, according to action action frame information field, recipient determines that this frame is that NAN finds message frame.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, preferably, described business is the transmit leg business that is current or that carry out At All Other Times of described message frame.In this technical scheme, recipient can parse the business that the current business of transmit leg or other times carry out from message frame, and need to select whether carry out this business according to self, after such recipient resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
The present invention also provides a kind of data communications method, comprising: receipt message frame, and described message frame comprises message frame flag and business information flag; Determine the type of described message frame according to the value of described message frame flag and determine in described message frame, to comprise described business information flag, and the relevant information of value determination business according to described business information flag.In this technical scheme, first reception can know the type of message frame, type according to message frame judges whether to resolve, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, and is conducive to power saving; Message frame is also for recipient provides service related information in addition, according to service related information, recipient judges whether that needing to connect transmit leg commences business.
In technique scheme, preferably, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, message frame can be sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, preferably, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, preferably, also comprise: when described message frame is described control frame, determine that one or more positions of the frame head part of media access control frame in described control frame are described message frame flag; When described message frame is described management frames, determine that one or more positions of the frame head part of media access control frame in described management frames are described message frame flag; When described message frame is described common action frame, determine that the frame head part of the media access control frame of described common action frame or one or more positions of body section are described message frame flag.In this technical scheme, message identifier position may be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position may be arranged on its frame head part or body section, recipient according to the structure of different frame, can Timeliness coverage business information flag existence and determine the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, preferably, when described message frame is described control frame, determine that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame are described message frame flag; When described message frame is described management frames, determine that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames are described message frame flag; When described message frame is described common action frame, determine one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order position field are described message frame flag.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, according to the value retaining position, recipient can determine whether business information flag exists, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, depend on the concrete structure of common action frame, recipient according to type and subtype subdomain or the value utilizing body section position, can determine whether business information flag exists, method is the same with the method for process management frames and control frame, repeats no more here.
In technique scheme, preferably, also comprise: when the value of described type subdomain and subtype subdomain is the first value, determine that described message frame finds message frame for neighbours' sensing network, described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, according to flag, recipient more specifically can determine that message frame is that NAN finds message frame, determine that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, preferably, also comprise: when described message frame is described control frame, determine that one or more positions of the frame head part of media access control frame in described control frame are described business information flag; When described message frame is described management frames, determine that one or more positions of the frame head part of media access control frame in described management frames are described business information flag; When described message frame is described common action frame, determine that one or more positions of the body section of the media access control frame of described common action frame are described business information flag.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, for example in control frame and management frames, can the position of business information flag be arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, concrete can be arranged on body section order 1 position field, other order position field can certainly be arranged on, recipient is according to the feature of control frame and common action frame, from frame, corresponding position obtains service related information.
In technique scheme, preferably, when described message frame is described common action frame, determine that the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field are described business information flag.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section, according to business information, recipient can determine whether that needs are commenced business after resolving.
In technique scheme, preferably, the relevant information of the described value determination business according to described business information flag comprises: when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, determine the type of described business according to the value of described type of service flag, determine the details of described business according to the value of described business details flag; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, determine the type of described business according to the value of described type of service flag, determine the details of described business according to the value of described business details flag; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the type of described business is determined according to the value of described type of service flag, determining that recipient can associate with transmit leg when receiving described common action frame according to the value of described action action frame flag, determining the details of described business according to the value of described business details flag.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, recipient determines any concrete business inside type of service kind according to business details territory, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory, for common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, according to action action frame information field, recipient determines that this frame is that NAN finds message frame.
In technique scheme, preferably, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, preferably, described business is the transmit leg business that is current or that carry out At All Other Times of described message frame.In this technical scheme, recipient can parse the business that the current business of transmit leg or other times carry out from message frame, and need to select whether carry out this business according to self, after such recipient resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
By above technical scheme, data communication equipment and data communications method can be realized, make equipment in the process found, the time that message sends is unlikely to long, reduce the consumption of electricity, and can before being associated, just can know affiliated partner whether with oneself have same hobby or business, to avoid carrying out unnecessary connection.
Accompanying drawing explanation
Fig. 1 is the block diagram of data communication equipment according to an embodiment of the invention;
Fig. 2 is the flow chart of data communications method according to an embodiment of the invention;
Fig. 3 is the block diagram of data communication equipment according to an embodiment of the invention;
Fig. 4 is the flow chart of data communications method according to an embodiment of the invention;
Fig. 5 is the frame assumption diagram in data communications method according to an embodiment of the invention;
Fig. 6 is the frame assumption diagram in data communications method according to an embodiment of the invention;
Fig. 7 is the frame assumption diagram in data communications method according to an embodiment of the invention;
Fig. 8 is the frame assumption diagram in data communications method according to an embodiment of the invention.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from alternate manner described here to implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 is the block diagram of data communication equipment according to an embodiment of the invention.
As shown in Figure 1, the invention provides a kind of data communication equipment 100, comprise: message generating module 102, generating messages frame, described message frame comprises message frame flag and business information flag, the value of described message frame flag identifies the type of described message frame and represents that described message frame comprises described business information flag, and the value of described business information flag represents the relevant information of business; Data interaction module 104, sends described message frame.In this technical scheme, data communication equipment is as terminal, data interaction module 104 can by realizations such as the signal receiving/transmission device of terminal and antennas, message generating module 102 can be realized by the processing unit of terminal inner generating messages, pass through the technical program, utilize message frame to carry out the notice of service related information, and notify the type of recipient's message frame, make recipient can judge whether to resolve according to the type of message frame, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, be conducive to power saving, message frame is also for recipient provides service related information in addition, judges whether that needing to connect transmit leg commences business for recipient according to service related information.
In technique scheme, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, message frame can be sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, when described message frame is described control frame, described message frame flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described message frame flag comprises the frame head part of the media access control frame of described common action frame or one or more positions of body section.In this technical scheme, message identifier position can be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position can be arranged on its frame head part or body section, all effectively can indicate the existence of business information flag and indicate the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, when described message frame is described control frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames; When described message frame is described common action frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, the value retaining position can be utilized to come indicating services message identification position whether exist, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, no matter be use type and subtype subdomain or utilize body section position, be all fine, method is the same with the method for management frames and control frame, repeats no more here.
In technique scheme, represent when the value of described type subdomain and subtype subdomain is the first value that described message frame is for neighbours' sensing network discovery message frame, described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, it is that NAN finds message frame that flag more specifically can identify message frame, represent that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, when described message frame is described control frame, described business information flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described business information flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described business information flag comprises one or more positions of the body section of the media access control frame of described common action frame.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, such as in control frame and management frames, can the position of business information flag is arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, and concrete can be arranged on body section order 1 position field, can certainly be arranged on other order position field.
In technique scheme, when described message frame is described common action frame, described business information flag comprises the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section.
In technique scheme, when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the value of described type of service flag represents the type of described business, the value of described action action frame flag represents that recipient can associate with transmit leg when receiving described common action frame, and the value of described business details flag represents the details of described business.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, any concrete business inside business details domain identifier type of service kind, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory; For common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, it is that NAN finds message frame that action action frame information field is used for identifying this frame.
In technique scheme, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, described business is described data communication equipment business that is current or that carry out At All Other Times.In this technical scheme, the information of current business can be recorded in message frame, also the business that other times carry out can be recorded, to inform recipient, like this after other potential user resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
Fig. 2 is the flow chart of data communications method according to an embodiment of the invention.
As shown in Figure 2, the present invention also provides a kind of data communications method, comprise: step 202, generating messages frame, described message frame comprises message frame flag and business information flag, the type that the value of described message frame flag identifies described message frame and represent described message frame type in comprise described business information flag, the value of described business information flag represents the relevant information of business; Step 204, sends described message frame.In this technical scheme, utilize message frame to carry out the notice of service related information, and notify the type of recipient's message frame, make recipient can judge whether to resolve according to the type of message frame, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, and is conducive to power saving; Message frame is also for recipient provides service related information in addition, judges whether that needing to connect transmit leg commences business for recipient according to service related information.
In technique scheme, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, message frame can be sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, when described message frame is described control frame, described message frame flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described message frame flag comprises the frame head part of the media access control frame of described common action frame or one or more positions of body section.In this technical scheme, message identifier position can be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position can be arranged on its frame head part or body section, all effectively can indicate the existence of business information flag and indicate the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, when described message frame is described control frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame; When described message frame is described management frames, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames; When described message frame is described common action frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, the value retaining position can be utilized to come indicating services message identification position whether exist, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, no matter be use type and subtype subdomain or utilize body section position, be all fine, method is the same with the method for management frames and control frame, repeats no more here.
In technique scheme, represent when the value of described type subdomain and subtype subdomain is the first value that described message frame is for neighbours' sensing network discovery message frame, described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, it is that NAN finds message frame that flag more specifically can identify message frame, represent that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, when described message frame is described control frame, described business information flag comprises one or more positions of the frame head part of media access control frame in described control frame; When described message frame is described management frames, described business information flag comprises one or more positions of the frame head part of media access control frame in described management frames; When described message frame is described common action frame, described business information flag comprises one or more positions of the body section of the media access control frame of described common action frame.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, such as in control frame and management frames, can the position of business information flag is arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, and concrete can be arranged on body section order 1 position field, can certainly be arranged on other order position field.
In technique scheme, when described message frame is described common action frame, described business information flag comprises the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section.
In technique scheme, when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the value of described type of service flag represents the type of described business, the value of described action action frame flag represents that recipient can associate with transmit leg when receiving described common action frame, and the value of described business details flag represents the details of described business.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, any concrete business inside business details domain identifier type of service kind, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory; For common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, it is that NAN finds message frame that action action frame information field is used for identifying this frame.
In technique scheme, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, described business is the transmit leg of described message frame business that is current or that carry out At All Other Times.In this technical scheme, the information of current business can be recorded in message frame, also the business that other times carry out can be recorded, to inform recipient, like this after other potential user resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
Fig. 3 is the block diagram of data communication equipment according to an embodiment of the invention.
As shown in Figure 3, the present invention also provides a kind of data communication equipment 300, comprising: data interaction module 302, receipt message frame, and described message frame comprises message frame flag and business information flag; Message processing module 304, determines the type of described message frame according to the value of described message frame flag and determines to comprise described business information flag in described message frame, and the relevant information of value determination business according to described business information flag.In this technical scheme, data communication equipment is as terminal, data interaction module 302 can by realizations such as the signal receiving/transmission device of terminal and antennas, message processing module 304 can be realized by the processing unit of terminal inner processing messages, pass through the technical program, first reception can know the type of message frame, type according to message frame judges whether to resolve, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, be conducive to power saving, message frame is also for recipient provides service related information in addition, according to service related information, recipient judges whether that needing to connect transmit leg commences business.
In technique scheme, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, recipient can receive the message frame sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, when described message frame is described control frame, described message processing module 304 determines that one or more positions of the frame head part of media access control frame in described control frame are described message frame flag; When described message frame is described management frames, described message processing module 304 determines that one or more positions of the frame head part of media access control frame in described management frames are described message frame flag; When described message frame is described common action frame, described message processing module 304 determines that the frame head part of the media access control frame of described common action frame or one or more positions of body section are described message frame flag.In this technical scheme, message identifier position may be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position may be arranged on its frame head part or body section, recipient according to the structure of different frame, can Timeliness coverage business information flag existence and determine the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, when described message frame is described control frame, described message processing module 304 determines that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame are described message frame flag; When described message frame is described management frames, described message processing module 304 determines that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames are described message frame flag; When described message frame is described common action frame, described message processing module 304 determines one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position are described message frame flag.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, according to the value retaining position, recipient can determine whether business information flag exists, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, depend on the concrete structure of common action frame, recipient according to type and subtype subdomain or the value utilizing body section position, can determine whether business information flag exists, method is the same with the method for process management frames and control frame, repeats no more here.
In technique scheme, when the value of described type subdomain and subtype subdomain is the first value, described message processing module 304 determines that described message frame is for neighbours' sensing network discovery message frame, and described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, according to flag, recipient more specifically can determine that message frame is that NAN finds message frame, determine that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, when described message frame is described control frame, described message processing module 304 determines that one or more positions of the frame head part of media access control frame in described control frame are described business information flag; When described message frame is described management frames, described message processing module 304 determines that one or more positions of the frame head part of media access control frame in described management frames are described business information flag; When described message frame is described common action frame, described message processing module 304 determines that one or more positions of the body section of the media access control frame of described common action frame are described business information flag.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, for example in control frame and management frames, can the position of business information flag be arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, concrete can be arranged on body section order 1 position field, other order position field can certainly be arranged on, recipient is according to the feature of control frame and common action frame, from frame, corresponding position obtains service related information.
In technique scheme, when described message frame is described common action frame, determine that the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field are described business information flag.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section, according to business information, recipient can determine whether that needs are commenced business after resolving.
In technique scheme, when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, described message processing module 304 determines the type of described business according to the value of described type of service flag, determines the details of described business according to the value of described business details flag; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, described message processing module 304 determines the type of described business according to the value of described type of service flag, determines the details of described business according to the value of described business details flag; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, described message processing module 304 determines the type of described business according to the value of described type of service flag, determining that recipient can associate with transmit leg when receiving described common action frame according to the value of described action action frame flag, determining the details of described business according to the value of described business details flag.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, recipient determines any concrete business inside type of service kind according to business details territory, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory, for common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, according to action action frame information field, recipient determines that this frame is that NAN finds message frame.
In technique scheme, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, described business is the transmit leg of described message frame business that is current or that carry out At All Other Times.In this technical scheme, recipient can parse the business that the current business of transmit leg or other times carry out from message frame, and need to select whether carry out this business according to self, after such recipient resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
Fig. 4 is the flow chart of data communications method according to an embodiment of the invention.
As shown in Figure 4, the present invention also provides a kind of data communications method, comprising: step 402, receipt message frame, and described message frame comprises message frame flag and business information flag; Step 404, determines the type of described message frame according to the value of described message frame flag and determines to comprise described business information flag in described message frame, and the relevant information of value determination business according to described business information flag.In this technical scheme, first reception can know the type of message frame, type according to message frame judges whether to resolve, such as, consider from province's electrical degree, can not resolve for some uninterested message frame, if for example message frame flag resolved by a mobile terminal device, find that this frame is that oneself is uninterested, the remainder that just directly can abandon this message frame is no longer resolved, and is conducive to power saving; Message frame is also for recipient provides service related information in addition, according to service related information, recipient judges whether that needing to connect transmit leg commences business.
In technique scheme, described message frame is broadcast message frame, multicast message frame or unicast messages frame.In this technical scheme, message frame can be sent by different modes such as broadcast, multicast, clean cultures, if message frame is broadcast message frame, the destination address so in broadcast message frame is exactly broadcast address; If message frame is multicast message frame, the destination address so in multicast message frame is exactly multicast message address, and this multicast message address can be the special identifier of a group specifically, and this special identifier can be 48 bits or other number of bits; If message frame is unicast messages frame, the destination address so in unicast messages frame is exactly unicast messages address, and this unicast messages address is the MAC Address of certain terminal equipment specifically.
In technique scheme, described message frame is control frame, management frames or common action frame.In this technical scheme, message frame can send out with the form of control frame, management frames or common action frame, and this message frame also can send out by frame in other forms certainly.
In technique scheme, also comprise: when described message frame is described control frame, determine that one or more positions of the frame head part of media access control frame in described control frame are described message frame flag; When described message frame is described management frames, determine that one or more positions of the frame head part of media access control frame in described management frames are described message frame flag; When described message frame is described common action frame, determine that the frame head part of the media access control frame of described common action frame or one or more positions of body section are described message frame flag.In this technical scheme, message identifier position may be arranged on the frame head part of management frames and control frame, and for common action frame, message identifier position may be arranged on its frame head part or body section, recipient according to the structure of different frame, can Timeliness coverage business information flag existence and determine the type of frame, and frame length is all shorter, be beneficial to power saving, be applicable to frequent transmitting-receiving.
In technique scheme, when described message frame is described control frame, determine that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described control frame are described message frame flag; When described message frame is described management frames, determine that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described management frames are described message frame flag; When described message frame is described common action frame, determine one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order position field are described message frame flag.In this technical scheme, for control frame and management frames, undefined reservation position is also there is at type and subtype two subdomains in frame control territory, according to the value retaining position, recipient can determine whether business information flag exists, for example, the value of Type can be got " 11 ", the value of subtype can be got " 0000 " and carried out the type of identification frames and represent that this frame comprises business information flag, and the value that certain Type and Subtype subdomain also can get other is carried out the type of identification frames and represents that this frame comprises business information flag; And for common action frame, depend on the concrete structure of common action frame, recipient according to type and subtype subdomain or the value utilizing body section position, can determine whether business information flag exists, method is the same with the method for process management frames and control frame, repeats no more here.
In technique scheme, also comprise: when the value of described type subdomain and subtype subdomain is the first value, determine that described message frame is for neighbours' sensing network discovery message frame, described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.In this technical scheme, according to flag, recipient more specifically can determine that message frame is that NAN finds message frame, determine that this NAN finds that message frame comprises business information flag simultaneously, for example when the value that recipient is resolved to flag is " 110000 ", just know that this frame is for neighbours' sensing network discovery message frame, if the relevant business of neighbours' sensing network oneself will be carried out just continue to resolve the remaining part of this frame, otherwise then do not resolve this frame remainder, be beneficial to power saving.
In technique scheme, also comprise: when described message frame is described control frame, determine that one or more positions of the frame head part of media access control frame in described control frame are described business information flag; When described message frame is described management frames, determine that one or more positions of the frame head part of media access control frame in described management frames are described business information flag; When described message frame is described common action frame, determine that one or more positions of the body section of the media access control frame of described common action frame are described business information flag.In this technical scheme, based on the feature of different frame structure, for control frame and management frames, need to utilize frame header member record service related information, for example in control frame and management frames, can the position of business information flag be arranged on after source address, and for common action frame, body section can be utilized to carry out record traffic relevant information, concrete can be arranged on body section order 1 position field, other order position field can certainly be arranged on, recipient is according to the feature of control frame and common action frame, from frame, corresponding position obtains service related information.
In technique scheme, when described message frame is described common action frame, determine that the one or more position in order 1 position field of the body section of the media access control frame of described common action frame or the one or more positions in other order position field are described business information flag.In this technical scheme, business information can be recorded in the part of frame, body section can be made up of number of domains, business information can be recorded in body section order 1 position field, after such recipient only need resolve the information in Order1 territory, see that whether oneself is interested, if interested, be associated with it, the remainder of this frame need not be resolved again, be conducive to power saving; Certainly also business information can be arranged on other order position field of body section, according to business information, recipient can determine whether that needs are commenced business after resolving.
In technique scheme, described step 404 comprises: when described message frame is described control frame, described business information flag comprises type of service flag and business details flag, determine the type of described business according to the value of described type of service flag, determine the details of described business according to the value of described business details flag; When described message frame is described management frames, described business information flag comprises type of service flag and business details flag, determine the type of described business according to the value of described type of service flag, determine the details of described business according to the value of described business details flag; When described message frame is described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the type of described business is determined according to the value of described type of service flag, determining that recipient can associate with transmit leg when receiving described common action frame according to the value of described action action frame flag, determining the details of described business according to the value of described business details flag.In this technical scheme, for control frame and management frames, service related information territory is made up of traffic type information territory and business details territory two parts, the for example kind of type information domain identifier business, such as: game, chat or other class of business, recipient determines any concrete business inside type of service kind according to business details territory, such as details can be the CS game of game the inside, also the out of Memory of CS game can be comprised, the information such as such as game ratings, traffic type information territory and business details territory can be the subdomains in business information territory, for common action frame, contain traffic type information territory, business details territory and action action frame information field, wherein, traffic type information territory is the same with in the effect of management frames and control frame with business details territory, here repeat no more, according to action action frame information field, recipient determines that this frame is that NAN finds message frame.
In technique scheme, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag; When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.In this technical scheme, in control frame and management frames, identification service information type can be carried out by 8 bytes, such as by this large type of value " 00000000 " mark war game, the specifying information identifying game by value " 0000000000000000000000000000000000000000 " is CS game, also can comprise the out of Memory of CS game, the information such as such as game ratings, can certainly come identification service information type and business details by other number of bits; In action action frame, traffic type information is the same with in management frames and control frame with the identification method of business details, here repeat no more, identify this frame simultaneously when the value of action action frame information field is set to " 00000111 " and find message frame for neighbours' sensing network, the value in action message territory can certainly be set to other value to identify this frame for neighbours' sensing network discovery message frame.
In technique scheme, described business is the transmit leg of described message frame business that is current or that carry out At All Other Times.In this technical scheme, recipient can parse the business that the current business of transmit leg or other times carry out from message frame, and need to select whether carry out this business according to self, after such recipient resolves these data, just can know the current business maybe will carried out, be convenient to be associated with transmit leg fast.
In one embodiment of the invention, in order in device discovery procedure, can power saving can be associated fast again, provide in the present embodiment in the technical scheme of data communication, wherein relate to the structure of two kinds of frames, be defined as new discovery mechanism, referred to herein as mixing discovery mechanism, carry out device discovery and service discovering simultaneously.
According to the technical scheme of the present embodiment, in discovery procedure, can know that equipment is the equipment supporting NAN function, the business will carried out after equipment association can be known again.
The structure of the first frame, specifically as shown in Figure 5.
The first frame is control frame, A1, A2 is respectively destination address and source address, wherein A3 is the territory newly increased---business information territory, define the specifying information of type of service and type of service, the total length of so new this frame of definition is 24 bytes, relative to Beacon frame, length only has about 1/tens of Beacon frame, greatly the time is saved like this in transmitting procedure, be conducive to equipment power saving and accelerate device discovery, adapt to the feature that in NAN network, data are frequently mutual, can frequent interactive service information between guarantee equipment, there is the equipment of common interest can connect to commence business.
For the first frame structure, as shown in Figure 6, can be NAN control frame by the type of this frame of Type and Subtype common ID in FC territory, as shown in the table, the value that the value in type territory is set to 11, subtype territory is set to 0000, represents that this control frame is that NAN mixing finds message.
Then recipient is after receiving control frame, can judge that this control frame is for mixing NAN discovery message according to the value of type and subtype, and then service related information is parsed from business information field, if recipient is interested in business, then can be connected with transmit leg, if and the value of the message type received and subtype is not 11 and 0000, then can judges not have in message service related information, can resolve it and directly abandon.
Because the structure of management frames is similar to control frame, so define management frames according to the structure of above-mentioned control frame, namely the A3 business information territory record traffic relevant information after utilizing A1, A2, and the type of identity management frame is carried out by the value of type and subtype in FC territory---NAN finds message, and indicates in frame and comprise business information.Then transmit leg can generate and send management frames to recipient, then, after recipient's receiving management frame, can, according to the hobby of oneself, judge whether be connected with transmit leg and commence business.
The second frame structure is as follows:
The second frame is new common action frame structure, and at the body section encapsulation common action frame of mac frame, common action frame structure as shown in Figure 7.
Wherein, use Category(classification) this message of this domain identifier be NAN find message, its value can be set to 5, whether receiver equipment, according to the value of Category, can exist service related information in judgment frame, has and then continues to resolve frame, then do not need to continue to resolve, specific as follows:
Or adopt the method in last embodiment to identify sent out frame to be that NAN finds frame.
Action Value(type of service) this territory is arranged can be that 1 or 2 byte identifies the type will carrying out business.
Dialog Token(session tokens) this territory is set to 1, and mark receives mixing and finds that the recipient of message frame can continue next step action, is associated with transmit leg.
The specifying information of Details of action value(type of service) this territory is variable, can be 48 bits, is used for the specifying information of mark business-type.
The length of whole message frame is 28 bytes, and common action frame is encapsulated in after the source address of this frame, as the body section of message frame, finally as shown in Figure 8, relative to Beacon frame, only have about 1/tens of Beacon frame length, concerning receiving-transmitting sides, the transmitting-receiving holding time of single is very of short duration, very power saving, is suitable for feature frequently mutual in NAN network, if recipient is interested in service related information, then can be connected with transmit leg, to commence business.
In sum, by technical scheme of the present invention, data communication equipment and data communications method can be realized, meet the demand of NAN network characteristics, in discovery procedure, be conducive to equipment power saving simultaneously, simultaneously owing to finding that this body length of message reduces, also accelerate and find and associate.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (32)
1. a data communication equipment, is characterized in that, comprising:
Message generating module, generating messages frame, described message frame comprises message frame flag and business information flag, the value of described message frame flag identifies the type of described message frame and represents that described message frame comprises described business information flag, and the value of described business information flag represents the relevant information of business;
Data interaction module, sends described message frame, determines whether to associate with transmit leg according to the described message frame received for recipient;
Described message frame is broadcast message frame, multicast message frame or unicast messages frame, and/or described message frame is control frame, management frames or common action frame;
When described message frame is described control frame, described management frames or described common action frame, described message frame flag comprises one or more positions of media access control frame in described control frame, described management frames or described common action frame, and described business information flag comprises one or more positions of media access control frame described in described control frame, described management frames or described common action frame.
2. data communication equipment according to claim 1, is characterized in that, when described message frame is described control frame, described message frame flag comprises one or more positions of the frame head part of media access control frame described in described control frame;
When described message frame is described management frames, described message frame flag comprises one or more positions of the frame head part of media access control frame described in described management frames;
When described message frame is described common action frame, described message frame flag comprises the frame head part of described media access control frame or one or more positions of body section of described common action frame.
3. data communication equipment according to claim 1, it is characterized in that, when described message frame is described control frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described control frame;
When described message frame is described management frames, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described management frames;
When described message frame is described common action frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position.
4. data communication equipment according to claim 3, it is characterized in that, the value of described type subdomain and subtype subdomain represents when being the first value that described message frame is for neighbours' sensing network discovery message frame, and described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.
5. data communication equipment according to claim 1, it is characterized in that, when described message frame is described control frame, described business information flag comprises one or more positions of the frame head part of media access control frame described in described control frame, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business;
When described message frame is described management frames, described business information flag comprises one or more positions of the frame head part of media access control frame described in described management frames, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business;
When described message frame is described common action frame, described business information flag comprises one or more positions of the body section of the described media access control frame of described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the value of described type of service flag represents the type of described business, the value of described action action frame flag represents that described recipient can associate with described transmit leg when receiving described common action frame, the value of described business details flag represents the details of described business.
6. data communication equipment according to claim 5, it is characterized in that, when described message frame is described common action frame, described business information flag comprises the one or more position in order 1 position field of the body section of the described media access control frame of described common action frame or the one or more positions in other order position field.
7. data communication equipment according to claim 5, it is characterized in that, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.
8. data communication equipment according to any one of claim 1 to 7, is characterized in that, described business is described data communication equipment business that is current or that carry out At All Other Times.
9. a data communications method, is characterized in that, comprising:
Generating messages frame, described message frame comprises message frame flag and business information flag, the type that the value of described message frame flag identifies described message frame and represent described message frame type in comprise described business information flag, the value of described business information flag represents the relevant information of business;
Send described message frame, determine whether to associate with transmit leg according to the described message frame received for recipient;
Described message frame is broadcast message frame, multicast message frame or unicast messages frame, and/or described message frame is control frame, management frames or common action frame;
When described message frame is described control frame, described management frames or described common action frame, described message frame flag comprises one or more positions of media access control frame in described control frame, described management frames or described common action frame, and described business information flag comprises one or more positions of media access control frame described in described control frame, described management frames or described common action frame.
10. data communications method according to claim 9, is characterized in that, when described message frame is described control frame, described message frame flag comprises one or more positions of the frame head part of media access control frame described in described control frame;
When described message frame is described management frames, described message frame flag comprises one or more positions of the frame head part of media access control frame described in described management frames;
When described message frame is described common action frame, described message frame flag comprises the frame head part of described media access control frame or one or more positions of body section of described common action frame.
11. data communications methods according to claim 10, it is characterized in that, when described message frame is described control frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described control frame;
When described message frame is described management frames, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described management frames;
When described message frame is described common action frame, described message frame flag comprises one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position.
12. data communications methods according to claim 11, it is characterized in that, the value of described type subdomain and subtype subdomain represents when being the first value that described message frame is for neighbours' sensing network discovery message frame, and described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.
13. data communications methods according to claim 9, it is characterized in that, when described message frame is described control frame, described business information flag comprises one or more positions of the frame head part of media access control frame described in described control frame, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business;
When described message frame is described management frames, described business information flag comprises one or more positions of the frame head part of media access control frame described in described management frames, described business information flag comprises type of service flag and business details flag, the value of described type of service flag represents the type of described business, and the value of described business details flag represents the details of described business;
When described message frame is described common action frame, described business information flag comprises one or more positions of the body section of the described media access control frame of described common action frame, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the value of described type of service flag represents the type of described business, the value of described action action frame flag represents that described recipient can associate with described transmit leg when receiving described common action frame, the value of described business details flag represents the details of described business.
14. data communications methods according to claim 13, it is characterized in that, when described message frame is described common action frame, described business information flag comprises the one or more position in order 1 position field of the body section of the described media access control frame of described common action frame or the one or more positions in other order position field.
15. data communications methods according to claim 14, it is characterized in that, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.
16. data communications methods according to any one of claim 9 to 15, it is characterized in that, described business is the transmit leg of described message frame business that is current or that carry out At All Other Times.
17. 1 kinds of data communication equipments, is characterized in that, comprising:
Data interaction module, receipt message frame, described message frame comprises message frame flag and business information flag;
Message processing module, determines the type of described message frame according to the value of described message frame flag and determines to comprise described business information flag in described message frame, and the relevant information of value determination business according to described business information flag;
Described message frame is broadcast message frame, multicast message frame or unicast messages frame, and/or described message frame is control frame, management frames or common action frame;
When described message frame is described control frame, described management frames or described common action frame, described message frame flag comprises one or more positions of media access control frame in described control frame, described management frames or described common action frame, and described business information flag comprises one or more positions of media access control frame described in described control frame, described management frames or described common action frame.
18. data communication equipments according to claim 17, it is characterized in that, when described message frame is described control frame, described message processing module determines that one or more positions of the frame head part of media access control frame described in described control frame are described message frame flag;
When described message frame is described management frames, described message processing module determines that one or more positions of the frame head part of media access control frame described in described management frames are described message frame flag;
When described message frame is described common action frame, described message processing module determines that the frame head part of described media access control frame of described common action frame or one or more positions of body section are described message frame flag.
19. data communication equipments according to claim 18, it is characterized in that, when described message frame is described control frame, described message processing module determines that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described control frame are described message frame flag;
When described message frame is described management frames, described message processing module determines that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described management frames are described message frame flag;
When described message frame is described common action frame, described message processing module determines one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order territory, position are described message frame flag.
20. data communication equipments according to claim 19, it is characterized in that, when the value of described type subdomain and subtype subdomain is the first value, described message processing module determines that described message frame is for neighbours' sensing network discovery message frame, and described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.
21. data communication equipments according to claim 17, it is characterized in that, when described message frame is described control frame, described message processing module determines that one or more positions of the frame head part of media access control frame described in described control frame are described business information flag, described business information flag comprises type of service flag and business details flag, described message processing module determines the type of described business according to the value of described type of service flag, determines the details of described business according to the value of described business details flag;
When described message frame is described management frames, described message processing module determines that one or more positions of the frame head part of media access control frame described in described management frames are described business information flag, described business information flag comprises type of service flag and business details flag, described message processing module determines the type of described business according to the value of described type of service flag, determines the details of described business according to the value of described business details flag;
When described message frame is described common action frame, described message processing module determines that one or more positions of the body section of the described media access control frame of described common action frame are described business information flag, described business information flag comprises described type of service flag, action action frame flag and described business details flag, described message processing module determines the type of described business according to the value of described type of service flag, determine that recipient can associate with transmit leg when receiving described common action frame according to the value of described action action frame flag, the details of described business are determined according to the value of described business details flag.
22. data communication equipments according to claim 21, it is characterized in that, when described message frame is described common action frame, determine that the one or more position in order 1 position field of the body section of the described media access control frame of described common action frame or the one or more positions in other order position field are described business information flag.
23. data communication equipments according to claim 21, it is characterized in that, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.
24., according to claim 17 to the data communication equipment according to any one of 23, is characterized in that, described business is the transmit leg of described message frame business that is current or that carry out At All Other Times.
25. 1 kinds of data communications methods, is characterized in that, comprising:
Receipt message frame, described message frame comprises message frame flag and business information flag;
Determine the type of described message frame according to the value of described message frame flag and determine in described message frame, to comprise described business information flag, and the relevant information of value determination business according to described business information flag;
Described message frame is broadcast message frame, multicast message frame or unicast messages frame, and/or described message frame is control frame, management frames or common action frame;
When described message frame is described control frame, described management frames or described common action frame, described message frame flag comprises one or more positions of media access control frame in described control frame, described management frames or described common action frame, and described business information flag comprises one or more positions of media access control frame described in described control frame, described management frames or described common action frame.
26. data communications methods according to claim 25, is characterized in that, also comprise:
When described message frame is described control frame, determine that one or more positions of the frame head part of media access control frame described in described control frame are described message frame flag;
When described message frame is described management frames, determine that one or more positions of the frame head part of media access control frame described in described management frames are described message frame flag;
When described message frame is described common action frame, determine that the frame head part of described media access control frame of described common action frame or one or more positions of body section are described message frame flag.
27. data communications methods according to claim 26, it is characterized in that, when described message frame is described control frame, determine that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described control frame are described message frame flag;
When described message frame is described management frames, determine that one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described management frames are described message frame flag;
When described message frame is described common action frame, determine one or more positions of type subdomain and subtype subdomain in the frame control domain of the frame head part of the described media access control frame of described common action frame, or the one or more position in order 1 position field of body section or the one or more positions in other order position field are described message frame flag.
28. data communications methods according to claim 27, is characterized in that, also comprise:
When the value of described type subdomain and subtype subdomain is the first value, determine that described message frame finds message frame for neighbours' sensing network, described neighbours' sensing network finds that message frame is used for carrying out device discovery and service discovering simultaneously.
29. data communications methods according to claim 25, is characterized in that, also comprise:
When described message frame is described control frame, determine that one or more positions of the frame head part of media access control frame described in described control frame are described business information flag, described business information flag comprises type of service flag and business details flag, determine the type of described business according to the value of described type of service flag, determine the details of described business according to the value of described business details flag;
When described message frame is described management frames, determine that one or more positions of the frame head part of media access control frame described in described management frames are described business information flag, described business information flag comprises type of service flag and business details flag, determine the type of described business according to the value of described type of service flag, determine the details of described business according to the value of described business details flag;
When described message frame is described common action frame, determine that one or more positions of the body section of the described media access control frame of described common action frame are described business information flag, described business information flag comprises described type of service flag, action action frame flag and described business details flag, the type of described business is determined according to the value of described type of service flag, determine that recipient can associate with transmit leg when receiving described common action frame according to the value of described action action frame flag, the details of described business are determined according to the value of described business details flag.
30. data communications methods according to claim 29, it is characterized in that, when described message frame is described common action frame, determine that the one or more position in order 1 position field of the body section of the described media access control frame of described common action frame or the one or more positions in other order position field are described business information flag.
31. data communications methods according to claim 29, it is characterized in that, when described message frame is described control frame, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described management frames, described business information flag comprises 48 or other figure place bit, described type of service flag comprises 8 or other figure place bit, and described business details flag comprises all the other bits of described business information flag;
When described message frame is described common action frame, described business information flag comprises 10 or other number byte, described type of service flag comprises 1 or other number byte, described action identification position comprises 1 byte or other number byte, and described business details flag comprises 6 or other number byte of described business information flag.
32. data communications methods according to any one of claim 25 to 31, it is characterized in that, described business is the transmit leg of described message frame business that is current or that carry out At All Other Times.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210359249.2A CN102833837B (en) | 2012-09-24 | 2012-09-24 | Data communication equipment and data communications method |
PCT/CN2013/080654 WO2014044083A1 (en) | 2012-09-24 | 2013-08-01 | Data communication apparatus and data communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210359249.2A CN102833837B (en) | 2012-09-24 | 2012-09-24 | Data communication equipment and data communications method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102833837A CN102833837A (en) | 2012-12-19 |
CN102833837B true CN102833837B (en) | 2015-09-30 |
Family
ID=47336740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210359249.2A Active CN102833837B (en) | 2012-09-24 | 2012-09-24 | Data communication equipment and data communications method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102833837B (en) |
WO (1) | WO2014044083A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833837B (en) * | 2012-09-24 | 2015-09-30 | 东莞宇龙通信科技有限公司 | Data communication equipment and data communications method |
US9215732B2 (en) * | 2013-04-03 | 2015-12-15 | Qualcomm Incorporated | Systems and methods for collision management in a neighborhood aware network |
WO2014185954A1 (en) * | 2013-05-15 | 2014-11-20 | Intel Corporation | Techniques to manage connection capabilities information in a wireless communications system |
US9763228B2 (en) * | 2014-04-01 | 2017-09-12 | Qualcomm Incorporated | Methods and apparatus for independent basic service set based data paths for neighbor aware networks |
US9955421B2 (en) * | 2014-07-09 | 2018-04-24 | Qualcomm Incorporated | Traffic advertisement and scheduling in a neighbor aware network data link |
CN105228252B (en) * | 2015-08-25 | 2018-09-25 | 魅族科技(中国)有限公司 | The communication means and communication device of WLAN |
CN105007632B (en) * | 2015-08-25 | 2018-09-25 | 魅族科技(中国)有限公司 | The communication means and communication device of WLAN |
CN109068370A (en) * | 2018-06-27 | 2018-12-21 | 努比亚技术有限公司 | Communication means, mobile terminal and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960560A (en) * | 2005-11-04 | 2007-05-09 | 鸿富锦精密工业(深圳)有限公司 | Method for switching channels |
CN102652424A (en) * | 2009-12-23 | 2012-08-29 | 苹果公司 | Efficient service advertisement and discovery in a peer-to-peer networking environment with dynamic advertisement and discovery periods based on operating conditions |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851549B (en) * | 2011-02-28 | 2020-07-10 | 北京三星通信技术研究有限公司 | Random access method for M2M terminal |
CN102833837B (en) * | 2012-09-24 | 2015-09-30 | 东莞宇龙通信科技有限公司 | Data communication equipment and data communications method |
-
2012
- 2012-09-24 CN CN201210359249.2A patent/CN102833837B/en active Active
-
2013
- 2013-08-01 WO PCT/CN2013/080654 patent/WO2014044083A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960560A (en) * | 2005-11-04 | 2007-05-09 | 鸿富锦精密工业(深圳)有限公司 | Method for switching channels |
CN102652424A (en) * | 2009-12-23 | 2012-08-29 | 苹果公司 | Efficient service advertisement and discovery in a peer-to-peer networking environment with dynamic advertisement and discovery periods based on operating conditions |
Also Published As
Publication number | Publication date |
---|---|
CN102833837A (en) | 2012-12-19 |
WO2014044083A1 (en) | 2014-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102833837B (en) | Data communication equipment and data communications method | |
JP6174055B2 (en) | Apparatus and method for access identifier based multicast communication | |
JP5215432B2 (en) | Method, system, and apparatus for providing modulation and coding scheme used for multicast service macro diversity | |
CN102209303B (en) | Method and system for determining presence of broadcast/multicast cache frame at access point | |
CN104205667A (en) | Techniques and configurations for triggering a plurality of wireless devices | |
CN101222388A (en) | Method and system for confirming existence of broadcast/multicast caching frame at access point | |
JP2015525993A (en) | Method, device, and system for registering and discovering services | |
TW200818777A (en) | Standby time improvements using sub-networks | |
CN101102283A (en) | A method and device for optimizing unknown unicast forward at wireless access point | |
US9288667B2 (en) | Allocating network identifiers to access terminals | |
US8914050B2 (en) | Base station, mobile station, paging message transmitting method, and paging message receiving method | |
KR101235582B1 (en) | Method for processing control message in wireless mesh network and apparatus thereof | |
US10097978B2 (en) | Transmitting machine type communication data between a plurality of machine type communication devices and a mobile communication network | |
CN104796852B (en) | Method for discovering equipment, device and terminal for the direct-connected communication of terminal | |
WO2008049369A1 (en) | A method for sending multicast broadcast service on downlink, and the system and basestation thereof | |
CN102480689B (en) | The transmission method of MBMS and system | |
CN103249010B (en) | Communication equipment and communication means | |
CN104852771B (en) | Multi-hop access method suitable for underwater acoustic local area network | |
CN102833858A (en) | Data communication device and data communication method | |
CN104902461B (en) | Data transmission method for uplink, device, terminal and system | |
CN102761970B (en) | CSMA time slot provides and obtains and network-building method, equipment and system | |
CN103222246B (en) | The method and apparatus that internet protocol version IPv6 multicast address generates | |
US20120287839A1 (en) | Method and apparatus for updating multicast and broadcast service | |
Alassery et al. | Context information aggregation mechanism based on bloom filters (CIA-BF) for high performance monitoring applications of Internet of things | |
CN103581892A (en) | Purpose MTC server determining method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |