CN102833858B - Data communication equipment and data communications method - Google Patents
Data communication equipment and data communications method Download PDFInfo
- Publication number
- CN102833858B CN102833858B CN201210328627.0A CN201210328627A CN102833858B CN 102833858 B CN102833858 B CN 102833858B CN 201210328627 A CN201210328627 A CN 201210328627A CN 102833858 B CN102833858 B CN 102833858B
- Authority
- CN
- China
- Prior art keywords
- frame
- business
- flag
- business information
- type
- 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
-
- 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
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides data communication equipment and data communications method, wherein, a kind of data communication equipment includes: Frame generation module, generate Frame, described Frame comprises data frame identification position and business information flag, the value of described data frame identification position represents and comprises described business information flag in described Frame, and the value of described business information flag represents the relevant information of business;Data interaction module, sends described Frame.Pass through the present invention, STA can be during business be carried out, business information record is the most also simultaneously emitted by, recipient can judge wherein to comprise business information according to data frame identification position when receiving Frame, and the particular content of business information can be resolved further, be conducive to other to have the potential user of common service quickly to find, avoid periodically sending service discovering message or device discovery messages, beneficially equipment power saving simultaneously.
Description
Technical field
The present invention relates to moving communicating field, in particular to data communication equipment and data communications method.
Background technology
At WFA(Wi-Fi Alliance) in, set up new seminar NAN(Neighbor Awareness
Networking, neighbours' sensing network), the content of its research is social networks, and mainly research has the STA of also interested business
(terminal) the most mutually finds, and this discovery procedure does not affect the communication of other STA and other has the STA energy of same business
The network that enough additions are communicating, the process power saving to be tried one's best the most mutually found.
In NAN network, there is such demand, such as, for game: issue and subscription operation should continue rear
Platform is carried out, to detect other potential players, even if in the case of game application between users has been started up.
Owing to, in existing Wi-Fi technology, channel is exclusive, when certain terminal in NAN network is sending data
Time, other terminal in NAN network can not send data.This be cannot be above-mentioned demand.
Accordingly, it would be desirable to a kind of new technical scheme, it is possible to ensure in NAN network, during STA commences business,
The business information that can carrying out self maybe will carrying out sends, and the recipient STA making to receive business information can be
When needing, commence business by business information, to ensure that potential service-user finds oneself timely.
Summary of the invention
The technical problem to be solved is, it is provided that a kind of new technical scheme, it is possible to ensure at NAN network
In, during STA commences business, the business information that can carrying out self maybe will carrying out sends, and makes to receive
The recipient STA of business information can commence business by business information when needed, to ensure potential service-user timely
Find oneself.
In view of this, the present invention provides a kind of data communication equipment, including: Frame generation module, generate Frame, institute
Stating and comprise data frame identification position and business information flag in Frame, the value of described data frame identification position represents described Frame
In comprise described business information flag, the value of described business information flag represents the relevant information of business;Data interaction mould
Block, sends described Frame.In this technical scheme, data communication equipment is as terminal, and data interaction module can be by eventually
The signal receiving/transmission device of end and antenna etc. realize, and Frame generation module can be generated the processing unit of message by terminal inner
Realizing, by this technical scheme, STA can be during business be carried out, by business information record the most simultaneously
Sending, recipient can judge wherein to comprise business information according to data frame identification position when receiving Frame, and can
Resolve the particular content of business information, the discovery of the most potential service-user further.
In technique scheme, it is preferable that described data frame identification position includes the media access control of described Frame
One or more positions of the frame head part of frame.In this technical scheme, data frame identification position is arranged on frame head part, is because
The data frame analyzing of recipient STA can determine whether to have comprised business letter according to the value of flag from the beginning of frame head
Breath, carries out continuing parsing and obtains business information, do not have the business information the most directly to ignore Frame, it is to avoid unnecessary solution
Analysis operation, saves electricity.
In technique scheme, it is preferable that described data frame identification position includes that the frame of described frame head part controls in territory
One or more positions.In this technical scheme, in the FC territory of frame head part or multidigit are used for data frame identification position,
Can represent that, with business information flag in this Frame, other STA resolves the destination address of this Frame not
Being destined to the data of oneself, not abandoning this Frame until having resolved business information flag, see whether be that oneself sense is emerging
The business of interest, if being associated, if not abandoning this Frame with the sender of this Frame.
In technique scheme, it is preferable that described data frame identification position includes that described frame controls the type subdomain in territory
With the one or more positions in subtype subdomain.In this technical scheme, according to current technology, the type subdomain in FC territory and
In subtype subdomain, there is undefined reserved bit, utilize reserved bit can carry out the mark of business information easily,
Here the value of type is 11, and the value of subtype is 0000, represents that this Frame is NAN Frame, it is also possible to by Type and
Subtype is set to other value and represents that this Frame is NAN Frame.
In technique scheme, it is preferable that described Frame is neighbours' sensing network Frames, described data frame identification
The value of position represents that described Frame is the described neighbours' sensing network Frame comprising described business information flag.In this technology
In scheme, it is the NAN Frame comprising business information that flag can more specifically identify Frame, when flag is set to
First value time, represent this Frame be NAN Frame and in this Frame with business information flag.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the frame head part of frame processed.In this technical scheme, business information is also recorded in frame head part, can make
Obtain recipient to need not resolve body section, just can parse required business information rapidly from frame head part, here
Can business information territory be added on after the source address field of Frame, after STA has resolved destination address and source address, directly
Connect parsing business information territory, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, it is preferable that described business information flag comprises the business letter in described frame head part
One or more positions in breath territory.In this technical scheme, it is possible to use the bit of 48, the business information territory of frame head part, carry out table
Show business information, it is also possible to represent business information for other bit length.
In technique scheme, it is preferable that described business information flag includes that type of service flag and business are detailed
Thin message identification position, the value of described type of service flag represents the type of described business, described business details flag
Value represent the details of described business.In this technical scheme, it is provided that business information physical record form, pass through type
Information and the content of details two parts accurate recording business.
In technique scheme, it is preferable that described type of service flag comprise 8 in described business information territory or
The bit of more than 8, described business details flag comprises remaining bit in described business information territory.In this skill
In art scheme, owing to business information territory having 48 bits, so the record of business information can be completely used for, specifically
Dividing mode be not limited in such scheme record mode.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the body section of frame processed, body section order 1 position of described media access control frame or other
Position.In this technical scheme, business information can may be located at order in frame with the form record of information element in frame
The position of sequence 1, after being so conducive to other STA to resolve business information element, sees whether be oneself business interested, if
Not being directly to abandon this frame, beneficially STA power saving, business information element can also record other order position at body section
Put.
In technique scheme, it is preferable that described business information flag includes type of service flag, length mark
Position and business details flag, the value of described type of service flag represents the type of described business, described length mark
Position represents the length of described business details flag, and the value of described business details flag represents the detailed of described business
Thin information.In this technical scheme, equally business information is divided into type information and details, simultaneously because details
Length the most unfixed, so additionally providing length information to represent the length of details.
In technique scheme, it is preferable that described type of service flag, described length mark position and described business are detailed
The length of thin message identification position is respectively one or more byte.In this technical scheme, type information, length information and in detail
The length of information, can be configured neatly according to the concrete needs of concrete business.
In technique scheme, it is preferable that described business is that described data communication equipment currently or is At All Other Times carried out
Business.In this technical scheme, Frame can record the information of current business, it is also possible to record other times are carried out
Business, with notice to recipient, so after other potential user resolves these data, it becomes possible to know and currently maybe will carry out
Business, it is simple to quickly set up with sender and associate, while add the previous field in a data frame to represent current or will enter
The business of row, decreases and periodically sends service discovery messages or device discovery messages, beneficially equipment power saving.
The present invention also provides for a kind of data communications method, including: generate Frame, described Frame comprises Frame mark
Knowing position and business information flag, the value of described data frame identification position represents that comprising described business information in described Frame identifies
Position, the value of described business information flag represents the relevant information of business;Send described Frame.In this technical scheme, STA
The most also can be simultaneously emitted by by business information record during business is carried out, recipient is receiving Frame
Time can judge wherein to comprise business information according to data frame identification position, and can resolve further business information concrete in
Hold, the discovery of the most potential service-user.
In technique scheme, it is preferable that described data frame identification position includes the media access control of described Frame
One or more positions of the frame head part of frame.In this technical scheme, data frame identification position is arranged on frame head part, is because
The data frame analyzing of recipient STA can determine whether to have comprised business letter according to the value of flag from the beginning of frame head
Breath, carries out continuing parsing and obtains business information, do not have the business information the most directly to ignore Frame, it is to avoid unnecessary solution
Analysis operation, saves electricity.
In technique scheme, it is preferable that described data frame identification position includes that the frame of described frame head part controls in territory
One or more positions.In this technical scheme, in the FC territory of frame head part or multidigit are used for data frame identification position,
Can represent that, with business information flag in this Frame, other STA resolves the destination address of this Frame not
Being destined to the data of oneself, not abandoning this Frame until having resolved business information flag, see whether be that oneself sense is emerging
The business of interest, if being associated, if not abandoning this Frame with the sender of this Frame.
In technique scheme, it is preferable that described data frame identification position includes that described frame controls the type subdomain in territory
With the one or more positions in subtype subdomain.In this technical scheme, according to current technology, the type subdomain in FC territory and
In subtype subdomain, there is undefined reserved bit, utilize reserved bit can carry out the mark of business information easily,
Here the value of type is 11, and the value of subtype is 0000, represents that this Frame is NAN Frame, it is also possible to by Type and
Subtype is set to other value and represents that this Frame is NAN Frame.
In technique scheme, it is preferable that described Frame is neighbours' sensing network Frames, described data frame identification
The value of position represents that described Frame is the described neighbours' sensing network Frame comprising described business information flag.In this technology
In scheme, it is the NAN Frame comprising business information that flag can more specifically identify Frame, when flag is set to
First value time, represent this Frame be NAN Frame and in this Frame with business information flag.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the frame head part of frame processed.In this technical scheme, business information is also recorded in frame head part, can make
Obtain recipient to need not resolve body section, just can parse required business information rapidly from frame head part, here
Can business information territory be added on after the source address field of Frame, after STA has resolved destination address and source address, directly
Connect parsing business information territory, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, it is preferable that described business information flag comprises the business letter in described frame head part
One or more positions in breath territory.In this technical scheme, it is possible to use the bit of 48, the business information territory of frame head part, carry out table
Show business information, it is also possible to represent business information for other bit length.
In technique scheme, it is preferable that described business information flag includes that type of service flag and business are detailed
Thin message identification position, the value of described type of service flag represents the type of described business, described business details flag
Value represent the details of described business.In this technical scheme, it is provided that business information physical record form, pass through type
Information and the content of details two parts accurate recording business.
In technique scheme, it is preferable that described type of service flag comprise 8 in described business information territory or
The bit of more than 8, described business details flag comprises remaining bit in described business information territory.In this skill
In art scheme, owing to business information territory having 48 bits, so the record of business information can be completely used for, specifically
Dividing mode be not limited in such scheme record mode.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the body section of frame processed, body section order 1 position of described media access control frame or other
Position.In this technical scheme, business information can may be located at order in frame with the form record of information element in frame
The position of sequence 1, after being so conducive to other STA to resolve business information element, sees whether be oneself business interested, if
Not being directly to abandon this frame, beneficially STA power saving, business information element can also record other order position at body section
Put.
In technique scheme, it is preferable that described business information flag includes type of service flag, length mark
Position and business details flag, the value of described type of service flag represents the type of described business, described length mark
Position represents the length of described business details flag, and the value of described business details flag represents the detailed of described business
Thin information.In this technical scheme, equally business information is divided into type information and details, simultaneously because details
Length the most unfixed, so additionally providing length information to represent the length of details.
In technique scheme, it is preferable that described type of service flag, described length mark position and described business are detailed
The length of thin message identification position is respectively one or more byte.In this technical scheme, type information, length information and in detail
The length of information, can be configured neatly according to the concrete needs of concrete business.
In technique scheme, it is preferable that described business is that the sender of described Frame currently or At All Other Times enters
The business of row.In this technical scheme, Frame can record the information of current business, it is also possible to record other times are carried out
Business, with notice to recipient, so after other potential user resolves these data, it becomes possible to know currently maybe will enter
The business of row, it is simple to quickly set up with sender and associate, while add the previous field in a data frame to represent current or will
The business carried out, decreases and periodically sends service discovery messages or device discovery messages, beneficially equipment power saving.
The present invention also provides for a kind of data communication equipment, including: data interaction module, receiving data frames, described Frame
In comprise data frame identification position and business information flag;Business information determines module, according to the value of described data frame identification position
Determine and described Frame comprises described business information flag, and determine business according to the value of described business information flag
Relevant information.In this technical scheme, data communication equipment is as terminal, and data interaction module can be by the signal of terminal
R-T unit and antenna etc. realize, and Frame generation module can be realized by the processing unit of terminal inner generation message,
By this technical scheme, the STA of recipient, when receiving Frame, can judge wherein according to the value of data frame identification position
Comprise business information, and the particular content of business information can be resolved further, and need to judge whether to carry out this based on self
Business, the program is conducive to the discovery of potential service-user.
In technique scheme, it is preferable that described data frame identification position includes the media access control of described Frame
One or more positions of the frame head part of frame.In this technical scheme, the data frame analyzing of recipient STA can from the beginning of frame head,
Value according to flag can determine whether to have comprised business information, carries out continuing parsing and obtains business information, if do not had
There is the business information then need not to resolve body section, it is to avoid unnecessary parsing operation, save electricity.
In technique scheme, it is preferable that described data frame identification position includes that the frame of described frame head part controls in territory
One or more positions.In this technical scheme, recipient resolves in the FC territory of frame head part or multidigit, it is possible to obtain
Knowing with business information flag in this Frame, it is not to send that recipient STA resolves the destination address of this Frame
To the data of oneself, not abandoning this Frame until having resolved business information flag, seeing whether be oneself industry interested
Business, if being associated, if not abandoning this Frame with the sender of this Frame.
In technique scheme, it is preferable that described data frame identification position includes that described frame controls the type subdomain in territory
With the one or more positions in subtype subdomain.In this technical scheme, recipient according to the type subdomain in FC territory and
The value of subtype subdomain, can judge whether there is business information in Frame exactly, and here the value of type is 11,
The value of subtype is 0000, represents that this Frame is NAN Frame, it is also possible to Type and Subtype is set to other value
Represent that this Frame is NAN Frame.
In technique scheme, it is preferable that described Frame is neighbours' sensing network Frames, and described business information is true
According to the value of described data frame identification position, cover half tuber determines that described Frame is the described neighbour comprising described business information flag
Occupy sensing network Frame.In this technical scheme, recipient is according to flag, and can more specifically identify Frame is bag
NAN Frame containing business information, when flag is set to the first value, represents that this Frame is NAN Frame and at this
With business information flag in individual Frame.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the frame head part of frame processed.In this technical scheme, recipient only needs to resolve frame head part, it is possible to obtain
Complete business information, without resolving body section, decreases parsing operation, reduces electric quantity consumption, here business
Information field is added to after the source address field of Frame, after STA has resolved destination address and source address, can directly solve
Analysis business information territory, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, it is preferable that described business information flag comprises the business letter in described frame head part
One or more positions in breath territory.In this technical scheme, recipient is according to 48, the business information territory bit of frame head part, really
Comprising business information in given data frame, other bit length can be used for representing business information.
In technique scheme, it is preferable that described business information flag includes that type of service flag and business are detailed
Thin message identification position, described business information determines that module determines the class of described business according to the value of described type of service flag
Type, determines the details of described business according to the value of described business details flag.In this technical scheme, recipient
Type information and details two parts of business can be parsed, to judge whether to carry out this business.
In technique scheme, it is preferable that described type of service flag comprise 8 in described business information territory or
The bit of more than 8, described business details flag comprises remaining bit in described business information territory.In this skill
In art scheme, owing to business information territory having 48 bits, so the record of business information can be completely used for, specifically
Dividing mode be not limited in such scheme record mode.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the body section of frame processed, body section order 1 position of described media access control frame or other
Position.In this technical scheme, business information can may be located at order in frame with the form record of information element in frame
The position of sequence 1, after recipient STA has resolved business information element, sees whether be oneself business interested, if not directly
Abandoning this frame, beneficially STA power saving, business information element can also record other order position at body section.
In technique scheme, it is preferable that described business information flag includes type of service flag, length mark
Position and business details flag, it is described that described business information determines that module determines according to the value of described type of service flag
The type of business, determines the length of described business details flag according to described length mark position, detailed according to described business
The value of thin message identification position determines the details of described business.In this technical scheme, equally business information is divided into class
Type information and details, simultaneously because the length of details is the most unfixed, so additionally providing length information
Representing the length of details, recipient, according to length information, carrys out Exact Solutions and separates out business details, it is to avoid produce mistake.
In technique scheme, it is preferable that described type of service flag, described length mark position and described business are detailed
The length of thin message identification position is respectively one or more byte.In this technical scheme, type information, length information and in detail
The length of information, depends on the concrete needs of concrete business.
In technique scheme, it is preferable that described business is that the sender of described Frame currently or At All Other Times enters
The business of row.In this technical scheme, recipient can parse from Frame the current business of sender or other time
Between the business that carries out, and need to choose whether to carry out this business, after such recipient resolves these data according to self, it becomes possible to
Know the business that currently maybe will carry out, it is simple to quickly set up with sender and associate, add the previous field in a data frame simultaneously
Represent the current or business that will carry out, decrease and periodically send service discovery messages or device discovery messages, have
It is beneficial to equipment power saving.
The present invention also provides for a kind of data communications method, including: receiving data frames, described Frame comprises Frame mark
Know position and business information flag;Value according to described data frame identification position determines and comprises described business information in described Frame
Flag, and the relevant information of business is determined according to the value of described business information flag.In this technical scheme, recipient
STA when receiving Frame, can judge wherein to comprise business information according to the value of data frame identification position, and can enter
One step resolves the particular content of business information, and needs to judge whether to carry out this business based on self, and the program is the most potential
The discovery of service-user.
In technique scheme, it is preferable that described data frame identification position includes the media access control of described Frame
One or more positions of the frame head part of frame.In this technical scheme, the data frame analyzing of recipient STA can from the beginning of frame head,
Value according to flag can determine whether to have comprised business information, carries out continuing parsing and obtains business information, if do not had
There is the business information then need not to resolve body section, it is to avoid unnecessary parsing operation, save electricity.
In technique scheme, it is preferable that described data frame identification position includes that the frame of described frame head part controls in territory
One or more positions.In this technical scheme, recipient resolves in the FC territory of frame head part or multidigit, it is possible to obtain
Knowing with business information flag in this Frame, it is not to send that recipient STA resolves the destination address of this Frame
To the data of oneself, not abandoning this Frame until having resolved business information flag, seeing whether be oneself industry interested
Business, if being associated, if not abandoning this Frame with the sender of this Frame.
In technique scheme, it is preferable that described data frame identification position includes that described frame controls the type subdomain in territory
With the one or more positions in subtype subdomain.In this technical scheme, recipient according to the type subdomain in FC territory and
The value of subtype subdomain, can judge whether there is business information in Frame exactly, and here the value of type is 11,
The value of subtype is 0000, represents that this Frame is NAN Frame, it is also possible to Type and Subtype is set to other value
Represent that this Frame is NAN Frame.
In technique scheme, it is preferable that described Frame is neighbours' sensing network Frames, described according to described number
Determine that according to the value of frame identification position comprising described business information flag in described Frame includes: according to described data frame identification position
Value determine that described Frame is the described neighbours' sensing network Frame comprising described business information flag.This technical side
In case, recipient is according to flag, and can more specifically identify Frame is the NAN Frame comprising business information, works as mark
When knowledge position is set to the first value, represent that this Frame is NAN Frame and identifies with business information in this Frame
Position.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the frame head part of frame processed.In this technical scheme, recipient only needs to resolve frame head part, it is possible to obtain
Complete business information, without resolving body section, decreases parsing operation, reduces electric quantity consumption, here business
Information field is added to after the source address field of Frame, after STA has resolved destination address and source address, can directly solve
Analysis business information territory, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, it is preferable that described business information flag comprises the business letter in described frame head part
One or more positions in breath territory.In this technical scheme, recipient is according to 48, the business information territory bit of frame head part, really
Comprising business information in given data frame, other bit length can be used for representing business information.
In technique scheme, it is preferable that described business information flag includes that type of service flag and business are detailed
Thin message identification position, the described value according to described business information flag determines that the relevant information of business includes: according to described industry
The value of service type flag determines the type of described business, determines described business according to the value of described business details flag
Details.In this technical scheme, recipient can parse type information and details two parts of business, to sentence
Break and whether carry out this business.
In technique scheme, it is preferable that described type of service flag comprise 8 in described business information territory or
The bit of more than 8, described business details flag comprises remaining bit in described business information territory.In this skill
In art scheme, owing to business information territory having 48 bits, so the record of business information can be completely used for, specifically
Dividing mode be not limited in such scheme record mode.
In technique scheme, it is preferable that described business information flag comprises the medium access control of described Frame
One or more positions of the body section of frame processed, body section order 1 position of described media access control frame or other
Position.In this technical scheme, business information can may be located at order in frame with the form record of information element in frame
The position of sequence 1, after recipient STA has resolved business information element, sees whether be oneself business interested, if not directly
Abandoning this frame, beneficially STA power saving, business information element can also record other order position at body section.
In technique scheme, it is preferable that described business information flag includes type of service flag, length mark
Position and business details flag, the described value according to described business information flag determines that the relevant information of business includes:
Value according to described type of service flag determines the type of described business, determines that described business is detailed according to described length mark position
The length of thin message identification position, determines the details of described business according to the value of described business details flag.At this
In technical scheme, equally business information is divided into type information and details, simultaneously because the length of details is often
Being unfixed, so additionally providing length information to represent the length of details, recipient, according to length information, comes accurately
Parse business details, it is to avoid produce mistake.
In technique scheme, it is preferable that described type of service flag, described length mark position and described business are detailed
The length of thin message identification position is respectively one or more byte.In this technical scheme, type information, length information and in detail
The length of information, depends on the concrete needs of concrete business.
In technique scheme, it is preferable that described business is that the sender of described Frame currently or At All Other Times enters
The business of row.In this technical scheme, recipient can parse from Frame the current business of sender or other time
Between the business that carries out, and need to choose whether to carry out this business, after such recipient resolves these data according to self, it becomes possible to
Know the business that currently maybe will carry out, it is simple to quickly set up with sender and associate, add the previous field in a data frame simultaneously
Represent the current or business that will carry out, decrease and periodically send service discovery messages or device discovery messages, have
It is beneficial to equipment power saving.
By above technical scheme, it is possible to achieve data communication equipment and data communications method, it is possible to ensure at NAN network
In, during STA commences business, the business information that can carrying out self maybe will carrying out sends, and makes to receive
The recipient STA of business information can commence business by business information when needed, to ensure to detect potential business in time
User, simultaneously relative to periodically sending service discovery messages or device discovery messages, eliminates physics frame head, the most favorably
In power saving, also accelerate the quick discovery procedure of equipment room.
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 structural representation of the Frame in data communications method according to an embodiment of the invention;
Fig. 6 is the structural representation of the Frame in data communications method according to an embodiment of the invention;
Fig. 7 is the structural representation of the Frame in data communications method according to an embodiment of the invention;
Fig. 8 is the structural representation of the Frame in data communications method according to an embodiment of the invention.
Detailed description of the invention
In order to be more clearly understood that the above-mentioned purpose of the present invention, feature and advantage, real with concrete below in conjunction with the accompanying drawings
The present invention is further described in detail by mode of executing.It should be noted that in the case of not conflicting, the enforcement of the application
Feature in example and embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention, but, the present invention also may be used
Implementing to use other to be different from alternate manner described here, therefore, protection scope of the present invention is not by described below
The restriction of specific embodiment.
Fig. 1 is the block diagram of data communication equipment according to an embodiment of the invention.
As it is shown in figure 1, the present invention provides a kind of data communication equipment 100, including: Frame generation module 102, generate number
According to frame, comprising data frame identification position and business information flag in described Frame, the value of described data frame identification position represents institute
Stating and comprise described business information flag in Frame, the value of described business information flag represents the relevant information of business;Number
According to interactive module 104, send described Frame.In this technical scheme, data communication equipment 100 is as terminal, data interaction
Module 102 can be realized by the signal receiving/transmission device of terminal and antenna etc., and Frame generation module 104 can be by terminal
Portion generates the processing unit of message and realizes, and by this technical scheme, STA can be during business be carried out, by business information
Record is the most also simultaneously emitted by, and recipient can judge wherein according to data frame identification position when receiving Frame
Comprise business information, and the particular content of business information, the discovery of the most potential service-user can be resolved further.
In technique scheme, described data frame identification position includes the frame head of the media access control frame of described Frame
One or more positions of part.In this technical scheme, data frame identification position is arranged on frame head part, is because recipient
The data frame analyzing of STA can determine whether to have comprised business information according to the value of flag, carry out from the beginning of frame head
Continue parsing and obtain business information, do not have the business information the most directly to ignore Frame, it is to avoid unnecessary parsing operates,
Save electricity.
In technique scheme, described data frame identification position include the frame of described frame head part control in territory or
Multiple positions.In this technical scheme, in the FC territory of frame head part or multidigit are used for data frame identification position, can represent
With business information flag in this Frame, other STA resolves the destination address of this Frame and is not destined to
The data of oneself, not abandoning this Frame until having resolved business information flag, seeing whether be oneself business interested,
If being associated, if not abandoning this Frame with the sender of this Frame.
In technique scheme, described data frame identification position includes that described frame controls the type subdomain in territory and subtype
One or more positions in subdomain.In this technical scheme, according to current technology, the type subdomain in FC territory and subtype
In subdomain, there is undefined reserved bit, utilize reserved bit can carry out the mark of business information easily, here
The value of type is 11, and the value of subtype is 0000, represents that this Frame is NAN Frame, it is also possible to by Type and
Subtype is set to other value and represents that this Frame is NAN Frame.
In technique scheme, described Frame is neighbours' sensing network Frames, the value of described data frame identification position
Represent that described Frame is the described neighbours' sensing network Frame comprising described business information flag.In this technical scheme
In, it is the NAN Frame comprising business information that flag can more specifically identify Frame, when flag is set to first
During value, represent this Frame be NAN Frame and in this Frame with business information flag.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of head part.In this technical scheme, business information is also recorded in frame head part, so that recipient
Need not resolve body section, just can parse required business information from frame head part rapidly, here can be by industry
Business information field is added on after the source address field of Frame, after STA has resolved destination address and source address, directly resolves industry
Business information field, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, described business information flag comprises of address 3 subdomain in described frame head part
Individual or multiple positions.In this technical scheme, it is possible to use the bit of 48, the business information territory of frame head part, represent that business is believed
Breath, it is also possible to represent business information for other bit length.
In technique scheme, described business information flag includes type of service flag and business details mark
Knowing position, the value of described type of service flag represents that the type of described business, the value of described business details flag represent
The details of described business.In this technical scheme, it is provided that business information physical record form, by type information with detailed
The content of thin information two parts accurate recording business.
In technique scheme, described type of service flag comprises 8 in described business information territory or more than 8
Bit, described business details flag comprises remaining bit in described business information territory.In this technical scheme
In, owing to business information territory having 48 bits, so the record of business information can be completely used for, concrete division
Mode is not limited in such scheme the mode of record.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of body portion, in body section order 1 position or other position of described media access control frame.At this
In technical scheme, business information can may be located at the position of order 1 in frame with the form record of information element in frame
Put, after being so conducive to other STA to resolve business information element, see whether be oneself business interested, if not directly
Connecing and abandon this frame, beneficially STA power saving, business information element can also record other order position at body section.
In technique scheme, described business information flag includes type of service flag, length mark position and industry
Business details flag, the value of described type of service flag represents that the type of described business, described length mark position represent
The length of described business details flag, the value of described business details flag represents the detailed letter of described business
Breath.In this technical scheme, equally business information is divided into type information and details, simultaneously because the length of details
Spend the most unfixed, so additionally providing length information to identify the length of details.
In technique scheme, described type of service flag, described length mark position and described business details
The length of flag is respectively one or more byte.In this technical scheme, type information, length information and details
Length, can be configured neatly according to the concrete needs of concrete business.
In technique scheme, described business is the business that described data communication equipment currently or is At All Other Times carried out.
In this technical scheme, Frame can record the information of current business, it is also possible to the business that record other times are carried out, with
Notice is to recipient, so after other potential user resolves these data, it becomes possible to know the business that currently maybe will carry out,
It is easy to quickly set up with sender associate, adds the previous field in a data frame to represent industry that is current or that will carry out simultaneously
Business, decreases and periodically sends service discovery messages or device discovery messages, beneficially equipment power saving.
Fig. 2 is the flow chart of data communications method according to an embodiment of the invention.
As in figure 2 it is shown, the present invention also provides for a kind of data communications method, including: step 202, generate Frame, described number
According to comprising data frame identification position and business information flag in frame, the value of described data frame identification position represents in described Frame wraps
Containing described business information flag, the value of described business information flag represents the relevant information of business;Step 204, sends institute
State Frame.In this technical scheme, STA can be the most same by business information record during business is carried out
Time send, recipient can judge wherein to comprise business information, and energy according to data frame identification position when receiving Frame
Enough particular contents resolving business information further, the discovery of the most potential service-user.
In technique scheme, described data frame identification position includes the frame head of the media access control frame of described Frame
One or more positions of part.In this technical scheme, data frame identification position is arranged on frame head part, is because recipient
The data frame analyzing of STA can determine whether to have comprised business information according to the value of flag, carry out from the beginning of frame head
Continue parsing and obtain business information, do not have the business information the most directly to ignore Frame, it is to avoid unnecessary parsing operates,
Save electricity.
In technique scheme, described data frame identification position include the frame of described frame head part control in territory or
Multiple positions.In this technical scheme, in the FC territory of frame head part or multidigit are used for data frame identification position, can represent
With business information flag in this Frame, other STA resolves the destination address of this Frame and is not destined to
The data of oneself, not abandoning this Frame until having resolved business information flag, seeing whether be oneself business interested,
If being associated, if not abandoning this Frame with the sender of this Frame.
In technique scheme, described data frame identification position includes that described frame controls the type subdomain in territory and subtype
One or more positions in subdomain.In this technical scheme, according to current technology, the type subdomain in FC territory and subtype
In subdomain, there is undefined reserved bit, utilize reserved bit can carry out the mark of business information easily, here
The value of type is 11, and the value of subtype is 0000, represents that this Frame is NAN Frame, it is also possible to by Type and
Subtype is set to other value and represents that this Frame is NAN Frame.
In technique scheme, described Frame is neighbours' sensing network Frames, the value of described data frame identification position
Represent that described Frame is the described neighbours' sensing network Frame comprising described business information flag.In this technical scheme
In, it is the NAN Frame comprising business information that flag can more specifically identify Frame, when flag is set to first
During value, represent this Frame be NAN Frame and in this Frame with business information flag.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of head part.In this technical scheme, business information is also recorded in frame head part, so that recipient
Need not resolve body section, just can parse required business information from frame head part rapidly, here can be by industry
Business information field is added on after the source address field of Frame, after STA has resolved destination address and source address, directly resolves industry
Business information field, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, described business information flag comprises of the business information territory in described frame head part
Individual or multiple positions.In this technical scheme, it is possible to use the bit of 48, the business information territory of frame head part, represent that business is believed
Breath, it is also possible to represent business information for other bit length.
In technique scheme, described business information flag includes type of service flag and business details mark
Knowing position, the value of described type of service flag represents that the type of described business, the value of described business details flag represent
The details of described business.In this technical scheme, it is provided that business information physical record form, by type information with detailed
The content of thin information two parts accurate recording business.
In technique scheme, described type of service flag comprises 8 in described business information territory or more than 8
Bit, described business details flag comprises remaining bit in described business information territory.In this technical scheme
In, owing to business information territory having 48 bits, so the record of business information can be completely used for, concrete division
Mode is not limited in such scheme the mode of record.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of body portion, in body section order 1 position or other position of described media access control frame.At this
In technical scheme, business information be recorded in frame, this is because the length of body section is longer, in business details
When content is more, still can intactly carry out record, business information can be with the form record of information element in frame, can
To be positioned at the position of order 1 in frame, after being so conducive to other STA to resolve business information element, see whether be oneself sense
The business of interest, if not directly abandoning this frame, beneficially STA power saving, business information element can also record at frame
Other order position of part.
In technique scheme, described business information flag includes type of service flag, length mark position and industry
Business details flag, the value of described type of service flag represents that the type of described business, described length mark position represent
The length of described business details flag, the value of described business details flag represents the detailed letter of described business
Breath.In this technical scheme, equally business information is divided into type information and details, simultaneously because the length of details
Spend the most unfixed, so additionally providing length information to represent the length of details.
In technique scheme, described type of service flag, described length mark position and described business details
The length of flag is respectively one or more byte.In this technical scheme, type information, length information and details
Length, can be configured neatly according to the concrete needs of concrete business.
In technique scheme, described business is the industry that the sender of described Frame currently or is At All Other Times carried out
Business.In this technical scheme, Frame can record the information of current business, it is also possible to the industry that record other times are carried out
Business, with notice to recipient, so after other potential user resolves these data, it becomes possible to knows and currently maybe will carry out
Business, it is simple to quickly set up with sender and associate, add the previous field in a data frame to represent current or will carry out simultaneously
Business, decrease and periodically send service discovery messages or device discovery messages, beneficially equipment power saving.
Fig. 3 is the block diagram of data communication equipment according to an embodiment of the invention.
As it is shown on figure 3, the present invention also provides for a kind of data communication equipment 300, including: data interaction module 302, receive number
According to frame, described Frame comprises data frame identification position and business information flag;Business information determines module 304, according to institute
State the value of data frame identification position to determine described Frame comprises described business information flag, and according to described business information
The value of flag determines the relevant information of business.In this technical scheme, data communication equipment 300 is as terminal, data interaction
Module 302 can be realized by the signal receiving/transmission device of terminal and antenna etc., and Frame generation module 304 can be by terminal
Portion generates the processing unit of message and realizes, and by this technical scheme, the STA of recipient is when receiving Frame, according to number
Can judge wherein to comprise business information according to the value of frame identification position, and the particular content of business information can be resolved further,
And need to judge whether to carry out this business based on self, the program is conducive to the discovery of potential service-user.
In technique scheme, described data frame identification position includes the frame head of the media access control frame of described Frame
One or more positions of part.In this technical scheme, the data frame analyzing of recipient STA can be from the beginning of frame head, according to mark
The value of position can determine whether to have comprised business information, carries out continuing parsing and obtains business information, believes without business
Breath then need not resolve body section, it is to avoid unnecessary parsing operation, saves electricity.
In technique scheme, described data frame identification position include the frame of described frame head part control in territory or
Multiple positions.In this technical scheme, recipient resolves in the FC territory of frame head part or multidigit, it is possible to be informed in this
With business information flag in Frame, recipient STA resolves the destination address of this Frame and is not destined to oneself
Data, not abandoning this Frame until having resolved business information flag, seeing whether be oneself business interested, if
It is associated with the sender of this Frame, if not abandoning this Frame.
In technique scheme, described data frame identification position includes that described frame controls the type subdomain in territory and subtype
One or more positions in subdomain.In this technical scheme, recipient is according to the type subdomain in FC territory and subtype subdomain
Value, can judge whether there is business information in Frame exactly, and here the value of type is 11, and the value of subtype is
0000, represent that this Frame is NAN Frame, it is also possible to the value that Type and Subtype is set to other represents this data
Frame is NAN Frame.
In technique scheme, described Frame is neighbours' sensing network Frames, and described business information determines module
According to the value of described data frame identification position, 304 determine that described Frame is the described neighbours sense comprising described business information flag
Know network data frame.In this technical scheme, recipient is according to flag, and can more specifically identify Frame is to comprise industry
The NAN Frame of business information, when flag is set to the first value, represents that this Frame is NAN Frame and in this number
According in frame with business information flag.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of head part.In this technical scheme, recipient only needs to resolve frame head part, it is possible to obtain complete industry
Business information, without resolving body section, decreases parsing operation, reduces electric quantity consumption, here business information territory quilt
It is added on after the source address field of Frame, after STA has resolved destination address and source address, can directly resolve business letter
Breath territory, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, described business information flag comprises of address 3 subdomain in described frame head part
Individual or multiple positions.In this technical scheme, recipient, according to 48, the business information territory bit of frame head part, determines Frame
In comprise business information, other bit length can be used for represent business information.
In technique scheme, described business information flag includes type of service flag and business details mark
Knowing position, described business information determines that module 304 determines the type of described business according to the value of described type of service flag, according to
The value of described business details flag determines the details of described business.In this technical scheme, recipient can solve
The type information of precipitation business and details two parts, to judge whether to carry out this business.
In technique scheme, described type of service flag comprises 8 in described business information territory or more than 8
Bit, described business details flag comprises remaining bit in described business information territory.In this technical scheme
In, owing to business information territory having 48 bits, so the record of business information can be completely used for, concrete division
Mode is not limited in such scheme the mode of record.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of body portion, in body section order 1 position or other position of described media access control frame.At this
In technical scheme, business information can may be located at the position of order 1 in frame with the form record of information element in frame
Put, after recipient STA has resolved business information element, see whether be oneself business interested, if not directly abandoning this
Individual frame, beneficially STA power saving, business information element can also record other order position at body section.
In technique scheme, described business information flag includes type of service flag, length mark position and industry
Business details flag, described business information determines that module 304 determines described industry according to the value of described type of service flag
The type of business, determines the length of described business details flag according to described length mark position, detailed according to described business
The value of message identification position determines the details of described business.In this technical scheme, equally business information is divided into type
Information and details, simultaneously because the length of details is the most unfixed, so additionally providing length information to carry out table
Showing the length of details, recipient, according to length information, carrys out Exact Solutions and separates out business details, it is to avoid produce mistake.
In technique scheme, described type of service flag, described length mark position and described business details
The length of flag is respectively one or more byte.In this technical scheme, type information, length information and details
Length, depends on the concrete needs of concrete business.
In technique scheme, described business is the industry that the sender of described Frame currently or is At All Other Times carried out
Business.In this technical scheme, recipient can parse the current business of sender from Frame or other times are carried out
Business, and according to self need choose whether to carry out this business, after such recipient resolves these data, it becomes possible to know work as
Before the business that maybe will carry out, it is simple to quickly setting up with sender and associate, add that the previous field represents in a data frame ought simultaneously
Before or the business that will carry out, decrease and periodically send service discovery messages or device discovery messages, be conducive to setting
Standby power saving.
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 for a kind of data communications method, including: step 402, receiving data frames, described number
According to frame comprises data frame identification position and business information flag;Step 404, determines institute according to the value of described data frame identification position
State and Frame comprises described business information flag, and determine the relevant of business according to the value of described business information flag
Information.In this technical scheme, the STA of recipient, when receiving Frame, i.e. can determine whether according to the value of data frame identification position
Go out and wherein comprise business information, and the particular content of business information can be resolved further, and need to judge whether based on self
Carrying out this business, the program is conducive to the discovery of potential service-user.
In technique scheme, described data frame identification position includes the frame head of the media access control frame of described Frame
One or more positions of part.In this technical scheme, the data frame analyzing of recipient STA can be from the beginning of frame head, according to mark
The value of position can determine whether to have comprised business information, carries out continuing parsing and obtains business information, believes without business
Breath then need not resolve body section, it is to avoid unnecessary parsing operation, saves electricity.
In technique scheme, described data frame identification position include the frame of described frame head part control in territory or
Multiple positions.In this technical scheme, recipient resolves in the FC territory of frame head part or multidigit, it is possible to be informed in this
With business information flag in Frame, recipient STA resolves the destination address of this Frame and is not destined to oneself
Data, not abandoning this Frame until having resolved business information flag, seeing whether be oneself business interested, if
It is associated with the sender of this Frame, if not abandoning this Frame.
In technique scheme, described data frame identification position includes that described frame controls the type subdomain in territory and subtype
One or more positions in subdomain.In this technical scheme, recipient is according to the type subdomain in FC territory and subtype subdomain
Value, can judge whether there is business information in Frame exactly, and here the value of type is 11, and the value of subtype is
0000, represent that this Frame is NAN Frame, it is also possible to the value that Type and Subtype is set to other represents this data
Frame is NAN Frame.
In technique scheme, described Frame is neighbours' sensing network Frames, and described step 402 includes: according to
The value of described data frame identification position determines that described Frame is the described neighbours' sensing network comprising described business information flag
Frame.In this technical scheme, recipient is according to flag, and can more specifically identify Frame is to comprise business information
NAN Frame, when flag is set to the first value, represent that this Frame is NAN Frame and in this Frame
With business information flag.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of head part.In this technical scheme, recipient only needs to resolve frame head part, it is possible to obtain complete industry
Business information, without resolving body section, decreases parsing operation, reduces electric quantity consumption, here business information territory quilt
It is added on after the source address field of Frame, after STA has resolved destination address and source address, can directly resolve business letter
Breath territory, and reduce the parsing to other territory, beneficially STA power saving.
In technique scheme, described business information flag comprises of the business information territory in described frame head part
Individual or multiple positions.In this technical scheme, recipient, according to 48, the business information territory bit of frame head part, determines Frame
In comprise business information, other bit length can be used for represent business information.
In technique scheme, described business information flag includes type of service flag and business details mark
Knowing position, described step 402 includes: determine the type of described business according to the value of described type of service flag, according to described industry
The value of business details flag determines the details of described business.In this technical scheme, recipient can parse industry
The type information of business and details two parts, to judge whether to carry out this business.
In technique scheme, described type of service flag comprises 8 in described business information territory or more than 8
Bit, described business details flag comprises remaining bit in described business information territory.In this technical scheme
In, owing to business information territory having 48 bits, so the record of business information can be completely used for, concrete division
Mode is not limited in such scheme the mode of record.
In technique scheme, described business information flag comprises the frame of the media access control frame of described Frame
One or more positions of body portion, in body section order 1 position or other position of described media access control frame.At this
In technical scheme, business information can may be located at the position of order 1 in frame with the form record of information element in frame
Put, after recipient STA has resolved business information element, see whether be oneself business interested, if not directly abandoning this
Individual frame, beneficially STA power saving, business information element can also record other order position at body section.
In technique scheme, described business information flag includes type of service flag, length mark position and industry
Business details flag, described step 404 includes: determine the class of described business according to the value of described type of service flag
Type, determines the length of described business details flag according to described length mark position, according to described business details mark
The value knowing position determines the details of described business.In this technical scheme, equally business information is divided into type information and
Details, simultaneously because the length of details is the most unfixed, so additionally providing length information to represent detailed
The length of information, recipient, according to length information, carrys out Exact Solutions and separates out business details, it is to avoid produce mistake.
In technique scheme, described type of service flag, described length mark position and described business details
The length of flag is respectively one or more byte.In this technical scheme, type information, length information and details
Length, depends on the concrete needs of concrete business.
In technique scheme, described business is the industry that the sender of described Frame currently or is At All Other Times carried out
Business.In this technical scheme, recipient can parse the current business of sender from Frame or other times are carried out
Business, and according to self need choose whether to carry out this business, after such recipient resolves these data, it becomes possible to know work as
Before the business that maybe will carry out, it is simple to quickly setting up with sender and associate, add that the previous field represents in a data frame ought simultaneously
Before or the business that will carry out, decrease and periodically send service discovery messages or device discovery messages, be conducive to setting
Standby power saving.
In the present invention, it is provided that a kind of both sides are communication when, it is possible to the equipment solved in NAN network is carrying out upper strata
During service communication, it is possible to issue its ongoing service message or the service message that will carry out, in order to find latent simultaneously
Other the most do not add the equipment of NAN network, with specific reference to two embodiments presented below.
Embodiment one:
As a example by playing between terminal, in order to allow other player interested of terminal surrounding add game, game
Both sides can in a data frame plus new information on services territory, be 48 bits or other length in communication process, 8 or
The bit of other quantity represents it is which kind of type of service, such as type of play, other 40 bits or the ratio of other quantity
Specifically what game of special bit-identify.
In the present embodiment, in order to allow potential identical services person can add NAN network, can be by available data frame
Plus special identifier suggested above, so during player both sides communicate, other potential business person in structure
Just will appreciate that whether this business is that oneself is interested by intercepting this special identifier symbol, just add this if interested
Individual NAN network.
Concrete frame structure as it is shown in figure 5, wherein FC be frame control frame control territory, address for the purpose of A1, A2 is
Source address, A3 is exactly originally to be field service information territory newly-increased in strength, and Frame Body frame is carried out by communicating pair
Concrete data interaction, FCS(frame check sequence) be Frame Check Sequence, be used for verify received data frame
Whether position makes mistakes.
Owing to the A1 address in this frame structure is unicast address, it may occur that other equipment receives this data
After frame, finding that destination address is not oneself, and directly abandon this Frame, a kind of mechanism of definition here, when STA has resolved
After frame controls the data frame identification position in territory, find that this Frame is NAN Frame, and STA finds that destination address is not certainly
Oneself, after must having resolved A3, this business corresponding is interested with oneself, if not directly losing this number
According to frame;If oneself business interested, after the most only need to having resolved A3, then look for be connected with the foundation of NAN network suitable opportunity,
So be conducive to equipment power saving, also accelerate the association process of equipment room.
Specifically, it is possible to use it is NAN Frame that the reserved bit in FC territory defines this Frame, then other STA
Resolve after this frame is NAN Frame, be directly resolved to A3 territory and be only rejection and surely abandon whole Frame, the concrete structure in FC territory
As shown in Figure 6, reserved bit be specifically defined the most as shown in the table.
Embodiment two:
The Frame body part that defined new information element (New IE) is carried in mac frame, concrete structure
As shown in Figure 7.
Wherein, the structure of Frame body part is as shown in the table:
Wherein New IE structure, the most as shown in Figure 8, wherein Element ID is used for representing type of service, Detail of
Information is used for representing business details.
Owing to A1 address is unicast address in this frame structure, there will be equally after miscellaneous equipment receives this frame and find not
It is to abandon this frame to the Frame of oneself, so using the mode as embodiment one, carrying out regulation miscellaneous equipment and receiving
After this frame, resolve frame and controlled the frame identification position in territory, found that this Frame is NAN Frame, then resolved newly
Information element, it is found to be oneself and interested abandons whole frame again, narration is not repeated herein.
By above-mentioned multiple embodiments, it is known that according to technical scheme, use and Frame adds information element
Benefit include:
1, in existing wi-fi technology, Frame is finally sent out, and is dimeric, and a part is
Physical frame head part, length 192 bit of this part or other bit length, another part is mac frame.
If equipment individually broadcasts the COS of oneself and the specifying information of its COS, finally by whole letter
Breath broadcasts out and the most necessarily includes physical header part, and has skilfully used both sides in technical solution of the present invention when communication, in data
Frame adds COS and the specifying information of service COS, and eliminate 192 bits of physical header part or its
Its bit length, is of value to equipment power saving.
2, during the transmission of Frame, other potential equipment just it can be found that oneself business interested, is conducive to
User rapidly joins NAN network, strengthens Consumer's Experience.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (20)
1. a data communication equipment, it is characterised in that including:
Frame generation module, generates Frame, comprises data frame identification position and business information flag, institute in described Frame
State the value of data frame identification position to represent described Frame comprises described business information flag, described business information flag
The relevant information of value expression business;
Data interaction module, sends described Frame;
Described data frame identification position is one or more positions of the frame head part of the media access control frame of described Frame, including
Frame controls the type subdomain in territory and the one or more positions in subtype subdomain;
Described Frame is neighbours' sensing network Frames, and the value of described data frame identification position represents that described Frame is for comprising
State described neighbours' sensing network Frame of business information flag;
Described business information flag includes type of service flag and business details flag, and described type of service identifies
The value of position represents the type of described business, and the value of described business details flag represents the details of described business, institute
State the bit that type of service flag comprises in described business information territory more than 8, described business details flag
Comprise remaining bit in described business information territory.
Data communication equipment the most according to claim 1, it is characterised in that described business information flag is described data
One or more positions of the frame head part of the media access control frame of frame, including one of the business information territory in described frame head part
Individual or multiple positions.
Data communication equipment the most according to claim 1, it is characterised in that described business information flag comprises described number
According to one or more positions of body section of the media access control frame of frame, at the body section of described media access control frame
Order 1 position or other position.
Data communication equipment the most according to claim 3, it is characterised in that described business information flag includes service class
Type flag, length mark position and business details flag, the value of described type of service flag represents described business
Type, described length mark position represents the length of described business details flag, described business details flag
Value represents the details of described business, described type of service flag, described length mark position and described business details
The length of flag is respectively one or more byte.
Data communication equipment the most according to any one of claim 1 to 4, it is characterised in that described business is described number
The business currently or At All Other Times carried out according to communicator.
6. a data communications method, it is characterised in that including:
Generate Frame, described Frame comprises data frame identification position and business information flag, described data frame identification position
Value represent described Frame comprise described business information flag, the value of described business information flag represents the phase of business
Pass information;
Send described Frame;
Described data frame identification position is one or more positions of the frame head part of the media access control frame of described Frame, including
Frame controls the type subdomain in territory and the one or more positions in subtype subdomain;
Described Frame is neighbours' sensing network Frames, and the value of described data frame identification position represents that described Frame is for comprising
State described neighbours' sensing network Frame of business information flag;
Described business information flag includes type of service flag and business details flag, and described type of service identifies
The value of position represents the type of described business, and the value of described business details flag represents the details of described business, institute
State the bit that type of service flag comprises in described business information territory more than 8, described business details flag
Comprise remaining bit in described business information territory.
Data communications method the most according to claim 6, it is characterised in that described business information flag is described data
One or more positions of the frame head part of the media access control frame of frame, including one of the business information territory in described frame head part
Individual or multiple positions.
Data communications method the most according to claim 6, it is characterised in that described business information flag comprises described number
According to one or more positions of body section of the media access control frame of frame, at the body section of described media access control frame
Order 1 position or other position.
Data communications method the most according to claim 8, it is characterised in that described business information flag includes service class
Type flag, length mark position and business details flag, the value of described type of service flag represents described business
Type, described length mark position represents the length of described business details flag, described business details flag
Value represents the details of described business, described type of service flag, described length mark position and described business details
The length of flag is respectively one or more byte.
10. according to the data communications method according to any one of claim 6 to 9, it is characterised in that described business is described number
The business currently or At All Other Times carried out according to the sender of frame.
11. 1 kinds of data communication equipments, it is characterised in that including:
Data interaction module, receiving data frames, described Frame comprises data frame identification position and business information flag;
Business information determines module, determines according to the value of described data frame identification position and comprises described business information in described Frame
Flag, and the relevant information of business is determined according to the value of described business information flag;
Described data frame identification position is one or more positions of the frame head part of the media access control frame of described Frame, including
Frame controls the type subdomain in territory and the one or more positions in subtype subdomain;
Described Frame is neighbours' sensing network Frames, and described business information determines that module is according to described data frame identification position
Value determines that described Frame is the described neighbours' sensing network Frame comprising described business information flag;
Described business information flag includes type of service flag and business details flag, and described business information determines
Module determines the type of described business according to the value of described type of service flag, according to described business details flag
Value determines that the details of described business, described type of service flag comprise the ratio of more than 8 in described business information territory
Special position, described business details flag comprises remaining bit in described business information territory.
12. data communication equipments according to claim 11, it is characterised in that described business information flag is described number
According to one or more positions of frame head part of the media access control frame of frame, including the business information territory in described frame head part
One or more positions.
13. data communication equipments according to claim 11, it is characterised in that described business information flag comprises described
One or more positions of the body section of the media access control frame of Frame, at the body section of described media access control frame
Order 1 position or other position.
14. data communication equipments according to claim 13, it is characterised in that described business information flag includes business
Type identification position, length mark position and business details flag, described business information determines that module is according to described service class
The value of type flag determines the type of described business, determines described business details flag according to described length mark position
Length, determines the details of described business according to the value of described business details flag, described type of service flag,
The length of described length mark position and described business details flag is respectively one or more byte.
15. according to the data communication equipment according to any one of claim 11 to 14, it is characterised in that described business is described
The business that the sender of Frame currently or is At All Other Times carried out.
16. 1 kinds of data communications methods, it is characterised in that including:
Receiving data frames, comprises data frame identification position and business information flag in described Frame;
Value according to described data frame identification position determines and comprises described business information flag in described Frame, and according to institute
The value stating business information flag determines the relevant information of business;
Described data frame identification position is one or more positions of the frame head part of the media access control frame of described Frame, including
Frame controls the type subdomain in territory and the one or more positions in subtype subdomain;
Described Frame is neighbours' sensing network Frames, and the described value according to described data frame identification position determines described Frame
In comprise described business information flag and include:
Value according to described data frame identification position determines that described Frame is the described neighbours comprising described business information flag
Sensing network Frame;
Described business information flag includes type of service flag and business details flag, described according to described business
The value of message identification position determines that the relevant information of business includes:
Value according to described type of service flag determines the type of described business, according to described business details flag
Value determines that the details of described business, described type of service flag comprise the ratio of more than 8 in described business information territory
Special position, described business details flag comprises remaining bit in described business information territory.
17. data communications methods according to claim 16, it is characterised in that described business information flag is described number
According to one or more positions of frame head part of the media access control frame of frame, including the business information territory in described frame head part
One or more positions.
18. data communications methods according to claim 16, it is characterised in that described business information flag comprises described
One or more positions of the body section of the media access control frame of Frame, at the body section of described media access control frame
Order 1 position or other position.
19. data communications methods according to claim 18, it is characterised in that described business information flag includes business
Type identification position, length mark position and business details flag, the described value according to described business information flag determines
The relevant information of business includes:
Value according to described type of service flag determines the type of described business, determines described industry according to described length mark position
The length of business details flag, determines the details of described business according to the value of described business details flag,
The length of described type of service flag, described length mark position and described business details flag is respectively one or many
Individual byte.
20. according to the data communications method according to any one of claim 16 to 19, it is characterised in that described business is described
The business that the sender of Frame currently or is At All Other Times carried out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210328627.0A CN102833858B (en) | 2012-09-06 | 2012-09-06 | Data communication equipment and data communications method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210328627.0A CN102833858B (en) | 2012-09-06 | 2012-09-06 | Data communication equipment and data communications method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102833858A CN102833858A (en) | 2012-12-19 |
CN102833858B true CN102833858B (en) | 2016-12-21 |
Family
ID=47336761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210328627.0A Active CN102833858B (en) | 2012-09-06 | 2012-09-06 | Data communication equipment and data communications method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102833858B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426866B (en) * | 2013-08-28 | 2018-12-14 | 华为技术有限公司 | A kind of data transmission method and device |
US9648485B2 (en) * | 2014-02-03 | 2017-05-09 | Qualcomm Incorporated | Discovery of a neighbor awareness network (NAN) using a wake up message |
CN105554869B (en) * | 2015-12-04 | 2020-02-07 | 努比亚技术有限公司 | Mobile terminal communication method, equipment and communication system |
CN109361666A (en) * | 2018-10-12 | 2019-02-19 | 浙江工业大学 | A kind of hidden long-range control method under WiFi physical isolation environment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960560A (en) * | 2005-11-04 | 2007-05-09 | 鸿富锦精密工业(深圳)有限公司 | Method for switching channels |
CN101527710A (en) * | 2008-03-05 | 2009-09-09 | 华为技术有限公司 | Method and device for transmitting data packet |
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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101998267A (en) * | 2009-08-31 | 2011-03-30 | 北京三星通信技术研究有限公司 | Method, system and device for transmitting enhancement mode multi-broadcast service indication information |
-
2012
- 2012-09-06 CN CN201210328627.0A patent/CN102833858B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960560A (en) * | 2005-11-04 | 2007-05-09 | 鸿富锦精密工业(深圳)有限公司 | Method for switching channels |
CN101527710A (en) * | 2008-03-05 | 2009-09-09 | 华为技术有限公司 | Method and device for transmitting data packet |
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 |
---|---|
CN102833858A (en) | 2012-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10194454B2 (en) | Method and system for implementing service scheduling, base station, and user equipment | |
EP3337199B1 (en) | Resource configuration method, system, and device for single-cell multicast control channel (sc-mcch) | |
CN105027594B (en) | System and method for finding the equipment in neighborhood aware network | |
US10397937B2 (en) | Method and device for scheduling single-cell multimedia broadcast and multicast service | |
CN106470482B (en) | SC-MCCH resource allocation method, system and device | |
US8543082B2 (en) | Method and system for transmitting the notification message in earthquake and tsunami warning system | |
CN102833858B (en) | Data communication equipment and data communications method | |
CN102833837B (en) | Data communication equipment and data communications method | |
US8670366B2 (en) | Method and device for bearing and receiving scheduling information of multimedia broadcast multicast service (MBMS) control channel (MCCH) update indication information | |
CN103428713B (en) | The detection method of physical downlink control channel and device | |
WO2015114905A1 (en) | Apparatus | |
CN105491244A (en) | Automatic classroom roll-call system based on WIFI and intelligent mobile phones | |
EP1915000A4 (en) | An ip multicasting system and a method based on the mobile network | |
CN104412625B (en) | Channel changes acquisition method, notification method and equipment | |
KR20090023875A (en) | Zigbee communication system for joining one of the zigbee networks after choosing that and method thereof | |
US20130203413A1 (en) | Method and apparatus for discovering wireless devices | |
US8649311B2 (en) | Method and system for transmitting logical channel identifier in MBMS | |
CN106658756A (en) | Method and device for recognizing connection between terminal device and hotspot | |
CN101867880A (en) | Method and device for bearing and receiving control information of MCCH (Multipoint Control Channel) and MCCH updating indication information | |
CN109547949A (en) | Group information updating method, device, base station and user equipment | |
CN106686553A (en) | Method and device for carrying out multicasting on core net EPC | |
CN109474896A (en) | A kind of block chain implementation method, system and the storage medium of decentralization | |
WO2011038656A1 (en) | Method and network side equipment for transmitting multimedia broadcast multicast service (mbms) paging indication information | |
CN104426858B (en) | A kind of information processing method and electronic equipment | |
EP2562974B1 (en) | Message multiple-transfer 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 |