CN106534246A - Peripheral enterprise search system based on location service - Google Patents

Peripheral enterprise search system based on location service Download PDF

Info

Publication number
CN106534246A
CN106534246A CN201610796771.5A CN201610796771A CN106534246A CN 106534246 A CN106534246 A CN 106534246A CN 201610796771 A CN201610796771 A CN 201610796771A CN 106534246 A CN106534246 A CN 106534246A
Authority
CN
China
Prior art keywords
enterprise
data
longitude
latitude
search
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.)
Withdrawn
Application number
CN201610796771.5A
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.)
Chengdu Business Big Data Technology Co Ltd
Original Assignee
Chengdu Business Big Data 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 Chengdu Business Big Data Technology Co Ltd filed Critical Chengdu Business Big Data Technology Co Ltd
Priority to CN201610796771.5A priority Critical patent/CN106534246A/en
Publication of CN106534246A publication Critical patent/CN106534246A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the field of Internet information processing, and particularly relates to a peripheral enterprise search system based on location service. The location of a user is positioned through a client. Enterprise information in a set range around the user positioning is returned to the user. According to the invention, the system carries out data analysis, integration and display on an enterprise; on the basis of established full basic enterprise information and latitude and longitude data storage, the functions of user positioning and index system range search are combined to return the enterprise information around the user to the user, which makes up for the deficiency of lack of enterprise search in the prior art based on location service, and provides technical support for relevant business applications and analysis; in addition, when peripheral enterprise search is carried out, an enterprise to be displayed is searched in the maximum longitude/latitude deviation range of preselected distance conversion; on the basis of the searched enterprise, the actual distance between the enterprise and user positioning is calculated; the enterprise in the search radius range is retained; and the pre-screening approach takes into account the requirements of efficiency and accuracy.

Description

Periphery enterprise search system based on location-based service
Technical field
Internet information process field of the present invention, more particularly to the periphery enterprise search system based on location-based service.
Background technology
Social progress with Information Technology Development as representative, the accumulation of data message are increased with series speed, and data volume is big Inside the data of magnanimity, how accurately low with value density is but the difficult problem that the such mass data information excavating of puzzlement is utilized, The information that people are concerned about that obtains become the problem of urgent solution, in face of the huge market demand, internet hunt and big number Become the hot topic of current internet, applications according to analysis;Various search engines also arise at the historic moment, and wherein vertical search engine is to be directed to The professional search engine of some industry, with respect to the containing much information of universal search engine, inquires about inaccurate, depth and not enough etc. lacks Point, vertical search is by the certain values that have that provide for a certain specific area, a certain specific crowd or a certain particular demands Information and related service, with the characteristics of " specialty ", " accurate ", " depth excavation ", and have industry color.
But existing market is also more rarely seen for the vertical search of enterprise.And company information is important the one of data analysiss Ring;Have great importance in data analysiss, as enterprise is used as most important active agent in social economy, in economy Play important role.And geography information is a considerable ring in the information of enterprise, for the region of enterprise itself Association, business development, value are excavated, and the territorial classification of macroeconomic, hiding region, the analysis of geographical commercial value and Excavate all of great advantage.
Existing public geographic information map system, does not have the disclosed special search for Geography of enterprise information to put down The specialized searches at platform, only hotel, restaurant, sight spot etc.;Large and complete universal search, the meaning dashed forward not out of absorbed enterprise search Justice.In addition it is all kinds of based on GIS application in, geographic information services based on customer location and application are with very high Commercial value;User has provided the user great convenience according to the useful target information of the location finding periphery of itself;But It is that current location-based service focuses primarily upon quick consumption and service trade, does not provide the user with location-based for enterprise The related application of the search and discovery of industry.And the search of periphery enterprise has many different answering from existing location Based service With scene, facilitate user to get information about conditions of the enterprise and its distribution of surrounding, carry out targetedly business analysis and business is living It is dynamic.
The content of the invention
It is an object of the invention to the above-mentioned deficiency in the presence of overcoming prior art, there is provided the periphery based on location-based service Enterprise search system.According to the public map platform interface of the call by location of each enterprise, the latitude and longitude information of enterprise is obtained;Will The geographical latitude and longitude information for getting is stored in distributed file system;Set up essential information and the longitude and latitude of each enterprise Information database;The positioning of client is combined on the basis of data storage and shows function, provide the user with periphery enterprise It was found that and function of search.
In order to realize foregoing invention purpose, the present invention provides the periphery enterprise search system based on location-based service, comprising visitor Family end and service end, the client are connected with service end communication;The client is positioned according to user, is searched out around user Enterprise in the range of setting, and company information will be searched out show user.
Specifically, the system realizes periphery enterprise search function, comprising implemented below step:
(1) service end obtains corresponding longitude and latitude degrees of data according to each enterprise's address invocation map platform interface;
(2) service end will be stored in distributed file system comprising enterprise name, address, longitude and latitude data;
(3) service end is set up comprising enterprise name, address, longitude, the indexed format of latitudinal fields, and will be stored in distribution In importing index in formula file system;
(4) position of client location user, sends searching request to service end, and the service end is according to the search for arranging Radius, search out the enterprise around user's positioning, and the company information for searching out is returned to client are shown.
Further, the service end obtains the longitude and latitude data of each enterprise from least two map platforms To realize being mutually authenticated and completion for longitude and latitude degrees of data.
Further, the longitude and latitude degrees of data is mutually authenticated and completion, comprising implemented below process:
The first map platform interface is called, the first longitude data of enterprise and the first latitude data is obtained;
The second map platform interface is called, the second longitude data of enterprise and the second latitude data is obtained;
The data are mutually authenticated and completion, are suitable for following rule condition:
If a, the longitude and latitude degrees of data obtained from the first map platform are complete, and the longitude and latitude got from the second map platform Degrees of data has disappearance, then select the first longitude data and the first latitude data as the geographical latitude and longitude information of enterprise;
In the data message that b, selection are got from platform, sorted according to credibility, select credible higher corresponding Jing Longitude and latitude degrees of data of the latitude information for enterprise;
C, compare the first longitude data and the second longitude data, obtain difference data 1, compare the first latitude data and second Latitude data, obtains difference data 2, if difference data 1 and difference data 2 are may be selected the in the threshold value for arranging One longitude data, the first latitude data or the second longitude data, the second latitude data as enterprise geographical longitude and latitude degrees of data;
Above-mentioned rule condition is suitable in order.
As one kind preferably, the service end sets up index using ElasticSearch.
As one kind preferably, the service end uses MapReduce or Spark batches by enterprise's name of each enterprise Title, address, longitude, latitude data are imported in index.
Further, longitude and latitude data of the service end according to client location position, with reference to The field range query function of ElasticSearch;Search out the enterprise in the set point centered on user position location.
Further, the service end realizes that the search procedure of periphery enterprise is comprised the steps of:
Search radius L according to arranging calculates the difference of longitude of maximum;
Search radius L according to arranging calculates the latitudinal difference of maximum;
By the field range query function of ElasticSearch, the maximum longitude centered on user's positioning is searched out Enterprise in deviation and maximum latitudinal difference;
The enterprise that calculating is searched out, apart from i the enterprise apart from i≤search radius L is returned to user position location User.
Further, the service end is when enterprise search is carried out, the number of the enterprise < N searched out in the range of radius L, Then increase search radius Δ L, repeatedly the search step described in claim 8, the number of the enterprise >=N searched in radius, Stop increasing search radius, and the enterprise in now search radius is returned to into client and shown.
Further, the maximum search radius that the service end is arranged is set to LMAX
As one kind preferably, the service end selects L=100 rice, N=50, Δ L=100 rice, LMAX=2000 meters of parameters To scan for.
Further, the client loads on mobile intelligent terminal in the form of APP, and the service end is right for being loaded with Answer the server or server cluster of function program.
Compared with prior art, beneficial effects of the present invention:The present invention provides the periphery enterprise search based on location-based service System, comprising client and service end, the client is connected with service end communication;The client is positioned according to user, is searched Rope goes out the enterprise in the range of arranging around user, and will search out company information and show user.Present system is directed to enterprise Carry out data analysiss, integration and displaying, number of the present system in the enterprise's essential information and longitude and latitude degrees of data for setting up full dose On the basis of according to storage, believe with reference to the enterprise of the field searches function of longitude and latitude and directory system by user at one's side that position of user Breath returns to user.Present system is using the side at least calling two map platforms to get the mutual completion of longitude and latitude degrees of data Formula, ensure that the accuracy of enterprise's longitude and latitude degrees of data with less amount of calculation.When periphery enterprise search is carried out, present system Employ, enterprise to be shown is searched out in maximum longitude and latitude deviation range, in the enterprise for searching out The distance of enterprise and user's positioning is calculated on the basis of industry, retains the enterprise in the range of search radius;The mode of this prescreening, The requirement of efficiency and accuracy is taken into account.In a word, present system provides the enterprise search function of user's periphery, enriches base In the application scenarios in the vertical search field of enterprise, user is allow to check enterprise object situation and the enterprise of periphery whenever and wherever possible Title, address, reduce the time that user arrays data, have provided the user location-based brand-new search application.In correlation The application of business analysis, business promotion and business provides brand-new instrument.
Description of the drawings:
Fig. 1 is system structure diagram.
Fig. 2 realizes the schematic flow sheet of data acquisition, storage and displaying for present system.
Fig. 3 is present system periphery enterprise search and the schematic flow sheet for showing.
Fig. 4 is the process schematic that present system client realizes periphery enterprise search.
Fig. 5 is the schematic flow sheet that the present system client being preferably provided with realizes that enterprise's periphery enterprise search shows.
It should be appreciated that all accompanying drawings of the present invention are schematically, real size and ratio is not represented.
Specific embodiment
With reference to test example and specific embodiment, the present invention is described in further detail.But this should not be understood Scope for above-mentioned theme of the invention is only limitted to below example, and all technologies realized based on present invention belong to this The scope of invention.
The present invention provides the periphery enterprise search system based on location-based service.By the phase interworking of client and service end Close, according to the public map platform interface of the call by location of each enterprise, obtain the latitude and longitude information of enterprise;By the ground for getting Reason latitude and longitude information is stored in distributed file system;Set up the essential information and latitude and longitude information data of each enterprise Storehouse;The positioning function of client is combined on the basis of service end data acquisition and storage, provides the user with sending out for periphery enterprise Now and function of search.
In order to realize foregoing invention purpose, the present invention provides the periphery enterprise search system based on location-based service, such as Fig. 1 institutes Show:Comprising client and service end, the client is connected with service end communication;Client (can be multiple) according to Family positions, and searches out the enterprise in the range of arranging around user, and will search out company information and show user.Present system With enterprise as the object of search, there is provided inquire around a range of enterprise name and information according to the current location of user Function;User will be seen that the overview of enterprise around according to the information for searching out, and be targetedly business activity, compensate for existing There is the deficiency of the shortage enterprise search based on location-based service, be that relative commercial application and analysis provide convenient tool.
Specifically, present system realizes that periphery enterprise search includes following steps as shown in Figure 2:
(1) service end obtains corresponding longitude and latitude degrees of data according to each enterprise's address invocation map platform interface;According to enterprise Industry address directly invokes open map platform to obtain the corresponding longitude of enterprise and latitude data, data acquisition simple and fast; Existing resource is made full use of, overlapping development is reduced.
(2) service end will be stored in distributed file system comprising enterprise name, address, longitude and latitude data;It is logical Cross above-mentioned steps and enterprise address is completed to enterprise's longitude and latitude data acquisition and storing process, provide data for related search Basis.
(3) service end is set up comprising enterprise name, address, longitude, the indexed format of latitudinal fields, and will be stored in distribution In importing index in formula file system;On the basis of data storage, foundation meets the index of function of search needs, is data Search and show provide basis.
(4) position of client location user, sends searching request to service end, and the service end is according to the search for arranging Radius, search out the enterprise around user's positioning, and the company information for searching out is returned to client are shown.Side Just user is inquired about anywhere or anytime and is searched for, and is understood the distribution situation and the essential information of concrete enterprise of surrounding enterprise, is subtracted The time of few customer analysis and arrangement related data;And present system is to find periphery enterprise specifically making as location-based service With angle, filled up does not carry out the technology vacancy of peripheral position service for company information, provides the user and is taken based on position The brand-new research tool of business.
Further, as shown in Figure 3:The service end is by the longitude and latitude degrees of data that gets from least two map platforms To be mutually authenticated and completion.
Further, the service end realizes that data are mutually authenticated and completion, comprising procedure below:
The first map platform interface is called, the first longitude data of enterprise and the first latitude data is obtained;
The second map platform interface is called, the second longitude data of enterprise and the second latitude data is obtained;
The data are mutually authenticated and completion, are suitable for following rule condition:
If a, the longitude and latitude degrees of data obtained from the first map platform are complete, and the longitude and latitude got from the second map platform Degrees of data has disappearance, then select the first longitude data and the first latitude data as the geographical latitude and longitude information of enterprise;
In the data message that b, selection are got from platform, sorted according to credibility, select credible higher corresponding Jing Longitude and latitude degrees of data of the latitude information for enterprise;
C, compare the first longitude data and the second longitude data, obtain difference data 1, compare the first latitude data and second Latitude data, obtains difference data 2, if difference data 1 and difference data 2 are may be selected the in the threshold value for arranging One longitude data, the first latitude data or the second longitude data, the second latitude data as enterprise geographical longitude and latitude degrees of data. Above-mentioned rule condition is suitable in order.
As one kind preferably, the service end sets up index using ElasticSearch.Using ElasticSearch Come set up comprising enterprise name, address, longitude, latitude indexed format;And import to corresponding informance in index. ElasticSearch is a search server based on Lucene, there is provided the full text of a distributed multi-user ability is searched Index is held up, and based on RESTful web interfaces, facilitates user by web interface to search for and read data, and ElasticSearch has Field Inquiry function, and the search for periphery enterprise provides basis.When index is set up, wrap in index There is provided using ElasticSearch Field Inquiry functions when longitude containing enterprise and enterprise's latitude carry out periphery enterprise search for user Basis.
As one kind preferably, the service end uses MapReduce or Spark batches by enterprise's name of each enterprise Title, address, longitude, latitude data are imported in index.Periphery enterprise search is set up, and needs substantial amounts of enterprise to be stored in rear end first Essential information;And the quantity of enterprise can reach ten million order of magnitude, by MapReduce or Spark with quite huge at present Cloud computing carries out batch operation, accelerates the processing speed of data.Calculated by the MapReduce under Hadoop or Spark Realizing, MapReduce or Spark is according to user instruction, automatic segmentation task, and the task after cutting is assigned to for framework Different nodes carries out parallel process, and treatment effeciency is high, and processing data amount is big, reliable and stable.
Further, the client positions position according to user and sends the longitude of search center and latitude data To service end, and send the instruction for carrying out periphery enterprise search;The longitude and latitude degrees of data that the service end is positioned according to user, knot Close the field range query function of ElasticSearch;The enterprise in set point is searched out centered on user position location, And by enterprise name and essential information return to client carry out it is aobvious not.
Specifically, the search procedure of client includes implemented below step as shown in Figure 4:
Maximum difference of longitude is calculated according to search radius L is arranged;In the case where considering that latitude is constant, calculate most Big difference of longitude.
Maximum latitudinal difference is calculated according to search radius L is arranged;In the case where considering that longitude is constant, calculate most Big latitudinal difference.
The maximum longitude and latitude gone out centered on user's positioning by the field range query searching functions of ElasticSearch Enterprise in deviation;And the enterprise to be shown for searching out is calculated with user's centre of location apart from i, judge this apart from i whether not More than the search radius L of setting, the enterprise apart from i≤search radius L is returned to into user.The mode of this prescreening, takes into account The requirement of efficiency and accuracy.
Further, (N is the minimum display enterprise of setting for enterprise≤N family that the service end is searched through said process Industry number), then expand search radius;Repeat above-mentioned search procedure according to the search radius after expansion, until the enterprise for searching out reaches Stop search to after N family, while unlimited iteration is prevented in order to limit hunting zone, maximum hunting zone is set to into LMAX, When search radius are stepped up, the number of the enterprise for searching out still is less than N house, then stop search radius LMAXThe enterprise for inside searching out Industry all returns to user.
As one kind preferably, the N=50 family that service end is arranged, according to the dense degree of enterprise object, in nearer scope The quantity of interior (such as in certain office building) enterprise object may just more than 50, so number of the enterprise initial value is set to , more enterprise's number can be disposably returned for user, such as Fig. 5 institutes not by 50.
As one kind preferably, initial search radius are set to 100 meters by service end, in the region that enterprise object is intensive, should The number of the enterprise of hunting zone have been sufficient for arrange display number, convenience of calculation, and and with user's location It is far and near appropriate, keep the compactness adjacent with the region of the position location of user.
As one kind preferably, the stepping that service end expands search radius is 100 meters, and convenience of calculation is quick.
As it is a kind of preferably, service end is by LMAX2000 meters are set to, enterprise object is than sparse in certain areas, in order to The expansion for not allowing the hunting zone of enterprise unlimited, while also ensure that the enterprise for searching out is tight with the region of user present position Property, it is necessary to maximum search radius are set, 2000 meters of maximum search radius preferably can take into account enterprise search quantity and The requirement of region compactness.
Further, the client loads on mobile intelligent terminal in the form of APP, and the service end is right for being loaded with Answer the server or server cluster of function program.The popularity of mobile intelligent terminal is very high at present, by present system The Target Enterprise of realization and the geographic information displaying of its affiliated enterprise show user by the client of mobile intelligent terminal, User is facilitated to be inquired about in real time.
Embodiment 1
Service end map platform according to disclosed in the call by location of each enterprise, obtains the latitude and longitude information of enterprise;For example Entitled Chengdu ABCD Science and Technology Ltd.s, address is:Chengdu Tianfu Avenue stage casing xx, calls first according to address information Map platform interface gets the corresponding geographical latitude and longitude information of destination address:{″status″:0, " result ":{″ location″:{″lng″:105.07392899855, " 1at ":36.555138880016, " precise ":1, " confidence":80, " level ":" u5546 u52al u5927 u53a6 " credibility can be got from return information For:80, longitude is 105.07392899855, and latitude is 36.555138880016.
Call the second map platform interface to get the corresponding geographical latitude and longitude information of destination address to be:{″status":″ 1 ", " info ":" OK ", " infocode ":" 1000 ", " count ":" 1 ", " geocodes ":[{″formatted_ address":" Sichuan Province Chengdu Wu Hou District so-and-so square Building B ", " province ":" Sichuan Province, " citycode ":" 028 ", " city ":" Chengdu ", " district ":" Wuhou District ", " township ":[], " neighborhood ":{″ name″:[], " type ":[] }, " building ":{″name″:[], " type ":[] }, " adcode ":" 510107 ", " street":" Tianfu Avenue stage casing ", " number ":" No. XX ", " location ":" 104.067139,30.548830 ", " level":" number " }] }.Can get from above-mentioned return information:Credibility is number, and longitude is 105.067139, Latitude is 36.548830.
The data that above-mentioned two platform gets are complete, then application rule b, according to the acquisition data of two platforms can Reliability being ranked up, such as by " level " of the second map platform:" number ", it is corresponding to be converted into " credibility: 99 ", " credibility for relatively being obtained by the first map platform:80 " credibility is higher, then select the second map platform to get Longitude be 105.067139, latitude be 36.548830 conducts:" in Chengdu ABCD Science and Technology Ltd.s, Chengdu Tianfu Avenue The corresponding longitude and latitude data of section xx ".The latitude and longitude information for getting is stored in HDFS distributed file systems, above mistake Journey completes the acquisition of latitude and longitude information and storing process.
Service end obtains the longitude and latitude data of other each enterprises in the same way, is stored in the distributed texts of HDFS In part system, it is established that enterprise essential information and longitude, the data storage basis of latitude data.
Create ElasticSearch index mapping formats:Field includes:Title, address, longitude, latitude;And use MapReduce or Spark imports to the corresponding informance of each enterprise in index.
Such as through the positioning of client, the longitude and latitude of client is respectively:With longitude as 105.067139, latitude is 36.548830 is user's centre of location, search all enterprises nearby in 100 meters.Procedure below is experienced then:
A. longitude and latitude deviation is calculated according to the distance of scope:
According to distance, in the case where considering that latitude is constant, maximum deviation before and after longitudinal can be drawn;Conversely, examining In the case that worry longitude degree is constant, maximum deviation before and after latitude direction can be drawn.
According to earth gis information:In latitude 36.548830 or so, when latitude is constant, 1 longitude corresponds approximately to 100000 meters; When longitude is constant, 1 latitude corresponds approximately to 111320 meters;
So apart from L=radius scopes:Latitude is constant, the deviation londelta=+/- (radius/ of longitudinal 100000);Longitude is constant, and latitudinal deviation latdelta=+/- (radius/111320)
B is according to longitude and latitude deviation range searching in the index
Inquiry field name:Lon, inquires about field value scope:It is minimum:Lon-londelta, it is maximum:lon+londelta;Look into Ask field name:Lat, inquiry word segment limit:
It is minimum:Lat-latdelta, it is maximum:lat+latdelta;Two field value scopes of longitude and latitude are met simultaneously for looking into Ask result set.
The division statement fragment of inquiry is as follows:
Through above-mentioned inquiry, have found the enterprise that longitude and latitude scope is met in maximum longitude and latitude deviation range, and by this A little enterprises are returned as a set.
C. the reservation in inquiry distance range is calculated to returning set;
To pressing enterprise's set of longitude and latitude difference inquiry, to the longitude and latitude point of enterprise and Help Center's point, calculate 2 points away from From the reservation in the range of.
Calculate the formula of 2 points of distances of longitude and latitude:
2 points of longitudes and latitudes numerical value T (lngt, latt), C (lngc, latc)
RadLatt=math.pi/180.0* (1att)
RadLatc=math.pi/180.0* (latc)
A=radLatt-radLatc
B=math.pi/180.0* (lngt)-math.pi/180.0* (lngc)
Distance=6378137.0*2*math.asin (math.sqrt (math.pow (math.sin (a/2), 2)+ Math.cos (radLatt) * math.cos (radLatc) * math.pow (math.sin (b/2), 2)))
Through above-mentioned search and retention process:The Search Results of the user's periphery enterprise for finally returning that are:" Chengdu XXXXX Group Co., Ltd ", " Sichuan company limited of XX football clubs ", " Sichuan XX commerce and trade limited company ", " Sichuan XX investments 30 enterprises ... such as Management Co., Ltd ", " Chengdu XX culture diffusions Co., Ltd ".

Claims (12)

1. the periphery enterprise search system based on location-based service, it is characterised in that comprising client and service end, the client It is connected with service end communication;The client is positioned according to user, is searched out the enterprise in the range of arranging around user, and will be searched Rope goes out company information and shows user.
2. the system as claimed in claim 1, it is characterised in that:The system realizes periphery enterprise search function, comprising following Realize step:
(1) service end obtains corresponding longitude and latitude degrees of data according to each enterprise's address invocation map platform interface;
(2) service end will be stored in distributed file system comprising enterprise name, address, longitude and latitude data;
(3) service end is set up comprising enterprise name, address, longitude, the indexed format of latitudinal fields, and will be stored in distributed text In importing index in part system;
(4) position of client location user, sends searching request to service end, and the service end is according to the search radius for arranging Scope, searches out the enterprise around user's positioning, and the company information for searching out is returned to client is shown.
3. system as claimed in claim 2, it is characterised in that:The service end obtains each from least two map platforms The longitude and latitude data of individual enterprise is realizing being mutually authenticated and completion for longitude and latitude degrees of data.
4. system as claimed in claim 3, it is characterised in that:The longitude and latitude degrees of data is mutually authenticated and completion, comprising following Realize process:
The first map platform interface is called, the first longitude data of enterprise and the first latitude data is obtained;
The second map platform interface is called, the second longitude data of enterprise and the second latitude data is obtained;
The data are mutually authenticated and completion, are suitable for following rule condition:
If a, the longitude and latitude degrees of data obtained from the first map platform are complete, and the longitude and latitude number of degrees got from the second map platform According to there is disappearance, then the first longitude data and the first latitude data is selected as the geographical latitude and longitude information of enterprise;
In the data message that b, selection are got from platform, sorted according to credibility, select credible higher corresponding longitude and latitude Longitude and latitude degrees of data of the information for enterprise;
C, compare the first longitude data and the second longitude data, obtain difference data 1, compare the first latitude data and the second latitude Data, obtain difference data 2, if difference data 1 and difference data 2 are may be selected a Jing in the threshold value for arranging Degrees of data, the first latitude data or the second longitude data, the second latitude data as enterprise geographical longitude and latitude degrees of data;
Above-mentioned rule condition is suitable in order.
5. system as claimed in claim 4, it is characterised in that:The service end sets up index using ElasticSearch.
6. system as claimed in claim 5, it is characterised in that:The service end uses MapReduce or Spark in batches will The enterprise name of each enterprise, address, longitude, latitude data are imported in index.
7. system as claimed in claim 6, it is characterised in that:Longitude and latitude of the service end according to client location position Degrees of data, with reference to the field range query function of ElasticSearch;Search out the setting model centered on user position location Enterprise in enclosing.
8. system as claimed in claim 7, it is characterised in that:The service end realize the search procedure of periphery enterprise comprising with Lower step:
Search radius L according to arranging calculates the difference of longitude of maximum;
Search radius L according to arranging calculates the latitudinal difference of maximum;
By the field range query function of ElasticSearch, the maximum difference of longitude centered on user's positioning is searched out With the enterprise in maximum latitudinal difference;
Enterprise apart from i≤search radius L is returned to user with user position location apart from i by the enterprise that calculating is searched out.
9. system as claimed in claim 8, it is characterised in that the service end when enterprise search is carried out, in radius L scopes The number of the enterprise < N for inside searching out, then increase search radius Δ L, repeat the search step described in claim 8, until radius Number of the enterprise >=the N for inside searching, stops increasing search radius, and the enterprise in now search radius is returned to client Row shows.
10. system as claimed in claim 9, it is characterised in that the maximum search radius that the service end is arranged is set to LMAX
11. systems as claimed in claim 10, it is characterised in that the service end selects L=100 rice, N=50, Δ L= 100 meters, LMAX=2000 meters of parameters are scanning for.
12. systems as described in one of claim 1 to 11, it is characterised in that the client loads on shifting in the form of APP Dynamic intelligent terminal, the service end are the server or server cluster for being loaded with corresponding function program.
CN201610796771.5A 2016-08-31 2016-08-31 Peripheral enterprise search system based on location service Withdrawn CN106534246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610796771.5A CN106534246A (en) 2016-08-31 2016-08-31 Peripheral enterprise search system based on location service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610796771.5A CN106534246A (en) 2016-08-31 2016-08-31 Peripheral enterprise search system based on location service

Publications (1)

Publication Number Publication Date
CN106534246A true CN106534246A (en) 2017-03-22

Family

ID=58343858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610796771.5A Withdrawn CN106534246A (en) 2016-08-31 2016-08-31 Peripheral enterprise search system based on location service

Country Status (1)

Country Link
CN (1) CN106534246A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402966A (en) * 2017-06-23 2017-11-28 口碑控股有限公司 The computational methods and device and electronic equipment of hunting zone
CN108647282A (en) * 2018-05-03 2018-10-12 苏州朗动网络科技有限公司 Corporation information query method, apparatus, computer equipment and readable storage medium storing program for executing
CN109035503A (en) * 2018-07-04 2018-12-18 江苏亨通光网科技有限公司 The lockset searching method and system of intelligent entrance guard
CN109726324A (en) * 2018-12-25 2019-05-07 北京金和网络股份有限公司 The methods of exhibiting and device of information exposure
CN110019317A (en) * 2017-08-01 2019-07-16 智能云科信息科技有限公司 The displaying of machining production capacity and search system and method
CN110309435A (en) * 2019-05-09 2019-10-08 重庆天蓬网络有限公司 A method of the information search based on user location
CN111125555A (en) * 2019-12-17 2020-05-08 北京金堤科技有限公司 Enterprise information acquisition method and device
CN113438601A (en) * 2021-05-28 2021-09-24 广州快批信息科技有限公司 Method, device and storage medium for searching and positioning information of nearby enterprises
CN117689500A (en) * 2024-02-01 2024-03-12 山东未来集团有限公司 Distributed computing network management system and method based on green energy support

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101313300A (en) * 2005-08-30 2008-11-26 谷歌公司 Local search
CN104462263A (en) * 2014-11-21 2015-03-25 厦门雅迅网络股份有限公司 Method for searching for stores by means of database indexes
CN104484462A (en) * 2014-12-29 2015-04-01 西安航天华迅科技有限公司 Enterprise information acquisition method and system
CN105608112A (en) * 2015-12-10 2016-05-25 北京奇虎科技有限公司 Method and apparatus for measuring quality of map POI data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101313300A (en) * 2005-08-30 2008-11-26 谷歌公司 Local search
CN104462263A (en) * 2014-11-21 2015-03-25 厦门雅迅网络股份有限公司 Method for searching for stores by means of database indexes
CN104484462A (en) * 2014-12-29 2015-04-01 西安航天华迅科技有限公司 Enterprise information acquisition method and system
CN105608112A (en) * 2015-12-10 2016-05-25 北京奇虎科技有限公司 Method and apparatus for measuring quality of map POI data

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402966A (en) * 2017-06-23 2017-11-28 口碑控股有限公司 The computational methods and device and electronic equipment of hunting zone
CN110019317A (en) * 2017-08-01 2019-07-16 智能云科信息科技有限公司 The displaying of machining production capacity and search system and method
CN110019317B (en) * 2017-08-01 2023-08-29 智能云科信息科技有限公司 System and method for displaying and searching machining productivity
CN108647282A (en) * 2018-05-03 2018-10-12 苏州朗动网络科技有限公司 Corporation information query method, apparatus, computer equipment and readable storage medium storing program for executing
CN109035503A (en) * 2018-07-04 2018-12-18 江苏亨通光网科技有限公司 The lockset searching method and system of intelligent entrance guard
CN109726324A (en) * 2018-12-25 2019-05-07 北京金和网络股份有限公司 The methods of exhibiting and device of information exposure
CN110309435A (en) * 2019-05-09 2019-10-08 重庆天蓬网络有限公司 A method of the information search based on user location
CN111125555A (en) * 2019-12-17 2020-05-08 北京金堤科技有限公司 Enterprise information acquisition method and device
CN111125555B (en) * 2019-12-17 2021-09-07 北京金堤科技有限公司 Enterprise information acquisition method and device
CN113438601A (en) * 2021-05-28 2021-09-24 广州快批信息科技有限公司 Method, device and storage medium for searching and positioning information of nearby enterprises
CN117689500A (en) * 2024-02-01 2024-03-12 山东未来集团有限公司 Distributed computing network management system and method based on green energy support

Similar Documents

Publication Publication Date Title
CN106534246A (en) Peripheral enterprise search system based on location service
CN106341471A (en) Peripheral target geographic information acquiring and searching method for position service
Wu et al. Influence of built environment on urban vitality: Case study of Shanghai using mobile phone location data
US20180279088A1 (en) Labeling locations based on contact information
CN103220376B (en) Method for positioning IP (Internet Protocol) by position data of mobile terminal
US7769894B2 (en) Determining and presenting communication device proximity information
CN103884345B (en) Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system
WO2016101749A1 (en) Method and device for configuring communication groups
WO2016101750A1 (en) Method and device for pushing information on the basis of communication groups
CN103500217A (en) Method and system for providing service of identification of region of interest
CN106446047A (en) Enterprise geographic information query and display system
US8175618B2 (en) Mobile device product locator
CN103631888B (en) Multi-data source data searching method and device based on positions
CN104750799A (en) Method for recognizing construction land type rapidly based on address resolution data
CN102708193A (en) Method and system for aggregate search and interaction of restaurant information based on location service
CN102162854A (en) Method for acquiring position information in real time based on GPS (Global Positioning System) data
CN110545317B (en) Grid-perception-based power-assisted region division small service method and device
CN108881346A (en) The cyberspace actual resource method for visualizing and system of facing position service
CN104935462A (en) Deploying method and device for terminal servers
CN102469112B (en) Position tracking implementation method, Apparatus and system
WO2012097760A1 (en) Method for acquiring picture of geographic location and mobile terminal
Yuan et al. Recognition of functional areas based on call detail records and point of interest data
CN112653748A (en) Information pushing method and device, electronic equipment and readable storage medium
CN106469201A (en) A kind of Geography of enterprise information displaying method based on Asynchronous loading
US20130073588A1 (en) Method and system for information query

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170322

WW01 Invention patent application withdrawn after publication