CN109089207A - Service recourse method and Related product - Google Patents

Service recourse method and Related product Download PDF

Info

Publication number
CN109089207A
CN109089207A CN201810908229.3A CN201810908229A CN109089207A CN 109089207 A CN109089207 A CN 109089207A CN 201810908229 A CN201810908229 A CN 201810908229A CN 109089207 A CN109089207 A CN 109089207A
Authority
CN
China
Prior art keywords
equipment
service
cluster
target device
sdf message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810908229.3A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810908229.3A priority Critical patent/CN109089207A/en
Publication of CN109089207A publication Critical patent/CN109089207A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]

Abstract

The embodiment of the present application discloses a kind of service recourse method and Related product, it include: when detecting preset service request, multiple equipment broadcast first service into the first cluster in addition to the first equipment finds frame SDF message, and the first SDF message includes preset service information;When receiving the 2nd SDF message of at least one the second equipment in multiple equipment, selection includes the feedback information for preset service information for providing at least one target device of preset service, the 2nd SDF message from least one second equipment;With at least one target device negotiation data transmission channel;Data transmission channel through consultation sends the location information of preset service at least one target device.The embodiment of the present application is conducive to promote the stability and timeliness sought help.

Description

Service recourse method and Related product
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of service recourse method and Related product.
Background technique
With a large amount of universal and fast development of electronic equipment (for example, smart phone), more and more applications are mounted In the electronic equipment of user, such as video class application, game class application, the application of music class etc., wherein the use of extensive application Mobile data network will be depended on.
Currently, people, which work as, encounters emergency, for example, unexpected disease, crime dramas etc., can select to dial by mobile phone tightly First aid helps phone, but may delay the processing of emergency due to the equidistant spot of hospital or public security bureau farther out.
Summary of the invention
The embodiment of the present application provides a kind of service recourse method and Related product, can be promoted the stability sought help and when Effect property.
In a first aspect, the embodiment of the present application provides a kind of service recourse method, it is applied to the first equipment, described first sets Standby is the first NAN equipment in sensing network NAN network, which comprises
Multiple equipment broadcast first when detecting preset service request, into the first cluster in addition to first equipment Service discovery frame SDF message, the first SDF message include the preset service information;
When receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, from it is described at least Selection is used to provide the described at least one target device of preset service in one the second equipment, and the 2nd SDF message includes For the feedback information of the preset service information;
With at least one described target device negotiation data transmission channel;
The data transmission channel through consultation sends the position of the preset service at least one described target device Confidence breath.
Second aspect, the embodiment of the present application provide a kind of service recourse device, are applied to the first equipment, described first sets Standby is the first NAN equipment in sensing network NAN network, and the service recourse device includes transmission unit, selection unit And communication unit, in which:
The transmission unit, for when detect preset service request when, into the first cluster in addition to first equipment Multiple equipment broadcast first service find frame SDF message, the first SDF message includes the preset service information;
The selection unit, for as the 2nd SDF for receiving at least one the second equipment in the multiple equipment When message, selection is used to provide the described at least one target device of preset service, institute from least one described second equipment Stating the 2nd SDF message includes the feedback information for the preset service information;
The communication unit is used for and at least one described target device negotiation data transmission channel;
The transmission unit, is also used to: the data transmission channel through consultation is at least one described target device Send the location information of the preset service.
The third aspect, the embodiment of the present application provide a kind of first equipment, comprising: processor, memory and one or Multiple programs;One or more of programs are stored in above-mentioned memory, and are configured to be executed by the processor, Described program is included the steps that for executing instruction described in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein described computer-readable Storage medium is stored with the computer program for electronic data interchange, which specifically includes instruction, described instruction Include for executing step, the computer some or all of as described in the embodiment of the present application first aspect either method First equipment.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein the computer program product Non-transient computer readable storage medium including storing computer program, the computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet, the computer includes the first equipment.
As can be seen that the embodiment of the present application in, the first equipment first when detect preset service request when, into the first cluster Multiple equipment broadcast first service in addition to first equipment finds that frame SDF message, the first SDF message include described Preset service information, then, when receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, Selection is used to provide the described at least one target device of preset service from least one described second equipment, and described second SDF message includes the feedback information for the preset service information, then, at least one described target device negotiation data Transmission channel, finally, the data transmission channel through consultation sends the default clothes at least one described target device The location information of business.As it can be seen that when needing urgent service to seek help, tool is requested by NAN network in same cluster for the first equipment The equipment of the user of the standby service, since the equipment in same cluster is closer, the user of the first equipment can be made It is timely helped, is conducive to the timeliness for promoting relief, moreover, the recourse method does not need to avoid using mobile network First equipment is because of the stability that the case where position of no mobile network service can not seek help, the service of improving is sought help.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of the DW of one cluster of NAN network disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow diagram for servicing recourse method disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of the service recourse method of another kind disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of the service recourse method of another kind disclosed in the embodiment of the present application;
Fig. 5 is the structural schematic diagram of the first equipment of one kind disclosed in the embodiment of the present application;
Fig. 6 is a kind of functional unit composition block diagram for servicing recourse device disclosed in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment, the first equipment as described below and second Equipment is the electronic equipment.It describes in detail below to the embodiment of the present application.
NAN mechanism is briefly described first, close on sensing network (Neighbor Awareness Network, Abbreviation NAN) mechanism be Wireless Fidelity Wi-Fi Alliance work out a standard, the effect of this standard is in no central node In the case where, so that all equipment (i.e. NAN equipment) synchronization onwards for participating in NAN mechanism are come, in the discovery time of NAN mechanism agreement Maintenance work and service discovery work, the service discovery that NAN mechanism is carried out in window (Discovery Window, abbreviation DW) are i.e. logical Cross the realization of transmission service discovery frame (Service Discovery Frame, abbreviation SDF) message, the service discovery frame message Including query messages or broadcast message.Equipment can establish corresponding connection based on the information obtained in service discovery, then into The transmission of row data.
Specifically, can be discovery channel with the 6th channel in NAN mechanism in the standard that Wi-Fi Alliance is specified, On 6th channel, for each cluster, the duration of discovery time window DW is fixed, and two DW of the arbitrary neighborhood of the cluster Between time interval be also fixed.
In NAN mechanism, setting is found window (discovery window, DW), and NAN equipment can be taken in DW Business discovery.It is provided with a DW in general every 512 TU (time unit, time quantum) of NAN mechanism, one of TU's holds Continuous duration is about that the duration of 1024 μ s, DW is generally 16TU, i.e., in NAN mechanism, generally every 496 TU settings one A DW.In NAN mechanism, one cluster Cluster (also known as adjacent to sensing network) of one or more NAN equipment formation, one Cluster enter DW when, by the Cluster be in host node (master), anchor host node (anchor master, AM), And the NAN of host node (non-master synchronization, non-master sync) state for being responsible for synchronization etc. is set Preparation send sync beacon frame (sync beacon) message, the information of the AM in the Cluster is carried in the message, for connecing The NAN equipment for receiving the message is synchronous with the AM realization in the Cluster.
Illustratively, as shown in Figure 1, being the schematic diagram of the DW of a cluster, according to the standard that Wi-Fi Alliance is formulated, in DW In, the NAN equipment in the cluster can send service discovery frame SDF message in DW, carry out service discovery, the time other than DW In, the NAN equipment in the cluster can send discovery beacon (discovery beacon) message, to declare the presence of the cluster.Cluster In each NAN equipment service discovery can be carried out in DW, to find that other NAN that can carry out data transmission with it are set It is standby.After service discovery, at least two NAN equipment for needing to carry out data transmission between each other can arrange in the DW Running time-frequency resource and internetwork connection mode, and after the DW, according to the network connection side of agreement on the running time-frequency resource of agreement The NAN network of the corresponding non-stop layer node of formula component.
The process that NAN equipment completes service discovery is as follows:
1, after a device activation NAN function (after becoming NAN equipment), itself can be set to AM, creates one Cluster, and set the Cluster's based on the MAC of itself (Media Access Control, medium access control) address Cluster identity (Identity, ID) value, sets time synchronization function TSF to the integral multiple of 512TU.
Once 2, the NAN equipment receives the Beacon frame that the NAN equipment from one or more other Cluster is sent When (i.e. sync beacon is collectively referred to as Beacon frame below), so that it may judge whether oneself will be added the Cluster of other side.
In Beacon frame, the information of corresponding Cluster is generally carried, specifically can be in corresponding Cluster AM information, such as may include anchor host node grade (anchor master rank, AMR), host node grade (master Rank, MR), host node priority (Master Preference, MP), anchor host node priority (anchor Master Preference, AMP), enchancement factor (random factor, RF), anchor host node signal transmission time (Anchor Master Beacon Transmission Time, AMBTT), time synchronization function (time synchronization function, TSF), one of Cluster ID and cluster grade (Cluster grade, CG) or a variety of.
The information of the AM of Cluster belonging to oneself can be sent to it by sending Beacon frame by one NAN equipment His NAN equipment, equally, a NAN equipment also can receive the transmission of the NAN equipment in this Cluster or other Cluster Beacon frame.
After NAN equipment receives a Beacon frame, it can be determined that the Beacon frame is belonging to itself NAN equipment in the Cluster still NAN equipment in other Cluster, if the NAN in other Cluster is set Standby, then the NAN equipment may determine that whether the value of the cluster grade CG in received Beacon frame is greater than the cluster grade CG's of itself Value, if more than then the corresponding Cluster of the received Beacon frame is added in the NAN equipment, and otherwise, which, which does not do, locates Reason.This completes the polymerizations of NAN equipment, that is, the higher Cluster of value of cluster grade CG can be added in NAN equipment.
If 3, judging, the Cluster of other side will be added in determination, be added other side Cluster after with addition AM in Cluster, which is realized, to be synchronized, in the Cluster that specifically can be the parameters information and addition in the AM by itself AM is synchronous, such as itself original time synchronization function TSF is updated to the TSF etc. of the AM in the Cluster being added.
4, after synchronization, when the DW of the Cluster of addition arrives, which sends SDF (Service in DW Discovery Frames, service discovery frame) message to carry out service discovery, can for example carry in the SDF message and be used for Service-seeking (Service Subscription) information of service needed for inquiry, or can for example carry for issuing this (Service Publish) information is issued in the service for the service that NAN equipment is capable of providing, other NAN equipment are receiving this NAN equipment send SDF message after, however, it is determined that meet the SDF message, Service Matching can be carried out, then can in DW to The NAN device replied SDF message.
Likewise, in DW, the NAN equipment may also can receive the transmission of other NAN equipment for carrying out service hair Existing SDF message, if the NAN equipment, which determines, meets the received SDF message of institute, which also can be in DW to corresponding NAN device replied SDF message.
The various information for including in AM is explained below.
Anchor host node grade AMR, general maximum value are 8 bytes (byte), are the values of the MR of AM.
Host node grade MR, general maximum value are 8 bytes, are the MAC according to MP value, RF value and this NAN equipment Address calculation obtains, indicates that the NAN equipment wants the wish as master.The value of MR is bigger, shows that the NAN equipment is wanted to work as master Wish is higher.MR can also regard the other expression-form of MP as.
Host node priority MP, general maximum value are 1 byte, show that this NAN equipment wants the wish as master.MP Value it is bigger, show the NAN equipment want when master wish it is higher.
Anchor host node priority AMP, general maximum value are 1 byte, are the values of the MP of AM.
Enchancement factor RF, general maximum value are 1 byte, are the random numbers of NAN equipment selection.
Anchor host node signal transmission time AMBTT, general maximum value are 4 bytes, show the hair of the Beacon frame of AM Send the time.In general, the NAN equipment for sending Beacon frame can carry AMBTT, for other NAN equipment and this AMBTT pairs The time of the AM answered, which is realized, to be synchronized.
Time synchronization function TSF, general maximum value are 8 bytes, show the synchronizing function of NAN equipment, so that receiving Timer (timer) to the NAN equipment of the TSF is synchronous with the time realization of the corresponding AM of NAN equipment of the TSF is sent.TSF It can also indicate temporal information.
Cluster identity Cluster ID, general maximum value are 6 bytes, are carried in Beacon frame In the field of Address (address) 3.
Cluster grade CG, general maximum value are 8 bytes, indicate the grade of Cluster, exist for different Cluster It is compared when merging, the small Cluster of the value of CG is merged into the big Cluster of value of CG.
Service discovery frame SDF message introduced below.
SDF message is the action action frame (Action Frame) that a kind of special definition is used to do service discovery, not according to function Together, SDF message can substantially be divided into three kinds: SDF publication Publish message, SDF subscribes to Subscribe message, SDF is replied In general Follow-Up message includes an indicating bit in SDF message, being used to indicate the SDF message is which kind of SDF disappears Breath.
SDF Publish message: the service that can be provided for issuing NAN equipment, or for replying other NAN received The SDF Subscribe message that equipment is sent;
SDF Subscribe message: service to be used is needed for searching;
SDF Follow-Up message: for replying the SDF Publish message received, or for negotiating more to believe Breath.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram for servicing recourse method, it is applied to First equipment, first equipment is the NAN equipment in neighbouring sensing network NAN network, as shown, this service recourse method Include:
S201, the first equipment are more in addition to first equipment into the first cluster when detecting preset service request A device broadcasts first service finds frame SDF message, and the first SDF message includes the preset service information;
Wherein, the preset service request includes that alert service request, medical services request, Fire-Fighting Service request etc. are urgent Service request under seeking help, it is not limited here
Wherein, what the user that the preset service request can be the first equipment actively triggered, such as pass through selection first The preset service request dialing of equipment or preset service request button etc., trigger condition does not do unique restriction, is also possible to the When one equipment detects emergency by sensor, what the first equipment actively triggered, for example, being passed when the first equipment passes through smog When sensor detects that smokescope is greater than preset concentration threshold value, the Fire-Fighting Service request of triggering, or when the first equipment passes through the heart When rate sensor detects that the heart rate of user is abnormal, medical services request of triggering etc., it is not limited here.
Wherein, the first SDF message is specially SDF Subscribe message, and the preset service information may include Preset service mark, the multiple equipment identify different service types according to preset service.
Wherein, may include in the multiple equipment in first cluster in addition to first equipment it is described at least one Two equipment, it is also possible to do not include at least one described second equipment, when not including at least one described second equipment, it is described extremely Few second equipment can receive the first SDF message by the trunking in the first cluster.
S202, first equipment is as the 2nd SDF for receiving at least one the second equipment in the multiple equipment When message, selection is used to provide the described at least one target device of preset service, institute from least one described second equipment Stating the 2nd SDF message includes the feedback information for the preset service information;
Wherein, second equipment, can be by identifying in preset service information when receiving the first SDF message Specific service type detects whether the key mark of itself includes the service type according to service type, when included to institute It states the first equipment and sends the 2nd SDF message, do not need to disappear to first equipment transmission the 2nd SDF when not including Breath, the 2nd SDF message specifically can be SDF Publish message, wherein each equipment has multiple key marks, should Key mark can be actively to be pre-seted in a device by user, which can be the occupational information of user, such as Doctor, nurse, pharmacy shopkeeper, police, fireman etc., are also possible to specific performance information, for example, velocity is fast, urgent Salvor's qualification etc., it is not limited here.
Wherein, when second equipment is not the equipment in first cluster, the first equipment can be by the first cluster Trunking receive the second equipment the 2nd SDF message, the trunking may include in the first trunking and second After equipment, the first trunking can be the trunking that internet communication can be carried out in the first cluster, and the second trunking can To be that there are the trunkings in the first cluster and in other multiple clusters, it is not limited here.
Wherein, the selection from least one described second equipment is used to provide the described at least one mesh of preset service The specific implementation of marking device can be it is diversified, such as can be according between the second equipment and the first equipment away from It is closely target device from selected distance, is also possible to be carried out according to the age of the corresponding user of the second equipment to choose target and sets Standby, for example, healthcare givers can choose the age between 35-40 years old, experience can choose the age compared with horn of plenty, fire fighter Between 25-30, physical strength more abundance etc., it is not limited here.
S203, first equipment and at least one described target device negotiation data transmission channel;
In the specific implementation, for the transmission channel between the first equipment and at least one target device, negotiations process can be with Being the first equipment carries out transmission channel negotiation by SDF Follow-Up message and at least one target device, moreover, it is described extremely Any two equipment can also negotiate transmission channel and carry out data transmission in a few target device, make between multiple target devices Form service group transmission service negotiation data.
S204, the data transmission channel of first equipment through consultation are sent at least one described target device The location information of the preset service.
Wherein, the first equipment can be respectively by carrying out data biography between each transmission channel and at least one target device Defeated, the data of transmission can be field condition, patient's condition etc., such as can be scene or the pictorial information of patient, for mesh Marking device prejudges service field, and the data can also be logical by the transmission between target device and trunking respectively Transmission channel between road and trunking and first equipment is transmitted, it is not limited here.
As can be seen that the embodiment of the present application in, the first equipment first when detect preset service request when, into the first cluster Multiple equipment broadcast first service in addition to first equipment finds that frame SDF message, the first SDF message include described Preset service information, then, when receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, Selection is used to provide the described at least one target device of preset service from least one described second equipment, and described second SDF message includes the feedback information for the preset service information, then, at least one described target device negotiation data Transmission channel, finally, the data transmission channel through consultation sends the default clothes at least one described target device The location information of business.As it can be seen that when needing urgent service to seek help, tool is requested by NAN network in same cluster for the first equipment The equipment of the user of the standby service, since the equipment in same cluster is closer, the user of the first equipment can be made It is timely helped, is conducive to the timeliness for promoting relief, moreover, the recourse method does not need to avoid using mobile network First equipment is because of the stability that the case where position of no mobile network service can not seek help, the service of improving is sought help.
In a possible example, the network service quality of the first equipment mobile network is less than preset quality threshold Value, after the multiple equipment broadcast first service into the first cluster in addition to first equipment finds frame SDF message, institute It states before selection is used to provide the described at least one target device of preset service at least one described second equipment, it is described Method further include:
When not receiving the 2nd SDF message of any one equipment in the multiple equipment, to described The 3rd SDF message of the multiple device broadcasts in cluster in addition to first equipment, the 3rd SDF message include interconnection Net service request information;
The 2nd SDF message from least one the second equipment is received by the first trunking, described first Trunking is in first cluster and provides the Internet service for first equipment.
Wherein, the 3rd SDF message specifically can be SDF Subscribe message, for searching in net state Equipment, provide Internet service, that is to say, that there is no have the second equipment of preset service, and first in the first cluster When the network quality difference of equipment, the first trunking of Internet Server can be provided by requiring to look up, and help the first equipment It finds and the equipment of preset service is provided, for example, there is no polices in the first cluster when preset service request is alert service request Examine, the user of the second equipment such as People's Armed Police when, the 3rd SDF message search request can be passed through, the first relaying of Internet service is provided Equipment, the first trunking can help the first equipment to execute the measures such as alarm.
Wherein, at this point, described in receiving in the 2nd SDF message from least one the second equipment at least one Second equipment can be any second equipment that the first trunking can communicate, it is not limited here.
As it can be seen that when the second equipment that preset service can be provided being not present in this example, in first the first cluster of equipment, then By the 3rd SDF information query Internet service, the first trunking by that can provide Internet service helps first to set Standby find provides at least one second equipment of preset service, is conducive to promote service guarantee.
It include second in the multiple equipment in first cluster in addition to first equipment in a possible example Trunking, second trunking are used for when receiving the first SDF message of first equipment, by described the One SDF message is broadcasted in the second cluster in addition to first cluster where second trunking, and described second Cluster is located in the predeterminable area of first equipment.
Wherein, second trunking is the NAN equipment with relay function, and to be present at least two clusters NAN equipment, that is to say, that, can be in except the first cluster when the second trunking in the first cluster receives the first SDF message Other clusters in forwarding obtain the first SDF message, moreover, also may include other relaying in cluster in addition to first cluster Equipment can equally broadcast the first SDF message in more clusters.
Wherein, can be in the predeterminable area in the preset range where the first equipment, for example, can be 3 kilometers it Interior, it is not limited here, since preset service request is mostly flash request, therefore, it is necessary to the users of the second equipment can be most It reaches and is serviced in short time, therefore such as medical services etc. is only broadcasted in the cluster in predeterminable area.
As it can be seen that the first equipment can forward by the second trunking in the first cluster into multiple clusters in this example One SDF message avoids when not including second equipment of at least one all in the first cluster, at least one described second equipment can not The first SDF message is received, the stability for promoting service is conducive to.
In a possible example, the 2nd SDF message includes station location marker, it is described from it is described at least one second Selection is used to provide the described at least one target device of preset service in equipment, comprising:
It is chosen at least one described second equipment at a distance from first equipment according to the station location marker less than the At least one described target device of one pre-determined distance threshold value.
Wherein, the first pre-determined distance threshold value, which can be, is preset in the first equipment, the service of different preset services Type corresponds to the first different pre-determined distance threshold values, such as can be 1000m, 500m etc., it is not limited here.
As it can be seen that in this example, the first equipment target device close according to the first equipment of station location marker selected distance, avoid because Distance leads to the Best Times for delaying service farther out, is conducive to the timeliness for promoting service, ensures the validity of service.
In this possible example, it is described according to the station location marker choose at least one described second equipment with institute The distance of the first equipment is stated less than at least one target device described in the first pre-determined distance threshold value, comprising:
At least one second equipment according to the feedback information is directed to the service content of the preset service, by institute It states at least one second equipment and is divided into multiple classifications;
It is chosen in each classification according to the station location marker and is less than described first at a distance from first equipment The target device of pre-determined distance threshold value.
It wherein, may include that the service type that the second equipment is capable of providing for example works as preset service in feedback information When request is medical services request, at least one the second equipment can be divided into the classifications such as doctor, nurse, drug supplier, point It is other that medical services are provided with different services.
As it can be seen that the first equipment first classifies at least one second equipment in this example, then, in each classification The close target device of middle the first equipment of selected distance is conducive to the comprehensive and timeliness for ensureing service, and services effective Property.
In a possible example, the preset service is medical services, the data transmission through consultation After channel sends the location information of the preset service at least one described target device, the method also includes:
Video calling group is established by the data transmission channel and at least one described target device, completes the view The data of any 2 target devices in frequency talk group are transmitted, and the video calling group is used at least one described target Equipment provides medical rescue information to first equipment.
As it can be seen that the first equipment is determining target device in this example, and after data transmission channel has been determined, establish Video calling group between target device, when position where can not rushing to the first equipment in target device and When provide medical rescue information, medical object is prejudged in first time, be conducive to promoted medical treatment timeliness, further Promote the validity of medical treatment.
In a possible example, the multiple equipment broadcast first into the first cluster in addition to first equipment Before service discovery frame SDF message, the method also includes:
Enable NAN function;
Pass through each equipment in the first equipment described in the NAN Function detection and predeterminable area according to default ranging strategy Distance;
Screen the multiple equipment of the distance less than the second pre-determined distance threshold value;
First cluster is formed with the multiple equipment, and completes the synchronization of each equipment in first cluster.
Wherein, 1, firstly, the first equipment each equipment into the measured predeterminable area of the first equipment is (such as following by it Referred to as refer to NAN equipment) FTM Request (FTM request) is sent, for requesting the time window of a cycle, with reference to NAN Equipment can reply message after receiving FTM Request according to the resource situation of oneself and ability etc., show receive or again Set a time window.Wherein, FTM Request is a kind of Action Frame.
If 2, receiving preset time window with reference to NAN equipment, with reference to NAN equipment and the first equipment just all start into The capture of row time.Wherein, time with reference to NAN equipment to the first device replied for FTM Request is captured with reference to NAN equipment It is t1 at the time of multiple message, the capture of the first equipment is received with reference to NAN equipment at the time of replying message of FTM Request For t2.
3, the first equipment to reference NAN device replied, for the ACK replied message, (answer by Acknowledgement, confirmation Answer), and capture for t3 at the time of sending the ACK, being captured at the time of receiving the ACK with reference to NAN equipment is t4.
If 4, the first equipment will complete ranging, ranging message, the ranging message are sent to the first equipment with reference to NAN equipment In carry t1 and t4.
Such first equipment just obtains tetra- times of time t1, t2, t3, t4, so as to calculate outbound message back and forth when Between RTT (Round-Trip Time, round-trip delay) are as follows:
RTT=[(t4-t1)-(t3-t2)] (1)
Then the first equipment can be calculated and with reference to the distance between NAN equipment d are as follows:
D=1/2*RTT*c (2)
Wherein c is the light velocity, can also be equal to the transmission speed of Wi-Fi signal.
As it can be seen that the first equipment is based on request triggering NAN function in this example, keeps NAN function to close under normality, save Electricity improves NAN network moreover, the first equipment can quickly filter out the potential equipment for meeting NAN network based on distance detection The high efficiency of creation.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is another clothes provided by the embodiments of the present application Must aid method flow diagram, be applied to the first equipment, first equipment is in neighbouring sensing network NAN network NAN equipment, as shown, this service recourse method includes:
S301, the first equipment are more in addition to first equipment into the first cluster when detecting preset service request A device broadcasts first service finds frame SDF message, and the first SDF message includes the preset service information.
S302, first equipment receive the 2nd SDF message of at least one the second equipment in the multiple equipment, The 2nd SDF message includes the feedback information for the preset service information.
S303, first equipment at least one second equipment according to the feedback information are directed to the default clothes At least one described second equipment is divided into multiple classifications by the service content of business.
S304, first equipment are chosen in each classification according to the station location marker in the 2nd SDF message With at a distance from first equipment less than the target device of the first pre-determined distance threshold value.
S305, first equipment and at least one described target device negotiation data transmission channel.
S306, the data transmission channel of first equipment through consultation are sent at least one described target device The location information of the preset service.
As can be seen that the embodiment of the present application in, the first equipment first when detect preset service request when, into the first cluster Multiple equipment broadcast first service in addition to first equipment finds that frame SDF message, the first SDF message include described Preset service information, then, when receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, Selection is used to provide the described at least one target device of preset service from least one described second equipment, and described second SDF message includes the feedback information for the preset service information, then, at least one described target device negotiation data Transmission channel, finally, the data transmission channel through consultation sends the default clothes at least one described target device The location information of business.As it can be seen that when needing urgent service to seek help, tool is requested by NAN network in same cluster for the first equipment The equipment of the user of the standby service, since the equipment in same cluster is closer, the user of the first equipment can be made It is timely helped, is conducive to the timeliness for promoting relief, moreover, the recourse method does not need to avoid using mobile network First equipment is because of the stability that the case where position of no mobile network service can not seek help, the service of improving is sought help.
In addition, the target device that the first equipment is close according to the first equipment of station location marker selected distance, avoids because of distance farther out Lead to the Best Times for delaying service, is conducive to the timeliness for promoting service, ensures the validity of service.
In addition, the first equipment first classifies at least one second equipment, then, selected distance in each category The close target device of first equipment is conducive to the comprehensive and timeliness for ensureing service, and the validity of service.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is another clothes provided by the embodiments of the present application Must aid method flow diagram, be applied to the first equipment, first equipment is in neighbouring sensing network NAN network NAN equipment, as shown, this service recourse method includes:
S401, the first equipment enable NAN function when detecting preset service request, and the preset service is medical treatment clothes Business.
S402, first equipment pass through the first equipment described in the NAN Function detection and pre- according to default ranging strategy If the distance of each equipment in region.
S403, first equipment screen multiple equipment of the distance less than the second pre-determined distance threshold value.
S404, first equipment and the multiple equipment form the first cluster, and complete each equipment in first cluster Synchronization.
S405, the multiple device broadcasts of first equipment into first cluster in addition to first equipment One service discovery frame SDF message, the first SDF message includes the preset service information.
S406, first equipment is as the 2nd SDF for receiving at least one the second equipment in the multiple equipment When message, selection is used to provide the described at least one target device of preset service, institute from least one described second equipment Stating the 2nd SDF message includes the feedback information for the preset service information.
S407, first equipment and at least one described target device negotiation data transmission channel.
S408, the data transmission channel of first equipment through consultation are sent at least one described target device The location information of the preset service.
S409, it is logical that first equipment by the data transmission channel and at least one described target device establishes video Group is talked about, the data transmission of any 2 target devices in the video calling group is completed, the video calling group is used for At least one described target device provides medical rescue information to first equipment.
As can be seen that the embodiment of the present application in, the first equipment first when detect preset service request when, into the first cluster Multiple equipment broadcast first service in addition to first equipment finds that frame SDF message, the first SDF message include described Preset service information, then, when receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, Selection is used to provide the described at least one target device of preset service from least one described second equipment, and described second SDF message includes the feedback information for the preset service information, then, at least one described target device negotiation data Transmission channel, finally, the data transmission channel through consultation sends the default clothes at least one described target device The location information of business.As it can be seen that when needing urgent service to seek help, tool is requested by NAN network in same cluster for the first equipment The equipment of the user of the standby service, since the equipment in same cluster is closer, the user of the first equipment can be made It is timely helped, is conducive to the timeliness for promoting relief, moreover, the recourse method does not need to avoid using mobile network First equipment is because of the stability that the case where position of no mobile network service can not seek help, the service of improving is sought help.
In addition, the first equipment is determining target device, and after data transmission channel has been determined, establish and target device Between video calling group, position where can not rushing to the first equipment in target device when provides medical treatment in time Information is succoured, medical object is prejudged in first time, is conducive to the timeliness for promoting medical treatment, further promotes medical treatment Validity.
In addition, the first equipment is based on request triggering NAN function, keeps NAN function to close under normality, save electricity, moreover, First equipment can quickly filter out the potential equipment for meeting NAN network based on distance detection, improve the efficient of NAN network creation Property.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application The structural schematic diagram of the first a kind of equipment, as shown, first equipment sets for the NAN in neighbouring sensing network NAN network Standby, which includes processor 501, memory 502, communication interface 503 and one or more programs 504, wherein on It states one or more programs 504 to be stored in above-mentioned memory 502, and is configured to be executed by above-mentioned processor 501, it is above-mentioned Program includes the instruction for executing following steps;
Multiple equipment broadcast first when detecting preset service request, into the first cluster in addition to first equipment Service discovery frame SDF message, the first SDF message include the preset service information;
When receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, from it is described at least Selection is used to provide the described at least one target device of preset service in one the second equipment, and the 2nd SDF message includes For the feedback information of the preset service information;
With at least one described target device negotiation data transmission channel;
The data transmission channel through consultation sends the position of the preset service at least one described target device Confidence breath.
As can be seen that the embodiment of the present application in, the first equipment first when detect preset service request when, into the first cluster Multiple equipment broadcast first service in addition to first equipment finds that frame SDF message, the first SDF message include described Preset service information, then, when receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, Selection is used to provide the described at least one target device of preset service from least one described second equipment, and described second SDF message includes the feedback information for the preset service information, then, at least one described target device negotiation data Transmission channel, finally, the data transmission channel through consultation sends the default clothes at least one described target device The location information of business.As it can be seen that when needing urgent service to seek help, tool is requested by NAN network in same cluster for the first equipment The equipment of the user of the standby service, since the equipment in same cluster is closer, the user of the first equipment can be made It is timely helped, is conducive to the timeliness for promoting relief, moreover, the recourse method does not need to avoid using mobile network First equipment is because of the stability that the case where position of no mobile network service can not seek help, the service of improving is sought help.
In a possible example, the network service quality of the first equipment mobile network is less than preset quality threshold Value, above procedure further includes the instruction for executing following steps: it is described into the first cluster in addition to first equipment After multiple equipment broadcasts first service discovery frame SDF message, the selection from least one described second equipment is for mentioning Before at least one target device of the preset service, when not receiving any one equipment in the multiple equipment The 2nd SDF message when, the 3rd SDF of the multiple device broadcasts into first cluster in addition to first equipment Message, the 3rd SDF message includes Internet service solicited message;And it is come from for being received by the first trunking The 2nd SDF message of at least one the second equipment, it is described first that first trunking, which is in first cluster, Equipment provides the Internet service.
It include second in the multiple equipment in first cluster in addition to first equipment in a possible example Trunking, second trunking are used for when receiving the first SDF message of first equipment, by described the One SDF message is broadcasted in the second cluster in addition to first cluster where second trunking, and described second Cluster is located in the predeterminable area of first equipment.
In a possible example, the 2nd SDF message includes station location marker, it is described from it is described at least one Selection is used to provide the described at least one target device aspect of preset service in two equipment, and the instruction in described program is specifically used The operation below executing: it is chosen at least one described second equipment at a distance from first equipment according to the station location marker Less than at least one target device described in the first pre-determined distance threshold value.
In this possible example, it is described according to the station location marker choose at least one described second equipment with The distance of first equipment is less than in terms of at least one target device described in the first pre-determined distance threshold value, in described program Instruction is specifically used for executing following operation: at least one second equipment according to the feedback information is directed to the default clothes At least one described second equipment is divided into multiple classifications by the service content of business;And it is used for according to the station location marker every The target device for being less than the first pre-determined distance threshold value at a distance from first equipment is chosen in a classification.
In a possible example, the preset service is medical services, and above procedure further includes following for executing The instruction of step: described preset is sent at least one described target device in the data transmission channel through consultation After the location information of service, video calling group is established by the data transmission channel and at least one described target device Group completes the data transmission of any 2 target devices in the video calling group, and the video calling group is for described At least one target device provides medical rescue information to first equipment.
In a possible example, above procedure further includes the instruction for executing following steps: described to the first cluster In in addition to first equipment multiple equipment broadcast first service discovery frame SDF message before, enable NAN function;And For according to default ranging strategy by the first equipment described in the NAN Function detection in predeterminable area each equipment away from From;And for screening the multiple equipment of the distance less than the second pre-determined distance threshold value;And for it is the multiple Equipment forms first cluster, and completes the synchronization of each equipment in first cluster.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for the first equipment Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to the first equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram that recourse device 600 is serviced involved in the embodiment of the present application.The service is asked Device 600 is helped to be applied to the first equipment, first equipment is the NAN equipment in neighbouring sensing network NAN network, which asks Helping device 600 includes transmission unit 601, selection unit 602 and communication unit 603, wherein
The transmission unit 601, for when detect preset service request when, into the first cluster except first equipment it Outer multiple equipment broadcast first service finds frame SDF message, and the first SDF message includes the preset service information;
The selection unit 602 receives second of at least one the second equipment in the multiple equipment for working as When SDF message, selection is used to provide the described at least one target device of preset service from least one described second equipment, The 2nd SDF message includes the feedback information for the preset service information;
The communication unit 603 is used for and at least one described target device negotiation data transmission channel;
The transmission unit 601, is also used to: the data transmission channel through consultation is set at least one described target Preparation send the location information of the preset service.
As can be seen that the embodiment of the present application in, the first equipment first when detect preset service request when, into the first cluster Multiple equipment broadcast first service in addition to first equipment finds that frame SDF message, the first SDF message include described Preset service information, then, when receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, Selection is used to provide the described at least one target device of preset service from least one described second equipment, and described second SDF message includes the feedback information for the preset service information, then, at least one described target device negotiation data Transmission channel, finally, the data transmission channel through consultation sends the default clothes at least one described target device The location information of business.As it can be seen that when needing urgent service to seek help, tool is requested by NAN network in same cluster for the first equipment The equipment of the user of the standby service, since the equipment in same cluster is closer, the user of the first equipment can be made It is timely helped, is conducive to the timeliness for promoting relief, moreover, the recourse method does not need to avoid using mobile network First equipment is because of the stability that the case where position of no mobile network service can not seek help, the service of improving is sought help.
In a possible example, the network service quality of the first equipment mobile network is less than preset quality threshold Value, the service recourse device 600 further includes receiving unit, in which:
The transmission unit 601 is in first clothes of multiple equipment broadcast into the first cluster in addition to first equipment Business discovery frame SDF message after, it is described from least one described second equipment selection be used to provide the described preset service to It before a few target device, is also used to: when not receiving described second of any one equipment in the multiple equipment When SDF message, the 3rd SDF message of the multiple device broadcasts into first cluster in addition to first equipment is described 3rd SDF message includes Internet service solicited message;
The receiving unit, for receiving described second from least one the second equipment by the first trunking SDF message, first trunking are in first cluster and provide the Internet service for first equipment.
It include second in the multiple equipment in first cluster in addition to first equipment in a possible example Trunking, second trunking are used for when receiving the first SDF message of first equipment, by described the One SDF message is broadcasted in the second cluster in addition to first cluster where second trunking, and described second Cluster is located in the predeterminable area of first equipment.
In a possible example, the 2nd SDF message includes station location marker, it is described from it is described at least one Selection is used to provide the described at least one target device aspect of preset service in two equipment, and the selection unit 602 is specifically used In: it is chosen at least one described second equipment according to the station location marker and is preset at a distance from first equipment less than first At least one described target device of distance threshold.
In this possible example, it is described according to the station location marker choose at least one described second equipment with The distance of first equipment is less than the aspect of at least one target device described in the first pre-determined distance threshold value, the selection unit 602 are specifically used for: at least one second equipment according to the feedback information is directed to the service content of the preset service, At least one described second equipment is divided into multiple classifications;And for being selected in each classification according to the station location marker Take the target device for being less than the first pre-determined distance threshold value at a distance from first equipment.
In a possible example, the preset service is medical services, and the communication unit 603 passes through association described After the data transmission channel of quotient sends the location information of the preset service at least one described target device, also use In: video calling group is established by the data transmission channel and at least one described target device, it is logical to complete the video The data transmission of any 2 target devices in group is talked about, the video calling group is used at least one described target device Medical rescue information is provided to first equipment.
In a possible example, the service recourse device 600 further includes establishing unit, and the unit of establishing is in institute Before stating the multiple equipment broadcast first service discovery frame SDF message into the first cluster in addition to first equipment, for opening With NAN function;And for being passed through in the first equipment described in the NAN Function detection and predeterminable area according to default ranging strategy The distance of each equipment;And for screening the multiple equipment of the distance less than the second pre-determined distance threshold value;And it uses In forming first cluster with the multiple equipment, and complete the synchronization of each equipment in first cluster.
Wherein, transmission unit 601, communication unit 603 and receiving unit can be transceiver or communication interface or place Device is managed, the selection unit 602 can be processor, and the unit of establishing can be processor or transceiver.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer A kind of some or all of service recourse method step, above-mentioned computer include the first equipment.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side Some or all of any service recourse method recorded in method embodiment step, above-mentioned computer includes the first equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
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 store in computer-readable memory, and memory can With include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of service recourse method, which is characterized in that be applied to the first equipment, first equipment is the first neighbouring perception net NAN equipment in network NAN network, which comprises
When detecting preset service request, the multiple equipment into the first cluster in addition to first equipment broadcasts first service It was found that frame SDF message, the first SDF message includes the preset service information;
When receiving the 2nd SDF message of at least one the second equipment in the multiple equipment, from it is described at least one Selection is used to provide the described at least one target device of preset service in second equipment, and the 2nd SDF message includes being directed to The feedback information of the preset service information;
With at least one described target device negotiation data transmission channel;
The data transmission channel through consultation is believed to the position that at least one described target device sends the preset service Breath.
2. the method according to claim 1, wherein the network service quality of the first equipment mobile network is small In predetermined quality threshold, the multiple equipment broadcast first service into the first cluster in addition to first equipment finds frame After SDF message, the selection from least one described second equipment is used to provide the described at least one mesh of preset service Before marking device, the method also includes:
When not receiving the 2nd SDF message of any one equipment in the multiple equipment, to first cluster In the 3rd SDF message of the multiple device broadcasts in addition to first equipment, the 3rd SDF message includes internet clothes Business solicited message;
The 2nd SDF message from least one the second equipment, first relaying are received by the first trunking Equipment is in first cluster and provides the Internet service for first equipment.
3. method according to claim 1 or 2, which is characterized in that in first cluster in addition to first equipment It include the second trunking in multiple equipment, second trunking is for receiving described the first of first equipment When SDF message, by the first SDF message in the second cluster in addition to first cluster where second trunking It is broadcasted, second cluster is located in the predeterminable area of first equipment.
4. method according to claim 1-3, which is characterized in that the 2nd SDF message includes station location marker, The selection from least one described second equipment is used to provide the described at least one target device of preset service, comprising:
It is chosen at least one described second equipment according to the station location marker pre- less than first at a distance from first equipment If at least one described target device of distance threshold.
5. according to the method described in claim 4, it is characterized in that, it is described according to the station location marker choose it is described at least one Less than at least one target device described in the first pre-determined distance threshold value, packet at a distance from first equipment in second equipment It includes:
At least one second equipment according to the feedback information is directed to the service content of the preset service, by described in extremely Few second equipment is divided into multiple classifications;
It is chosen in each classification according to the station location marker default less than described first at a distance from first equipment The target device of distance threshold.
6. method according to claim 1-5, which is characterized in that the preset service is medical services, described The data transmission channel through consultation at least one described target device send the preset service location information it Afterwards, the method also includes:
Video calling group is established by the data transmission channel and at least one described target device, it is logical to complete the video The data transmission of any 2 target devices in group is talked about, the video calling group is used at least one described target device Medical rescue information is provided to first equipment.
7. method according to claim 1-6, which is characterized in that described to remove first equipment into the first cluster Except multiple equipment broadcast first service discovery frame SDF message before, the method also includes:
Enable NAN function;
According to default ranging strategy by the first equipment described in the NAN Function detection and predeterminable area each equipment away from From;
Screen the multiple equipment of the distance less than the second pre-determined distance threshold value;
First cluster is formed with the multiple equipment, and completes the synchronization of each equipment in first cluster.
8. a kind of service recourse device, which is characterized in that be applied to the first equipment, first equipment is the first neighbouring perception net NAN equipment in network NAN network, the service recourse device includes transmission unit, selection unit and communication unit, in which:
The transmission unit, for when detect preset service request when, it is more in addition to first equipment into the first cluster A device broadcasts first service finds frame SDF message, and the first SDF message includes the preset service information;
The selection unit, for when the 2nd SDF message for receiving at least one the second equipment in the multiple equipment When, selection is used to provide the described at least one target device of preset service from least one described second equipment, and described the Two SDF message include the feedback information for the preset service information;
The communication unit is used for and at least one described target device negotiation data transmission channel;
The transmission unit, is also used to: the data transmission channel through consultation is sent at least one described target device The location information of the preset service.
9. a kind of first equipment characterized by comprising processor, memory, and one or more programs;It is one Or multiple programs are stored in the memory, and are configured to be executed by the processor, described program includes being used for The instruction of step in the method as described in claim any one of 1-7 of execution.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 7, and the computer includes the One equipment.
CN201810908229.3A 2018-08-09 2018-08-09 Service recourse method and Related product Pending CN109089207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810908229.3A CN109089207A (en) 2018-08-09 2018-08-09 Service recourse method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810908229.3A CN109089207A (en) 2018-08-09 2018-08-09 Service recourse method and Related product

Publications (1)

Publication Number Publication Date
CN109089207A true CN109089207A (en) 2018-12-25

Family

ID=64834489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810908229.3A Pending CN109089207A (en) 2018-08-09 2018-08-09 Service recourse method and Related product

Country Status (1)

Country Link
CN (1) CN109089207A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915661A (en) * 2021-02-09 2022-08-16 上海救要救信息科技有限公司 Method and device for rescuing user

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104716993A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method, apparatus, and computer program product for service discovery in short-range communication environment
CN105117121A (en) * 2015-07-28 2015-12-02 广东欧珀移动通信有限公司 Help seeking method of smartwatch and smartwatch
CN105578396A (en) * 2015-12-28 2016-05-11 Tcl集团股份有限公司 Emergency help method, device and system
CN105745897A (en) * 2013-11-18 2016-07-06 高通股份有限公司 Wireless discovery location and ranging
CN106714329A (en) * 2015-11-12 2017-05-24 华为技术有限公司 Method and device for establishing data link
CN107079390A (en) * 2014-10-16 2017-08-18 高通股份有限公司 Communication between the equipment of neighbours' sensing network
US20170331696A1 (en) * 2016-05-10 2017-11-16 Motorola Mobility Llc System and method for determining a master device in a neighborhood aware network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105745897A (en) * 2013-11-18 2016-07-06 高通股份有限公司 Wireless discovery location and ranging
CN104716993A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method, apparatus, and computer program product for service discovery in short-range communication environment
CN107079390A (en) * 2014-10-16 2017-08-18 高通股份有限公司 Communication between the equipment of neighbours' sensing network
CN105117121A (en) * 2015-07-28 2015-12-02 广东欧珀移动通信有限公司 Help seeking method of smartwatch and smartwatch
CN106714329A (en) * 2015-11-12 2017-05-24 华为技术有限公司 Method and device for establishing data link
CN105578396A (en) * 2015-12-28 2016-05-11 Tcl集团股份有限公司 Emergency help method, device and system
US20170331696A1 (en) * 2016-05-10 2017-11-16 Motorola Mobility Llc System and method for determining a master device in a neighborhood aware network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915661A (en) * 2021-02-09 2022-08-16 上海救要救信息科技有限公司 Method and device for rescuing user

Similar Documents

Publication Publication Date Title
US10004059B2 (en) Service advertisement message transmission method and device
EP3817283B1 (en) Data transmission control method and related apparatus
CN106713253B (en) Method and device for sending and receiving information in peripheral perception networking
US9762362B2 (en) Multi-hop peer-to-peer communications
CN105657127B (en) A kind of method, earphone and terminal that sound is shared
CN109040213A (en) Document down loading method and Related product
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
TW200422628A (en) Wireless local or metropolitan area network with intrusion detection features and related methods
CN104796852B (en) Method for discovering equipment, device and terminal for the direct-connected communication of terminal
CN104883290A (en) Contact person online status notification method and apparatus
CN109089246A (en) data transmission method and related product
CN109089207A (en) Service recourse method and Related product
CN112185059B (en) Method and device for reminding user
CN109173267A (en) Game pairings method and Related product
CN116249077B (en) Method and device for acquiring communication routing state of working group member
CN112440937B (en) Vehicle unlocking method and related device
CN108718401A (en) Video meeting implementing method and relevant apparatus
CN109067882A (en) data sharing method and related product
CN107005991B (en) Transmission method, terminal device, base station and the communication system of upstream data packet
CN112165518A (en) Security monitoring strategy generation method and device
CN109195226A (en) data transmission method and related product
CN105530620B (en) A kind of method, apparatus and communication system directly found
CN112165707B (en) Beacon sending method and device
CN105766042B (en) Method, access point and the website of direct point-to-point data link
CN107579927B (en) Method and device for concurrent broadcast communication applied to wireless Internet of things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181225