[go: up one dir, main page]

CN109803232A - Determination method and device, equipment and the storage medium of positional relationship - Google Patents

Determination method and device, equipment and the storage medium of positional relationship Download PDF

Info

Publication number
CN109803232A
CN109803232A CN201910111549.0A CN201910111549A CN109803232A CN 109803232 A CN109803232 A CN 109803232A CN 201910111549 A CN201910111549 A CN 201910111549A CN 109803232 A CN109803232 A CN 109803232A
Authority
CN
China
Prior art keywords
access point
fence
geography fence
identification information
wireless access
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
CN201910111549.0A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910111549.0A priority Critical patent/CN109803232A/en
Publication of CN109803232A publication Critical patent/CN109803232A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses determination method and device, equipment and the storage mediums of a kind of positional relationship.The described method includes: obtaining and storing the identification information for the fence wireless access point that setting geography fence includes;Obtain the identification information of the corresponding current wireless access point of current geographic position;According to the identification information of current wireless access point and the identification information of fence wireless access point, it is determined whether be located in setting geography fence.The technical solution of the embodiment of the present invention solves the positional relationship determined in the prior art by GPS and base station between equipment and geography fence, it can carry out higher power consumption to equipment belt, shorten the technological deficiency in the cruise duration of equipment, it realizes while accurately and in time determining the positional relationship with geography fence, the power consumption of mobile device and the flow of mobile data is greatly reduced.

Description

Determination method and device, equipment and the storage medium of positional relationship
Technical field
The present embodiments relate to the determination method and device of geography fence technology more particularly to a kind of positional relationship, set Standby and storage medium.
Background technique
Geography fence technology refers to that one kind of LBS (Location Based Service is based on location-based service) is newly answered With being to cross a virtual geographic boundary with a virtual fence.When mobile device entrance, leave some specific geographic area Domain, or it is movable in the area when, mobile device can receive automatic notice and warning.For example advertising campaign is done in some market, Geography fence can be set on market periphery, after mobile device enters the fence area, mobile device can receive businessman Discount information.
In the prior art, determine whether mobile device enters or leave geography fence generally by following two ways: The first, GPS positioning scheme, i.e. mobile terminal obtain location information by GPS module, and then according to the location information of acquisition And the location information of geography fence, judge whether itself enters geography fence;Second, network positioning solution, i.e., in real time or Timing acquisition WIFI information and base station information, the WIFI information and base station information that then will acquire by network are sent to clothes Business device, so that server determines whether mobile terminal enters geography fence and result is fed back to mobile terminal.
In the implementation of the present invention, the discovery prior art has following defects that for first method inventor, Since the power consumption of GPS module is higher and GPS signal is only effective in outdoor, not only use scope is limited for first method And power consumption is higher, shortens the cruise duration of mobile terminal;For second method, due to need continually with server into Row data communication, therefore, the power consumption of second method are higher, also shorten the cruise duration of mobile terminal.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of determination method and device of positional relationship, equipment and storages to be situated between The power consumption of mobile device is greatly reduced to realize while accurately and in time determining the positional relationship with geography fence in matter And the flow of mobile data.
In a first aspect, the embodiment of the invention provides a kind of determination methods of positional relationship, it is preferred that emphasis is:
Obtain and store the identification information for the fence wireless access point that setting geography fence includes;
Obtain the identification information of the corresponding current wireless access point of current geographic position;
According to the identification information of the current wireless access point and the identification information of the fence wireless access point, really It is fixed whether to be located in the setting geography fence.
Second aspect, the embodiment of the invention provides a kind of determining devices of positional relationship, it is preferred that emphasis is:
Fence identification information obtains module, the fence wireless access point for including for obtaining and storing setting geography fence Identification information;
Current identification data obtaining module, for obtaining the mark of the corresponding current wireless access point of current geographic position Information;
Position determination module, for wirelessly being connect according to the identification information and the fence of the current wireless access point The identification information of access point, it is determined whether be located in the setting geography fence.
The third aspect, the embodiment of the invention provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of places Manage the determination method that device realizes positional relationship described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention provides a kind of storage medium comprising computer executable instructions, the meters Calculation machine executable instruction as computer processor when being executed for executing the positional relationship as described in any embodiment of that present invention Determination method.
The embodiment of the invention provides determination method and device, equipment and the storage mediums of a kind of positional relationship, pass through root It is corresponding current wireless according to the identification information and current geographic position that set the fence wireless access point that geography fence includes The identification information of access point, to determine equipment and set the positional relationship between geography fence solving and pass through in the prior art GPS and base station determine the positional relationship between equipment and geography fence, equipment belt can be given to carry out higher power consumption, shorten equipment Cruise duration technological deficiency, realize while the accurately and in time determining positional relationship with geography fence, substantially Reduce the power consumption of mobile device and the flow of mobile data.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the determination method for positional relationship that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the determination method of positional relationship provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the determination method for positional relationship that the embodiment of the present invention three provides;
Fig. 4 is a kind of structure chart of the determining device for positional relationship that the embodiment of the present invention four provides;
Fig. 5 is a kind of structure chart for equipment that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to Convenient for describing, only the parts related to the present invention are shown rather than entire infrastructure in attached drawing.
Embodiment one
Fig. 1 is the flow chart of the determination method for the positional relationship that the embodiment of the present invention one provides, and this method can be by position The determination of relationship executes, which can be by software and or hardware realization, which can be integrated in the equipment such as server In.As shown in Figure 1, this method specifically comprises the following steps:
S101, acquisition and the identification information for storing the fence wireless access point that setting geography fence includes.
In the present embodiment, setting geography fence specifically can be the customized geography fence of user, be also possible to position Stored geography fence, the present embodiment are not limited this in the determining device of relationship.
In the present embodiment, fence wireless access point specifically refers to the Wireless LAN being located in setting geography fence Access point.Further, the borderline wireless access point that geography fence is set for being located at, can both be set to The setting geography fence fence wireless access point that includes, can also be set to setting geography fence fence not to be covered without Line access point can be specifically configured according to actual demand.
In the present embodiment, the identification information of fence wireless access point specifically refers to can be used for unique identification one to enclose The information of column wireless access point typically can be MAC Address (the Media Access Control of fence wireless access point Address, media access control address).
In the present embodiment, the fence wireless access point that setting geography fence can be included by the determining device of positional relationship Identification information be downloaded and store, so as in step 103 directly use, for determine itself whether be located at setting ground It manages in fence.
S102, the identification information for obtaining the corresponding current wireless access point of current geographic position.
In the present embodiment, current geographic position specifically can be the geography that the determining device of positional relationship is currently located Position typically can be latitude and longitude coordinates position.Current wireless access point, which specifically refers to wireless signal, can cover current position Manage the access point of the Wireless LAN of position.
Similarly, in the present embodiment, the identification information of current wireless access point specifically refers to can be used for unique identification The information of one current wireless access point is typically also possible to the MAC Address of current wireless access point.It needs exist for illustrating , no matter which kind of data the identification information of fence wireless access point and the identification information of current wireless access point are specially Information, the two identification informations must be identical data informations, as a result, just can be according to the two identification informations, accurately Determine whether the determining device of positional relationship is located in setting geography fence.
S103, according to the identification information of current wireless access point and the identification information of fence wireless access point, determination is It is no to be located in setting geography fence.
It is understood that the coverage area of WLAN, generally within the scope of hundred meters, coverage area is smaller, Therefore, if the determining device of positional relationship may search for the wireless signal that one or more fence wireless access point issue, It then can determine that the determining device of positional relationship is closer apart from fence wireless access point, it is possible to be located in setting geography fence.Institute With, it is the identification information of the identification information according to current wireless access point and fence wireless access point in the present embodiment, Come determine positional relationship determining device and setting geography fence positional relationship, determine that method specifically may is that
The first, judges the identification information of current wireless access point, if all or part of to belong to fence wireless access point Identification information, if so, determine positional relationship determining device be located at setting geography fence in.
Second, judge that signal strength is higher than the identification information of the current wireless access point of given threshold, if all belong to In the identification information of fence wireless access point, if so, determining that the determining device of positional relationship is located in setting geography fence.
The embodiment of the invention provides a kind of determination methods of positional relationship, by including according to setting geography fence The identification information of the corresponding current wireless access point of identification information and current geographic position of fence wireless access point comes true Locking equipment and setting geography fence between positional relationship, solve determined in the prior art by GPS and base station equipment with Positional relationship between geography fence can carry out higher power consumption to equipment belt, shorten the technological deficiency in the cruise duration of equipment, Realize while the accurately and in time determining positional relationship with geography fence, be greatly reduced the power consumption of mobile device with And the flow of mobile data.
Embodiment two
Fig. 2 is a kind of flow chart of the determination method of positional relationship provided by Embodiment 2 of the present invention.It is more than the present embodiment It states and optimizes based on embodiment, in the present embodiment, give a kind of identification information for embodying fence wireless access point Acquisition modes, embody geography fence geographical position range information and embody with setting geography fence position close The specific embodiment of the determination method of system.Same as the previously described embodiments or corresponding term explains that the present embodiment is no longer superfluous It states.
Correspondingly, the method for the present embodiment specifically includes:
S201, the geographical position for obtaining the customized geography fence that user chooses and the public geography fence that user chooses Set range information.
In the present embodiment, setting geography fence includes that the customized geography fence of user's selection and user choose Public geography fence, it is seen then that the setting geography fence in the present embodiment may include multiple geography fences.Wherein, free burial ground for the destitute is made by oneself Reason fence specifically can be the geography fence that the connecting line for the marginal point specified by user is surrounded, and can also be and is referred to by user The geography fence etc. that the occupied area of fixed building generates.Wherein, public geography fence specifically can be with public attribute Geography fence, such as the corresponding geography fence of the corresponding geography fence in certain shopping center and certain park etc..
Explanation is needed further exist for, if there is the geographic range of intersection in different setting geography fences, they May will include identical fence wireless access point, so may can the judgement result to step 207 generate bad shadow It rings, it is possible to the case where will appear decision error.Therefore, in order to can accurately determine positional relationship determining device whether In setting geography fence, in the present embodiment, different setting geography fences should there is no the geographic ranges of intersection, or Person, if the geographic range of different setting geography fence presence intersections, but the Ying Bucun inside the geographic range of this intersection In fence wireless access point.
In the present embodiment, geographical position range information specifically refers to may indicate that ground included by setting geography fence Manage the location information of range.Specifically, if customized geography fence or public geography fence are round geography fence, that Geographical position range information can for the center of circle geographical position coordinates and circular radius;If customized geography fence Or public geography fence is polygon geography fence, then geographical position range information can be the ground on each vertex of polygon Manage position coordinates.
S202, geographical position range information is sent to location services equipment.
In the present embodiment, the identification information of fence wireless access point is obtained from location services equipment.Wherein, Location services equipment specifically can be location-server etc., be stored in location services equipment setting geographic range in institute whether there is or not The location information and identification information of line access point.Wherein, setting geographic range should be the ground for including all setting geography fences Manage range.
S203, location services equipment transmission is received and stored, the customized geography fence and user's choosing that user chooses The identification information for the fence wireless access point that the public geography fence taken respectively includes.
In the present embodiment, location services equipment is in the customized geography fence and user's choosing for receiving user's selection After the geographical position range information of the public geography fence taken, the corresponding geography of each geographical position range information can be obtained The identification information for all wireless access point for including in position range, then by user choose customized geography fence and The identification information for the fence wireless access point that the public geography fence that user chooses respectively includes is sent to the determination of positional relationship Device.
S204, the identification information for obtaining the corresponding current wireless access point of current geographic position.
S205, according to signal strength, each current wireless access point is ranked up from big to small.
It is understood that closer at a distance from wireless access point, the wireless communication that the wireless access point received issues Number intensity it is bigger.It will also be appreciated that it is closer at a distance from wireless access point, it may more enter the wireless access point The setting geography fence at place.
It therefore, in the present embodiment, is not wireless according to the identification information and fence of all current wireless access points The identification information of access point, to determine whether to be located in setting geography fence, but according only to the stronger current nothing of signal strength The identification information of line access point and the identification information of fence wireless access point, to determine whether to be located in setting geography fence.
Firstly, basis signal intensity is from big to small ranked up all current wireless access points by this step, Signal strength is stronger, ranks more forward.
S206, from ranking results, from front to back choose setting quantity current wireless access point as access to be matched Point.
In the present embodiment, after being ranked up to current wireless access point, can according to sequence from front to back, from The current wireless access point of setting quantity is chosen in ranking results as access point to be matched.Wherein, access point to be matched is specific Refer to for matching with fence wireless access point, to determine whether to be located in setting geography fence.
In addition, other than " setting quantity ", it can also be using setting signal intensity as the item for choosing access point to be matched Part.
S207, according to the identification information of access point to be matched and the identification information of fence wireless access point, it is determined whether In setting geography fence.
The embodiment of the invention provides a kind of determination method of positional relationship, this method embodies fence wireless access The acquisition modes of the identification information of point realize mark letter that is quick, accurate and easily obtaining fence wireless access point Breath, embodies the geographical position range information of geography fence, and it is corresponding to realize accurately and simply expression setting geography fence Geographical position range, embody with setting geography fence positional relationship determination method, improve positional relationship judgement Accuracy.
Embodiment three
Fig. 3 is a kind of flow chart of the determination method for positional relationship that the embodiment of the present invention three provides.It is more than the present embodiment It states and optimizes based on embodiment, in the present embodiment, give the positional relationship of a kind of materialization and setting geography fence Determination method specific embodiment.Same as the previously described embodiments or corresponding term explains that this embodiment is not repeated.
Correspondingly, the method for the present embodiment specifically includes:
S301, the geographical position for obtaining the customized geography fence that user chooses and the public geography fence that user chooses Set range information.
S302, geographical position range information is sent to location services equipment.
S303, location services equipment transmission is received and stored, the customized geography fence and user's choosing that user chooses The identification information for the fence wireless access point that the public geography fence taken respectively includes.
S304, the identification information for obtaining the corresponding current wireless access point of current geographic position.
S305, according to signal strength, each current wireless access point is ranked up from big to small.
S306, according to the corresponding matching order of each setting geography fence, by matching order near preceding setting geography fence It is set as geography fence to be matched.
In the present embodiment, due to setting geography fence have it is multiple, therefore, it is necessary to by all setting geography fences successively It is matched with access point to be matched, so, all setting geography fences should be corresponding with certain matching order.
In the present embodiment, respectively the matching order of setting geography fence specifically can be and choose setting ground according to user What selection sequence when managing fence determined, the matching order that can also be randomly generated can also be according to current wireless access The signal strength of point determines that matching order, the present embodiment are not limited this.
Wherein, matching order is determined according to the signal strength of current wireless access point, specifically can be by with step In 305 ranking results, the identification information of more forward current wireless access point, the mark of identical fence wireless access point The matching order of setting geography fence belonging to information is arranged more forward.
S307, from ranking results, from front to back choose setting quantity current wireless access point as access to be matched Point.
In the present embodiment, different setting geography fences can correspond to different " setting quantity ".That is, to Geography fence difference is matched, the quantity of selected access point to be matched can be different.
S308, the identification information for judging the corresponding fence wireless access point of geography fence to be matched, with access point to be matched Identification information whether match, if so, 309 are thened follow the steps, if it is not, thening follow the steps 310.
In the present embodiment, the identification information of the corresponding fence wireless access point of geography fence to be matched, connects with to be matched Whether the identification information of access point matches, specifically can be access point to be matched identification information whether all belong to it is to be matched The identification information of the corresponding fence wireless access point of geography fence, if so, matching.
S309, it determines in geography fence to be matched.
S310, according to matching order, the setting geography fence after geography fence to be matched is updated to geography to be matched Fence, and return to step 308.
In the present embodiment, if the identification information of the corresponding fence wireless access point of geography fence to be matched, with to Identification information with access point mismatches, then can be according to matching order, by the setting geography fence after geography fence to be matched It is updated to geography fence to be matched, and will continue to the mark of the new corresponding fence wireless access point of geography fence to be matched of judgement Know information, whether matched with the identification information of access point to be matched, until having matched all setting geography fences
The embodiment of the invention provides a kind of determination method of positional relationship, this method is embodied encloses with setting geography The determination method of the positional relationship on column introduces the matching order of setting geography fence, can quickly determine and each setting ground The positional relationship between fence is managed, certain calculation amount can be also reduced.
Example IV
Fig. 4 is a kind of structure chart of the determining device for positional relationship that the embodiment of the present invention four provides.As shown in Fig. 4, institute Stating device includes: that fence identification information obtains module 401, current identification data obtaining module 402 and position determination module 403, in which:
Fence identification information obtains module 401, the fence wireless access for including for obtaining and storing setting geography fence The identification information of point;
Current identification data obtaining module 402, for obtaining the mark of the corresponding current wireless access point of current geographic position Know information;
Position determination module 403, for according to the identification information of current wireless access point and fence wireless access point Identification information, it is determined whether be located in setting geography fence.
The embodiment of the invention provides a kind of determining device of positional relationship, which passes through fence identification information first The identification information that module 401 obtains and stores the fence wireless access point that setting geography fence includes is obtained, then by current Identification information obtains the identification information that module 402 obtains the corresponding current wireless access point of current geographic position, finally by position Determining module 403, which is set, according to the identification information of current wireless access point and the identification information of fence wireless access point, determination is It is no to be located in setting geography fence.
Which solves the position determined in the prior art by GPS and base station between equipment and geography fence passes System can carry out higher power consumption to equipment belt, shorten the technological deficiency in the cruise duration of equipment, realize accurately and in time While the determining positional relationship with geography fence, the power consumption of mobile device and the flow of mobile data is greatly reduced.
On the basis of the various embodiments described above, fence identification information obtains module 401 and may include:
Geographical position range information acquisition unit, for obtaining the customized geography fence and user's choosing of user's selection The geographical position range information of the public geography fence taken;
Geographical position range information transmitting unit, for geographical position range information to be sent to location services equipment;
Identification information receiving unit, for receiving and storing location services equipment transmission, what user chose makes free burial ground for the destitute by oneself The identification information for the fence wireless access point that the public geography fence that reason fence and user choose respectively includes.
On the basis of the various embodiments described above, if customized geography fence or public geography fence are that round geography encloses Column, then geographical position range information at least may include the center of circle geographical position coordinates and circular radius;
If customized geography fence or public geography fence are polygon geography fence, geographical position range information It at least may include the geographical position coordinates on each vertex of polygon.
On the basis of the various embodiments described above, position determination module 403 may include:
Sequencing unit, for being ranked up to each current wireless access point from big to small according to signal strength;
Access point selection unit to be matched, for from ranking results, choosing the current wireless of setting quantity from front to back Access point is as access point to be matched;
First position relation determination unit, for the identification information and fence wireless access according to access point to be matched The identification information of point, it is determined whether be located in setting geography fence.
On the basis of the various embodiments described above, can also include:
Geography fence determination unit to be matched, for choosing the current of setting quantity from front to back from ranking results Before wireless access point is as access point to be matched, according to the corresponding matching order of each setting geography fence, most by matching order Forward setting geography fence is set as geography fence to be matched;
Correspondingly, position determination module 403 can also include:
Judging unit, for judging the identification information of the corresponding fence wireless access point of geography fence to be matched, with to Whether the identification information with access point matches;
Second position relation determination unit, if the mark for the corresponding fence wireless access point of geography fence to be matched Information matches with the identification information of access point to be matched, it is determined that is located in geography fence to be matched.
The third place relation determination unit, if the mark for the corresponding fence wireless access point of geography fence to be matched The identification information of information and access point to be matched mismatches, then according to matching order, by the setting after geography fence to be matched Geography fence is updated to geography fence to be matched, and returns to execution and judge the corresponding fence wireless access of geography fence to be matched The identification information of point and the identification information of access point to be matched, if the step of matching.
On the basis of the various embodiments described above, setting quantity can be corresponding with geography fence to be matched.
On the basis of the various embodiments described above, identification information can be the MAC Address of wireless access point.
The determining device of positional relationship provided by the embodiment of the present invention can be performed provided by any embodiment of the invention The determination method of positional relationship has the corresponding functional module of execution method and beneficial effect.It is not detailed in the present embodiment to retouch The technical detail stated, reference can be made to the coordination approach for the social road that any embodiment of that present invention provides.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used to realizing The block diagram of the example devices 12 of embodiment of the present invention.The equipment 12 that Fig. 5 is shown is only an example, should not be to this hair The function and use scope of bright embodiment bring any restrictions.
As shown in figure 5, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures. For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) Bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment The usable medium of 12 access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include other removable/nonremovable , volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not removable Dynamic, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 5, can provide Disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to moving non-volatile light The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver It can be connected by one or more data media interfaces with bus 18.System storage 28 may include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair The function of bright each embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store and store in such as system In device 28, such program module 42 includes but is not limited to operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.Program module 42 usually execute function and/or method in embodiment described in the invention.
Equipment 12 can also be logical with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.) Letter, can also be enabled a user to one or more equipment interact with the equipment 12 communicate, and/or with make the equipment 12 Any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicates.This Kind communication can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also pass through network adapter 20 and one A or multiple networks (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as figure Shown, network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, Other hardware and/or software module can be used with bonding apparatus 12, including but not limited to: microcode, device driver, redundancy Processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application with And data processing, such as realize the determination method of positional relationship provided by the embodiment of the present invention, and namely: it obtains and stores and set Determine the identification information for the fence wireless access point that geography fence includes;Obtain the corresponding current wireless access of current geographic position The identification information of point;Believed according to the mark of the identification information of the current wireless access point and the fence wireless access point Breath, it is determined whether be located in the setting geography fence.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, It is characterized in that, the determination method of the positional relationship as described in any embodiment of that present invention is realized when which is executed by processor, Namely: obtain and store the identification information for the fence wireless access point that setting geography fence includes;Obtain current geographic position pair The identification information for the current wireless access point answered;According to the identification information of the current wireless access point and the fence without The identification information of line access point, it is determined whether be located in the setting geography fence.
The computer storage medium of the embodiment of the present invention, can appointing using one or more computer-readable media Meaning combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer can Reading storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device Or device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium wraps It includes: there is the electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, the read-only storage of portable compact disc Device (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer Readable storage medium storing program for executing can be any tangible medium for including or store program, which can be commanded execution system, device Either device use or in connection.
Computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but It is not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be calculating Any computer-readable medium other than machine readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit For by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but not It is limited to wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully execute, partly execute on the user computer on the user computer, being executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.Those skilled in the art can manage Solution, the invention is not limited to the specific embodiments described herein, is able to carry out various apparent changes for a person skilled in the art Change, readjust and substitutes without departing from protection scope of the present invention.Therefore, although by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, the case where not departing from present inventive concept Under, it can also include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of determination method of positional relationship, it is preferred that emphasis is:
Obtain and store the identification information for the fence wireless access point that setting geography fence includes;
Obtain the identification information of the corresponding current wireless access point of current geographic position;
According to the identification information of the current wireless access point and the identification information of the fence wireless access point, it is determined whether In the setting geography fence.
2. the method according to claim 1, wherein obtaining and to store the setting geography fence fence that includes wireless The identification information of access point, comprising:
Obtain the geographical position range information of the customized geography fence that user chooses and the public geography fence that user chooses;
The geographical position range information is sent to location services equipment;
Receive and store what the location services equipment was sent, the customized geography fence and the user that the user chooses The identification information for the fence wireless access point that the public geography fence chosen respectively includes.
3. according to the method described in claim 2, it is characterized in that, if the customized geography fence or the public geography Fence is round geography fence, then the geographical position range information includes at least the geographical position coordinates in the center of circle and circular Radius;
If the customized geography fence or the public geography fence are polygon geography fence, the geographical location model Information is enclosed including at least the geographical position coordinates on each vertex of polygon.
4. method according to any one of claim 1-3, which is characterized in that according to the mark of the current wireless access point Know the identification information of information and the fence wireless access point, it is determined whether be located in the setting geography fence, comprising:
According to signal strength, each current wireless access point is ranked up from big to small;
From ranking results, the current wireless access point of setting quantity is chosen from front to back as access point to be matched;
According to the identification information of the access point to be matched and the identification information of the fence wireless access point, it is determined whether position In in the setting geography fence.
5. according to the method described in claim 4, it is characterized in that, choosing setting from front to back described from ranking results Before the current wireless access point of quantity is as access point to be matched, further includes:
According to the corresponding matching order of each setting geography fence, set matching order near preceding setting geography fence Geography fence to be matched;
Correspondingly, according to the identification information of the access point to be matched and the identification information of the fence wireless access point, really It is fixed whether to be located in the setting geography fence, comprising:
The identification information for judging the corresponding fence wireless access point of the geography fence to be matched, with the access point to be matched Whether identification information matches;
If the identification information of the corresponding fence wireless access point of the geography fence to be matched, the mark with the access point to be matched Know information to match, it is determined that be located in the geography fence to be matched;
If the identification information of the corresponding fence wireless access point of the geography fence to be matched and the mark of the access point to be matched Know information to mismatch, then according to the matching order, by the setting geography fence after geography fence to be matched be updated to With geography fence, and return to identification information and the institute for executing and judging the corresponding fence wireless access point of the geography fence to be matched State the identification information of access point to be matched, if the step of matching.
6. according to the method described in claim 5, it is characterized in that, the setting quantity is opposite with the geography fence to be matched It answers.
7. according to the method described in claim 6, it is characterized in that, the identification information is the MAC Address of wireless access point.
8. a kind of determining device of positional relationship, it is preferred that emphasis is:
Fence identification information obtains module, for obtaining and storing the mark for the fence wireless access point that setting geography fence includes Information;
Current identification data obtaining module, for obtaining the identification information of the corresponding current wireless access point of current geographic position;
Position determination module, for according to the identification information of the current wireless access point and the fence wireless access point Identification information, it is determined whether be located in the setting geography fence.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now determination method of the positional relationship as described in any in claim 1-7.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal For executing the determination method of the positional relationship as described in any in claim 1-7 when device executes.
CN201910111549.0A 2019-02-12 2019-02-12 Determination method and device, equipment and the storage medium of positional relationship Pending CN109803232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910111549.0A CN109803232A (en) 2019-02-12 2019-02-12 Determination method and device, equipment and the storage medium of positional relationship

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910111549.0A CN109803232A (en) 2019-02-12 2019-02-12 Determination method and device, equipment and the storage medium of positional relationship

Publications (1)

Publication Number Publication Date
CN109803232A true CN109803232A (en) 2019-05-24

Family

ID=66562117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910111549.0A Pending CN109803232A (en) 2019-02-12 2019-02-12 Determination method and device, equipment and the storage medium of positional relationship

Country Status (1)

Country Link
CN (1) CN109803232A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374929A (en) * 2021-12-15 2022-04-19 深圳优美创新科技有限公司 Wearable device positioning method and device, electronic device and storage medium
CN114440904A (en) * 2022-01-28 2022-05-06 中国第一汽车股份有限公司 Geographic fence data updating method, device, medium and equipment
CN116033341A (en) * 2022-05-30 2023-04-28 荣耀终端有限公司 Method and device for triggering a fence event
CN116033344A (en) * 2022-06-13 2023-04-28 荣耀终端有限公司 Determination method, equipment and storage medium of geographic fence
CN116600254A (en) * 2023-06-05 2023-08-15 兰州交通大学 Monitoring method based on electronic fence
CN116709191A (en) * 2022-11-29 2023-09-05 荣耀终端有限公司 A positioning method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103563406A (en) * 2011-06-03 2014-02-05 苹果公司 Monitoring of exits from geofences
CN103563405A (en) * 2011-06-03 2014-02-05 苹果公司 Selecting wireless access points for geofence monitoring
CN103826199A (en) * 2012-11-16 2014-05-28 美国博通公司 Apparatus and method for performing low-power geo-fence operations
CN103916818A (en) * 2014-04-09 2014-07-09 北京百度网讯科技有限公司 Positioning method based on geofence technology and mobile terminal
US20140370909A1 (en) * 2013-06-14 2014-12-18 Microsoft Corporation Reduced power location determinations for detecting geo-fences
US20150099546A1 (en) * 2013-10-08 2015-04-09 Samsung Electronics Co., Ltd. Location-based service provision method and system of electronic device
CN104919395A (en) * 2013-02-22 2015-09-16 英特尔公司 Geofence creation on touch-enabled devices
CN106062581A (en) * 2014-02-12 2016-10-26 谷歌公司 Energy Efficient Position Determination

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103563406A (en) * 2011-06-03 2014-02-05 苹果公司 Monitoring of exits from geofences
CN103563405A (en) * 2011-06-03 2014-02-05 苹果公司 Selecting wireless access points for geofence monitoring
CN103826199A (en) * 2012-11-16 2014-05-28 美国博通公司 Apparatus and method for performing low-power geo-fence operations
CN104919395A (en) * 2013-02-22 2015-09-16 英特尔公司 Geofence creation on touch-enabled devices
US20140370909A1 (en) * 2013-06-14 2014-12-18 Microsoft Corporation Reduced power location determinations for detecting geo-fences
US20150099546A1 (en) * 2013-10-08 2015-04-09 Samsung Electronics Co., Ltd. Location-based service provision method and system of electronic device
CN106062581A (en) * 2014-02-12 2016-10-26 谷歌公司 Energy Efficient Position Determination
CN103916818A (en) * 2014-04-09 2014-07-09 北京百度网讯科技有限公司 Positioning method based on geofence technology and mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374929A (en) * 2021-12-15 2022-04-19 深圳优美创新科技有限公司 Wearable device positioning method and device, electronic device and storage medium
CN114440904A (en) * 2022-01-28 2022-05-06 中国第一汽车股份有限公司 Geographic fence data updating method, device, medium and equipment
CN114440904B (en) * 2022-01-28 2024-03-15 中国第一汽车股份有限公司 Geofence data updating method, device, medium and equipment
CN116033341A (en) * 2022-05-30 2023-04-28 荣耀终端有限公司 Method and device for triggering a fence event
CN116033341B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Method and device for triggering fence event
CN116033344A (en) * 2022-06-13 2023-04-28 荣耀终端有限公司 Determination method, equipment and storage medium of geographic fence
CN116033344B (en) * 2022-06-13 2023-09-26 荣耀终端有限公司 Determination method, equipment and storage medium of geofence
CN116709191A (en) * 2022-11-29 2023-09-05 荣耀终端有限公司 A positioning method and electronic device
CN116709191B (en) * 2022-11-29 2024-05-03 荣耀终端有限公司 Positioning method and electronic equipment
CN116600254A (en) * 2023-06-05 2023-08-15 兰州交通大学 Monitoring method based on electronic fence

Similar Documents

Publication Publication Date Title
CN109803232A (en) Determination method and device, equipment and the storage medium of positional relationship
Gast Building applications with IBeacon: proximity and location services with bluetooth low energy
CN105007320B (en) Based on the intelligent movable tourist guide system of Cloud Server
CN105025101B (en) Based on the intelligent guide guide system of the android system of hand-drawing map
CN107679189A (en) A kind of point of interest update method, device, server and medium
CN110348858A (en) Product data processing method and processing device, electronic equipment
CN109064278A (en) Target object recommended method and device, electronic equipment, storage medium
CN109302492B (en) Method, apparatus, and computer-readable storage medium for recommending service location
CN107172209B (en) Information pushing method and device
CN107562958A (en) Map interest point failure method for digging, device, server and storage medium
CN110431573A (en) The system and method for Order splitting optimization
CN111881368B (en) Method and system for determining recommended get-on point
CN110009379A (en) A kind of building of site selection model and site selecting method, device and equipment
CN105021186A (en) Intelligent tour-guiding and view-guiding system based on hand-drawn map
CN105025100A (en) IOS system-based hand-drawn map intelligent guide and navigation system
CN106767835A (en) Localization method and device
CN110244765A (en) A kind of aircraft route track generation method, device, unmanned plane and storage medium
CN107883974A (en) Planing method, navigation server and the computer-readable medium of guidance path
CN109708646A (en) A kind of express delivery cabinet finding method, device, equipment and storage medium
CN107507544A (en) A kind of wheel advertising display systems and its method
CN108446930A (en) AR advertisement media implementation methods
CN116562585A (en) System and method for distributing service requests
US7136657B2 (en) Area-dependent service system and method for mobile stations
CN104359495A (en) Application testing method and device
CN107295489A (en) Pseudo-base station note recognition methods, device, equipment and storage medium

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: 20190524

RJ01 Rejection of invention patent application after publication