CN108965466A - Information-pushing method and relevant device - Google Patents

Information-pushing method and relevant device Download PDF

Info

Publication number
CN108965466A
CN108965466A CN201810911608.8A CN201810911608A CN108965466A CN 108965466 A CN108965466 A CN 108965466A CN 201810911608 A CN201810911608 A CN 201810911608A CN 108965466 A CN108965466 A CN 108965466A
Authority
CN
China
Prior art keywords
nan equipment
nan
information
equipment
push
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
CN201810911608.8A
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 CN201810911608.8A priority Critical patent/CN108965466A/en
Publication of CN108965466A publication Critical patent/CN108965466A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

This application discloses a kind of information-pushing method and relevant device, method includes: the first distance that the first NAN equipment determines the first the NAN equipment and the 2nd NAN equipment, and the first NAN equipment and the 2nd NAN equipment are the NAN equipment of the first NAN network;The first NAN equipment determines whether the first distance is less than or equal to first threshold;In the case where the first distance is less than or equal to the first threshold, the first NAN equipment push first information gives the 2nd NAN equipment.It can be pushed on suitable opportunity using the embodiment of the present application, promote the effect of information push.

Description

Information-pushing method and relevant device
Technical field
This application involves electronic technology field more particularly to a kind of information-pushing methods and relevant device.
Background technique
With the fast development of the communication technology, by Wi-Fi Alliance (Wi-Fi alliance, WFA) proposition based on Wi-Fi Neighbouring sensing network (neighbor awareness network, NAN) mechanism of technology is increasingly becoming hot spot concerned by people. In NAN mechanism, the NAN network that multiple equipment (abbreviation NAN equipment) with NAN function are formed is known as cluster (cluster).Cluster In each NAN equipment can the cluster discovery window (discovery window, DW) in carry out service discovery, with hair Other NAN equipment that can now carry out data transmission with it.
Summary of the invention
The embodiment of the present application provides a kind of information-pushing method and relevant device, pushes away for carrying out information on suitable opportunity It send, promotes the effect of information push.
In a first aspect, the embodiment of the present application provides a kind of information-pushing method, comprising:
First NAN equipment determines the first distance of the first the NAN equipment and the 2nd NAN equipment, the first NAN equipment It is the NAN equipment of the first NAN network with the 2nd NAN equipment;
The first NAN equipment determines whether the first distance is less than or equal to first threshold;
In the case where the first distance is less than or equal to the first threshold, the first NAN equipment push first Information gives the 2nd NAN equipment.
Second aspect, the embodiment of the present application provide a kind of information-pushing method, comprising:
2nd NAN equipment accesses the first NAN network;
The 2nd NAN equipment receives the first information of the first NAN equipment push, and the first information is described first NAN equipment is in feelings of the first distance less than or equal to first threshold for determining the first NAN equipment and the 2nd NAN equipment It is sent under condition, the first NAN equipment is the NAN equipment of the first NAN network.
The third aspect, the embodiment of the present application provide a kind of information push-delivery apparatus, are applied to include the first NAN equipment and second The system of NAN equipment, the information push-delivery apparatus are applied to the first NAN equipment, and described device includes:
Processing unit, for determining the first distance of the first NAN equipment and the 2nd NAN equipment, the first NAN equipment with The 2nd NAN equipment is the NAN equipment of the first NAN network;Determine whether the first distance is less than or equal to the first threshold Value;In the case where the first distance is less than or equal to the first threshold, the first information is pushed to institute by communication unit State the 2nd NAN equipment.
Fourth aspect, the embodiment of the present application provide a kind of information push-delivery apparatus, are applied to include the first NAN equipment and second The system of NAN equipment, the information push-delivery apparatus are applied to the 2nd NAN equipment, and described device includes:
Processing unit, for accessing the first NAN network;The first letter of the first NAN equipment push is received by communication unit Breath, the first information is the first NAN equipment in the first distance for determining the first the NAN equipment and the 2nd NAN equipment It is sent in the case where less than or equal to first threshold, the first NAN equipment is the NAN equipment of the first NAN network.
5th aspect, the embodiment of the present application provide a kind of NAN equipment, including processor, memory, communication interface and one A or multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing Device executes, and above procedure is included the steps that for executing the instruction in method described in the embodiment of the present application first aspect.
6th aspect, the embodiment of the present application provide a kind of NAN equipment, including processor, memory, communication interface and one A or multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing Device executes, and above procedure is included the steps that for executing the instruction in method described in the embodiment of the present application second aspect.
7th aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in method described in the embodiment of the present application first aspect.
Eighth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in method described in the embodiment of the present application second aspect.
9th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Step some or all of described in method of the machine execution as described in the embodiment of the present application first aspect.The computer program produces Product can be a software installation packet.
Tenth aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Step some or all of described in method of the machine execution as described in the embodiment of the present application first aspect.The computer program produces Product can be a software installation packet.
As it can be seen that carrying out information push compared to using mobile data network or Wi-Fi Hotspot, the embodiment of the present application is utilized NAN network carries out information push, and expense is low.In addition, the embodiment of the present application is in (such as the first NAN equipment and second of suitable opportunity The distance of NAN equipment is less than or equal to first threshold) information push is just carried out, improve the effect of information push.
These aspects or other aspects of the application can more straightforward in the following description.
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 the schematic diagram of the DW of a cluster provided by the embodiments of the present application a kind of;
Fig. 2A is a kind of structural schematic diagram of information transmission system provided by the embodiments of the present application;
Fig. 2 B is a kind of schematic diagram of the program running space of smart phone provided by the embodiments of the present application;
Fig. 2 C is a kind of system architecture diagram of Android system provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of information-pushing method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another information-pushing method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of NAN equipment provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of information push-delivery apparatus provided by the embodiments 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 The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising 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.
Before introducing information-pushing method provided by the embodiments of the present application, system and equipment, NAN mechanism is carried out first Brief introduction.
It can be discovery channel with the 6th channel in NAN mechanism, in the 6th channel in the standard that Wi-Fi Alliance is formulated On, for each cluster, the duration of DW is fixed, and the time interval between two DW of the arbitrary neighborhood of the cluster is also Fixed.
Illustratively, as shown in FIG. 1, FIG. 1 is the schematic diagram of the DW of a cluster, according to the standard that Wi-Fi Alliance is formulated, In DW, the NAN equipment in the cluster can send sync beacon (sync beacon) message in DW, so that the NAN in the cluster Equipment keeps synchronizing, and can also send service discovery framework (service discovery frames, SDF) message, be taken Business discovery, in the time other than DW, the NAN equipment in the cluster can send discovery beacon (discovery beacon) and disappear Breath, to declare the presence of the cluster.
Each NAN equipment in cluster can carry out service discovery in DW, can be carried out data transmission with it with discovery Other NAN equipment.After service discovery, at least two NAN equipment for needing to carry out data transmission between each other, Ke Yi The running time-frequency resource and internetwork connection mode arranged in the DW, and after the DW, according to agreement on the running time-frequency resource of agreement Internetwork connection mode set up accordingly with central node network.
Wherein, the network set up according to agreement can be the basic network of Wi-Fi technology, including infrastructure basic service Collect (infrastructure basic service set, infrastructure BSS) network or point-to-point (peer To peer, P2P) network.
When at least two NAN equipment arranges to set up infrastructure BSS network, if at least two NAN is set Some NAN equipment in standby is access point (Access Point, AP), then node, other NAN can be set centered on the AP It is standby to be connected with the AP;If at least two NAN equipment is not AP, user is known that in a NAN equipment conduct Heart node, other NAN equipment are connected with the NAN equipment.
When at least two NAN equipment arranges to set up P2P network, it is all which can carry out group Person (group owner, GO) negotiates, and determines and serves as GO, and the node centered on GO with some NAN equipment, other NAN equipment It is connected with GO.
Fig. 2A is please referred to, Fig. 2A is that the embodiment of the present application provides a kind of structural schematic diagram of information transmission system, at this Apply in embodiment, which includes: at least two NAN equipment, this at least two NAN equipment is the first NAN The NAN equipment of network, this at least two NAN equipment include following first NAN equipment and the 2nd NAN equipment.
Wherein, NAN equipment may include electronic equipment, and electronic equipment may include the various hands with wireless communication function Holding equipment, wearable device, calculates equipment or is connected to other processing equipments of radio modem mobile unit, and Various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..
The working principle of the information transmission system of the embodiment of the present application are as follows: firstly, the first NAN equipment and the 2nd NAN equipment It is respectively connected to the first NAN network;Then the first NAN equipment determines the first NAN equipment by search (ranging) function of NAN With the first distance of the 2nd NAN equipment;First NAN equipment determines whether first distance is less than or equal to first threshold;First In the case that distance is less than or equal to first threshold, the first NAN equipment is pushed by publication (publish) service function of NAN The first information gives the 2nd NAN equipment;2nd NAN equipment receives the first NAN by subscription (subscribe) service function of NAN The first information of equipment push.As it can be seen that carrying out information push, the application compared to using mobile data network or Wi-Fi Hotspot Embodiment carries out information push using NAN network, and expense is low.In addition, the embodiment of the present application is in (such as the first NAN of suitable opportunity Equipment is less than or equal to first threshold at a distance from the 2nd NAN equipment) information push is just carried out, improve the effect of information push Fruit.
As shown in Figure 2 B, the electronic equipments such as smart phone are typically provided with program running space at present, and program operation is empty Between include user's space and operating system space, wherein user's space operation have one or more application program, this or more A application program is the third party application of electronic equipment installation, information-pushing method described in the embodiment of the present application it is soft Part algorithm may operate in user's space, and operating system space motion has the operating system of electronic equipment.
The electronic equipment can specifically run the Mobile operating system iOS of Android android system, Apple Inc.'s exploitation Deng not doing unique restriction herein.As shown in Figure 2 C, by taking electronic equipment operation has android system as an example, corresponding user Space includes the application layer (Applications) in the android system, and operating system space may include the Android system Application framework layer (Application Framework), system Runtime Library layer (including system Runtime Library layer in system Android Runtime when Libraries and Android are run), Linux inner core (Linux Kernel).Wherein, it applies It include all kinds of application programs directly interacted with user, or the service routine for running on backstage write by Java language on layer. For example, the program for the common basic function realized on smart phone, such as short message service (Short Messaging Service, SMS) short message, dialing, Photo Browser, calendar, game, map, WWW (World Wide Web, Web) programs such as browser and the other applications of developer's exploitation.Application framework layer provides exploitation Android A series of class libraries needed for application program can be used in reusing component, can also realize personalized extension by inheriting.System Runtime Library layer is the support of application framework, provides service for the various components in android system.System Runtime Library layer by System class libraries and Android are constituted when running.It include core library and Dalvik virtual machine two parts when Android is run.Linux Inner nuclear layer is for realizing hardware device drivers, process and memory management, network protocol stack, power management, the cores such as wireless communication Function.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 3, Fig. 3 is that the embodiment of the present application provides a kind of flow diagram of information-pushing method, this information Method for pushing includes:
Step 301: the first NAN equipment accesses the first NAN network.
Step 302: the 2nd NAN equipment accesses the first NAN network.
Step 303: the first NAN equipment determines the first distance of the first NAN equipment and the 2nd NAN equipment.
Step 304: the first NAN equipment determines whether first distance is less than or equal to first threshold.
Step 305: in the case where first distance is less than or equal to first threshold, the first NAN equipment pushes the first information To the 2nd NAN equipment;2nd NAN equipment receives the first information of the first NAN equipment push.
Wherein, it is customized to can be user for first threshold, and it is customized to be also possible to the first NAN equipment, is also possible to What the first NAN equipment and the 2nd NAN equipment were arranged mutually, it is not limited thereto.
Wherein, the first information can be advertising information, news information, notification information, broadcast message, information on services etc., It is not limited thereto.
Wherein, the specific implementation of step 303 has: the first NAN equipment determines first by the ranging function of NAN The first distance of NAN equipment and the 2nd NAN equipment.Specifically have: at the first moment, the discovery request of the first NAN device broadcasts one;? Second moment, the first NAN equipment receive the discovery response that the 2nd NAN equipment is sent for the searching request, discovery response It is to be fed back immediately to the first NAN equipment after the 2nd NAN equipment receives discovery request;First NAN equipment is according to first Moment and the second moment determine the first distance of the first NAN equipment and the 2nd NAN equipment.
It should be noted that can also have it in the first NAN network other than the first NAN equipment and the 2nd NAN equipment His NAN equipment, is not limited thereto.Other NAN equipment are given to the mechanism of the 2nd NAN equipment pushed information with the first NAN equipment The mechanism of 2nd NAN equipment pushed information is identical, is not described herein herein.The sequence of step 301 and step 302 can be step Before 301 after step 302, it is also possible to before step 302 after step 301, is not limited thereto.First NAN network can With the creation of the first NAN equipment, it is also possible to the creation of the 2nd NAN equipment, is also possible to other in the first NAN network equipment The creation of NAN equipment, is not limited thereto.First NAN equipment can be the central node of the first NAN network or the 2nd NAN is set It is the first NAN network for can be the central node of the first NAN network or other NAN equipment in the first NAN network equipment The central node of equipment, is not limited thereto.
As it can be seen that carrying out information push compared to using mobile data network or Wi-Fi Hotspot, the embodiment of the present application is utilized NAN network carries out information push, and expense is low.In addition, the embodiment of the present application is in (such as the first NAN equipment and second of suitable opportunity The distance of NAN equipment is less than or equal to first threshold) information push is just carried out, improve the effect of information push.
In the implementation of the application, after step 305, the method also includes:
2nd NAN equipment sends the second information after receiving the first information, and second information is used to indicate stopping To the 2nd NAN equipment pushed information;
First NAN equipment, which receives, comes from the 2nd the second information of NAN equipment;
First NAN equipment stops to the 2nd NAN equipment pushed information.
Wherein, the second information can be what the 2nd NAN equipment automatically replied, be also possible to user's touching of the 2nd NAN equipment Hair, it is not limited thereto.
Wherein, the mode that the 2nd NAN equipment sends the second information can be broadcast mode, be also possible to directly to first The mode that NAN equipment is sent, is not limited thereto.
As it can be seen that in the embodiment of the present application, the 2nd NAN equipment indicates that the first NAN equipment stops by sending an information It to its pushed information, avoids the first NAN equipment and pushes unnecessary information to the 2nd NAN equipment always, improve push effect Fruit.
In the implementation of the application, the type of the first information is that the 2nd NAN equipment permission is received The type of information.
Wherein, the 2nd NAN equipment allow received information type for instance that shopping, fashion, cuisines, amusement, science and technology, Finance and economics, health, house property, military affairs, sport etc., are not limited thereto.
As it can be seen that in the embodiment of the present application, only pushing it to the 2nd NAN equipment allows received information, can avoid in this way Unnecessary information is pushed to the 2nd NAN equipment, improves push effect.
Further, before the 2nd NAN equipment receives the first information that the first NAN equipment pushes, the method is also Include:
The 2nd NAN equipment setting allows the type of received information and allows received NAN equipment, described to allow to connect The NAN equipment of receipts includes the first NAN equipment, and the type of the first information is that the 2nd NAN equipment permission is received The type of information.
Wherein, received NAN equipment is allowed to refer to that the 2nd NAN equipment only receives the information of NAN equipment push.Such as There are also the 3rd NAN equipment and the 4th NAN equipment other than the 2nd NAN equipment in first NAN network, if the 2nd NAN equipment Allowing received NAN equipment is the 3rd NAN equipment, then the 3rd NAN equipment gives the 2nd NAN equipment pushed information, the 2nd NAN is set Standby is that meeting is received, but the 4th NAN equipment gives the 2nd NAN equipment pushed information, and the 2nd NAN equipment is will not be received.
Further, the setting of the 2nd NAN equipment allows the type of received information and allows the specific of received NAN equipment Implementation has:
For 2nd NAN equipment in the display screen display set interface of the 2nd NAN equipment, which includes the first setting Item and the second setting option, for the type for allowing received information to be arranged, second setting option is used for first setting option Setting allows received NAN equipment;2nd NAN equipment obtains the first kind that user inputs in first setting option, and In the first object NAN equipment of second setting option input;The first kind is positioned to allow for receiving by the 2nd NAN equipment Information type, and the first object NAN equipment is positioned to allow for received NAN equipment.
Wherein, the quantity of the first kind is one or more, and the quantity of first object NAN equipment is one or more.
Further, the setting of the 2nd NAN equipment allows the type of received information and allows the specific of received NAN equipment Implementation has:
2nd NAN equipment acquires the first voice, and parsing first voice, obtains at least one keyword;Institute It states in the case that at least one keyword includes target keyword, the 2nd NAN device prompts user speech inputs setting information;The Two NAN equipment acquire the second voice, and parsing second voice, obtain Second Type and the second target NAN equipment;Second The Second Type is positioned to allow for the type of received information by NAN equipment, and the second target NAN equipment is arranged To allow received NAN equipment.
Wherein, target keyword for example has setting etc..Prompting mode can be verbal cue and/or text prompt.The The quantity of two types is one or more, and the quantity of the second target NAN equipment is one or more.
As an example it is assumed that target keyword includes " setting ", if it is " starting setting up ", solution that user, which inputs the first voice, It analyses the first voice and obtains keyword " beginning " and " setting ", including target keyword.2nd NAN equipment voice prompting user speech Setting information is inputted, if the second voice of user's input is that " type for allowing received information is type A, is allowed received NAN equipment is NAN equipment B and NAN equipment C ", and the second voice of parsing obtains " type A " and " NAN equipment B ", then by type A NAN equipment B and NAN equipment C is positioned to allow for received NAN equipment by the type for allowing received information.
As it can be seen that in the embodiment of the present application, setting allows the type of received information and allows received NAN equipment, this Sample can avoid pushing unnecessary information to the 2nd NAN equipment, improve push effect.
Further, the first NAN equipment push first information is to before the 2nd NAN equipment, and the method is also Include:
2nd NAN device broadcasts third information, the third information include allowing the type of received information and allowing to connect The NAN equipment of receipts, it is described that received NAN equipment is allowed to include the first NAN equipment;
First NAN equipment receives the third information of the 2nd NAN device broadcasts.
As it can be seen that in the embodiment of the present application, before to the 2nd NAN equipment pushed information, the 2nd NAN device broadcasts its permit Perhaps the type and the received NAN equipment of permission of received information, can avoid the not received NAN equipment of the 2nd NAN equipment in this way and give 2nd NAN equipment pushed information, and avoid pushing the not received information of the 2nd NAN equipment to the 2nd NAN equipment, it improves and pushes away Send effect.
It is consistent with the embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is a kind of information provided by the embodiments of the present application The flow diagram of method for pushing.As shown, this information-pushing method includes:
Step 401: the first NAN equipment accesses the first NAN network.
Step 402: the 2nd NAN equipment accesses the first NAN network.
Step 403: the setting of the 2nd NAN equipment allows the type of received information and allows received NAN equipment, described to permit Perhaps received NAN equipment includes the first NAN equipment, and the type of the first information is that the 2nd NAN equipment allows to connect The type of the information of receipts.
Step 404: the 2nd NAN device broadcasts third information, the third information include allowing the type of received information With the received NAN equipment of permission;First NAN equipment receives the third information of the 2nd NAN device broadcasts.
Step 405: the first NAN equipment determines the first distance of the first the NAN equipment and the 2nd NAN equipment.
Step 406: the first NAN equipment determines whether the first distance is less than or equal to first threshold.
Step 407: in the case where the first distance is less than or equal to the first threshold, the first NAN equipment The first information is pushed to the 2nd NAN equipment, the type of the first information is that the 2nd NAN equipment allows received letter The type of breath;2nd NAN equipment receives the first information of the first NAN equipment push.
Step 408: the 2nd NAN equipment sends the second information, and second information is used to indicate stopping to the 2nd NAN Equipment pushed information;First NAN equipment, which receives, comes from the 2nd the second information of NAN equipment.
Step 409: the first NAN equipment stops to the 2nd NAN equipment pushed information.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process no longer describes herein.Step 403- step 404 can be before step 405- step 406 or step 403- step 404 can be not limited thereto after step 405- step 406.Step 401 can be before step 402 or step 401 can after step 402 or step 401 and step 402 carry out simultaneously, is not limited thereto.
It is consistent with above-mentioned Fig. 3 and embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application one The structural schematic diagram of kind of NAN equipment, as shown, the NAN equipment include processor, memory, communication interface and one or Multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured to be held by above-mentioned processor Row.
In the implementation of the application, in the case where the NAN equipment is the first NAN equipment, above procedure includes For executing the instruction of following steps:
Determine the first distance of the first the NAN equipment and the 2nd NAN equipment, the first NAN equipment and described second NAN equipment is the NAN equipment of the first NAN network;
Determine whether the first distance is less than or equal to first threshold;
In the case where the first distance is less than or equal to the first threshold, the push first information gives described second NAN equipment.
Further, in the push first information to after the 2nd NAN equipment, above procedure include be also used to execute with The instruction of lower step:
It receives and comes from the second information of the 2nd NAN equipment, second information is that the 2nd NAN equipment is receiving It is sent after the first information, second information is used to indicate stopping to the 2nd NAN equipment pushed information.
Further, the type of the first information is the type that the 2nd NAN equipment allows received information.
Further, in the push first information to before the 2nd NAN equipment, above procedure include be also used to execute with The instruction of lower step:
The third information of the 2nd NAN device broadcasts is received, the third information includes allowing the class of received information Type and the received NAN equipment of permission, it is described that received NAN equipment is allowed to include the first NAN equipment.
In the implementation of the application, in the case where the NAN equipment is the 2nd NAN equipment, above procedure includes For executing the instruction of following steps:
Access the first NAN network;
Receive the first information of the first NAN equipment push, the first information is the first NAN equipment described in the determination What the first distance of the first NAN equipment and the 2nd NAN equipment was sent in the case where being less than or equal to first threshold, described the One NAN equipment is the NAN equipment of the first NAN network.
Further, before the first information for receiving the push of the first NAN equipment, above procedure includes following for executing The instruction of step:
The type for allowing received information is set and allows received NAN equipment, the received NAN equipment of permission includes The first NAN equipment, the type of the first information are the types that the 2nd NAN equipment allows received information.
It should be noted that the specific implementation process of the present embodiment can be found in specific implementation described in above method embodiment Process no longer describes herein.
Above-described embodiment is mainly described the scheme of the embodiment of the present application from the angle of method side implementation procedure.It can With understanding, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or soft for electronic equipment Part module.Those skilled in the art should be readily appreciated that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function is studied carefully Unexpectedly it is executed in a manner of hardware or computer software driving hardware, the specific application and design constraint depending on technical solution Condition.Professional technician can specifically realize described function to each using distinct methods, but this It realizes 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 the method example to electronic 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.The 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.
It is below the application Installation practice, the application Installation practice is realized for executing the application embodiment of the method Method.Referring to Fig. 6, Fig. 6 is a kind of information push-delivery apparatus provided by the embodiments of the present application, which includes place Manage unit 601, storage unit 602 and communication unit 603, in which:
In the implementation of the application, in the case where the information push-delivery apparatus is applied to the first NAN equipment, processing Unit 601, for determining the first distance of the first NAN equipment and the 2nd NAN equipment, the first NAN equipment and described second NAN equipment is the NAN equipment of the first NAN network;Determine whether the first distance is less than or equal to first threshold;Described In the case that first distance is less than or equal to the first threshold, the first information is pushed to described second by communication unit 603 NAN equipment.
Further, after pushing the first information to the 2nd NAN equipment by communication unit 603, processing unit 601, it is also used to receive by communication unit 603 from the second information of the 2nd NAN equipment, second information is described the What two NAN equipment were sent after receiving the first information, second information is used to indicate stopping to the 2nd NAN Equipment pushed information.
Further, the type of the first information is the type that the 2nd NAN equipment allows received information.
Further, before pushing the first information to the 2nd NAN equipment by communication unit 603, processing unit 601, it is also used to receive the third information of the 2nd NAN device broadcasts by communication unit 603, the third information includes permitting Perhaps the type and the received NAN equipment of permission of received information, it is described that received NAN equipment is allowed to include that the first NAN is set It is standby.
In the implementation of the application, in the case where the information push-delivery apparatus is applied to the 2nd NAN equipment, processing Unit 601, for accessing NAN network;The first information pushed by the first NAN equipment of reception of communication unit 603, described first Information, which is the first NAN equipment, is less than or equal to the in the first distance for determining the first NAN equipment and the 2nd NAN equipment It is sent in the case where one threshold value, the first NAN equipment is the NAN equipment of the first NAN network.
Further, before the first information for receiving the push of the first NAN equipment by communication unit 603, processing unit 601, it is also used to be arranged the type for allowing received information and allows received NAN equipment, it is described to allow received NAN equipment packet The first NAN equipment is included, the type of the first information is the type that the 2nd NAN equipment allows received information.
It should be noted that processing unit 601 can be realized through the processing unit, communication unit 603 can pass through communication interface It realizes, storage unit 602 can be realized by memory.
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, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include the first NAN equipment or the 2nd NAN equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer include the first NAN equipment or the 2nd NAN 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 said units, 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.
Above-mentioned 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 above-mentioned 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 above method of 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 a computer-readable memory, memory May 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 information-pushing method, which is characterized in that the described method includes:
First determines the first distance of the first the NAN equipment and the 2nd NAN equipment adjacent to sensing network NAN equipment, described One NAN equipment and the 2nd NAN equipment are the NAN equipment of the first NAN network;
The first NAN equipment determines whether the first distance is less than or equal to first threshold;
In the case where the first distance is less than or equal to the first threshold, the first NAN equipment pushes the first information To the 2nd NAN equipment.
2. the method according to claim 1, wherein the first NAN equipment push first information is to described the After two NAN equipment, the method also includes:
The first NAN equipment, which receives, comes from the second information of the 2nd NAN equipment, and second information is the 2nd NAN What equipment was sent after receiving the first information, second information is used to indicate stopping to the 2nd NAN equipment Pushed information.
3. method according to claim 1 or 2, which is characterized in that the type of the first information is that the 2nd NAN is set The standby type for allowing received information.
4. according to the method described in claim 3, it is characterized in that, the first NAN equipment push first information is to described the Before two NAN equipment, the method also includes:
The first NAN equipment receives the third information of the 2nd NAN device broadcasts, and the third information includes allowing to receive Information type and allow received NAN equipment, it is described that received NAN equipment is allowed to include the first NAN equipment.
5. a kind of information-pushing method, which is characterized in that the described method includes:
Second accesses the first NAN network adjacent to sensing network NAN equipment;
The 2nd NAN equipment receives the first information of the first NAN equipment push, and the first information is that the first NAN is set For in the case where determining that the first distance of the first NAN equipment and the 2nd NAN equipment is less than or equal to first threshold It sends, the first NAN equipment is the NAN equipment of the first NAN network.
6. according to the method described in claim 5, it is characterized in that, the 2nd NAN equipment receives the push of the first NAN equipment Before the first information, the method also includes:
The 2nd NAN equipment setting allows the type of received information and allows received NAN equipment, and the permission is received NAN equipment includes the first NAN equipment, and the type of the first information is that the 2nd NAN equipment allows received information Type.
7. a kind of information push-delivery apparatus, which is characterized in that be applied to include first adjacent to sensing network NAN equipment and the 2nd NAN The system of equipment, the information push-delivery apparatus are applied to the first NAN equipment, and described device includes:
Processing unit, for determining the first distance of the first NAN equipment and the 2nd NAN equipment, the first NAN equipment with it is described 2nd NAN equipment is the NAN equipment of the first NAN network;Determine whether the first distance is less than or equal to first threshold;? In the case that the first distance is less than or equal to the first threshold, the first information is pushed to described second by communication unit NAN equipment.
8. a kind of information push-delivery apparatus, which is characterized in that be applied to include first adjacent to sensing network NAN equipment and the 2nd NAN The system of equipment, the information push-delivery apparatus are applied to the 2nd NAN equipment, and described device includes:
Processing unit, for accessing the first NAN network;The first information of the first NAN equipment push, institute are received by communication unit State the first information be the first NAN equipment determine the first distance of the first NAN equipment and the 2nd NAN equipment be less than or It is sent in the case where equal to first threshold, the first NAN equipment is the NAN equipment of the first NAN network.
9. a kind of neighbouring sensing network NAN equipment, which is characterized in that including processor, memory, communication interface and one Or multiple programs, one or more of programs are stored in the memory, and are configured to be executed by the processor, Described program is included the steps that for executing instruction or described program in method according to any of claims 1-4 Include the steps that for executing such as the instruction in method described in claim 5 or 6.
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 method according to any of claims 1-4 or the computer journey Sequence makes computer execute such as method described in claim 5 or 6.
CN201810911608.8A 2018-08-10 2018-08-10 Information-pushing method and relevant device Pending CN108965466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810911608.8A CN108965466A (en) 2018-08-10 2018-08-10 Information-pushing method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810911608.8A CN108965466A (en) 2018-08-10 2018-08-10 Information-pushing method and relevant device

Publications (1)

Publication Number Publication Date
CN108965466A true CN108965466A (en) 2018-12-07

Family

ID=64469509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810911608.8A Pending CN108965466A (en) 2018-08-10 2018-08-10 Information-pushing method and relevant device

Country Status (1)

Country Link
CN (1) CN108965466A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977143A (en) * 2019-03-06 2019-07-05 深圳市买买提信息科技有限公司 Data interactive method and relevant apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516957A (en) * 2015-11-30 2016-04-20 青岛海尔智能家电科技有限公司 Method and device for switching NAN (Neighbor Awareness Network) network channels
CN105745897A (en) * 2013-11-18 2016-07-06 高通股份有限公司 Wireless discovery location and ranging
WO2016149890A1 (en) * 2015-03-20 2016-09-29 华为技术有限公司 Method of measuring distance between nan device, and nan device
US9544376B1 (en) * 2013-07-11 2017-01-10 Marvell International Ltd Method and apparatus for securely discovering services in a wireless network
CN107258097A (en) * 2015-02-26 2017-10-17 高通股份有限公司 Ranging based on agency in wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9544376B1 (en) * 2013-07-11 2017-01-10 Marvell International Ltd Method and apparatus for securely discovering services in a wireless network
CN105745897A (en) * 2013-11-18 2016-07-06 高通股份有限公司 Wireless discovery location and ranging
CN107258097A (en) * 2015-02-26 2017-10-17 高通股份有限公司 Ranging based on agency in wireless communication system
WO2016149890A1 (en) * 2015-03-20 2016-09-29 华为技术有限公司 Method of measuring distance between nan device, and nan device
CN105516957A (en) * 2015-11-30 2016-04-20 青岛海尔智能家电科技有限公司 Method and device for switching NAN (Neighbor Awareness Network) network channels

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977143A (en) * 2019-03-06 2019-07-05 深圳市买买提信息科技有限公司 Data interactive method and relevant apparatus

Similar Documents

Publication Publication Date Title
US10831802B2 (en) Techniques to respond to user requests using natural-language machine learning based on example conversations
EP3537786A1 (en) User terminal location area update method, access network entity, user terminal, and core network entity
EP3069536B1 (en) Location-based software updates
US20170249934A1 (en) Electronic device and method for operating the same
CN101606147A (en) In communication system, provide service to client from the application service provider
CN110941708B (en) Intelligent question and answer library establishing method, intelligent question and answer method and device and computer equipment
CN103902616A (en) Method, device and system for pushing webpage application messages
CN103906012A (en) Information sending method and device
CN103167581A (en) Method and device for utilizing shared network connection information to access to short distance wireless network
CN110198242A (en) Distribution method, apparatus and storage medium for speech ciphering equipment
CN106911959A (en) A kind of voice drawing reading and system based on intelligent television
CN104092720B (en) The sharing method of playlist and device
CN105144651A (en) Application recommendations
CN109195149A (en) NAN scanning adjusting method and relevant device
CN108965466A (en) Information-pushing method and relevant device
CN110264035A (en) Configuration method, device, terminal and the storage medium of workflow
CN105429981A (en) Game voice transmission method, terminal, voice service module and game system
US20130275581A1 (en) Method for Monitoring Running Information of Applications and Related Apparatus
CN109257706A (en) Information-pushing method and relevant device
CN102857995B (en) A kind of cut-in method of cluster user equipment, message method and user equipment
CN109275125A (en) Resource share method and relevant apparatus
CN105471593B (en) Group conversation method, device and system
CN109191198A (en) Advertisement update method and Related product based on wireless routing
CN114845358B (en) Networking mode access method, device, equipment and storage medium
CN107623753B (en) Information processing method and information processing apparatus

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

Application publication date: 20181207

RJ01 Rejection of invention patent application after publication