CN109429301A - Service search method, relevant device and storage medium - Google Patents

Service search method, relevant device and storage medium Download PDF

Info

Publication number
CN109429301A
CN109429301A CN201710786364.0A CN201710786364A CN109429301A CN 109429301 A CN109429301 A CN 109429301A CN 201710786364 A CN201710786364 A CN 201710786364A CN 109429301 A CN109429301 A CN 109429301A
Authority
CN
China
Prior art keywords
broadcast
wifi
search
aware
service
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.)
Granted
Application number
CN201710786364.0A
Other languages
Chinese (zh)
Other versions
CN109429301B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710786364.0A priority Critical patent/CN109429301B/en
Publication of CN109429301A publication Critical patent/CN109429301A/en
Application granted granted Critical
Publication of CN109429301B publication Critical patent/CN109429301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of service search method, relevant device and storage mediums.One of described service search method includes: setting for searching for the Wireless Fidelity periphery perception WiFi-Aware search broadcast of purpose service;Broadcast the WiFi-Aware search broadcast, so that forwarding device was when receiving the serviced broadcast with the purpose Service Matching, it responds the first WiFi Aware search and replies broadcast, when not being connected to the serviced broadcast, the WiFi Aware search broadcast is forwarded, replies broadcast to obtain the 2nd WiFi Aware search;It receives the first WiFi-Aware search and replies broadcast or the 2nd WiFi-Aware search answer broadcast.The present invention effectively improves the search range of service, even and if in the case where no GPS and mobile communications network, it can also realize service search.

Description

Service search method, relevant device and storage medium
Technical field
The present invention relates to communication fields, more particularly to a kind of service search method, relevant device and storage medium.
Background technique
With the development of technology, in the prior art more and more using WiFi (WIreless-Fidelity, wireless guarantor Mode very) provides the service such as hotspot service, such as gas station, supermarket, parking lot.
But when passing through WiFi search service, search range is fixed, and search range is small, is unable to satisfy the need of user It asks, to reduce user experience.
Summary of the invention
In order to overcome drawbacks described above, the technical problem to be solved in the present invention is to provide a kind of service search method, accordingly set Standby and storage medium, at least to improve the search range of service.
In order to solve the above technical problems, one of present invention service search method, is used for service request equipment, comprising:
Wireless Fidelity periphery perception WiFi-Aware search broadcast for searching for purpose service is set;
The WiFi-Aware search broadcast is broadcasted, so that forwarding device was receiving the clothes with the purpose Service Matching When business broadcast, response the first WiFi Aware search replies broadcast, when not being connected to the serviced broadcast, forwards the WiFi Aware search broadcast replies broadcast to obtain the 2nd WiFi Aware search;
It receives the first WiFi-Aware search and replies broadcast or the 2nd WiFi-Aware search answer broadcast.
In order to solve the above technical problems, one of present invention service search method, is used for forwarding device, comprising:
When receiving the Wireless Fidelity periphery perception WiFi-Aware search broadcast for searching for purpose service, inquiry is The no serviced broadcast received with the purpose Service Matching;If receiving, response the first WiFi-Aware search replies broadcast; If not receiving, the WiFi-Aware search broadcast is forwarded, replies broadcast to obtain the 2nd WiFi-Aware search;
When receiving the 2nd WiFi-Aware search answer broadcast, broadcasts the 2nd WiFi-Aware search and answers Multiple broadcast.
In order to solve the above technical problems, a kind of service request equipment in the present invention, including memory and processor, it is described to deposit Reservoir is stored with service search computer program;The processor executes the computer program, to realize as above for servicing The step of requesting any one the method for equipment.
In order to solve the above technical problems, a kind of forwarding device in the present invention, including memory and processor, the memory It is stored with service search computer program;The processor executes the computer program, is as above used for forwarding device to realize Any one the method the step of.
In order to solve the above technical problems, one of present invention computer readable storage medium, is stored with and asks for service The service search computer program of equipment is sought, and/or is stored with the service search computer program for forwarding device;
When the service search computer program for service request equipment, when being executed by least one processor, with The step of realizing any one the method for being as above used for service request equipment;
When the service search computer program for forwarding device, when being executed by least one processor, to realize The step of being such as used for any one the method for forwarding device.
The present invention has the beneficial effect that:
Service search method, relevant device and storage medium in the present invention effectively improve the range of service search, and i.e. Just in the case where no GPS and mobile communications network, service search can also be realized.
Detailed description of the invention
Fig. 1 is the flow chart of service search method in the embodiment of the present invention one;
Fig. 2 is WiFi-Aware search broadcast setting schematic diagram in the embodiment of the present invention;
Fig. 3 is the flow chart of service search method in the embodiment of the present invention two;
Fig. 4 is the flow chart of service search method in the embodiment of the present invention three;
Fig. 5 is a kind of structural schematic diagram of service request equipment in the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of forwarding device in the embodiment of the present invention.
Specific embodiment
In order to solve the defects of prior art, the present invention provides a kind of service search method, relevant device and storages to be situated between Matter, below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that tool described herein Body embodiment does not limit the present invention only to explain the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Using for distinguishing element " first ", the prefixes such as " second " only for being conducive to explanation of the invention, Itself is without specific meaning.
Embodiment one
As shown in Figure 1, the embodiment of the present invention provides a kind of service search method, the method is used for service request equipment, Include:
S10 is arranged the Wireless Fidelity periphery for searching for purpose service and perceives WiFi-Aware search broadcast;
S11 broadcasts the WiFi-Aware search broadcast, so that forwarding device was receiving and the purpose Service Matching Serviced broadcast when, response the first WiFi Aware search reply broadcast, when not being connected to the serviced broadcast, described in forwarding WiFi Aware search broadcast replies broadcast to obtain the 2nd WiFi Aware search;
S12, reception the first WiFi-Aware search replies broadcast or the 2nd WiFi-Aware search answer is wide It broadcasts.
Service request equipment is specially the equipment for being configured with WiFi-Aware in the embodiment of the present invention, be can be mobile whole End, such as mobile phone, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable set Standby, Intelligent bracelet, pedometer etc..
The equipment that service request equipment generally refers to request search service in the embodiment of the present invention.
Purpose service in the embodiment of the present invention refers to service, such as oiling, parking lot, supermarket etc. for needing to inquire Service.
The embodiment of the present invention is by being arranged and broadcasting WiFi-Aware search broadcast, so that forwarding device was receiving and institute When stating the serviced broadcast of purpose Service Matching, response the first WiFi Aware search replies broadcast, and not being connected to, the service is wide Sowing time forwards the WiFi Aware search broadcast, replies broadcast to obtain the 2nd WiFi Aware search;Described in receiving First WiFi-Aware search replies broadcast or the 2nd WiFi-Aware search replies broadcast, to know the letter of purpose service Breath effectively increases the search range of service relative to WiFi search service is used, even and if logical in no GPS and movement In the case where communication network, service search can also be realized.
On the basis of the above embodiments, it is further proposed that the modification of above-described embodiment.
In embodiments of the present invention, optionally, the setting is perceived for searching for the Wireless Fidelity periphery of purpose service WiFi-Aware search broadcast, comprising:
It is broadcasted according to preset search broadcasting format setting WiFi-Aware, it is wide to generate the WiFi-Aware search It broadcasts;Described search broadcasting format includes at least following information: broadcast identification, broadcast type, the feature of purpose service, current forwarding Number and max-forwards number.
In embodiments of the present invention, optionally, the broadcast identification be it is following any one: the MAC of service request equipment Address, the subscriber identification card number of service request equipment and service request equipment International Mobile Equipment Identity code, and Random code;
The broadcast type is service search type;The current hop count is preset initial value, such as 0,1 etc..
Wherein random code can be generated according to preset create-rule.Such as MAC Address, clothes according to service request equipment The random of the generations such as the subscriber identification card number of equipment and the International Mobile Equipment Identity code of service request equipment is requested in business Code;Or the random code according to generations such as search contents.
In embodiments of the present invention, optionally, the method also includes:
According to the size of service search range, the max-forwards number is set.
The embodiment of the present invention effectively raises the search range of service.For example, if what a WiFi-Aware was broadcasted Effective propagation distance is 10 meters or so, if setting max-forwards number is 50, may search for the clothes within the scope of 500 meters Business.
In embodiments of the present invention, optionally, described to receive the first WiFi-Aware search answer broadcast or described 2nd WiFi-Aware search replies broadcast, comprising:
Receive WiFi-Aware broadcast;
Broadcast identification, broadcast type and current hop count are parsed from received WiFi-Aware broadcast;
When received WiFi-Aware, which broadcasts as search, replies type, the received WiFi-Aware is broadcasted into conduct WiFi-Aware search replies broadcast;
Judge that the broadcast identification parsed and current hop count are arranged with WiFi-Aware search broadcast respectively Broadcast identification it is whether consistent with current hop count;
Under unanimous circumstances, obtains the WiFi-Aware search and reply broadcast.
Wherein the setting of WiFi-Aware search broadcast can be using mode shown in Fig. 2.
Embodiment two
As shown in figure 3, the embodiment of the present invention provides a kind of service search method, the method is used for forwarding device, comprising:
S20 is looked into when receiving the Wireless Fidelity periphery perception WiFi-Aware search broadcast for searching for purpose service Ask the serviced broadcast whether received with the purpose Service Matching;If receiving, response the first WiFi-Aware search is replied Broadcast;If not receiving, the WiFi-Aware search broadcast is forwarded, replies broadcast to obtain the 2nd WiFi-Aware search;
S21 broadcasts the 2nd WiFi-Aware and searches when receiving the 2nd WiFi-Aware search answer broadcast Rope replies broadcast.
Forwarding device is specially the equipment for being configured with WiFi-Aware in the embodiment of the present invention, can be mobile terminal, example As mobile phone, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable device, intelligent hand Ring, pedometer etc..
The embodiment of the present invention is effectively increased the search range of service, even and if in no GPS and mobile radio communication In the case where network, service search can also be realized.
On the basis of the above embodiments, it is further proposed that the modification of above-described embodiment.
In embodiments of the present invention, optionally, the WiFi-Aware search broadcast at least carries following information: broadcast mark Knowledge, broadcast type, the feature of purpose service, current hop count and max-forwards number.
In embodiments of the present invention, optionally, described to receive the Wireless Fidelity periphery sense for searching for purpose service When knowing WiFi-Aware search broadcast, whether inquiry received the serviced broadcast with the purpose Service Matching, comprising:
When receiving the WiFi-Aware search broadcast, if searching for the wide of broadcast carrying according to the WiFi-Aware Mark is broadcast, determines and receives the WiFi-Aware search broadcast for the first time, then inquire and whether received and the purpose service Matched serviced broadcast.
In embodiments of the present invention, optionally, whether the inquiry received wide with the service of the purpose Service Matching It broadcasts, comprising:
The feature for the purpose service that broadcast carries is searched for according to the WiFi-Aware, whether inquiry received comprising described The serviced broadcast of the feature of purpose service.
In embodiments of the present invention, optionally, the first WiFi-Aware of response search replies broadcast, comprising:
It is broadcasted according to preset answer broadcasting format setting WiFi-Aware, to generate the first WiFi-Aware search Reply broadcast;It is described reply broadcasting format include at least following information: broadcast identification, broadcast type, purpose service information and Current hop count.
Wherein, the information of purpose service may include location information, range information, service content information of purpose service etc. Deng.
Further, the broadcast identification be it is following any one: the MAC Address of service request equipment, service request are set The International Mobile Equipment Identity code of standby subscriber identification card and service request equipment;
The broadcast type is that search replies type;The current hop count is in WiFi-Aware search broadcast The current hop count carried.
In embodiments of the present invention, optionally, the forwarding WiFi-Aware search broadcast, comprising:
The WiFi-Aware search broadcast is updated, updated WiFi-Aware search broadcast is broadcasted;Wherein update institute The mode for stating WiFi-Aware search broadcast is that the current hop count carried in WiFi-Aware search broadcast is added 1.
It is further, described to update the WiFi-Aware search broadcast, comprising:
Whether the current hop count for judging that the WiFi-Aware search broadcast carries is greater than the max-forwards number;
When being not more than, the WiFi-Aware search broadcast is updated.
It is in embodiments of the present invention, optionally, described when receiving the 2nd WiFi-Aware search answer broadcast, It broadcasts the 2nd WiFi-Aware search and replies broadcast, comprising:
When receiving the 2nd WiFi-Aware search answer broadcast, answered according to the 2nd WiFi-Aware search The broadcast identification and current hop count that multiple broadcast carries, it is determined whether forwarded over corresponding WiFi-Aware search broadcast;
If it is determined that it is forwarded over, then it broadcasts the 2nd WiFi-Aware search and replies broadcast.
Further, the broadcast the 2nd WiFi-Aware search replies broadcast, comprising:
It updates the 2nd WiFi-Aware search and replies broadcast, broadcast updated 2nd WiFi-Aware search and reply Broadcast;The mode for wherein updating the 2nd WiFi-Aware search answer broadcast is to reply the 2nd WiFi-Aware search extensively The current hop count for broadcasting carrying subtracts 1.
Embodiment three
The embodiment of the present invention provides a kind of alternative embodiment, uses the service of method in embodiment one to ask to be described in detail Seek equipment and using the detailed interaction flow between the forwarding device of method in embodiment two.
Service request equipment is set by Wifi-Aware equipment A in the embodiment of the present invention, Wifi-Aware equipment B is set It is set to forwarding device.
The embodiment of the present invention is searched by defining WiFi-Aware search broadcast (referred to as search is broadcasted) and WiFi-Aware Rope replies the format of broadcast (referred to as replying broadcast), manages to service search, to realize larger range of search clothes Business and answer search broadcast.
Wifi-Aware equipment A transmission types are search service, max-forwards number is N, current hop count n be 0 with And the broadcast of the feature serviced for the purpose of broadcasted content.
By the MAC Address of equipment A or the IMEI (international mobile device of SIM (subscriber identification card) card number code or mobile phone Identity code) number conduct broadcast identification ID, and other WiFi Aware equipment of the broadcast point are received, within the T1 period of preservation Retrieved in processed search service broadcast whether the broadcast of processed same broadcast identification ID, if it is not, into one Step judges in the T2 period whether equipment B has and received the serviced broadcast for meeting feature.If so, meeting feature to what is received Broadcast be forwarded, broadcast type is that search replies type, current hop count and broadcast identification ID and the WiFi- received The data carried in Aware search broadcast are consistent.If not provided, using current hop count n+1 as new hop count, Its content is constant, forwards WiFi-Aware search broadcast.
User can not be the place being very familiar at one through the embodiment of the present invention, other places of such as going on business, or to nonlocal trip You Shi, to surrounding and wider carry out service search.Such as 1000 meters or so ranges (by control max-forwards number come Command deployment range) in search gas station, supermarket, the service such as parking lot.
Detailed process is as shown in Figure 4, comprising:
Step 201, Wifi-Aware equipment A transmission types are service search, max-forwards number is N, current forwarding time Number n be 0 and broadcasted content be search service feature broadcast, and by the MAC Address of equipment or SIM card number or mobile phone IMEI number is as broadcast identification ID.
Step 202, Wifi-Aware equipment B parses the broadcast received, judges the type of broadcast received.If wide Broadcasting type is service search type, executes step 203;If broadcast type is that search replies type, step 211 is executed.
Step 203, it is retrieved in WiFi-Aware processed within the default T1 period of preservation search broadcast lists Whether the broadcast of processed same broadcast identification ID.If it is not, executing step 204;If processed, step 205 is executed.
Step 204, ignore the broadcast.
Step 205, this broadcast is added in processed WiFi-Aware search broadcast lists.
Step 206, according to the feature of purpose service, judge whether Wifi-Aware equipment B has in the preset T2 period Received the serviced broadcast for meeting feature.If so, executing step 207;If it is not, executing step 208.
Step 207, the broadcast for meeting feature received is forwarded, broadcast type is that search replies type, currently Hop count and broadcast identification ID search for the data carried in broadcast with the WiFi-Aware received and are consistent.
Step 208, according to current hop count n, judge whether it has more than max-forwards times N;If being more than, step is executed Rapid 210;If not exceeded, executing step 209.
Step 209, using current hop count n+1 as new hop count, other contents are constant, and the search is forwarded to broadcast.
Step 210, stop further forwarding search broadcast
Step 211, it is examined in processed WiFi-Aware search answer broadcast lists within the default T3 period of preservation The whether processed broadcast identification ID of rope and the consistent broadcast of hop count.If it is not, executing step 204;If so, executing step 212。
Step 212, this broadcast is added in processed answer search broadcast lists.
Step 213, using hop count n-1 as new hop count, other contents are constant, forward answer search wide It broadcasts.
Step 214, Wifi-Aware equipment A receives the answer broadcast of the search service broadcast of corresponding transmission.
Example IV
As shown in figure 5, the embodiment of the present invention provides a kind of service request equipment, the service request equipment includes memory 30 and processor 31, the memory 30 be stored with service search computer program;The processor 31 executes the computer Program, to realize such as the step of any one of embodiment one the method.
Embodiment five
As shown in fig. 6, the embodiment of the present invention provides a kind of forwarding device, the forwarding device includes memory 40 and processing Device 41, the memory 40 are stored with service search computer program;The processor 41 executes the computer program, with reality Now such as the step of any one of embodiment two the method.
Embodiment six
The embodiment of the present invention provides a kind of computer readable storage medium, and the storage medium is stored with for service request The service search computer program of equipment, and/or it is stored with the service search computer program for forwarding device;
When the service search computer program for service request equipment, when being executed by least one processor, with It realizes such as the step of any one of embodiment one the method;
When the service search computer program for forwarding device, when being executed by least one processor, to realize Such as the step of any one of embodiment two the method.
Computer readable storage medium can be RAM memory, flash memory, ROM memory, EPROM in the embodiment of the present invention Memory, eeprom memory, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art Storage medium.A kind of storage medium lotus root can be connected to processor, thus enable a processor to from the read information, And information can be written to the storage medium;Or the storage medium can be the component part of processor.Processor and storage are situated between Matter can be located in specific integrated circuit.
It should be noted that example IV, embodiment five and embodiment six in specific implementation can be refering to implementations Example one, embodiment two and embodiment three, it may have corresponding technical effect.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (16)

1. a kind of service search method, which is characterized in that the method is used for service request equipment, comprising:
Wireless Fidelity periphery perception WiFi-Aware search broadcast for searching for purpose service is set;
Broadcast WiFi-Aware search broadcast so that forwarding device received it is wide with the service of the purpose Service Matching Sowing time, response the first WiFi Aware search reply broadcast, when not being connected to the serviced broadcast, forward the WiFi Aware Search broadcast replies broadcast to obtain the 2nd WiFi Aware search;
It receives the first WiFi-Aware search and replies broadcast or the 2nd WiFi-Aware search answer broadcast.
2. the method as described in claim 1, which is characterized in that the Wireless Fidelity periphery being arranged for searching for purpose service Perceive WiFi-Aware search broadcast, comprising:
It is broadcasted according to preset search broadcasting format setting WiFi-Aware, to generate the WiFi-Aware search broadcast;Institute It states search broadcasting format and includes at least following information: broadcast identification, broadcast type, the feature of purpose service, current hop count With max-forwards number.
3. the method as described in claim 1, which is characterized in that the broadcast identification be it is following any one: service request is set The International Mobile Equipment Identity code of the subscriber identification card number of standby MAC Address, service request equipment, service request equipment And random code;
The broadcast type is service search type.
4. method as claimed in claim 2 or claim 3, which is characterized in that the method also includes:
According to the size of service search range, the max-forwards number is set.
5. a kind of service search method, which is characterized in that the method is used for forwarding device, comprising:
When receiving the Wireless Fidelity periphery perception WiFi-Aware search broadcast for searching for purpose service, whether inquiry is connect Received the serviced broadcast with the purpose Service Matching;If receiving, response the first WiFi-Aware search replies broadcast;If not It received, and forwarded the WiFi-Aware search broadcast, and replied broadcast to obtain the 2nd WiFi-Aware search;
When receiving the 2nd WiFi-Aware search answer broadcast, broadcasts the 2nd WiFi-Aware search and reply extensively It broadcasts.
6. method as claimed in claim 5, which is characterized in that described to receive the Wireless Fidelity for searching for purpose service When periphery perceives WiFi-Aware search broadcast, whether inquiry received the serviced broadcast with the purpose Service Matching, comprising:
When receiving the WiFi-Aware search broadcast, if searching for the broadcast mark that broadcast carries according to the WiFi-Aware Know, determines and receive the WiFi-Aware search broadcast for the first time, then inquire and whether received and the purpose Service Matching Serviced broadcast.
7. method as claimed in claim 5, which is characterized in that whether the inquiry received and the purpose Service Matching Serviced broadcast, comprising:
The feature for the purpose service that broadcast carries is searched for according to the WiFi-Aware, whether inquiry received comprising the purpose The serviced broadcast of the feature of service.
8. method as claimed in claim 5, which is characterized in that the first WiFi-Aware of response search replies broadcast, packet It includes:
It broadcasts according to preset answer broadcasting format setting WiFi-Aware, is replied with generating the first WiFi-Aware search Broadcast;The broadcasting format that replies includes at least following information: broadcast identification, broadcast type, the information of purpose service and current Hop count.
9. method according to claim 8, which is characterized in that the broadcast identification be it is following any one: service request is set The subscriber identification card of standby MAC Address, service request equipment and the International Mobile Equipment Identity code of service request equipment;
The broadcast type is that search replies type;The current hop count is to carry in WiFi-Aware search broadcast Current hop count.
10. method as claimed in claim 5, which is characterized in that the forwarding WiFi-Aware search broadcast, comprising:
The WiFi-Aware search broadcast is updated, updated WiFi-Aware search broadcast is broadcasted;Described in wherein updating The mode of WiFi-Aware search broadcast is that the current hop count carried in WiFi-Aware search broadcast is added 1.
11. method as claimed in claim 10, which is characterized in that described to update the WiFi-Aware search broadcast, comprising:
Whether the current hop count for judging that the WiFi-Aware search broadcast carries is greater than the max-forwards number;
When being not more than, the WiFi-Aware search broadcast is updated.
12. the method as described in any one of claim 6-11, which is characterized in that described to receive described second When WiFi-Aware search replies broadcast, broadcasts the 2nd WiFi-Aware search and replies broadcast, comprising:
When receiving the 2nd WiFi-Aware search answer broadcast, replied according to the 2nd WiFi-Aware search wide Broadcast carrying broadcast identification and current hop count, it is determined whether forwarded over corresponding WiFi-Aware search broadcast;
If it is determined that it is forwarded over, then it broadcasts the 2nd WiFi-Aware search and replies broadcast.
13. method as claimed in claim 12, which is characterized in that broadcast the 2nd WiFi-Aware search replies wide It broadcasts, comprising:
It updates the 2nd WiFi-Aware search and replies broadcast, the updated 2nd WiFi-Aware search of broadcast replies wide It broadcasts;Wherein updating the mode that the 2nd WiFi-Aware search replies broadcast is to search for the 2nd WiFi-Aware to reply broadcast The current hop count carried subtracts 1.
14. a kind of service request equipment, which is characterized in that the service request equipment includes memory and processor, described to deposit Reservoir is stored with service search computer program;The processor executes the computer program, to realize such as claim 1-4 Any one of the method the step of.
15. a kind of forwarding device, which is characterized in that the forwarding device includes memory and processor, the memory storage There is service search computer program;The processor executes the computer program, to realize as any in claim 5-13 The step of one the method.
16. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with for service request equipment Service search computer program, and/or it is stored with the service search computer program for forwarding device;
When the service search computer program for service request equipment, when being executed by least one processor, to realize Such as the step of any one of claim 1-4 the method;
When the service search computer program for forwarding device, when being executed by least one processor, to realize as weighed Benefit requires the step of any one of 5-14 the method.
CN201710786364.0A 2017-09-04 2017-09-04 Service search method, corresponding device and storage medium Active CN109429301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710786364.0A CN109429301B (en) 2017-09-04 2017-09-04 Service search method, corresponding device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710786364.0A CN109429301B (en) 2017-09-04 2017-09-04 Service search method, corresponding device and storage medium

Publications (2)

Publication Number Publication Date
CN109429301A true CN109429301A (en) 2019-03-05
CN109429301B CN109429301B (en) 2022-03-25

Family

ID=65513546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710786364.0A Active CN109429301B (en) 2017-09-04 2017-09-04 Service search method, corresponding device and storage medium

Country Status (1)

Country Link
CN (1) CN109429301B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969853A (en) * 2019-12-11 2020-04-07 Tcl移动通信科技(宁波)有限公司 Intelligent traffic signal lamp scheduling method and device
CN113453302A (en) * 2021-08-31 2021-09-28 伏诺瓦(天津)科技有限公司 Ad hoc network power wireless LoRa communication method, device, system and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179594A (en) * 2007-11-22 2008-05-14 复旦大学 Service distance based service discovering method in wireless self-organizing network environment
CN104144465A (en) * 2013-05-08 2014-11-12 华为终端有限公司 Service finding method and device
CN104717279A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method and apparatus for service discovery in wireless short-range communication
CN104716993A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method, apparatus, and computer program product for service discovery in short-range communication environment
US20150339718A1 (en) * 2014-05-23 2015-11-26 Qualcomm Incorporated Peer-to-peer relaying of discovery information
CN106713253A (en) * 2015-11-18 2017-05-24 中兴通讯股份有限公司 Method and device for sending and receiving information in peripheral sensing network
WO2017113176A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Method for service discovery in neighbor awareness network (nan) and terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179594A (en) * 2007-11-22 2008-05-14 复旦大学 Service distance based service discovering method in wireless self-organizing network environment
CN104144465A (en) * 2013-05-08 2014-11-12 华为终端有限公司 Service finding method and device
CN104717279A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method and apparatus for service discovery in wireless short-range communication
CN104716993A (en) * 2013-12-16 2015-06-17 诺基亚公司 Method, apparatus, and computer program product for service discovery in short-range communication environment
US20150339718A1 (en) * 2014-05-23 2015-11-26 Qualcomm Incorporated Peer-to-peer relaying of discovery information
CN106713253A (en) * 2015-11-18 2017-05-24 中兴通讯股份有限公司 Method and device for sending and receiving information in peripheral sensing network
WO2017113176A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Method for service discovery in neighbor awareness network (nan) and terminal device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969853A (en) * 2019-12-11 2020-04-07 Tcl移动通信科技(宁波)有限公司 Intelligent traffic signal lamp scheduling method and device
CN110969853B (en) * 2019-12-11 2021-10-26 Tcl移动通信科技(宁波)有限公司 Intelligent traffic signal lamp scheduling method and device
CN113453302A (en) * 2021-08-31 2021-09-28 伏诺瓦(天津)科技有限公司 Ad hoc network power wireless LoRa communication method, device, system and storage medium
CN113453302B (en) * 2021-08-31 2021-11-16 伏诺瓦(天津)科技有限公司 Ad hoc network power wireless LoRa communication method, device, system and storage medium

Also Published As

Publication number Publication date
CN109429301B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN105338480B (en) LBS-based user matching method, message client, server and system
US9888360B2 (en) Methods to optimize and streamline AP placement on floor plan
CN106708833B (en) Method and device for acquiring data based on position information
CN102546656B (en) Method, system and device for finding user in social network
US8065419B2 (en) Method and apparatus for a keep alive probe service
US10375523B2 (en) Location information obtaining method and device
US9661494B2 (en) Control apparatus, control method, communication system and program
WO2014161433A1 (en) System and method for positioning terminal
CN103347278A (en) Method and device for renewing fingerprint database in wireless positioning
CN104615585B (en) Handle the method and device of text message
WO2005099284A3 (en) A device, system, method and computer readable medium obtaining a network attribute, such as a dns address, for a short distance wireless network
CN107454180A (en) Information-pushing method
CN103596145A (en) Information automatic responding method, device and terminal equipment
CN104080043A (en) Correction method and equipment of position information of interest point
CN109218995A (en) Communication means, device, computer-readable medium and electronic equipment
CN103686698A (en) Location information processing method and device
US20200344829A1 (en) Device to device-based communication method and terminal
CN108322611B (en) Screen locking information pushing method and device and computer readable storage medium
CN109429301A (en) Service search method, relevant device and storage medium
CN114826836A (en) Signal generation method, signal generation device, signal transmitting equipment and storage medium
US8909218B2 (en) Very far-field communication
KR20120071957A (en) System and method for providing position information
CN105320668A (en) Freight information retrieval method and system
CN103369630A (en) An AP response method, a method for discovering an AP, an AP, and a terminal
CN107341156A (en) Information-pushing method and device

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
GR01 Patent grant
GR01 Patent grant