CN106465130B - A kind of method and relevant device for carrying out data transmission in neighbouring sensing network - Google Patents

A kind of method and relevant device for carrying out data transmission in neighbouring sensing network Download PDF

Info

Publication number
CN106465130B
CN106465130B CN201580023415.3A CN201580023415A CN106465130B CN 106465130 B CN106465130 B CN 106465130B CN 201580023415 A CN201580023415 A CN 201580023415A CN 106465130 B CN106465130 B CN 106465130B
Authority
CN
China
Prior art keywords
equipment
window
wake
service groups
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201580023415.3A
Other languages
Chinese (zh)
Other versions
CN106465130A (en
Inventor
陈济
方平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106465130A publication Critical patent/CN106465130A/en
Application granted granted Critical
Publication of CN106465130B publication Critical patent/CN106465130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

A kind of method for carrying out data transmission in NAN includes: the first equipment and supports at least one equipment of identical services to establish service groups with first equipment, and arranges the discovery window and vocational window of the service groups at least one described equipment;First equipment and at least one described equipment are the equipment in the NAN;When the first equipment determines the wake-up notice that at least one target device transmission data into the service groups and any one equipment being not received by least one described equipment during channel competition are sent, then the first equipment sends at least one described equipment in the discovery window and wakes up notice, so that the equipment at least one described equipment in a dormant state is switched to wake-up states when reaching the vocational window, so that at least one described equipment is in wake-up states when reaching the vocational window, and then first equipment carries out data transmission in the vocational window at least one target device described in wake-up states.

Description

A kind of method and relevant device for carrying out data transmission in neighbouring sensing network
Technical field
The present invention relates to radio network technique fields, more particularly to one kind is for carrying out data biography in neighbouring sensing network Defeated method and relevant device.
Background technique
Wi-Fi (Wireless-Fidelity, Wireless Fidelity) technology is a kind of short-distance wireless communication technology.Wi-Fi skill The basic standard of art is IEEE (Institute of Electrical and Electronics Engineers, U.S. electric And Electronic Engineering Association) formulate 802.11 agreements.The common structure of Wi-Fi technology includes an access point (Access Point, AP) and at least one other equipment, access point AP is by periodically sending beacon (Beacon) frame to other equipment To declare the presence of the AP, other equipment pass through active transmission probe requests thereby (Probe Request) frame and receive probe response (Probe Response) frame passively receives beacon frame to know the presence of AP, then by carrying out message friendship with AP Mutually so that the network of AP is added.Due in 802.11 agreements network structure and data transmission have certain limitation, for not having It is connected to for the equipment of AP, progress service discovery is relatively difficult, so new standard has been formulated based on 802.11, to reach not It needs to be associated with, can also achieve the effect that service discovery, wherein NAN (Neighbor Awareness Networking, neighbouring sense Hownet network) be a kind of customization new standard.
In the prior art scheme, NAN effect is in the case where no access point, and all equipment for participating in NAN are synchronous Get up, and arrange the DW (Discovery Window has found window) of NAN, and carries out the maintenance work and service of NAN in DW It was found that work., can be according to the information exchanged in service discovery after the completion of service discovery work, the relevant device in NAN is established It connects and carries out data transmission.Specifically, NAN is fixed on channel 6, and every 512ms just has a discovery window, finds window A length of 16ms when lasting.NAN is defined at the beginning of DW and the synchronization mechanism of end time, in order to reach and safeguard this Synchronization mechanism, each equipment in NAN require to undertake the responsibility of equality.All equipment that joined NAN can found Service discovery is carried out in window, is in wake-up states in discovery window all devices, but NAN merely provides discovery window With carried out based on the discovery window service discovery work, NAN carry out service discovery after, be not defined service discovery it After what does so that do not make full use of the Internet resources of existing NAN, but Wi-Fi Direct or basis is used to set It applies the other technologies such as network and is attached and transmitted with data, lead to that data transmission efficiency is low and power consumption is excessively high.
Summary of the invention
The method and relevant device that the present invention provides a kind of for carrying out data transmission in neighbouring sensing network, to mention The efficiency of high data transmission, reduces power consumption.
First aspect of the embodiment of the present invention provides a kind of method for carrying out data transmission in neighbouring sensing network, Include:
First equipment and support at least one equipment of identical services to establish service groups with first equipment, and with it is described At least one equipment arranges the discovery window and vocational window of the service groups;First equipment and it is described at least one set Standby is the equipment in the NAN;
When first equipment determine at least one target device into the service groups send data and in channel it is competing When the wake-up notice that any one equipment being not received by least one described equipment during striving is sent, then described first set Standby send in the discovery window at least one described equipment wakes up notice, so as to be in suspend mode at least one described equipment The equipment of state is switched to wake-up states when the time reaching the vocational window, so that at least one described equipment reaches institute Wake-up states are in when stating vocational window, and then first equipment is in the vocational window and in described in wake-up states At least one target device carries out data transmission.
With reference to first aspect, in the first possible implementation of the first aspect, the wake-up notice includes business Group mark, first equipment send wake-up notice at least one described equipment in the discovery window and include:
First equipment is identified according to the service groups, by the wake-up notice be sent in the service groups described in At least one equipment.
With reference to first aspect or the first possible implementation of first aspect, second in first aspect are possible In implementation, the vocational window includes paging window and transmission window, and first equipment is in the discovery window to institute State at least one equipment send wake up notice after, further includes:
The paging window of first equipment in the vocational window is sent at least one described target device Paging message is set so that at least one described target device receives described first in the transmission window according to the paging message The data that preparation is sent.
With reference to first aspect, any one of the first or second of possible implementation of first aspect realization side Formula, in a third possible implementation of the first aspect, first equipment and first equipment support identical services At least one equipment establish service groups and include:
Other equipment of first equipment into the NAN send service announcement information, so that the other equipment point Not according to the service announcement validation of information itself whether with first equipment support identical services;
First equipment receive in the other equipment for supporting identical services with first equipment it is described at least The business request information that one equipment is sent respectively;
The business request information that first equipment is sent respectively according at least one described equipment, with it is described at least one Equipment establishes service groups.
With reference to first aspect and first aspect the first to any possible implementation in the third, In 4th kind of possible implementation of one side, first equipment is sent in the discovery window at least one described equipment Waking up notice includes:
Wake-up notice is encrypted in first equipment;
The wake-up notice by encryption is sent at least one described equipment by first equipment.
Second aspect of the embodiment of the present invention provides a kind of method for carrying out data transmission in neighbouring sensing network, Include:
Second equipment and the first equipment of identical services is supported to establish service groups with second equipment, and with described first Equipment arranges the discovery window and vocational window of the service groups;First equipment and second equipment are described Equipment in NAN;
Second equipment is in the discovery window reception to first equipment hair come solely from the service groups The wake-up notice sent, the notice that wakes up is that first equipment determines at least one target device hair into the service groups It send data and is not received by the transmission of any one equipment in the other equipment in the service groups during channel competition When waking up notice, first equipment is notified in the wake-up that other equipment of the discovery window into the service groups are sent;
Second equipment is notified according to the wake-up that first equipment is sent, and is in and is called out when reaching the vocational window The state of waking up in the vocational window to carry out data transmission.
In conjunction with second aspect, in the first possible implementation of the second aspect, the method also includes:
When second equipment is called out what the other equipment that the discovery window is not received by the service groups were sent When notice of waking up, second equipment obtains the channel buty cycle in the discovery window, and the channel buty cycle includes the letter The working time in road accounts for the ratio of the discovery window;
Second equipment judges whether the channel buty cycle in the discovery window is more than preset threshold;
When the channel buty cycle is more than preset threshold, second equipment is in when reaching the vocational window and calls out The state of waking up in the vocational window to carry out data transmission.
In conjunction with the possible implementation of the first of second aspect or second aspect, second in second aspect is possible In implementation, second equipment and the first equipment of identical services is supported to establish service groups and include: with second equipment
Second equipment receives the service announcement message that first equipment is sent;
Second equipment, second equipment according to the service announcement message authentication whether with the first equipment branch Hold identical services;
When second equipment and first equipment support identical services, second equipment is to first equipment Send business request information so that first equipment second equipment is added to according to the business request information it is described Service groups.
In conjunction with any possible implementation in the first of second aspect and second aspect to second, In the third possible implementation of two aspects, the vocational window includes paging window and transmission window, second equipment The wake-up notice sent according to first equipment, when reaching the vocational window in wake-up states in the business window Mouth carries out data transmission
The paging message that second equipment, first equipment described in the paging window reception is sent;
The paging message that second equipment is sent according to first equipment keeps waking up in the transmission window State, and the data that first equipment is sent are received in the transmission window.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, the vocational window includes paging window Mouth and transmission window, second equipment is notified according to the wake-up that first equipment is sent, when reaching the vocational window In wake-up states to carry out data transmission including: in the vocational window
When second equipment is sought what the other equipment that the paging window is not received by the service groups were sent When exhaling message and determining that the other equipment into the service groups do not have data transmission, second equipment reaches the transmission Dormant state is restored to from wake-up states when window.
The third aspect of the embodiment of the present invention provides a kind of equipment for carrying out data transmission in neighbouring sensing network, The equipment is the first equipment, and first equipment includes:
Service groups establish module, are used for and support at least one equipment of identical services to establish business with first equipment Group, and arrange at least one described equipment the discovery window and vocational window of the service groups;First equipment and institute Stating at least one equipment is the equipment in the NAN;
Sending module is notified, for determining at least one target device hair into the service groups when first equipment The wake-up for any one equipment transmission sending data and being not received by least one described equipment during channel competition is logical When knowing, is then sent in the discovery window at least one described equipment and wake up notice, so that at least one described equipment Wake-up states are switched to when the time reaching the vocational window in the equipment of dormant state, so that at least one described equipment exists Wake-up states are in when reaching the vocational window, and then first equipment in the vocational window and is in wake-up states At least one described target device carry out data transmission.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the wake-up notice includes the industry The service groups of business group identify,
The notice sending module is identified with specific reference to the service groups, sends the service groups for wake-up notice In at least one described equipment.
In conjunction with the possible implementation of the first of the third aspect or the third aspect, second in the third aspect may be real In existing mode, the vocational window includes paging window and transmission window, described device further include:
Message transmission module, for the paging window in the vocational window at least one described target device Paging message is sent, so that at least one described target device receives described the in the transmission window according to the paging message The data that one equipment is sent.
Second in conjunction with the possible implementation of the first of the third aspect or the third aspect or the third aspect may be real Existing mode, in the third possible implementation of the third aspect, the service groups establish module and include:
Information transmitting unit sends service announcement information for the other equipment into the neighbouring sensing network, so that The other equipment respectively according to the service announcement validation of information itself whether with first equipment support identical services;
Information receiving unit, for receive with first equipment support identical services the other equipment in described in The business request information that at least one equipment is sent respectively;
Service groups establish unit, the business request information for being sent respectively according at least one described equipment, and described At least one equipment establishes service groups.
In conjunction with the first of the third aspect and the third aspect to any possible implementation in the third, In 4th kind of possible implementation of three aspects, the notice sending module is also used to notify to carry out at encryption to the wake-up Reason;At least one described equipment is sent by the wake-up notice by encryption.
Fourth aspect of the embodiment of the present invention provides a kind of equipment for carrying out data transmission in neighbouring sensing network, The equipment is the second equipment, and second equipment includes:
Service groups establish module, are used for and support the first equipment of identical services to establish service groups with second equipment, And arrange the discovery window and vocational window of the service groups with first equipment;First equipment and described second is set Standby is the equipment in the NAN;
Receiving module is notified, for setting in the discovery window reception to described first come solely from the service groups The wake-up notice that preparation is sent, the notice that wakes up is that first equipment determines that at least one target into the service groups is set Preparation send data and is not received by the hair of any one equipment in the other equipment in the service groups during channel competition When the wake-up notice sent, first equipment is logical in the wake-up that other equipment of the discovery window into the service groups are sent Know;
State wake-up module, the wake-up notice for being sent according to first equipment, when reaching the vocational window In wake-up states to carry out data transmission in the vocational window.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, second equipment further include:
State acquisition module, for being not received by the service groups when second equipment in the discovery window When the wake-up notice that other equipment are sent, the channel buty cycle in the discovery window is obtained, the channel buty cycle includes institute The working time for stating channel accounts for the ratio of the discovery window;
Threshold value judgment module, for judging whether the channel buty cycle in the discovery window is more than preset threshold;
State determining module is used for when the channel buty cycle is more than preset threshold, when reaching the vocational window In wake-up states to carry out data transmission in the vocational window.
In conjunction with the possible implementation of the first of fourth aspect or fourth aspect, second in fourth aspect may be real In existing mode, the service groups establish module and include:
Message reception units, the service announcement message sent for receiving first equipment;
Whether business confirmation unit sets with described first for the second equipment according to the service announcement message authentication It is standby to support identical services;
Message sending unit, for when second equipment and first equipment support identical services, Xiang Suoshu the One equipment sends business request information, so that second equipment is added according to the business request information for first equipment To the service groups.
In conjunction with any possible implementation in the first of fourth aspect and fourth aspect to second, In the third possible implementation of four aspects, the vocational window includes paging window and transmission window,
The state wake-up module is specifically used for the paging message that the first equipment described in the paging window reception is sent; According to the paging message that first equipment is sent, stayed awake in the transmission window, and in the transmission window Mouth receives the data that first equipment is sent.
In conjunction with fourth aspect, in the 4th kind of possible implementation of fourth aspect, the vocational window includes paging window Mouth and transmission window, described device further include:
State recovery module, for being not received by the service groups when second equipment in the paging window When the paging message and the determining other equipment into the service groups that other equipment are sent do not have data transmission, described in arrival Dormant state is restored to from wake-up states when transmission window.
The 5th aspect of the embodiment of the present invention provides a kind of system for carrying out data transmission in neighbouring sensing network, It include: the first equipment and the second equipment, first equipment includes above-mentioned any first equipment, and second equipment includes upper Any second equipment stated.
The 6th aspect of the embodiment of the present invention provides a kind of equipment for carrying out data transmission in neighbouring sensing network, Including network interface, memory and processor, wherein store batch processing code in memory, and processor is for calling The program code stored in memory, for performing the following operations:
First equipment and support at least one equipment of identical services to establish service groups with first equipment, and with it is described At least one equipment arranges the discovery window and vocational window of the service groups;First equipment and it is described at least one set Standby is the equipment in the NAN;
When first equipment determine at least one target device into the service groups send data and in channel it is competing When the wake-up notice that any one equipment being not received by least one described equipment during striving is sent, then described first set Standby send in the discovery window at least one described equipment wakes up notice, so as to be in suspend mode at least one described equipment The equipment of state is switched to wake-up states when the world reaches the vocational window, so that at least one described equipment reaches institute Wake-up states are in when stating vocational window, and then first equipment is in the vocational window and in described in wake-up states At least one target device carries out data transmission.
Implement the embodiment of the present invention, is waken up for finding to send in window using competitive way without restriction in the prior art Notify and cause may multiple equipment all send wake-up notice, so as to cause interface-free resources occupy excessively high, data transmission efficiency Low and excessively high power consumption technical problem passes through the first equipment in neighbouring sensing network and the first equipment support identical services At least one equipment establishes service groups, and discovery window and vocational window at least one equipment agreement service groups;When One equipment determines that the target device into service groups sends data and is not received by least one during channel competition and sets When the wake-up notice that preparation is sent, the first equipment sends at least one equipment in discovery window and wakes up notice, so that at least one Equipment in equipment in a dormant state is switched to wake-up states when reaching vocational window, so that at least one equipment reaches It is in wake-up states when vocational window to carry out data transmission in vocational window, occupies, improve to reduce interface-free resources The efficiency of data transmission, reduces power consumption.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without any creative labor, it can also be obtained according to these attached drawings others Attached drawing.
Fig. 1 is a kind of the first implementation of method for carrying out data transmission in neighbouring sensing network proposed by the present invention The flow chart of example;
Fig. 2 is a kind of the second implementation of method for carrying out data transmission in neighbouring sensing network proposed by the present invention The flow chart of example;
Fig. 3 is that a kind of third of method for carrying out data transmission in neighbouring sensing network proposed by the present invention is implemented The flow chart of example;
Fig. 4 is the structural schematic diagram for the first equipment that the embodiment of the present invention proposes;
Fig. 5 is the structural schematic diagram that service groups establish module in the first equipment of proposition of the embodiment of the present invention;
Fig. 6 is the structural schematic diagram for the second equipment that the embodiment of the present invention proposes;
Fig. 7 is the structural schematic diagram that service groups establish module in the second equipment of proposition of the embodiment of the present invention;
Fig. 8 is a kind of knot for system for carrying out data transmission in neighbouring sensing network that the embodiment of the present invention proposes Structure schematic diagram;
Fig. 9 is a kind of knot for equipment for carrying out data transmission in neighbouring sensing network that the embodiment of the present invention proposes Structure schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to FIG. 1, Fig. 1 is proposed by the present invention a kind of for carrying out data transmission in neighbouring sensing network NAN The flow chart of the first embodiment of method.As shown, the method in the embodiment of the present invention includes:
S101 is set adjacent to the first equipment in sensing network and at least one of first equipment support identical services It is standby to establish service groups, and arrange the discovery window and vocational window of the service groups at least one described equipment, described the One equipment and at least one described equipment are the equipment in the NAN.
In the specific implementation, other equipment of first equipment into the neighbouring sensing network send service announcement letter Breath, so that whether the other equipment are identical as the first equipment support according to the service announcement validation of information itself respectively Business;First equipment receive in the other equipment for supporting identical services with first equipment it is described at least one The business request information that equipment is sent respectively;The service request that first equipment is sent respectively according at least one described equipment Message establishes service groups at least one described equipment.
In addition, the first equipment can send carry instruction discovery window and vocational window service announcement information, with At least one equipment arranges the discovery window and vocational window of the service groups;Or first equipment can send and carry finger Show the service announcement information of discovery window, vocational window is then informed at least one described equipment in discovery window;Or First equipment, which is sent, carries the service announcement information that window is negotiated in instruction, in negotiating window and at least one described equipment First addition service groups equipment hold consultation, obtain the discovery window and vocational window of service groups.
It should be noted that each equipment in NAN can use multiple business, multiple industry that each equipment uses simultaneously Business may not be identical again, therefore an equipment can be added multiple service groups simultaneously, multiple in each service groups to set It is standby to use identical services.In addition, a discovery window and at least one vocational window corresponding with the discovery window can be one A business processing period, the discovery window of service groups can be exactly that (the the such as the 1st, 2,3,4 ... ... waits DW window for the DW window of each NAN Mouth is all the discovery window of service groups), it is also possible to the DW window for having certain intervals NAN, interval can be 1 DW window of NAN Mouthful (the the such as the 1st, 3,5,7 ... ... wait windows be the discovery window of service groups), 2 DW windows (such as the of interval or NAN Isosorbide-5-Nitrae, 7,10 ... ... wait windows for the discovery window of service groups), or the DW window of NAN etc. of interval other quantity.Business The vocational window of group can be obtained by each discovery window by the offset of preset time and/or channel, find window and business Window can also find that the duration of window and vocational window can be according to business in different channels in identical channel The processing time is determined.Such as: a discovery window is defined every 512ms or 1024ms first, is then found in every two Vocational window is defined in the time interval of window, it is found that the duration of window and vocational window can be 16ms;It can also be entire A discovery window and a vocational window are defined in traffic handling time.
S102, when first equipment determines at least one target device transmission data into the service groups and is believing When the wake-up notice that any one equipment being not received by least one described equipment in road competition process is sent, described first Equipment sends at least one described equipment in the discovery window and wakes up notice, so that in not at least one described equipment The equipment of dormancy state is switched to wake-up states when reaching the vocational window, so that at least one described equipment is described in the arrival Wake-up states are in when vocational window, and then first equipment in the vocational window and is in described in wake-up states extremely A few target device carries out data transmission.
In the specific implementation, first equipment is identified according to the service groups, the industry is sent by wake-up notice At least one described equipment in business group.Since each equipment in NAN can be added multiple groups simultaneously, the first equipment hair The wake-up notice for carrying service groups mark is sent, can identify according to service groups, which will wake up notice, is sent to specified service groups. Wherein, waking up notice can be service discovery frame, and service groups mark can be placed in the first address of service discovery frame, first Equipment can will wake up notice and be sent directly to specified service groups;Service groups mark can also be placed on the of service discovery frame In three addresses, and broadcast address or specific multicast address are placed in the first address, the equipment in specified service groups is received To after wake-up notice, it can be confirmed that wake-up notice is destined to oneself according to third address, and other service groups are received To after waking up notice, it can be confirmed that service groups mark is not one's own;Service groups mark can also be with information element Form is placed in wake-up notice, after the equipment of specified services group receives wake-up notice, can know this by the information element It wakes up notice and is intended for oneself.
Wherein, service groups mark can be the MAC (Medium Access Control, media access control layer) of equipment Address or other identifier, such as Business Name, class of service or the MAC Address of service groups, Business Name, class of service process fortune Value after calculation etc..The equipment of equipment or first lookup business that service groups mark can provide business by first mentions For, such as: equipment A provides music service, and other equipment discovery is waited in NAN, and equipment B searches music service. Equipment B has found equipment A by the service discovery mechanisms of NAN, and then equipment B and equipment A establishes a service groups, and equipment A will The MAC Address of equipment A is sent to equipment B, equipment A and equipment B and identifies simultaneously using the MAC Address of equipment A as service groups.Or The MAC Address of equipment B can be sent to equipment A, equipment A and equipment B simultaneously using the MAC Address of equipment B as business by equipment B Group mark.When the other equipment such as equipment C, equipment D are added to service groups, service groups can be identified group by equipment A or equipment B Other equipment are sent to, all devices in service groups have at this time and only same service groups identify.
Optionally, in the first equipment after the discovery window sends wake-up notice at least one described equipment, and When reaching vocational window by period, paging window of first equipment in the vocational window is to the target Equipment sends paging message, sets so that the target device receives described first in the transmission window according to the paging message The data that preparation is sent.Wherein, vocational window includes paging window and transmission window.In addition, when certain at least one above-mentioned equipment A/a little equipment is not received by the paging message of any one of service groups equipment transmission in paging window and oneself does not count According to it is to be sent when, this some/a little equipment can be switched to dormant state from wake-up states when reaching transmission window, to play The effect of power saving.In the specific implementation, the first equipment has sent wake-up notice in discovery window, service groups belonging to the first equipment All devices can receive this and wake up notice, and then they wake up according to this and notify, in the paging of corresponding vocational window It all wakes up in window, then the equipment inside entire service groups needs to carry out mutual paging according to what data were transmitted, has and is sought The equipment exhaled can wait data to be received in next transmission window, page others' equipment in next transmission Window can send data.When actual use, service groups any and an equipment can be the first equipment, as long as It, which can be competed, has sent wake-up notice.Due to being that competition is sent, so the other equipment ratio in discovery window, in service groups As the second equipment can only also receive the wake-up notice of the first equipment transmission.In the paging window of vocational window, first is set The standby target device that can page it, other equipment can also page their corresponding target devices.Certainly, the first equipment can also To be paged.That is, the effect that this scheme reaches is exactly that any one equipment preparation will be to some other in service groups Or certain equipment, when send business datum, it can first send a wake-ups notice, notice business in discovery window All devices in group, all in wake-up states, can be in the paging window of vocational window and be originally dormant state, then Wake-up states are switched to, are also possible to be always maintained at wake-up states, then these equipment are mutually paged as needed, are connect down Transmitted again, as long as and the equipment in discovery window in service groups there is one have sent wakeup message, others are set It is standby there is no need to retransmit wake-up to be notified of, as long as the paging window to corresponding vocational window is waken up.
Optionally, wake-up notice is encrypted in the first equipment;First equipment is by described by encrypting The wake-up notice of processing is sent at least one described equipment.Wherein, the key of encryption can also be by first offer industry The equipment of the equipment of business or first lookup business provides.
Optionally, waking up notice may include service announcements position table, after service announcements position table is used to indicate vocational window Multiple vocational windows are in wake-up states to carry out data transmission in above-mentioned multiple vocational windows in wake-up states.Such as: Service announcements position table can be 8 binary codes, continuous 8 vocational windows after indicating discovery window, if 8 binary codes Value is 01100111, then it represents that is carried out data transmission in the 2nd, 3,6,7,8 vocational window, at least one above-mentioned equipment receives this After the table of service announcements position, when reaching the vocational window of service announcements position table instruction every time in wake-up states.
Further, the first equipment in the discovery window in a manner of competitive channel resource at least one described equipment It sends and wakes up notice.Competitive channel resource mode is as follows: using carrier sense multiple access conflict avoidance CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) mechanism, it is reached when listening to idle time of channel When the predetermined time, as soon as starting to be kept out of the way with the random number generated, random number is subtracted 1 every preset time interval, when It when random number is kept to 0, sends wake up notice immediately, channel operating status is numerous if monitoring when random number fails to be reduced to 0 It is busy, then suspend and reduce the random number, when listening to the idle time of channel arrival predetermined time again, continues just to subtract random number 1.In CSMA/CA mechanism implementation procedure, if the first equipment receives the wake-up notice that at least one above-mentioned equipment is sent, the One equipment does not retransmit wake-up notice.
As long as at least one of the business is set it should be noted that the first equipment of service groups has sent wake-up notice It is standby to be no longer needed for sending wake-up notice.In addition, the first equipment is sent at least one equipment after waking up notice, can switch It can also be stayed awake for dormant state, some at least one above-mentioned equipment/a little equipment are determined into the service groups Target device send data but do not obtain channel resource during channel competition and send to wake up notice, therefore this certain A/a little equipment can all be switched to dormant state after discovery window reception to wake-up notice, can also keep waking up shape State;Some at least one above-mentioned equipment/a little equipment does not have data transmission to simply wait for receiving possible data, therefore this certain A/a little equipment can keep dormant state after discovery window reception to wake-up notice, when reaching vocational window, business All devices in group are in wake-up states.
In embodiments of the present invention, pass through the first equipment in neighbouring sensing network and the first equipment support identical services At least one equipment establishes service groups, and discovery window and vocational window at least one equipment agreement service groups;When One equipment determines that the target device into service groups sends data and is not received by least one during channel competition and sets When the wake-up notice that preparation is sent, the first equipment sends at least one equipment in discovery window and wakes up notice, so that at least one Equipment in equipment in a dormant state is switched to wake-up states when reaching vocational window, so that at least one equipment reaches It is in wake-up states when vocational window to carry out data transmission in vocational window, to improve the efficiency of data transmission, subtracts Small power consumption.
Referring to FIG. 2, Fig. 2 is a kind of method for carrying out data transmission in neighbouring sensing network proposed by the present invention Second embodiment flow chart, as shown, the method in the embodiment of the present invention includes:
S201, other equipment of first equipment into the neighbouring sensing network send service announcement information.
S202, the second equipment second equipment according to the service announcement message authentication whether with the first equipment branch Hold identical services.
S203, when second equipment and first equipment support identical services, the second equipment is set to described first Preparation send business request information.
S204, the business request information that the first equipment is sent respectively according at least one described equipment, with described at least one A equipment establishes service groups, and arranges the discovery window and vocational window of the service groups at least one described equipment.
In the specific implementation, the first equipment can send the service announcement letter for carrying instruction discovery window and vocational window Breath, to arrange the discovery window and vocational window of the service groups at least one equipment;Or first equipment can send Carry the service announcement information of instruction discovery window, then in discovery window by vocational window inform it is described at least one set It is standby;Or first equipment send and carry the service announcement information that window is negotiated in instruction, with described at least one in negotiating window The equipment of first addition service groups in a equipment is held consultation, and the discovery window and vocational window of service groups are obtained.
It should be noted that each equipment in NAN can use multiple business, multiple industry that each equipment uses simultaneously Business may not be identical again, therefore an equipment can be added multiple service groups simultaneously, multiple in each service groups to set It is standby to use identical services.In addition, a discovery window and at least one vocational window corresponding with the discovery window can be one A business processing period, the discovery window of service groups can be exactly that (the the such as the 1st, 2,3,4 ... ... waits DW window for the DW window of each NAN Mouth is all the discovery window of service groups), it is also possible to the DW window for having certain intervals NAN, interval can be 1 DW window of NAN Mouthful (the the such as the 1st, 3,5,7 ... ... wait windows be the discovery window of service groups), 2 DW windows (such as the of interval or NAN Isosorbide-5-Nitrae, 7,10 ... ... wait windows for the discovery window of service groups), or the DW window of NAN etc. of interval other quantity.Business The vocational window of group can be obtained by each discovery window by the offset of preset time and/or channel, find window and business Window can also find that the duration of window and vocational window can be according to business in different channels in identical channel The processing time is determined.Such as: a discovery window, which is defined, every 512ms or 1024ms first then finds window in every two Vocational window is defined in the time interval of mouth, it is found that the duration of window and vocational window can be 16ms;It can also be in entire industry Business defines a discovery window and a vocational window in the processing time.
S205, when first equipment determines at least one target device transmission data into the service groups and is believing When the wake-up notice that any one equipment being not received by least one described equipment in road competition process is sent, described first Equipment sends at least one described equipment in the discovery window and wakes up notice.
In the specific implementation, first equipment is identified according to the service groups, the industry is sent by wake-up notice At least one described equipment in business group.Since each equipment in NAN can be added multiple groups simultaneously, the first equipment hair The wake-up notice for carrying service groups mark is sent, can identify according to service groups, which will wake up notice, is sent to specified service groups. Wherein, waking up notice can be service discovery frame, and service groups mark can be placed in the first address of service discovery frame, first Equipment can will wake up notice and be sent directly to specified service groups;Service groups mark can also be placed on the of service discovery frame In three addresses, and broadcast address or specific multicast address are placed in the first address, the equipment in specified service groups is received To after wake-up notice, it can be confirmed that wake-up notice is destined to oneself according to third address, and other service groups are received To after waking up notice, it can be confirmed that service groups mark is not one's own;Service groups mark can also be with information element Form is placed in wake-up notice, after the equipment of specified services group receives wake-up notice, can know this by the information element It wakes up notice and is intended for oneself.
Wherein, service groups mark can be the MAC Address or other identifier of equipment, Business Name, business such as service groups Value after operation such as classification or MAC Address, Business Name, class of service etc..Service groups mark can be by first The equipment of the equipment of offer business or first lookup business provides, such as: equipment A provides music service, medium in NAN It is found to other equipment, equipment B searches music service.Equipment B has found equipment A by the service discovery mechanisms of NAN, in It is equipment B and equipment A establishes a service groups, it is same that the MAC Address of equipment A is sent to equipment B, equipment A and equipment B by equipment A When using the MAC Address of equipment A as service groups identify.Alternatively, the MAC Address of equipment B can be sent to equipment A by equipment B, if Standby A and equipment B is identified the MAC Address of equipment B as service groups simultaneously.When the other equipment such as equipment C, equipment D are added to industry When business group, service groups mark group can be sent to other equipment by equipment A or equipment B, at this time all devices in service groups Have and only same service groups identify.
Optionally, wake-up notice is encrypted in the first equipment;First equipment is by described by encrypting The wake-up notice of processing is sent at least one described equipment.Wherein, the key of encryption can also be by first offer industry The equipment of the equipment of business or first lookup business provides.
Optionally, waking up notice may include service announcements position table, after service announcements position table is used to indicate vocational window Multiple vocational windows are in wake-up states to carry out data transmission in above-mentioned multiple vocational windows in wake-up states.Such as: Service announcements position table can be 8 binary codes, continuous 8 vocational windows after indicating discovery window, if 8 binary codes Value is 01100111, then it represents that is carried out data transmission in the 2nd, 3,6,7,8 vocational window, at least one above-mentioned equipment receives this After the table of service announcements position, when reaching the vocational window of service announcements position table instruction every time in wake-up states.
Further, the first equipment in the discovery window in a manner of competitive channel resource at least one described equipment It sends and wakes up notice.Competitive channel resource mode is as follows: using carrier sense multiple access conflict avoidance CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) mechanism, it is reached when listening to idle time of channel When the predetermined time, as soon as starting to be kept out of the way with the random number generated, random number is subtracted 1 every preset time interval, when It when random number is kept to 0, sends wake up notice immediately, channel operating status is numerous if monitoring when random number fails to be reduced to 0 It is busy, then suspend and reduce the random number, when listening to the idle time of channel arrival predetermined time again, continues just to subtract random number 1.In CSMA/CA mechanism implementation procedure, if the first equipment receives the wake-up notice that at least one above-mentioned equipment is sent, the One equipment does not retransmit wake-up notice.
As long as at least one of the business is set it should be noted that the first equipment of service groups has sent wake-up notice It is standby to be no longer needed for sending wake-up notice.In addition, the first equipment is sent at least one equipment after waking up notice, can switch It can also be stayed awake for dormant state, some at least one above-mentioned equipment/a little equipment are determined into the service groups Target device send data but do not obtain channel resource during channel competition and send to wake up notice, therefore this certain A/a little equipment can all be switched to dormant state after discovery window reception to wake-up notice, can also keep waking up shape State;Some at least one above-mentioned equipment/a little equipment does not have data transmission to simply wait for receiving possible data, therefore this certain A/a little equipment can keep dormant state after discovery window reception to wake-up notice, when reaching vocational window, business All devices in group are in wake-up states.
S206, the second equipment is notified according to the wake-up that first equipment is sent, and is in when reaching the vocational window Wake-up states.
In the specific implementation, after the second equipment receives wake-up notice, it, can when the second equipment determines that no data are sent To keep dormant state when vocational window, it is switched to wake-up states;When the second equipment determines the mesh into the service groups When marking device sends data but do not obtain channel resource transmission wake-up notice during channel competition, it can keep waking up State is switched to dormant state from wake-up states, and wake-up states are then in when reaching vocational window.
S207, the paging window of first equipment in the vocational window are sent at least one described target device Paging message.
S208, the paging message that the second equipment is sent according to first equipment are called out in transmission window holding The state of waking up, and the data that first equipment is sent are received in the transmission window.
In embodiments of the present invention, pass through the first equipment in neighbouring sensing network and the first equipment support identical services At least one equipment establishes service groups, and discovery window and vocational window at least one equipment agreement service groups;When One equipment determines that the target device into service groups sends data and is not received by least one during channel competition and sets When the wake-up notice that preparation is sent, the first equipment sends at least one equipment in discovery window and wakes up notice, so that at least one Equipment in equipment in a dormant state is switched to wake-up states when reaching vocational window, so that at least one equipment reaches It is in wake-up states when vocational window to carry out data transmission in vocational window, to improve the efficiency of data transmission, subtracts Small power consumption.
Referring to FIG. 3, Fig. 3 is a kind of method for carrying out data transmission in neighbouring sensing network proposed by the present invention 3rd embodiment flow chart, as shown, the method in the embodiment of the present invention includes:
S301 is supporting the first equipment of identical services to build adjacent to the second equipment in sensing network and with second equipment Vertical service groups, and arrange with first equipment discovery window and vocational window of the service groups, first equipment and Second equipment is the equipment in the NAN.
In the specific implementation, the second equipment receives the service announcement message that first equipment is sent;The second equipment root According to the second equipment described in the service announcement message authentication whether with first equipment support identical services;It sets when described second When the standby support identical services with first equipment, second equipment sends business request information to first equipment, with Make first equipment that second equipment are added to the service groups according to the business request information.
S302, second equipment are set in the discovery window reception to described first come solely from the service groups The wake-up notice that preparation is sent, the notice that wakes up is that first equipment determines that at least one target into the service groups is set Preparation send data and is not received by the hair of any one equipment in the other equipment in the service groups during channel competition When the wake-up notice sent, first equipment is logical in the wake-up that other equipment of the discovery window into the service groups are sent Know.
In the specific implementation, the first equipment has sent wake-up notice, the institute of service groups belonging to the first equipment in discovery window There is equipment that can receive this and wake up notice, then they wake up according to this and notify, in the paging window of corresponding vocational window It all wakes up in mouthful, then the equipment inside entire service groups needs to carry out mutual paging according to what data were transmitted, is paged To equipment data to be received can be waited in next transmission window, page others' equipment in next transmission window Mouth can send data.When actual use, service groups any and an equipment can be the first equipment, if it It can compete and have sent wake-up notice.Due to being that competition is sent, so the other equipment in service groups are such as in discovery window Second equipment can only also receive the wake-up notice of the first equipment transmission.In the paging window of vocational window, the first equipment Its target device can be paged, other equipment can also page their corresponding target devices.Certainly, the first equipment can also be with It is paged.That is, the effect that this scheme reaches be exactly in service groups any one equipment prepare will to some other or When the certain equipment of person send business datum, it can first send a wake-up notice in discovery window, notify service groups In all devices in the paging window of vocational window all in wake-up states, can be and be originally dormant state, then cut Wake-up states are changed to, are also possible to be always maintained at wake-up states, then these equipment are mutually paged as needed, next Transmitted again, as long as and the equipment in discovery window in service groups there is one to have sent wakeup message, other equipment There is no need to retransmit wake-up to be notified of, as long as the paging window to corresponding vocational window is waken up.
In the specific implementation, after the second equipment receives wake-up notice, it, can when the second equipment determines that no data are sent To keep dormant state and when reaching vocational window, it is switched to wake-up states;When the second equipment is determined into the service groups Target device send data but do not obtained during channel competition channel resource send wake up notice when, can keep Wake-up states are switched to dormant state from wake-up states, and wake-up states are then in when reaching vocational window.Optionally, When second equipment it is described discovery window be not received by the other equipment in the service groups transmission wake-up notice when, Second equipment obtains the channel buty cycle in the discovery window, wherein the channel buty cycle includes but is not limited to The working time of the channel accounts for the ratio of the discovery window;Second equipment judges the letter in the discovery window Whether road buty cycle is more than preset threshold;When the channel buty cycle is more than preset threshold, second equipment reaches institute In wake-up states to carry out data transmission in the vocational window when stating vocational window.
S303, second equipment is notified according to the wake-up that first equipment is sent, when reaching the vocational window In wake-up states to carry out data transmission in the vocational window.Wherein, vocational window includes paging window and transmission window.
In the specific implementation, second equipment exists when the second equipment is when reaching the paging window in the vocational window The paging message that first equipment described in the paging window reception is sent;Second equipment is sent according to first equipment The paging message is stayed awake in the transmission window, and is received first equipment in the transmission window and sent Data.When second equipment is not received by the paging that the other equipment in the service groups are sent in the paging window When the other equipment of message and determination into the service groups do not have data transmission, second equipment reaches the transmission window It is restored to dormant state from wake-up states when mouth, to play the role of power saving.
In embodiments of the present invention, pass through the first equipment in neighbouring sensing network and the first equipment support identical services At least one equipment establishes service groups, and discovery window and vocational window at least one equipment agreement service groups;When One equipment determines that the target device into service groups sends data and is not received by least one during channel competition and sets When the wake-up notice that preparation is sent, the first equipment sends at least one equipment in discovery window and wakes up notice, so that at least one Equipment in equipment in a dormant state is switched to wake-up states when reaching vocational window, so that at least one equipment reaches It is in wake-up states when vocational window to carry out data transmission in vocational window, to improve the efficiency of data transmission, subtracts Small power consumption.
Referring to FIG. 4, Fig. 4 is the structural schematic diagram for the first equipment that the embodiment of the present invention proposes.As shown, of the invention The first equipment in embodiment includes:
Service groups establish module 401, for supporting identical services at least in neighbouring sensing network and with the first equipment One equipment establishes service groups, and arranges the discovery window and vocational window of the service groups at least one described equipment, First equipment and at least one described equipment are the equipment in the NAN.
In the specific implementation, as shown in figure 5, service groups establish module 401 can further include:
Information transmitting unit 501 sends service announcement information for the other equipment into the neighbouring sensing network, with Make the other equipment respectively according to the service announcement validation of information itself whether with first equipment support identical services.
Information receiving unit 502, for receiving in the other equipment for supporting identical services with first equipment The business request information that at least one described equipment is sent respectively.
Service groups establish unit 503, the business request information for being sent respectively according at least one described equipment, with institute It states at least one equipment and establishes service groups.
In addition, the first equipment can send carry instruction discovery window and vocational window service announcement information, with At least one equipment arranges the discovery window and vocational window of the service groups;Or first equipment can send and carry finger Show the service announcement information of discovery window, vocational window is then informed at least one described equipment in discovery window;Or First equipment, which is sent, carries the service announcement information that window is negotiated in instruction, in negotiating window and at least one described equipment First addition service groups equipment hold consultation, obtain the discovery window and vocational window of service groups.
It should be noted that each equipment in NAN can use multiple business, multiple industry that each equipment uses simultaneously Business may not be identical again, therefore an equipment can be added multiple service groups simultaneously, multiple in each service groups to set It is standby to use identical services.In addition, a discovery window and at least one vocational window corresponding with the discovery window can be one A business processing period, the discovery window of service groups can be exactly that (the the such as the 1st, 2,3,4 ... ... waits DW window for the DW window of each NAN Mouth is all the discovery window of service groups), it is also possible to the DW window for having certain intervals NAN, interval can be 1 DW window of NAN Mouthful (the the such as the 1st, 3,5,7 ... ... wait windows be the discovery window of service groups), 2 DW windows (such as the of interval or NAN Isosorbide-5-Nitrae, 7,10 ... ... wait windows for the discovery window of service groups), or the DW window of NAN etc. of interval other quantity.Business The vocational window of group can be obtained by each discovery window by the offset of preset time and/or channel, find window and business Window can also find that the duration of window and vocational window can be according to business in different channels in identical channel The processing time is determined.Such as: a discovery window is defined every 512ms or 1024ms first, is then found in every two Vocational window is defined in the time interval of window, it is found that the duration of window and vocational window can be 16ms;It can also be entire A discovery window and a vocational window are defined in traffic handling time.
Sending module 402 is notified, for determining that at least one target into the service groups is set when first equipment Preparation send data and what any one equipment for being not received by least one described equipment during channel competition was sent calls out When notice of waking up, is sent in the discovery window at least one described equipment and wake up notice, so that at least one described equipment Equipment in a dormant state is switched to wake-up states when reaching the vocational window, so that at least one described equipment arrives Be in wake-up states when up to the vocational window, so first equipment the vocational window in wake-up states At least one described target device carries out data transmission.
In the specific implementation, first equipment is identified according to the service groups, the industry is sent by wake-up notice At least one described equipment in business group.Since each equipment in NAN can be added multiple groups simultaneously, the first equipment hair The wake-up notice for carrying service groups mark is sent, can identify according to service groups, which will wake up notice, is sent to specified service groups. Wherein, waking up notice can be service discovery frame, and service groups mark can be placed in the first address of service discovery frame, first Equipment can will wake up notice and be sent directly to specified service groups;Service groups mark can also be placed on the of service discovery frame In three addresses, and broadcast address or specific multicast address are placed in the first address, the equipment in specified service groups is received To after wake-up notice, it can be confirmed that wake-up notice is destined to oneself according to third address, and other service groups are received To after waking up notice, it can be confirmed that service groups mark is not one's own;Service groups mark can also be with information element Form is placed in wake-up notice, after the equipment of specified services group receives wake-up notice, can know this by the information element It wakes up notice and is intended for oneself.
Wherein, service groups mark can be the MAC (Medium Access Control, media access control layer) of equipment Address or other identifier, such as Business Name, class of service or the MAC Address of service groups, Business Name, class of service process fortune Value after calculation etc..The equipment of equipment or first lookup business that service groups mark can provide business by first mentions For, such as: equipment A provides music service, and other equipment discovery is waited in NAN, and equipment B searches music service. Equipment B has found equipment A by the service discovery mechanisms of NAN, and then equipment B and equipment A establishes a service groups, and equipment A will The MAC Address of equipment A is sent to equipment B, equipment A and equipment B and identifies simultaneously using the MAC Address of equipment A as service groups.Or The MAC Address of equipment B can be sent to equipment A, equipment A and equipment B simultaneously using the MAC Address of equipment B as business by equipment B Group mark.When the other equipment such as equipment C, equipment D are added to service groups, service groups can be identified group by equipment A or equipment B Other equipment are sent to, all devices in service groups have at this time and only same service groups identify.
Optionally, wake-up notice is encrypted in first equipment;First equipment is by the process The wake-up notice of encryption is sent at least one described equipment.Wherein, the key of encryption is also possible to by first The equipment of the equipment of offer business or first lookup business provides.
Optionally, waking up notice may include service announcements position table, after service announcements position table is used to indicate vocational window Multiple vocational windows are in wake-up states to carry out data transmission in above-mentioned multiple vocational windows in wake-up states.Such as: Service announcements position table can be 8 binary codes, continuous 8 vocational windows after indicating discovery window, if 8 binary codes Value is 01100111, then it represents that is carried out data transmission in the 2nd, 3,6,7,8 vocational window, at least one above-mentioned equipment receives this After the table of service announcements position, when reaching the vocational window of service announcements position table instruction every time in wake-up states.
Further, the first equipment in the discovery window in a manner of competitive channel resource at least one described equipment It sends and wakes up notice.Competitive channel resource mode is as follows: using carrier sense multiple access conflict avoidance CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) mechanism, it is reached when listening to idle time of channel When the predetermined time, as soon as starting to be kept out of the way with the random number generated, random number is subtracted 1 every preset time interval, when It when random number is kept to 0, sends wake up notice immediately, channel operating status is numerous if monitoring when random number fails to be reduced to 0 It is busy, then suspend and reduce the random number, when listening to the idle time of channel arrival predetermined time again, continues just to subtract random number 1.In CSMA/CA mechanism implementation procedure, if the first equipment receives the wake-up notice that at least one above-mentioned equipment is sent, the One equipment does not retransmit wake-up notice.
As long as at least one of the business is set it should be noted that the first equipment of service groups has sent wake-up notice It is standby to be no longer needed for sending wake-up notice.In addition, the first equipment is sent at least one equipment after waking up notice, can switch It can also be stayed awake for dormant state, some at least one above-mentioned equipment/a little equipment are determined into the service groups Target device send data but do not obtain channel resource during channel competition and send to wake up notice, therefore this certain A/a little equipment can all be switched to dormant state after discovery window reception to wake-up notice, can also keep waking up shape State;Some at least one above-mentioned equipment/a little equipment does not have data transmission to simply wait for receiving possible data, therefore this certain A/a little equipment can keep dormant state after discovery window reception to wake-up notice, when reaching vocational window, business All devices in group are in wake-up states.
Optionally, as shown in figure 4, the first equipment 40 can further include:
Message transmission module 403 is sent for the paging window in the vocational window to the target device Paging message, so that the target device receives what first equipment was sent in the transmission window according to the paging message Data.Wherein, vocational window includes paging window and transmission window.In addition, when some at least one above-mentioned equipment/a little equipment When paging window and being not received by the paging message of any one of service groups equipment transmission and sent without data, this certain A/a little equipment can be switched to dormant state from wake-up states when reaching transmission window, to play the role of power saving.
In embodiments of the present invention, pass through the first equipment in neighbouring sensing network and the first equipment support identical services At least one equipment establishes service groups, and discovery window and vocational window at least one equipment agreement service groups;When One equipment determines that the target device into service groups sends data and is not received by least one during channel competition and sets When the wake-up notice that preparation is sent, the first equipment sends at least one equipment in discovery window and wakes up notice, so that at least one Equipment in equipment in a dormant state is switched to wake-up states when reaching vocational window, so that at least one equipment reaches It is in wake-up states when vocational window to carry out data transmission in vocational window, to improve the efficiency of data transmission, subtracts Small power consumption.
Referring to FIG. 6, Fig. 6 is the structural schematic diagram for the second equipment that the embodiment of the present invention proposes.As shown, of the invention The second equipment in embodiment includes:
Service groups establish module 601, for supporting the of identical services with second equipment in neighbouring sensing network One equipment establishes service groups, and arranges the discovery window and vocational window of the service groups with first equipment, and described One equipment and second equipment are the equipment in the NAN.
In the specific implementation, as shown in fig. 7, service groups establish module 601 can further include:
Message reception units 701, the service announcement message sent for receiving first equipment.
Business confirmation unit 702, for the second equipment according to the service announcement message authentication whether with described the One equipment supports identical services.
Message sending unit 703 is used for when second equipment and first equipment support identical services, Xiang Suoshu First equipment sends business request information, so that first equipment adds second equipment according to the business request information Enter to the service groups.
Notify receiving module 602, for the discovery window reception to come solely from the service groups described the The wake-up notice that one equipment is sent, the notice that wakes up is that first equipment determines at least one mesh into the service groups Marking device sends data and is not received by any of the other equipment in the service groups during channel competition and sets When the wake-up notice that preparation is sent, first equipment is called out what other equipment of the discovery window into the service groups were sent It wakes up and notifies.
In the specific implementation, after the second equipment receives wake-up notice, it, can when the second equipment determines that no data are sent To keep dormant state and when reaching vocational window, it is switched to wake-up states;When the second equipment is determined into the service groups Target device send data but do not obtained during channel competition channel resource send wake up notice when, can keep Wake-up states are switched to dormant state from wake-up states, and wake-up states are then in when reaching vocational window.
State wake-up module 603, the wake-up notice for being sent according to first equipment, reaches the vocational window When in wake-up states to carry out data transmission in the vocational window.
In the specific implementation, second equipment exists when the second equipment is when reaching the paging window in the vocational window The paging message that first equipment described in the paging window reception is sent;Second equipment is sent according to first equipment The paging message is stayed awake in the transmission window, and is received first equipment in the transmission window and sent Data.
Optionally, as shown in fig. 6, the second equipment 60 can further include:
State recovery module 604, for being not received by the service groups in the paging window when second equipment In the paging message that sends of other equipment and when determining that other equipment into the service groups do not have data transmission, reach It is restored to dormant state from wake-up states when the transmission window, to play the role of power saving.
Optionally, as shown in fig. 6, the second equipment 60 can further include:
State acquisition module 605, for being not received by the service groups in the discovery window when second equipment In other equipment send wake-up notice when, obtain it is described discovery window in channel buty cycle, the channel buty cycle packet It includes but the working time for being not limited to the channel accounts for the ratio of the discovery window.
Threshold value judgment module 606, for judging whether the channel buty cycle in the discovery window is more than default threshold Value.
State determining module 607, for reaching the vocational window when the channel buty cycle is more than preset threshold When in wake-up states to carry out data transmission in the vocational window.
In embodiments of the present invention, pass through the first equipment in neighbouring sensing network and the first equipment support identical services At least one equipment establishes service groups, and discovery window and vocational window at least one equipment agreement service groups;When One equipment determines that the target device into service groups sends data and is not received by least one during channel competition and sets When the wake-up notice that preparation is sent, the first equipment sends at least one equipment in discovery window and wakes up notice, so that at least one Equipment in equipment in a dormant state is switched to wake-up states when reaching vocational window, so that at least one equipment reaches It is in wake-up states when vocational window to carry out data transmission in vocational window, to improve the efficiency of data transmission, subtracts Small power consumption.
Please refer to Fig. 8.Fig. 8 is that one kind that the embodiment of the present invention proposes is used in neighbouring sensing network carry out data transmission System structural schematic diagram, as shown, system in the embodiment of the present invention includes at least the first equipment 40 and the second equipment 60, in which:
First equipment 40, for supporting at least one of identical services in neighbouring sensing network and with first equipment Equipment establishes service groups, and arranges the discovery window and vocational window of the service groups at least one described equipment;It is described First equipment and at least one described equipment are the equipment in the NAN;When first equipment is determined to the service groups In at least one target device send data and be not received by during channel competition at least one described equipment When the wake-up notice that any one equipment is sent, then first equipment is sent in the discovery window at least one described equipment Notice is waken up, so that the equipment at least one described equipment in a dormant state switches when the time reaching the vocational window To wake-up states, so that at least one described equipment is in wake-up states, and then described when reaching the vocational window One equipment carries out data transmission in the vocational window at least one target device described in wake-up states.
Second equipment 60, when second equipment it is described discovery window be not received by the service groups other set When the wake-up notice that preparation is sent, second equipment obtains the channel buty cycle in the discovery window, the channel buty cycle Working time including the channel accounts for the ratio of the discovery window;Second equipment judges the institute in the discovery window State whether channel buty cycle is more than preset threshold;When the channel buty cycle is more than preset threshold, second equipment is arrived In wake-up states to carry out data transmission in the vocational window when up to the vocational window.
Fig. 9 is a kind of knot for equipment for carrying out data transmission in neighbouring sensing network that the embodiment of the present invention proposes Structure schematic diagram.The equipment is the first equipment.As shown, first equipment may include: at least one processor 901, Such as CPU, at least one receiver 903, at least one processor 904, at least one transmitter 905, at least one communication are total Line 902.Wherein, communication bus 902 is for realizing the connection communication between these components.Wherein, device in the embodiment of the present invention Receiver 903 and transmitter 905 can be wired sending port, or wireless device is used for example including antenna assembly In the communication for carrying out signaling or data with other node devices.Memory 904 can be high speed RAM memory, be also possible to non- Unstable memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 904 is optionally gone back It can be at least one storage device for being located remotely from aforementioned processor 901.Batch processing code is stored in memory 904, and Processor 901 is for calling the program code stored in memory, for performing the following operations:
First equipment and support at least one equipment of identical services to establish service groups with first equipment, and with it is described At least one equipment arranges the discovery window and vocational window of the service groups;First equipment and it is described at least one set Standby is the equipment in the NAN;
When first equipment determine at least one target device into the service groups send data and in channel it is competing When the wake-up notice that any one equipment being not received by least one described equipment during striving is sent, then described first set Standby send in the discovery window at least one described equipment wakes up notice, so as to be in suspend mode at least one described equipment The equipment of state is switched to wake-up states when the time reaching the vocational window, so that at least one described equipment reaches institute Wake-up states are in when stating vocational window, and then first equipment is in the vocational window and in described in wake-up states At least one target device carries out data transmission.
It is described another embodiment of the present invention provides a kind of equipment for carrying out data transmission in neighbouring sensing network Equipment is the second equipment.Second equipment may include: at least one processor, such as CPU, at least one receiver, until A few memory, at least one transmitter, at least one communication bus.Wherein, communication bus for realizing these components it Between connection communication.Wherein, the receiver of device and transmitter can be wired sending port in the embodiment of the present invention, can also be with For wireless device, for example including antenna assembly, for carrying out the communication of signaling or data with other node devices.Memory can be with It is high speed RAM memory, is also possible to nonvolatile memory (non-volatile memory), for example, at least a disk Memory.Memory optionally can also be that at least one is located remotely from the storage device of aforementioned processor.It is stored in memory Batch processing code, and processor is used to call the program code stored in memory, for performing the following operations:
Second equipment and the first equipment of identical services is supported to establish service groups with second equipment, and with described first Equipment arranges the discovery window and vocational window of the service groups;First equipment and second equipment are described Equipment in NAN;
Second equipment is in the discovery window reception to first equipment hair come solely from the service groups The wake-up notice sent, the notice that wakes up is that first equipment determines at least one target device hair into the service groups It send data and is not received by the transmission of any one equipment in the other equipment in the service groups during channel competition When waking up notice, first equipment is notified in the wake-up that other equipment of the discovery window into the service groups are sent;
Second equipment is notified according to the wake-up that first equipment is sent, and is in and is called out when reaching the vocational window The state of waking up in the vocational window to carry out data transmission.
It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned The combination of actions of column, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because For according to the present invention, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily this hair Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, reference can be made to the related descriptions of other embodiments.
It should also be noted that, herein, the relational terms of such as " first ", " second " ... etc be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
It is provided for the embodiments of the invention content download method above and relevant device, system are described in detail, Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as Limitation of the present invention.

Claims (20)

1. a kind of method for carrying out data transmission in neighbouring sensing network NAN, which is characterized in that the described method includes:
First equipment and support at least one equipment of identical services to establish service groups with first equipment, and with it is described at least One equipment arranges the discovery window and vocational window of the service groups;First equipment and at least one described equipment are equal For the equipment in the NAN;
When first equipment determines that at least one target device into the service groups sends data and in channel competition mistake When the wake-up notice that any one equipment being not received by least one described equipment in journey is sent, then first equipment exists The discovery window sends at least one described equipment and wakes up notice, so that at least one described equipment in a dormant state Equipment be switched to wake-up states when the time reaching the vocational window so that at least one described equipment reaches the industry It is engaged in being in wake-up states when window, and then first equipment in the vocational window and is in described in wake-up states at least One target device carries out data transmission.
2. the method as described in claim 1, which is characterized in that described to wake up the service groups mark that notice includes the service groups Know, first equipment sends wake-up notice at least one described equipment in the discovery window and includes:
First equipment is identified according to the service groups, by the wake-up notice be sent in the service groups described at least One equipment.
3. method according to claim 1 or 2, which is characterized in that the vocational window includes paging window and transmission window, First equipment is sent in the discovery window at least one described equipment after wake-up notice, further includes:
The paging window of first equipment in the vocational window sends at least one described target device and pages Message is sent out so that at least one described target device receives first equipment in the transmission window according to the paging message The data sent.
4. the method as described in claim 1, which is characterized in that first equipment and with first equipment support mutually the same trade At least one equipment of business establishes service groups and includes:
Other equipment of first equipment into the NAN send service announcement information, so that the other equipment distinguish root According to the service announcement validation of information itself whether with first equipment support identical services;
First equipment receive in the other equipment for supporting identical services with first equipment it is described at least one The business request information that equipment is sent respectively;
The business request information that first equipment is sent respectively according at least one described equipment, at least one described equipment Establish service groups.
5. a kind of method for carrying out data transmission in neighbouring sensing network NAN, which is characterized in that the described method includes:
Second equipment and support the first equipment of identical services to establish service groups with second equipment, and with first equipment Arrange the discovery window and vocational window of the service groups;First equipment and second equipment are in the NAN Equipment;
Second equipment is sent in the discovery window reception to first equipment come solely from the service groups Notice is waken up, the notice that wakes up is that first equipment determines that at least one target device into the service groups sends number The wake-up that any one equipment being not received by the other equipment in the service groups during according to and channel competition is sent When notice, first equipment is notified in the wake-up that other equipment of the discovery window into the service groups are sent;
Second equipment is notified according to the wake-up that first equipment is sent, when reaching the vocational window in wake-up shape State in the vocational window to carry out data transmission.
6. method as claimed in claim 5, which is characterized in that the method also includes:
When the wake-up that second equipment is not received by the transmission of the other equipment in the service groups in the discovery window is logical When knowing, second equipment obtains the channel buty cycle in the discovery window, and the channel buty cycle includes the channel Working time accounts for the ratio of the discovery window;
Second equipment judges whether the channel buty cycle in the discovery window is more than preset threshold;
When the channel buty cycle is more than preset threshold, second equipment is when reaching the vocational window in wake-up shape State in the vocational window to carry out data transmission.
7. such as method described in claim 5 or 6, which is characterized in that second equipment and support phase with second equipment The first equipment with business establishes service groups and includes:
Second equipment receives the service announcement message that first equipment is sent;
Second equipment, second equipment according to the service announcement message authentication whether with first equipment support phase Same business;
When second equipment and first equipment support identical services, second equipment is sent to first equipment Business request information, so that second equipment is added to the business according to the business request information by first equipment Group.
8. method as claimed in claim 5, which is characterized in that the vocational window includes paging window and transmission window, institute The wake-up that the second equipment is sent according to first equipment is stated to notify, be in when reaching the vocational window wake-up states with The vocational window carries out data transmission
The paging message that second equipment, first equipment described in the paging window reception is sent;
The paging message that second equipment is sent according to first equipment keeps waking up shape in the transmission window State, and the data that first equipment is sent are received in the transmission window.
9. method as claimed in claim 5, which is characterized in that the vocational window includes paging window and transmission window, institute The wake-up that the second equipment is sent according to first equipment is stated to notify, be in when reaching the vocational window wake-up states with The vocational window carries out data transmission
When second equipment disappears in the paging that the other equipment that the paging window is not received by the service groups are sent When ceasing and determining that the other equipment into the service groups do not have data transmission, second equipment reaches the transmission window When from wake-up states be restored to dormant state.
10. a kind of equipment for carrying out data transmission in neighbouring sensing network NAN, the equipment is the first equipment, special Sign is that first equipment includes:
Service groups establish module, are used for and support at least one equipment of identical services to establish service groups with first equipment, And arrange the discovery window and vocational window of the service groups at least one described equipment;First equipment and it is described extremely Few equipment is the equipment in the NAN;
Notify sending module, at least one target device for being determined when first equipment into the service groups sends number When the wake-up notice that any one equipment being not received by least one described equipment during according to and channel competition is sent, It is then sent in the discovery window at least one described equipment and wakes up notice, so as to be in suspend mode at least one described equipment The equipment of state is switched to wake-up states when the time reaching the vocational window, so that at least one described equipment reaches institute Wake-up states are in when stating vocational window, and then first equipment is in the vocational window and in described in wake-up states At least one target device carries out data transmission.
11. equipment as claimed in claim 10, which is characterized in that described to wake up the service groups mark that notice includes the service groups Know,
The notice sending module is identified with specific reference to the service groups, sends wake-up notice in the service groups At least one described equipment.
12. equipment as described in claim 10 or 11, which is characterized in that the vocational window includes paging window and transmission window Mouthful, the equipment further include:
Message transmission module is sent for the paging window in the vocational window at least one described target device Paging message is set so that at least one described target device receives described first in the transmission window according to the paging message The data that preparation is sent.
13. equipment as claimed in claim 10, which is characterized in that the service groups establish module and include:
Information transmitting unit sends service announcement information for the other equipment into the neighbouring sensing network, so that described Other equipment respectively according to the service announcement validation of information itself whether with first equipment support identical services;
Information receiving unit, for receive with first equipment support identical services the other equipment in described at least The business request information that one equipment is sent respectively;
Service groups establish unit, the business request information for being sent respectively according at least one described equipment, with it is described at least One equipment establishes service groups.
14. a kind of equipment for carrying out data transmission in neighbouring sensing network NAN, the equipment is the second equipment, special Sign is that second equipment includes:
Service groups establish module, are used for and support the first equipment of identical services to establish service groups with second equipment, and with First equipment arranges the discovery window and vocational window of the service groups;First equipment and second equipment are equal For the equipment in the NAN;
Receiving module is notified, in the discovery window reception to first equipment hair come solely from the service groups The wake-up notice sent, the notice that wakes up is that first equipment determines at least one target device hair into the service groups It send data and is not received by the transmission of any one equipment in the other equipment in the service groups during channel competition When waking up notice, first equipment is notified in the wake-up that other equipment of the discovery window into the service groups are sent;
State wake-up module, the wake-up notice for being sent according to first equipment, is in when reaching the vocational window Wake-up states in the vocational window to carry out data transmission.
15. equipment as claimed in claim 14, which is characterized in that second equipment further include:
State acquisition module, for being not received by other in the service groups in the discovery window when second equipment When the wake-up notice that equipment is sent, the channel buty cycle in the discovery window is obtained, the channel buty cycle includes the letter The working time in road accounts for the ratio of the discovery window;
Threshold value judgment module, for judging whether the channel buty cycle in the discovery window is more than preset threshold;
State determining module, for being in when reaching the vocational window when the channel buty cycle is more than preset threshold Wake-up states in the vocational window to carry out data transmission.
16. the equipment as described in claims 14 or 15, which is characterized in that the service groups establish module and include:
Message reception units, the service announcement message sent for receiving first equipment;
Business confirmation unit, for the second equipment according to the service announcement message authentication whether with the first equipment branch Hold identical services;
Message sending unit, for when second equipment and first equipment support identical services, Xiang Suoshu first to be set Preparation send business request information, so that second equipment is added to institute according to the business request information by first equipment State service groups.
17. equipment as claimed in claim 14, which is characterized in that the vocational window includes paging window and transmission window,
The state wake-up module is specifically used for the paging message that the first equipment described in the paging window reception is sent;According to The paging message that first equipment is sent, stays awake for, and connect in the transmission window in the transmission window Receive the data that first equipment is sent.
18. equipment as claimed in claim 14, which is characterized in that the vocational window includes paging window and transmission window, The equipment further include:
State recovery module, for being not received by other in the service groups in the paging window when second equipment When the paging message and the determining other equipment into the service groups that equipment is sent do not have data transmission, the transmission is reached Dormant state is restored to from wake-up states when window.
19. a kind of system for carrying out data transmission in neighbouring sensing network NAN, which is characterized in that the system is at least It include: the first equipment and the second equipment, first equipment includes any device as described in claim 10~13, and described Two equipment include any device as described in claim 14~18.
20. a kind of equipment for carrying out data transmission in neighbouring sensing network NAN, the equipment is the first equipment, special Sign is that first equipment includes network interface, memory and processor, wherein batch processing generation is stored in memory Code, and processor is used to call the program code stored in memory, for performing the following operations:
First equipment and support at least one equipment of identical services to establish service groups with first equipment, and with it is described at least One equipment arranges the discovery window and vocational window of the service groups;First equipment and at least one described equipment are equal For the equipment in the NAN;
When first equipment determines that at least one target device into the service groups sends data and in channel competition mistake When the wake-up notice that any one equipment being not received by least one described equipment in journey is sent, then first equipment exists The discovery window sends at least one described equipment and wakes up notice, so that at least one described equipment in a dormant state Equipment be switched to wake-up states when the world reaches the vocational window so that at least one described equipment reaches the industry It is engaged in being in wake-up states when window, and then first equipment in the vocational window and is in described in wake-up states at least One target device carries out data transmission.
CN201580023415.3A 2015-02-17 2015-02-17 A kind of method and relevant device for carrying out data transmission in neighbouring sensing network Active CN106465130B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/073233 WO2016131196A1 (en) 2015-02-17 2015-02-17 Method and associated device used for data transmission in a neighbor awareness network

Publications (2)

Publication Number Publication Date
CN106465130A CN106465130A (en) 2017-02-22
CN106465130B true CN106465130B (en) 2019-11-19

Family

ID=56692269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580023415.3A Active CN106465130B (en) 2015-02-17 2015-02-17 A kind of method and relevant device for carrying out data transmission in neighbouring sensing network

Country Status (2)

Country Link
CN (1) CN106465130B (en)
WO (1) WO2016131196A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019139627A1 (en) * 2018-01-15 2019-07-18 Nokia Technologies Oy Service discovery in wireless network
CN109257706B (en) * 2018-08-10 2021-03-02 Oppo广东移动通信有限公司 Information pushing method and related equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085595B2 (en) * 2003-12-16 2006-08-01 Intel Corporation Power saving in a wireless local area network
CN101340313B (en) * 2008-08-12 2011-12-07 中兴通讯股份有限公司 Distributed system capable of implementing energy saving and consumption lowering, and control method for energy saving and consumption lowering
US20110289332A1 (en) * 2010-05-24 2011-11-24 Advanced Micro Devices, Inc. Method and apparatus for power management in a multi-processor system
CN103914295B (en) * 2013-01-09 2017-07-25 宏达国际电子股份有限公司 Wake events management method, wake events managing device
US9510286B2 (en) * 2013-03-27 2016-11-29 Qualcomm Incorporated Systems and methods for synchronization within a neighborhood aware network
US20140328168A1 (en) * 2013-05-06 2014-11-06 Minyoung Park Apparatus, system and method of adjusting transmission intervals for discovery frames

Also Published As

Publication number Publication date
WO2016131196A1 (en) 2016-08-25
CN106465130A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US9338799B2 (en) Method for random access of machine to machine (M2M) terminals
CN105532065B (en) System and method for OFDMA PS-Poll transmission
CN107079241B (en) Communication between the equipment of neighbours' sensing network
JP7462766B2 (en) Method and device for sidelink communications - Patents.com
KR102330244B1 (en) Traffic advertisement in neighbor aware network (nan) data path
CN108616968B (en) Method and apparatus for transmitting frame
CN107211372A (en) Trigger-type target recovery time is operated
CN103945497B (en) Sending method, communication terminal and the system of signal are found in terminal direct communication
KR20180135123A (en) System and method for always on connections in wireless communications system
WO2015018353A1 (en) Paging method, paging message obtaining method, base station, and terminal
CN103327579A (en) Method and device of sleep
CN103929823A (en) Electric wireless private network channel access control method based on service classification
CN103686619A (en) Quick cluster business establishment method and related equipment and system
US20140192694A1 (en) Triggering downlink traffic with timing indication
WO2017133462A1 (en) System message update indication method, device, and system
WO2019063017A1 (en) Information transmission method and device
CN103248436A (en) Method for avoiding hidden terminal and exposed terminal of underwater acoustic communication network
JP2016131312A (en) Communication control method and communication apparatus
WO2009084874A1 (en) Method of transmitting and receiving a paging message in a mobile communication system
KR20120090855A (en) Method for transmitting signal in machine to machine comunication
JP2012531161A (en) Communication device, communication method and product
CN104768233A (en) A D2D communicating method and terminal
JP6754489B2 (en) How to facilitate random access, network nodes and terminal devices
CN107809789B (en) Communication method, communication device, access point and station of wireless local area network
CN106465130B (en) A kind of method and relevant device for carrying out data transmission in neighbouring sensing network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant