CN108733677A - Quickly search the method, apparatus and service terminal of ambient services - Google Patents

Quickly search the method, apparatus and service terminal of ambient services Download PDF

Info

Publication number
CN108733677A
CN108733677A CN201710245498.1A CN201710245498A CN108733677A CN 108733677 A CN108733677 A CN 108733677A CN 201710245498 A CN201710245498 A CN 201710245498A CN 108733677 A CN108733677 A CN 108733677A
Authority
CN
China
Prior art keywords
current location
analyzed area
longitude
value
analyzed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710245498.1A
Other languages
Chinese (zh)
Other versions
CN108733677B (en
Inventor
欧国宇
王俊杰
李洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangdong Shenma Search 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 Guangdong Shenma Search Technology Co Ltd filed Critical Guangdong Shenma Search Technology Co Ltd
Priority to CN201710245498.1A priority Critical patent/CN108733677B/en
Publication of CN108733677A publication Critical patent/CN108733677A/en
Application granted granted Critical
Publication of CN108733677B publication Critical patent/CN108733677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to Internet technical fields, more particularly to a kind of method of quick lookup ambient services, device and service terminal, the method of the quick lookup ambient services includes obtaining the longitude and latitude value of current location, the longitude of the center of the analyzed area where current location and the longitude and latitude value of the center of latitude value and the multiple analyzed areas adjacent with the analyzed area where the current location are calculated according to the longitude of current location and latitude value, to calculate the coding parameter of analyzed area and adjacent multiple analyzed areas where current location.And then by and the current location where analyzed area and the corresponding address of service of the coding parameter of multiple analyzed areas adjacent with the analyzed area where the current location export.By exporting address of service corresponding with the coding parameter of multiple analyzed areas, avoids calculating all ambient services addresses at a distance from current location, quickly searched ambient services.

Description

Quickly search the method, apparatus and service terminal of ambient services
Technical field
The present invention relates to Internet technical fields, in particular to a kind of method, apparatus of quick lookup ambient services And service terminal.
Background technology
With the rapid development of economy, requirement of the people to trip is higher and higher.For a strange environment, Ren Mentong Often wish by rapidly retrieving to understand the distribution situation of ambient services, and then facilitates people further according to the hobby of oneself It makes a choice.In the scheme of existing retrieval ambient services, residing for all ambient services of calculating and people itself The distance of position, such mode is computationally intensive, and time-consuming, and major part therein is all invalid computation.Therefore it provides a kind of Quick-searching ambient services, the method for saving call duration time are very necessary.
Invention content
The purpose of the present invention is to provide a kind of methods of quick lookup ambient services, and periphery clothes are quickly searched to realize Business timely responds to the demand of user, saves call duration time.
Another object of the present invention is to provide a kind of devices of quick lookup ambient services, and periphery is quickly searched to realize Service timely responds to the demand of user, saves call duration time.
Another object of the present invention is to provide a kind of service terminals, quickly search ambient services to realize, timely respond to The demand of user saves call duration time,
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, an embodiment of the present invention provides a kind of method of quick lookup ambient services, it is applied to service terminal, The method includes:
Obtain the longitude and latitude value of current location;
It is calculated according to the longitude of the current location and latitude value in the analyzed area where the current location In the longitude and latitude value of heart position and multiple analyzed areas adjacent with the analyzed area where the current location The longitude and latitude value of heart position;
Respectively according to the longitude of the center of the analyzed area where the current location and latitude value and with institute The longitude and latitude value of the center of the adjacent multiple analyzed areas of analyzed area where stating current location, described in calculating The coding parameter of analyzed area and adjacent multiple analyzed areas where current location;
Output with the current location where analyzed area coding parameter and with where the current location point Analyse the corresponding address of service of coding parameter of the adjacent multiple analyzed areas in region.
Second aspect, the embodiment of the present invention additionally provide a kind of device of quick lookup ambient services, are applied to service eventually End, described device include:
Acquisition module, the longitude for obtaining current location and latitude value;
First computing module, for calculating the current location institute according to the longitude and latitude value of the current location Analyzed area center longitude and latitude value and adjacent with the analyzed area where the current location The longitude and latitude value of the center of multiple analyzed areas;
Second computing module, for respectively according to the longitude of the center of the analyzed area where the current location With latitude value and the longitude of the center of the multiple analyzed areas adjacent with the analyzed area where the current location And latitude value, calculate the coding parameter of the analyzed area and adjacent multiple analyzed areas where the current location;
Output module, for export with the current location where analyzed area coding parameter and with it is described currently The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area where position.
The third aspect, the embodiment of the present invention additionally provide a kind of service terminal, and the service terminal includes:
Memory;
Processor;And
The device of ambient services is quickly searched, the device of the quick lookup ambient services is installed in the memory simultaneously Including the software function module that one or more is executed by the processor, the device of the quick lookup ambient services includes:
Acquisition module, the longitude for obtaining current location and latitude value;
First computing module, for calculating the current location institute according to the longitude and latitude value of the current location Analyzed area center longitude and latitude value and adjacent with the analyzed area where the current location The longitude and latitude value of the center of multiple analyzed areas;
Second computing module, for respectively according to the longitude of the center of the analyzed area where the current location With latitude value and the longitude of the center of the multiple analyzed areas adjacent with the analyzed area where the current location And latitude value, calculate the coding parameter of the analyzed area and adjacent multiple analyzed areas where the current location;
Output module, for export with the current location where analyzed area coding parameter and with it is described currently The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area where position.
The method, apparatus and service terminal of a kind of quick lookup ambient services provided in an embodiment of the present invention, the fast quick checking The method, apparatus of ambient services is looked for be applied to service terminal, which includes obtaining present bit The longitude and latitude value set calculate the analyzed area where current location according to the longitude of current location and latitude value The longitude and latitude value of center and the multiple analyzed areas adjacent with the analyzed area where the current location The longitude and latitude value of center.According to the longitude and latitude of the center of the analyzed area at the place of current location The longitude and latitude of the center of value and the multiple analyzed areas adjacent with the analyzed area where the current location Value calculates the coding parameter of the analyzed area and adjacent multiple analyzed areas where current location.And then will with it is described The volume of analyzed area and the multiple analyzed areas adjacent with the analyzed area where the current location where current location The corresponding address of service output of code parameter.By exporting address of service corresponding with the coding parameter of multiple analyzed areas, avoid All ambient services addresses are calculated at a distance from current location, and then save call duration time, have quickly searched ambient services, and When responded user demand.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of schematic diagram of the application environment of service terminal provided in an embodiment of the present invention.
Fig. 2 shows a kind of structural schematic diagrams of service terminal provided in an embodiment of the present invention.
Fig. 3 shows a kind of flow chart of the method for quick lookup ambient services provided in an embodiment of the present invention.
Fig. 4 shows the flow chart of another method for quickly searching ambient services provided in an embodiment of the present invention.
Fig. 5 shows the flow of the sub-step of another method for quickly searching ambient services provided in an embodiment of the present invention Figure,
Fig. 6 shows another sub-step of another method for quickly searching ambient services provided in an embodiment of the present invention Flow chart.
Fig. 7 shows another sub-step of another method for quickly searching ambient services provided in an embodiment of the present invention Flow chart.
Fig. 8 shows a kind of function module signal of the device of quick lookup ambient services provided in an embodiment of the present invention Figure.
Fig. 9 shows the function module signal of another device for quickly searching ambient services provided in an embodiment of the present invention Figure.
Diagram:100- mobile terminals;200- networks;300- service terminals;310- quickly searches the device of ambient services; 320- memories;330- processors;340- communication units;311- acquisition modules;The first computing modules of 312-;313- second is calculated Module;314- output modules;321- acquisition modules;The first determining modules of 322-;The second determining modules of 323-;324- thirds determine Module;The first computing modules of 325-;The second computing modules of 326-;327- output modules.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 is please referred to, is a kind of schematic diagram of the application environment of service terminal 300 provided in an embodiment of the present invention.The clothes Business terminal 300 is connect by network 200 with multiple mobile terminals 100, is equipped on the mobile terminal 100 and is quickly searched periphery clothes The application program of business, the mobile terminal 100 send inquiry request by responding the inquiry operation of user to service terminal 300, into And service terminal 300 respond the inquiry request to mobile terminal 100 push ambient services, be shown in mobile terminal 100 for Family is checked.The mobile terminal 100 may be, but not limited to, other mobile electronic devices such as mobile phone or tablet computer, and the service is whole End 300 may be, but not limited to, other electronic equipments such as desktop computer.
Fig. 2 is please referred to, is a kind of structural schematic diagram of service terminal 300 provided in an embodiment of the present invention.The service terminal 300 include device 310, memory 320, processor 330 and the communication unit 340 for quickly searching ambient services.
The memory 320, processor 330 and 340 each element of communication unit directly or indirectly electrically connect between each other It connects, to realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus or signal between each other Line, which is realized, to be electrically connected.The device 310 of the quick lookup ambient services include it is at least one can be with software or firmware (firmware) form is stored in memory 320 or is solidificated in the operating system (operating of service terminal 300 System, OS) in software function module.Processor 330 is used to execute the executable module stored in memory 320, such as Software function module and computer program that the device 310 for quickly searching ambient services includes etc..
Wherein, memory 320 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 320 is for storing program, and processor 330 executes described program after receiving and executing instruction.Communication unit 340 by network 200 for establishing the communication connection between service terminal 300 and mobile terminal 100, and for passing through the net 200 transceiving data of network.
Fig. 3 is please referred to, is a kind of flow chart of the method for quick lookup ambient services provided in an embodiment of the present invention, this is fast The method that ambient services are looked in quick checking is applied to service terminal 300.The method of the quick lookup ambient services includes:
Step S110 obtains the longitude and latitude value of current location.
When the startup of mobile terminal 100 is installed on the application program of mobile terminal 100, which passes through network 200 establish connection with service terminal 300.Service terminal 300 obtains the longitude of user current location by positioning software, such as GPS Value and latitude value.
Step S120 calculates the analysis where the current location according to the longitude of the current location and latitude value The longitude and latitude value of the center in region and the multiple analyses adjacent with the analyzed area where the current location The longitude and latitude value of the center in region.
Multiple analyzed area is to divide in advance, and each analysis region is the square of the identical length of side.In multiple analyses In coordinate system residing for region, the analyzed area residing for current location is determined according to the longitude of current location and latitude value, i.e., The longitude of analyzed area and the range of latitude value whether are fallen by the longitude and latitude value of analyzing current location.And then it is logical Cross current location longitude and latitude value determine analyzed area residing for current location center longitude and latitude Value, the longitude and latitude value of the center of the analyzed area residing for current location determine and point residing for current location Analyse the longitude and latitude value of the center of the adjacent multiple analyzed areas in region.It is readily comprehensible, it can also be according to current The longitude and latitude value of position obtain multiple point adjacent with the analyzed area residing for current location by the analysis of coordinate system Analyse the longitude and latitude value of the center in region.
Step S130, respectively according to the longitude and latitude value of the center of the analyzed area where the current location And the longitude and latitude value of the center of the multiple analyzed areas adjacent with the analyzed area where the current location, Calculate the coding parameter of the analyzed area and adjacent multiple analyzed areas where the current location.
First, suitable step value is selected according to the seeking scope that user selectes, which can be according to seeking scope It is configured, it is two that step value such as corresponding with one kilometer of seeking scope, which is 500,000,500 kilometers of corresponding seeking scopes, 100000, seeking scope is smaller, and step value is bigger, searches more accurate.By the longitude of the analyzed area where current location or with The longitude of the adjacent multiple analyzed areas of analyzed area where current location, is multiplied, which is with special value 1000000, six are equivalent to after the decimal point for taking the longitude, but be not limited to, which can also be according to actual needs It is set.By the longitude of the analyzed area where current location or adjacent with the analyzed area where current location multiple The longitude of analyzed area, after being multiplied with special value, divided by selected step value, obtain longitude mean value.It is readily comprehensible, By the latitude of analyzed area and the multiple analyzed areas adjacent with the analyzed area where current location where current location Value, is multiplied with special value, then divided by select step-length be worth to latitude value mean value.In turn by the analysis area where current location The selected step value of domain or the multiple analyzed areas adjacent with current location, longitude mean value and latitude value mean value are arranged in order Obtain the coding parameter of the analyzed area and the multiple analyzed areas adjacent with current location where current location.
Step S140, output with the current location where analyzed area coding parameter and with the current location institute The adjacent multiple analyzed areas of analyzed area the corresponding address of service of coding parameter.
Each address of service corresponds to a coding parameter, which pre-sets looks into real time in order to save user The time of inquiry.The address of service refers to the address of such as supermarket address, milk tea shop address ambient services.If point where current location When the coding parameter in analysis region is consistent with the coding parameter of address of service, then by the volume with the analyzed area where the current location The consistent all addresss of service of code parameter are exported.It is readily comprehensible, when adjacent with the analyzed area where current location When the coding parameter of multiple analyzed areas is consistent with the coding parameter of address of service, then by the volume with adjacent multiple analyzed areas The consistent all addresss of service output of code parameter.Since this programme pre-sets coding parameter to each service, by that will divide It analyses region and carries out coding parameter matching with service so that the service of user's energy real-time query analyzed area dramatically saves Call duration time reduces invalid computation.
Fig. 4 is please referred to, is the flow chart of another method for quickly searching ambient services provided in an embodiment of the present invention, it should The method for quickly searching ambient services is applied to service terminal 300, which includes:
Step S210 obtains the longitude and latitude value of current location.
When the startup of mobile terminal 100 is installed on the application program of mobile terminal 100, which passes through network 200 establish connection with service terminal 300.Service terminal 300 obtains the longitude of user current location by positioning software, such as GPS Value and latitude value.
Step S220 determines preset step value according to the seeking scope that user selectes.
It is preset with multiple seeking scopes on the mobile terminal 100 to select for user, such as 500 meters or 1000 meters, use Family can select suitable seeking scope according to the needs of oneself.Service terminal 300 receives what user selected from mobile terminal 100 Seeking scope, such as 500 meters.Multiple preset seeking scopes and each preset lookup are pre-stored in service terminal 300 The corresponding preset step value of range, such as one kilometer of corresponding preset step value are 500,000,500 kilometers of corresponding step-lengths Value is 200,000.The seeking scope that user is selected carries out difference operation with pre-stored multiple preset seeking scopes, chooses Preset step value corresponding with the preset seeking scope for the seeking scope difference minimum that user selectes.Such as 500 meters and a public affairs In difference it is minimum, then choose one kilometer of corresponding step value, i.e., 500,000.
Step S230 determines the multiple analyzed area according to the preset step value.
The length of side of the multiple analyzed area is determined according to the preset step value, wherein each side of the analyzed area The length of side is equal.
Fig. 5 is please referred to, is the step S230 of another method for quickly searching ambient services provided in an embodiment of the present invention Sub-step flow chart.
Step S231 is divided by special value and the preset step value to obtain the length of side of the multiple analyzed area.
The special value is 1000000, and the special value and preset step value, such as 500,000 are divided by obtain multiple The length of side of analyzed area, multiple analyzed area are the identical multiple squares of the length of side.
Step S232 is analysed to analyzed area of the region division at multiple length of sides.
The region to be analyzed of system manager's selection is divided into the square region of the length of sides such as multiple according to the set length of side Domain is to get to multiple analyzed areas.
Step S240 determines the analyzed area where current location according to the longitude of current location and latitude value.
Multiple analyzed area length of sides having the same, therefore in the coordinate system being made of multiple analyzed areas, by dividing Whether the longitude and latitude value for analysing current location fall into the longitude of corresponding analyzed area and the range of latitude value, Jin Ergen The analyzed area where current location is determined according to the longitude and latitude value of current location.
Step S250 calculates the analyzed area where current location according to the longitude of the current location and latitude value Center longitude and latitude value and the multiple analyzed areas adjacent with the analyzed area where the current location Center longitude and latitude value.
In the coordinate system being made of multiple analyzed areas, each analysis region length of side having the same, therefore can root The longitude and latitude of the center of the analyzed area where current location are calculated according to the longitude and latitude value of current location Angle value, and the center of the multiple analyzed areas adjacent with the analyzed area where the current location longitude and latitude Angle value.
Fig. 6 is please referred to, is the step S250 of another method for quickly searching ambient services provided in an embodiment of the present invention Sub-step flow chart.
Step S251 calculates the analysis where the current location according to the longitude of the current location and latitude value The longitude and latitude value of the center in region.
Step S252 is calculated and point where the current location according to the longitude of the center and latitude value Analyse the longitude and latitude value of the center of the adjacent multiple analyzed areas in region.
It is readily comprehensible, where can also directly calculating current location according to the longitude and latitude value of current location The longitude and latitude of the center of analyzed area and the multiple analyzed areas adjacent with the analyzed area where current location Angle value.
Step S260, respectively according to the longitude and latitude value of the center of the analyzed area where the current location And the longitude and latitude value of the center of the multiple analyzed areas adjacent with the analyzed area where the current location, Calculate the coding parameter of the analyzed area and adjacent multiple analyzed areas where the current location.
Fig. 7 is please referred to, is the step S260 of another method for quickly searching ambient services provided in an embodiment of the present invention Sub-step flow chart.
Step S261, by where the current location analyzed area or with the analyzed area phase where the current location The longitude of the center of adjacent multiple analyzed areas be multiplied with special value after with the determining preset step value phase Except obtaining longitude mean value.
Step S262, by where the current location analyzed area or with the analyzed area phase where the current location The latitude value of the center of adjacent multiple analyzed areas be multiplied with special value after with the determining preset step value phase Except obtaining latitude value mean value.
The determining preset step value, longitude mean value and latitude value mean value are arranged in order to obtain by step S263 Analyzed area or the multiple analyzed areas adjacent with the analyzed area where the current location where the current location Coding parameter.
Step S270, export the coding parameter of the analyzed area where the current location in the seeking scope with And the corresponding address of service of adjacent with the analyzed area where the current location coding parameter of multiple analyzed areas.
Each address of service corresponds to a coding parameter, which pre-sets looks into real time in order to save user The time of inquiry.The address of service refers to the address of such as supermarket address, milk tea shop address ambient services.If point where current location When the coding parameter in analysis region is consistent with the coding parameter of address of service, then by the volume with the analyzed area where the current location The consistent all addresss of service of code parameter are exported.It is readily comprehensible, when adjacent with the analyzed area where current location When the coding parameter of multiple analyzed areas is consistent with the coding parameter of address of service, then by the volume with adjacent multiple analyzed areas The consistent all addresss of service output of code parameter.The address of service of output is the address of service in user's seeking scope simultaneously, compared with The demand of user has been catered to well.Since this programme pre-sets coding parameter to each service, by by analyzed area with Service carries out coding parameter matching so that and the service of user's energy real-time query analyzed area dramatically saves call duration time, Reduce invalid computation.
Fig. 8 is please referred to, is a kind of function module of the device 310 of quick lookup ambient services provided in an embodiment of the present invention Schematic diagram, the device 310 for quickly searching ambient services are applied to service terminal 300, this quickly searches the device of ambient services 310 include:
Acquisition module 311, the longitude for obtaining current location and latitude value.
In embodiments of the present invention, step S110 can be executed by acquisition module 311.
First computing module 312, for calculating the present bit according to the longitude and latitude value of the current location The longitude and latitude value of the center of analyzed area where setting and with the analyzed area phase where the current location The longitude and latitude value of the center of adjacent multiple analyzed areas.
In embodiments of the present invention, step S120 can be executed by the first computing module 312.
Second computing module 313, for for respectively according to the center of the analyzed area where the current location Longitude and latitude value and the multiple analyzed areas adjacent with the analyzed area where the current location center Longitude and latitude value, calculate the coding ginseng of the analyzed area and adjacent multiple analyzed areas where the current location Number.
In embodiments of the present invention, step S130 can be executed by the second computing module 313.
Output module 314, for export with the coding parameter of the analyzed area where the current location and with it is described The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area where current location.
In embodiments of the present invention, step S140 can be executed by output module 314.
Fig. 9 is please referred to, is the function mould of another device 310 for quickly searching ambient services provided in an embodiment of the present invention Block schematic diagram, the device 310 for quickly searching ambient services are applied to service terminal 300, this quickly searches the dress of ambient services Setting 310 includes:
Acquisition module 321, the longitude for obtaining current location and latitude value.
In embodiments of the present invention, step S210 can be executed by acquisition module 321.
First determining module 322, the seeking scope for being selected according to user determine preset step value.
In embodiments of the present invention, step S220 can be executed by the first determining module 322.
Second determining module 323, for determining the multiple analyzed area according to the preset step value.
In embodiments of the present invention, step S230~S232 can be executed by the second determining module 323.
Third determining module 324, for for determining the current location according to the longitude and latitude value of current location The analyzed area at place.
In embodiments of the present invention, step S240 can be executed by third determining module 324.
First computing module 325, for calculating the present bit according to the longitude and latitude value of the current location The longitude and latitude value of the center of analyzed area where setting and with the analyzed area phase where the current location The longitude and latitude value of the center of adjacent multiple analyzed areas.
In embodiments of the present invention, step S250~S252 can be executed by the first computing module 325.
Second computing module 326, for respectively according to the warp of the center of the analyzed area where the current location The warp of the center of angle value and latitude value and the multiple analyzed areas adjacent with the analyzed area where the current location Angle value and latitude value calculate the coding parameter of the analyzed area and adjacent multiple analyzed areas where the current location.
In embodiments of the present invention, step S260~S263 can be executed by the second computing module 326.
Output module 327, for export with the coding parameter of the analyzed area where the current location and with it is described The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area where current location.
In embodiments of the present invention, step S270 can be executed by output module 327.
The device 310 of the quick lookup ambient services is described in detail in the method part for quickly searching ambient services, Details are not described herein.
In conclusion the embodiment of the present invention provides a kind of method, apparatus and service terminal of quick lookup ambient services, it should The method, apparatus for quickly searching ambient services is applied to service terminal, which includes obtaining The longitude and latitude value of current location calculate the analysis where current location according to the longitude of current location and latitude value The longitude and latitude value of the center in region and the multiple analyses adjacent with the analyzed area where the current location The longitude and latitude value of the center in region.According to the longitude of the center of the analyzed area at the place of current location With latitude value and the longitude of the center of the multiple analyzed areas adjacent with the analyzed area where the current location And latitude value, calculate the coding parameter of the analyzed area and adjacent multiple analyzed areas where current location.And then will With where the current location analyzed area and the multiple analysis areas adjacent with the analyzed area where the current location The corresponding address of service output of coding parameter in domain.By exporting service ground corresponding with the coding parameter of multiple analyzed areas Location avoids calculating all ambient services addresses at a distance from current location, and then saves call duration time, has quickly searched periphery Service, has timely responded to user demand.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (19)

1. a kind of method of quick lookup ambient services is applied to service terminal, which is characterized in that
The method includes:
Obtain the longitude and latitude value of current location;
The centre bit of the analyzed area where the current location is calculated according to the longitude of the current location and latitude value The centre bit of the longitude and latitude value and the multiple analyzed areas adjacent with the analyzed area where the current location set The longitude and latitude value set;
Work as respectively according to the longitude of the center of the analyzed area where the current location and latitude value and with described The longitude and latitude value of the center of the adjacent multiple analyzed areas of analyzed area where front position calculate described current The coding parameter of analyzed area and adjacent multiple analyzed areas where position;
Coding parameter of the output with the analyzed area where the current location and the analysis area where with the current location The corresponding address of service of coding parameter of the adjacent multiple analyzed areas in domain.
2. the as described in claim 1 method for quickly searching ambient services, which is characterized in that the method further includes:
Preset step value is determined according to the seeking scope that user selectes;
The multiple analyzed area is determined according to the preset step value.
3. the method as claimed in claim 2 for quickly searching ambient services, which is characterized in that described according to the preset step Long value determines that the step of the multiple analyzed area includes:
The length of side of the multiple analyzed area is determined according to the preset step value, wherein the analyzed area it is each while while Length is equal.
4. the method as claimed in claim 2 for quickly searching ambient services, which is characterized in that described to be looked into according to what user selected The step of looking for range to determine preset step value specifically includes:
Each described preset step value corresponds to a preset seeking scope, by multiple preset seeking scopes and institute It states seeking scope and carries out difference operation, choose corresponding preset with the preset seeking scope of seeking scope difference minimum Step value.
5. the method as claimed in claim 2 for quickly searching ambient services, which is characterized in that the output and the present bit The coding parameter of analyzed area where setting and adjacent multiple analysis areas with the analyzed area where the current location The step of coding parameter in domain corresponding address of service, specifically includes:
Export the analyzed area where the current location in the seeking scope coding parameter and with it is described current The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area where position.
6. the method as claimed in claim 2 for quickly searching ambient services, which is characterized in that described to calculate the current location The step of coding parameter of the analyzed area at place and adjacent multiple analyzed areas includes:
By where the current location analyzed area or the multiple analyses adjacent with the analyzed area where the current location The longitude of the center in region is divided by obtain longitude after being multiplied with special value with the determining preset step value Mean value;
By where the current location analyzed area or the multiple analyses adjacent with the analyzed area where the current location The latitude value of the center in region is divided by obtain latitude value after being multiplied with special value with the determining preset step value Mean value;
The determining preset step value, longitude mean value and latitude value mean value are arranged in order to obtain the current location institute Analyzed area or the multiple analyzed areas adjacent with the analyzed area where the current location coding parameter.
7. the method as described in claim 1 for quickly searching ambient services, which is characterized in that each address of service is right A preset coding parameter is answered, when the coding parameter of the address of service corresponding preset coding parameter and any analyzed area When consistent, the output address of service consistent with the coding parameter of any analyzed area.
8. the method as described in claim 1 for quickly searching ambient services, which is characterized in that the warp for obtaining current location Further include after the step of angle value and latitude value:
The analyzed area where the current location is determined according to the longitude of current location and latitude value.
9. the method as described in claim 1 for quickly searching ambient services, which is characterized in that described according to the current location Longitude and latitude value calculate the analyzed area where the current location center longitude and latitude value with And the longitude and latitude value of the centers of the multiple analyzed areas adjacent with the analyzed area where the current location Step includes:
The centre bit of the analyzed area where the current location is calculated according to the longitude of the current location and latitude value The longitude and latitude value set;
It is calculated according to the longitude of the center and latitude value adjacent with the analyzed area where the current location The longitude and latitude value of the center of multiple analyzed areas.
10. a kind of device of quick lookup ambient services, it is applied to service terminal, which is characterized in that described device includes:
Acquisition module, the longitude for obtaining current location and latitude value;
First computing module, where calculating the current location according to the longitude and latitude value of the current location The longitude and latitude value of the center of analyzed area and adjacent with the analyzed area where the current location multiple The longitude and latitude value of the center of analyzed area;
Second computing module, for respectively according to the longitude and latitude of the center of the analyzed area where the current location The longitude and latitude of the center of angle value and the multiple analyzed areas adjacent with the analyzed area where the current location Angle value calculates the coding parameter of the analyzed area and adjacent multiple analyzed areas where the current location;
Output module, for export and the current location where analyzed area coding parameter and with the current location The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area at place.
11. the as claimed in claim 10 device for quickly searching ambient services, which is characterized in that described device further includes:
First determining module, the seeking scope for being selected according to user determine preset step value;
Second determining module, for determining the multiple analyzed area according to the preset step value.
12. the device as claimed in claim 11 for quickly searching ambient services, which is characterized in that second determining module is also For:
The length of side of the multiple analyzed area is determined according to the preset step value, wherein the analyzed area it is each while while Length is equal.
13. the device as claimed in claim 11 for quickly searching ambient services, which is characterized in that first determining module is also For:
Each described preset step value corresponds to a preset seeking scope, by multiple preset seeking scopes and institute It states seeking scope and carries out difference operation, choose corresponding preset with the preset seeking scope of seeking scope difference minimum Step value.
14. the device as claimed in claim 11 for quickly searching ambient services, which is characterized in that the output module is also used In:
Export the analyzed area where the current location in the seeking scope coding parameter and with it is described current The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area where position.
15. the device as claimed in claim 11 for quickly searching ambient services, which is characterized in that second computing module is also For:
By where the current location analyzed area or the multiple analyses adjacent with the analyzed area where the current location The longitude of the center in region is divided by obtain longitude after being multiplied with special value with the determining preset step value Mean value;
By where the current location analyzed area or the multiple analyses adjacent with the analyzed area where the current location The latitude value of the center in region is divided by obtain latitude value after being multiplied with special value with the determining preset step value Mean value;
The determining preset step value, longitude mean value and latitude value mean value are arranged in order to obtain the current location institute Analyzed area or the multiple analyzed areas adjacent with the analyzed area where the current location coding parameter.
16. the device as claimed in claim 10 for quickly searching ambient services, which is characterized in that each address of service is equal A corresponding preset coding parameter, when the corresponding preset coding parameter in the address of service and the coding of any analyzed area are joined When number is consistent, the output address of service consistent with the coding parameter of any analyzed area.
17. the as claimed in claim 10 device for quickly searching ambient services, which is characterized in that described device further includes:
Third determining module, for determining the analysis area where the current location according to the longitude and latitude value of current location Domain.
18. the device as claimed in claim 10 for quickly searching ambient services, which is characterized in that first computing module is also For:
The centre bit of the analyzed area where the current location is calculated according to the longitude of the current location and latitude value The longitude and latitude value set;
It is calculated according to the longitude of the center and latitude value adjacent with the analyzed area where the current location The longitude and latitude value of the center of multiple analyzed areas.
19. a kind of service terminal, which is characterized in that the service terminal includes:
Memory;
Processor;And
The device of ambient services is quickly searched, the device of the quick lookup ambient services is installed in the memory and includes The device of the software function module that one or more is executed by the processor, the quick lookup ambient services includes:
Acquisition module, the longitude for obtaining current location and latitude value;
First computing module, where calculating the current location according to the longitude and latitude value of the current location The longitude and latitude value of the center of analyzed area and adjacent with the analyzed area where the current location multiple The longitude and latitude value of the center of analyzed area;
Second computing module, for respectively according to the longitude and latitude of the center of the analyzed area where the current location The longitude and latitude of the center of angle value and the multiple analyzed areas adjacent with the analyzed area where the current location Angle value calculates the coding parameter of the analyzed area and adjacent multiple analyzed areas where the current location;
Output module, for export and the current location where analyzed area coding parameter and with the current location The corresponding address of service of coding parameter of the adjacent multiple analyzed areas of analyzed area at place.
CN201710245498.1A 2017-04-14 2017-04-14 Method and device for rapidly searching peripheral service and service terminal Active CN108733677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710245498.1A CN108733677B (en) 2017-04-14 2017-04-14 Method and device for rapidly searching peripheral service and service terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710245498.1A CN108733677B (en) 2017-04-14 2017-04-14 Method and device for rapidly searching peripheral service and service terminal

Publications (2)

Publication Number Publication Date
CN108733677A true CN108733677A (en) 2018-11-02
CN108733677B CN108733677B (en) 2021-06-15

Family

ID=63924380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710245498.1A Active CN108733677B (en) 2017-04-14 2017-04-14 Method and device for rapidly searching peripheral service and service terminal

Country Status (1)

Country Link
CN (1) CN108733677B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9291700B1 (en) * 2015-01-09 2016-03-22 NinthDecimal, Inc. Systems and methods to identify home addresses of mobile devices
CN105528384A (en) * 2014-10-27 2016-04-27 阿里巴巴集团控股有限公司 An information push method and device
CN106407213A (en) * 2015-07-31 2017-02-15 阿里巴巴集团控股有限公司 Geographic position-based information retrieval method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528384A (en) * 2014-10-27 2016-04-27 阿里巴巴集团控股有限公司 An information push method and device
US9291700B1 (en) * 2015-01-09 2016-03-22 NinthDecimal, Inc. Systems and methods to identify home addresses of mobile devices
CN106407213A (en) * 2015-07-31 2017-02-15 阿里巴巴集团控股有限公司 Geographic position-based information retrieval method, device and system

Also Published As

Publication number Publication date
CN108733677B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
KR102110757B1 (en) Monitoring the performance of distributed storage systems
CN104703125B (en) Information recommendation method, device and terminal based on instant messaging
CN105447129B (en) Personalized content acquisition method, user attribute mining method, system and device
US10630799B2 (en) Method and apparatus for pushing information
CN104935462A (en) Deploying method and device for terminal servers
CN107567071B (en) Method and equipment for inquiring wireless hotspot
CN109068272A (en) Similar users recognition methods, device, equipment and readable storage medium storing program for executing
US10110461B2 (en) Server group and group manager with support for location-based operations
CN111726352B (en) Method, device, computer equipment and medium for visualizing monitoring probe state
CN114070760B (en) Mapping method and related device for network space asset
CN114372133A (en) Query information question answering method, related device and computer program product
US9858333B2 (en) Efficient structured data exploration with a combination of bivariate metric and centrality measures
TW201801493A (en) Information pushing method and location positioning method and device
CN109117448B (en) Thermodynamic diagram generation method and device
CN106937308B (en) Method and equipment for determining user access service area and activity information
CN114547386A (en) Positioning method and device based on Wi-Fi signal and electronic equipment
CN111767481B (en) Access processing method, device, equipment and storage medium
CN108733677A (en) Quickly search the method, apparatus and service terminal of ambient services
CN109933710A (en) A kind of data query method, apparatus and storage medium, program product
KR102543838B1 (en) Method and appartus for obtaining information
CN111581245B (en) Data searching method and device
CN115225308A (en) Attack group identification method and related equipment for large-scale group attack traffic
CN108235359B (en) Method and equipment for determining attribute information related to wireless connection
CN111122008B (en) Method and device for determining core temperature of high-voltage wire
CN110209930A (en) The investee's analysis method and device of knowledge based map

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200609

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510000 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 01 (only for office use)

Applicant before: GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant