CN105677841A - Method and device for pushing geographic word bank - Google Patents

Method and device for pushing geographic word bank Download PDF

Info

Publication number
CN105677841A
CN105677841A CN201610006366.9A CN201610006366A CN105677841A CN 105677841 A CN105677841 A CN 105677841A CN 201610006366 A CN201610006366 A CN 201610006366A CN 105677841 A CN105677841 A CN 105677841A
Authority
CN
China
Prior art keywords
dictionary
current geographic
son
geographical
described current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610006366.9A
Other languages
Chinese (zh)
Inventor
朱磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xinmeihutong Technology Co
Original Assignee
Beijing Xinmeihutong Technology Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xinmeihutong Technology Co filed Critical Beijing Xinmeihutong Technology Co
Priority to CN201610006366.9A priority Critical patent/CN105677841A/en
Publication of CN105677841A publication Critical patent/CN105677841A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method for pushing a geographic word bank, and belongs to the field of information inputting. The problem that in the prior art, a pushed geographic word bank is large in size, or the pushed geographic content is inaccurate is solved. The method includes the steps that the present geographic position of a mobile terminal is obtained and sent to a word tank server; a sub-geographic word bank which corresponds to the present geographic position and is pushed by the word tank server is received and stored. According to the method, the present geographic position of the mobile terminal is obtained and sent to the word tank server, and then the sub-geographic word bank which corresponds to the present geographic position and is pushed by the word tank server is received and stored. As the generated sub-geographic word bank is related to the present geographic position, the accuracy of the sub-geographic word bank is guaranteed; compared with whole-city geographic-entry pushing in the prior art, the size of the sub-geographic word bank is effectively reduced.

Description

A kind of geographical dictionary method for pushing and device
Technical field
The present invention relates to information input field, particularly relate to a kind of geographical dictionary method for pushing and device.
Background technology
Along with the development of computer technology, as the entrance of man-machine interaction, information input technology is also constantly perfect. Quickly realize information input for the ease of user, in prior art, information Input Software provides various cell dictionary, and each cell dictionary is the set of a segmentation classification dictionary. The cell dictionary of such as input method includes: the classifications such as physical culture, science and technology, English, law, and user can select to load various cell dictionaries according to the hobby of oneself.
Along with mobile terminal use universal, mobile terminal function is constantly perfect, the also development of the information input technology on mobile terminal, perfect. User can use mobile terminal to carry out information input whenever and wherever possible, to realize information search, issue etc. Therefore, cell dictionary of the prior art occurs in that again geography information classification, including such as street, building, Business Information etc. Geographical dictionary of the prior art has two kinds: the first, based on the geographical dictionary in territory, a specific cell, comprising the street in this region, building etc., such as the Forbidden City dictionary, this kind of little information of dictionary file size is not comprehensive, it is impossible to accomplish precisely to push geography information; The second, for the problem solving precisely propelling movement, prior art also has a kind of conventional geographical dictionary based on a city or large area, comprise this region: street, market, restaurant, bank, hospital etc., such as Beijing dictionary, the general information of this dictionary is comprehensive, it is possible to accomplish that the geographical position according to user precisely pushes relevant dictionary, but this dictionary volume is big, downloads such dictionary and can expend mobile terminal larger flow.
In sum, the geographical dictionary pushed in prior art exists that volume is big or the dictionary content that pushes not defect accurately.
Summary of the invention
The technical problem to be solved is: provide a kind of geographical dictionary method for pushing, solves to push the geographical bulky problem of dictionary in prior art.
In order to solve the problems referred to above, embodiments provide a kind of geographical dictionary method for pushing, including: the current geographic position obtaining mobile terminal sends to dictionary server;Receiving the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and store, wherein, the geographical dictionary of described son at least includes: geographic terms, and described geographic terms has at least one index position; Geographic terms in the geographical dictionary of described son is selected from the seedbed reason dictionary preset.
When being embodied as, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range.
Further, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed the geographic terms corresponding less than the index position of threshold range with described current geographic position distance in dictionary by seedbed and formed.
In another embodiment of the invention, further, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed in dictionary corresponding less than the index position of threshold range with described current geographic position distance by seedbed, and the front geographic terms once not having pushed to described mobile terminal forms.
In another preferred embodiment of the present invention, after the geographical dictionary of the son that the described current geographic position receiving described dictionary server push is corresponding, described method also includes: delete index position and the described current geographic position distance geographic terms more than or equal to threshold range in the described mobile terminal geographical dictionary of locally stored son.
Accordingly, in order to solve the problems referred to above, another embodiment of the present invention provides a kind of geographical dictionary method for pushing, including: creating the seedbed reason dictionary including multiple geographic terms, described geographic terms has at least one index position; Receive the current geographic position that mobile terminal sends; Determine the geographical dictionary of son that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, and push described son geographical dictionary extremely described mobile terminal.
Further, according to described index position, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine that in the reason dictionary of described seedbed, the geographic terms corresponding less than the index position of threshold range with described current geographic position distance forms the sub geographical dictionary that described current geographic position is corresponding.
In another embodiment of the invention, further, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine in the reason dictionary of described seedbed corresponding less than the index position of threshold range with described current geographic position distance according to described index position, and the front geographic terms once not having pushed to described mobile terminal forms the described current geographic position geographical dictionary of corresponding son.
Accordingly, the invention also discloses a kind of geographical dictionary pusher, including:
Geographical position acquisition module, the current geographic position for obtaining mobile terminal sends to dictionary server;
Dictionary acquisition module, for receiving the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and storing, wherein, the geographical dictionary of described son at least includes: geographic terms, and described geographic terms has at least one index position; Geographic terms in the geographical dictionary of described son is selected from the seedbed reason dictionary preset.
When being embodied as, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range.
Further, in one embodiment of the invention, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed the geographic terms corresponding less than the index position of threshold range with described current geographic position distance in dictionary by seedbed and formed.
Further, in another embodiment of the present invention, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed in dictionary corresponding less than the index position of threshold range with described current geographic position distance by seedbed, and the front geographic terms once not having pushed to described mobile terminal forms.
In another preferred embodiment of the present invention, described device also includes:
Dictionary maintenance module, after the son geographical dictionary corresponding at the described current geographic position receiving described dictionary server push, delete index position and the described current geographic position distance geographic terms more than or equal to threshold range in the described mobile terminal geographical dictionary of locally stored son.
Accordingly, the embodiment of the invention also discloses a kind of geographical dictionary pusher, including:
Seedbed reason dictionary creation module, for creating the seedbed reason dictionary including multiple geographic terms, described geographic terms has at least one index position;
Push request receiver module, for receiving the current geographic position that mobile terminal sends;
The geographical dictionary pushing module of son, for determining the geographical dictionary of son that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, and push described son geographical dictionary extremely described mobile terminal.
When being embodied as, according to described index position, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine that in the reason dictionary of described seedbed, the geographic terms corresponding less than the index position of threshold range with described current geographic position distance forms the sub geographical dictionary that described current geographic position is corresponding.
In another specific embodiment of the present invention, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine in the reason dictionary of described seedbed corresponding less than the index position of threshold range with described current geographic position distance according to described index position, and the front geographic terms once not having pushed to described mobile terminal forms the described current geographic position geographical dictionary of corresponding son.
The present invention sends to dictionary server by obtaining the current geographic position of mobile terminal;Then, receive the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and store. The geographical dictionary of son owing to generating is relevant with current geographic position, namely ensure that the accuracy of the geographical dictionary of son, compared with pushing whole city geographic terms with prior art, effectively reduces the volume of the geographical dictionary of son.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the geographical dictionary method for pushing flow chart of one embodiment of the invention;
Fig. 2 is the geographical dictionary method for pushing flow chart of another embodiment of the present invention;
Fig. 3 is the geographical dictionary method for pushing flow chart of further embodiment of the present invention;
Fig. 4 is the geographical dictionary pusher structure chart of one embodiment of the invention;
Fig. 5 is the geographical dictionary pusher structure chart of another embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The information-pushing method application scenarios of the present invention is: be provided with input method or information input interface in mobile terminal, and dictionary server, by network and mobile terminal link, pushes geographical dictionary for mobile terminal. Wherein, the information input interface of mobile terminal can be the input method with inputting interface, it is also possible to being the silencing information input mode not having inputting interface, this is not limited by the present invention.
Embodiment one:
A kind of geographical dictionary method for pushing disclosed by the invention, is applied to mobile terminal, as it is shown in figure 1, the method includes:
Step 100, the current geographic position obtaining mobile terminal sends to dictionary server;
Step 120, receives the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and stores.
Wherein, the geographical dictionary of described son at least includes: geographic terms, and described geographic terms has at least one index position; Geographic terms in the geographical dictionary of described son is selected from the seedbed reason dictionary preset.
In prior art, mobile terminal is generally provided with GPS chip, can obtain the current geographic position of the mobile terminal belonging to this GPS chip in real time by calling the interface that drives of GPS chip. Generally this geographical position returns with the form of longitude and latitude label. The GPS interface of system is read in the mobile terminal timing of the present invention, obtains the current geographic position of described mobile terminal, and sends this current geographic position to long-range dictionary server. It is previously provided with the seedbed reason dictionary comprising numerous geographic terms in described dictionary server, and each described geographic terms has at least one index position. The geographical dictionary of son that the current geographic position that described dictionary server sends according to mobile terminal manages the screening geographic terms described current geographic position of composition dictionary corresponding according to preset rules from seedbed feeds back to described mobile terminal.In one embodiment of the invention, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range. Described preset range can be the border circular areas less than threshold range of the distance with described current geographic position, it is also possible to be in the rectangular area of the default length of side centered by described current geographic position, it is also possible to being other regions, this is not limited by the application. Preferably, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is managed the geographic terms corresponding less than the index position of threshold range with described current geographic position distance in dictionary by seedbed and is formed.
In above-mentioned steps 120, after described mobile terminal receives the described current geographic position of the described dictionary server push geographical dictionary of corresponding son, update this mobile terminal geographical dictionary of locally stored son. The geographic terms meeting preset rules is packaged into the geographical dictionary of son and sends to mobile terminal by dictionary server, in order to save locally stored space, mobile terminal can be deleted locally stored, the front geographical dictionary of the son once received, and preserves the current geographic position geographical dictionary of corresponding son.
The present invention sends to dictionary server by obtaining the current geographic position of mobile terminal; Then, receive the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding, and store. The geographical dictionary of son owing to generating is relevant with current geographic position, namely ensure that the accuracy of the geographical dictionary of son, compared with pushing whole city geographic terms with prior art, effectively reduces the volume of the geographical dictionary of son.
Embodiment two:
In the further embodiment of the present invention, as in figure 2 it is shown, described method also includes:
Step 140, deletes index position and the described current geographic position distance geographic terms more than threshold range in the described mobile terminal geographical dictionary of locally stored son.
When being embodied as, in order to reduce the volume of dictionary further, described dictionary server adopts the mode supplementing propelling movement to generate the current geographic position geographical dictionary of corresponding son, that is: the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is managed in dictionary corresponding less than the index position of threshold range with described current geographic position distance by seedbed, and the front geographic terms once not having pushed to described mobile terminal forms. Before once pushed to the geographic terms of described mobile terminal and be not repeated to push.
Described mobile terminal preserves to local after the geographical dictionary of the son receiving dictionary server push, simultaneously in order to save memory space, preferably, described mobile terminal deletes index position and the described current geographic position distance geographic terms more than threshold range in the described mobile terminal geographical dictionary of locally stored son. The geographical position characterized due to the entry deleted and the distance of current geographic position beyond threshold range, therefore under the premise ensureing the geographical dictionary precision of son, save the locally stored space of mobile terminal.
Embodiment three:
In another embodiment of the present invention, disclose a kind of geographical dictionary method for pushing, as it is shown on figure 3, include:
Step 300, creates the seedbed reason dictionary including multiple geographic terms, and described geographic terms has at least one index position;
Step 320, receives the current geographic position that mobile terminal sends;
Step 340, it is determined that the geographical dictionary of son that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, and push described son geographical dictionary extremely described mobile terminal.
First dictionary server creates the seedbed reason dictionary including numerous geographic terms, and wherein, each geographic terms has at least one index position, and the index position of different geographic terms is likely to identical. Wherein, geographic terms includes the terrestrial references such as building title, road name, cell name, Business Name, food and drink and supermarket title. The index position of geographic terms is the position coordinates of the terrestrial reference that this geographic terms represents. Seedbed reason dictionary can also include other information, as geographic terms indexes coding, geographic terms attribute etc. Following table is an example of entry in the reason dictionary of seedbed:
In above table, each geographic terms is provided with at least one index position and is called the geographic terms of " industrial and commercial bank " for name, there is multiple site in industrial and commercial bank in Beijing, the corresponding index position in each site, such as geographic terms " Hepingli subbranch of industrial and commercial bank ", corresponding index position is (x1,y1); The index position that geographic terms " Site of Qing Hua Yuan subbranch of industrial and commercial bank " is corresponding is (x2,y2); And the index position of geographic terms " industrial and commercial bank " correspondence includes multiple, as: (x1,y1)、(x2,y2)、(x3,y3)、(x4,y4)、(x5,y5) .... The index position of geographic terms is the position coordinates of all terrestrial references of this geographic terms mark, and described position coordinates can adopt latitude and longitude coordinates can also adopt the plane rectangular coordinates on map.
Still above table is example, and the such as latitude and longitude value in Tian An-men, Beijing is respectively as follows: north latitude 39 degree 54 points 26.37 seconds, east longitude 116 degree 23 points 29.22 seconds, if representing position coordinates with latitude and longitude coordinates, then and x9=116.403875, y9=39.915168, the index position in Tian An-men can be expressed as (116.403875,39.915168), and wherein x is longitude, and y is latitude value.
When being embodied as, if represent the position coordinates of terrestrial reference that entry is corresponding with the plane rectangular coordinates on map, then can pre-build the plane right-angle coordinate of map, such as, initial point using Tian An-men, Beijing as map plane rectangular coordinate, east orientation is X-axis negative direction, west is y-axis negative direction to being y-axis positive direction, south orientation for X-axis positive direction, north orientation, then, according to actual range, convert out the coordinate figure (x of other terrestrial references, y), as the index position that the geographic terms representing this terrestrial reference is corresponding. Such as, the index position in Tian An-men is (0,0).
When being embodied as, seedbed reason dictionary adds index coding, be easy to after generating the geographical dictionary of son, when mobile terminal carries out information input, carry out entry coupling rapidly according to the character code of input. Such as, user is when interface of input method input " industry and commerce " of the silver of mobile terminal, input method is extracted the coding " GS " of input character and is carried out fuzzy matching with the index coding in sub-geography dictionary, it is determined that the index that the match is successful is encoded to " GSYH ", then export the entry that this index coding is corresponding.
And the tone attribute in the reason dictionary of seedbed can also carry to the geographical dictionary of the son generated, it is possible to reduce the scope of geographic terms coupling according to the type of application in mobile terminal. Such as, user is when the bank client of mobile terminal inputs information, the information of input can only be bank outlets, then bank client has only to carry out mating in the geographic terms that attribute is bank, the all entries in needing antithetical phrase geography dictionary do not mate one by one, effectively reduce entry matching range, improve the efficiency of input information.
After only establishing seedbed reason dictionary, the current geographic position that dictionary server could send according to the mobile terminal received in step 320, generate the current geographic position geographical dictionary of corresponding son further.
In above-mentioned steps 340, after receiving the current geographic position that mobile terminal sends, first, the index position of the geographic terms of storage in dictionary server ergodic source geography dictionary, screens geographic terms according to preset range. Such as, the geographic terms that screening is corresponding less than the index position of threshold range with described current geographic position distance is as the geographical dictionary of the son that described current geographic position is corresponding; Or select index position to be positioned at the geographic terms of rectangular area of the default length of side centered by described current geographic position as the geographical dictionary of the son that described current geographic position is corresponding. Then, described dictionary server will push described son geographical dictionary extremely described mobile terminal. Screen geographic terms according to the distance between two geographical position, calculate more convenient; Determining a rectangular area centered by current geographic position, the geographic terms that location index in this region of reselection is corresponding is more suitable for the mobile terminal geographical dictionary of the son to receiving and carries out visualization display, and two kinds of screening schemes are respectively arranged with feature. Those skilled in the art is on present disclosure basis, it is also possible to selecting other screening technique, this is not limited by the application. Preferably, determine that in the reason dictionary of described seedbed, the geographic terms corresponding less than the index position of threshold range with described current geographic position distance forms the described current geographic position geographical dictionary of corresponding son according to described index position.
Below to illustrate to determine the geographic terms corresponding less than the index position of threshold range with described current geographic position distance in the reason dictionary of the described seedbed detailed process as the geographical dictionary of the son that described current geographic position is corresponding according to described index position according to the distance screening geographic terms between two geographical position.
First the distance of the location index in the reason dictionary of seedbed and described current geographic position is calculated respectively. When being embodied as, the difference according to the representation of index position, adopt diverse ways to calculate the distance between two geographical position.
When representing index position with plane rectangular coordinates, all location indexs in dictionary are managed for seedbed, it is utilized respectively formula S=R arccos [cosy1cosy2cos (x1-x2)+siny1siny2], calculates the distance S between all location indexs in the reason dictionary of seedbed and the current geographic position of mobile terminal transmission. In above-mentioned formula, in above-mentioned formula, the coordinate figure of location index in dictionary is managed in current geographic position and seedbed that (x1, y1), (x2, y2) respectively mobile terminal send. If x1 is the longitude of mobile terminal current location, y1 is the latitude value of mobile terminal current location, then x2 is the longitude of index position in the reason dictionary of seedbed, y2 is the latitude value of index position in the reason dictionary of seedbed, and R is earth radius.
When representing index position with latitude and longitude coordinates, all location indexs in dictionary are managed for seedbed, is utilized respectively formulaCalculate the distance S between all location indexs in the reason dictionary of seedbed and the current geographic position of mobile terminal transmission. In above-mentioned formula, the coordinate figure of location index in dictionary is managed in current geographic position and seedbed that (x1, y1), (x2, y2) respectively mobile terminal send.
Then, successively the distance AB of calculated each index position and described mobile terminal current location and threshold range are compared, when distance S is less than described threshold range, the index position thinking corresponding for this distance S meets preset rules, and the geographic terms belonging to index position corresponding for this distance S adds current geographic position the to be pushed geographical dictionary of corresponding son.
If selection index position is positioned at the geographic terms of the rectangular area of the default length of side centered by described current geographic position as the geographical dictionary of the son that described current geographic position is corresponding, then first-selection calculates the minimum abscissa Xmin of rectangular area, maximum abscissa Xmax, minimum vertical coordinate Ymin, maximum ordinate Ymax according to current geographic position and the default length of side; Then, judge the index position in the reason dictionary of seedbed respectively, coordinate (x when described index position, y) meet: < y is < during Ymax for Xmin < x < Xmax and Ymin, by index position, (x, the geographic terms belonging to y) adds current geographic position the to be pushed geographical dictionary of corresponding son.
The present invention is by creating the seedbed reason dictionary including multiple geographic terms, and described geographic terms has at least one index position; Then the current geographic position sent according to the mobile terminal received, determine that in the reason dictionary of described seedbed, index position geographic terms in described current geographic position preset range forms the sub geographical dictionary that described current geographic position is corresponding, and push the current geographic position that the geographical dictionary of described son sends to described mobile terminal reception mobile terminal. The geographical dictionary of son owing to generating is relevant with current geographic position, namely ensure that the accuracy of the geographical dictionary of son, compared with pushing whole city geographic terms with prior art, effectively reduces the volume of dictionary.
Embodiment four:
In another embodiment of the invention, in order to reduce the volume of the geographical dictionary of sub-propelling movement further, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine in the reason dictionary of described seedbed corresponding less than the index position of threshold range with described current geographic position distance according to described index position, and the front geographic terms once not having pushed to described mobile terminal forms the described current geographic position geographical dictionary of corresponding son.
When being embodied as, after completing the propelling movement current geographic position geographical dictionary of corresponding son, described method also includes: dictionary server record pushes to the identity of described mobile terminal corresponding to the geographical dictionary of son of described mobile terminal, the geographical position corresponding with the geographical dictionary of described son. Every lines storehouse server to push the geographical dictionary of son for multi-section mobile terminal, and, position according to mobile terminal, repeatedly push, therefore, in order to different mobile terminals is pushed history by recording needle, dictionary server can record unique mark of mobile terminal, such as device mac address, and the feature of the geographical dictionary of son pushing to this mobile terminal, as: the geographical position of the mobile terminal that this son geography dictionary is corresponding.
After dictionary server receives the current geographic position that mobile terminal sends, described according to described index position determine described seedbed reason dictionary in corresponding less than the index position of threshold range with described current geographic position distance, and the front geographic terms once not having pushed to a described mobile terminal forms the described current geographic position geographical dictionary of corresponding son, farther include: according to index position determine the current geographic position distance sent with described mobile terminal less than threshold range wait push geographic terms; Search the identity of the described mobile terminal of record, it is determined that the front historical geography position that once the pushed geographical dictionary of the son to this mobile terminal is corresponding; Wait described in determining to push in geographic terms with described historical geography positional distance more than or equal to threshold range wait push the geographic terms once not having pushed to described mobile terminal before geographic terms is; By determine described before once do not have the geographic terms of pushed to described mobile terminal to form the geographical dictionary of son.
Described according to index position determine the current geographic position distance sent with described mobile terminal less than threshold range wait push geographic terms detailed process referring to embodiment three, repeat no more herein.Determining after pushing the geographical dictionary of son, the described dictionary server propelling movement history according to this mobile terminal, the described entry waiting to push in the geographical dictionary of son is screened, the geographical tone comprised in the geographical dictionary of son once pushed before filtering, namely once there is no the geographic terms of pushed to described mobile terminal before only retaining, before once pushed to the geographic terms of described mobile terminal and be not repeated to push, the effective volume reducing the geographical dictionary of son. When being embodied as, described dictionary server coupling in the identity of the described mobile terminal of record sends the identity of the mobile terminal of current geographic position. If the match is successful, before this mobile terminal is described, once push the geographical dictionary of son, then, further determine that the geographical position that the geographical dictionary of described son is corresponding. Waiting to push the distance of index position and described historical geography position in the geographical dictionary of son described in calculating respectively, distance is more than or equal to the geographic terms treating once not have pushed to described mobile terminal before propelling movement geographic terms is of threshold range; Push determine described before once do not have the geographic terms extremely described identity of pushed to described mobile terminal corresponding mobile terminal.
Mobile terminal A sends after obtaining current geographic position m to dictionary server, and dictionary server receives the current geographic position that mobile terminal sends; Then, dictionary server determines that in the reason dictionary of the seedbed pre-build, index position geographic terms in described current geographic position preset range forms the described current geographic position geographical dictionary L of corresponding sonm, as managed in seedbed, dictionary filters out all geographic terms composition geographical dictionary L corresponding less than the index position of threshold range with m distancem, and push the geographical dictionary L of described sonmTo described mobile terminal A. Then, the geographical position of mobile terminal A is switched to n, mobile terminal A sends to dictionary server after obtaining current geographic position n, when dictionary server receives the current geographic position n that mobile terminal sends, first manage in dictionary filtering out all geographic terms corresponding less than the index position of threshold range with n distance and form and wait to push dictionary L in seedbedn', then delete Ln' in be concurrently present in middle LmGeographic terms, obtain the geographical dictionary L of sonn
In embodiments of the invention, dictionary server is after completing the propelling movement current geographic position geographical dictionary of corresponding son, record the identity of described mobile terminal corresponding to the geographical dictionary of the son pushing to described mobile terminal, historical geography position with the geographical dictionary coupling of described son, it is easy to when pushing son geography dictionary to identical mobile terminal, the geographic terms that push before once pushed is not repeated, efficiently reduces the volume of the geographical dictionary of son.
Embodiment five:
Correspondingly, the invention also discloses a kind of geographical dictionary pusher, as shown in Figure 4, including:
Geographical position acquisition module 400, the current geographic position for obtaining mobile terminal sends to dictionary server;
Dictionary acquisition module 410, for receiving the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and storing, wherein, the geographical dictionary of described son at least includes: geographic terms, and described geographic terms has at least one index position; Geographic terms in the geographical dictionary of described son is selected from the seedbed reason dictionary preset.
The geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range.
In another specific embodiment of the present invention, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed the geographic terms corresponding less than the index position of threshold range with described current geographic position distance in dictionary by seedbed and formed.
The present invention sends to dictionary server by obtaining the current geographic position of mobile terminal; Then, receive the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and store. The geographical dictionary of son owing to generating is relevant with current geographic position, namely ensure that the accuracy of the geographical dictionary of son, compared with pushing whole city geographic terms with prior art, effectively reduces the volume of the geographical dictionary of son.
Embodiment six:
Preferably, in the still another embodiment of the present invention, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed in dictionary corresponding less than the index position of threshold range with described current geographic position distance by seedbed, and the front geographic terms once not having pushed to described mobile terminal forms.
When being embodied as, described device also includes: dictionary maintenance module, after the son geographical dictionary corresponding at the described current geographic position receiving described dictionary server push, delete index position and the described current geographic position distance geographic terms more than or equal to threshold range in the described mobile terminal geographical dictionary of locally stored son.
Described mobile terminal preserves to local after the geographical dictionary of the son receiving dictionary server push, simultaneously in order to save memory space, preferably, described mobile terminal deletes index position and the described current geographic position distance geographic terms more than threshold range in the described mobile terminal geographical dictionary of locally stored son. The geographical position characterized due to the entry deleted and the distance of current geographic position beyond threshold range, therefore under the premise ensureing the geographical dictionary precision of son, save the locally stored space of mobile terminal.
Embodiment seven:
In another embodiment of the present invention, disclose a kind of geographical dictionary pusher, as it is shown in figure 5, include:
Seedbed reason dictionary creation module 500, for creating the seedbed reason dictionary including multiple geographic terms, described geographic terms has at least one index position;
Push request receiver module 510, for receiving the current geographic position that mobile terminal sends;
The geographical dictionary pushing module 520 of son, for determining the geographical dictionary of son that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, and push described son geographical dictionary extremely described mobile terminal.
When being embodied as, according to described index position, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine that in the reason dictionary of described seedbed, the geographic terms corresponding less than the index position of threshold range with described current geographic position distance forms the sub geographical dictionary that described current geographic position is corresponding.
The present invention is by creating the seedbed reason dictionary including multiple geographic terms, and described geographic terms has at least one index position;Then the current geographic position sent according to the mobile terminal received, determine that in the reason dictionary of described seedbed, index position geographic terms in described current geographic position preset range forms the sub geographical dictionary that described current geographic position is corresponding, and push the current geographic position that the geographical dictionary of described son sends to described mobile terminal reception mobile terminal. The geographical dictionary of son owing to generating is relevant with current geographic position, namely ensure that the accuracy of the geographical dictionary of son, compared with pushing whole city geographic terms with prior art, effectively reduces the volume of dictionary.
Based on embodiment seven, in another preferred embodiment of the present invention, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine in the reason dictionary of described seedbed corresponding less than the index position of threshold range with described current geographic position distance according to described index position, and the front geographic terms once not having pushed to described mobile terminal forms the described current geographic position geographical dictionary of corresponding son.
The geographical dictionary pushing module 520 of described son, is additionally operable to record the identity of described mobile terminal corresponding to the geographical dictionary of the son pushing to described mobile terminal, the geographical position corresponding with the geographical dictionary of described son. When dictionary server receive mobile terminal send current geographic position after, dictionary server according to index position determine the current geographic position distance sent with described mobile terminal less than threshold range wait push geographic terms; Search the identity of the described mobile terminal of record, it is determined that the front historical geography position that once the pushed geographical dictionary of the son to this mobile terminal is corresponding; Wait described in determining to push in geographic terms with described historical geography positional distance more than or equal to threshold range wait push the geographic terms once not having pushed to described mobile terminal before geographic terms is; By determine described before once do not have the geographic terms of pushed to described mobile terminal to form the geographical dictionary of son. The detailed description of the invention of the present embodiment is referring to embodiment five. In embodiments of the invention, dictionary server is after completing the propelling movement current geographic position geographical dictionary of corresponding son, record the identity of described mobile terminal corresponding to the geographical dictionary of the son pushing to described mobile terminal, historical geography position with the geographical dictionary coupling of described son, it is easy to when pushing son geography dictionary to identical mobile terminal, the geographic terms that push before once pushed is not repeated, efficiently reduces the volume of the geographical dictionary of son.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to. For device embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Above the application a kind of geographical dictionary method for pushing to providing and device are described in detail, principle and the embodiment of the application are set forth by specific case used herein, and the explanation of above example is only intended to help and understands the present processes and core concept thereof; Simultaneously for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this specification content should not be construed as the restriction to the application.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to each embodiment and realize, naturally it is also possible to realized by hardware.Based on such understanding, the part that prior art is contributed by technique scheme substantially in other words can embody with the form of software product, this computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment or embodiment.

Claims (16)

1. a geographical dictionary method for pushing, it is characterised in that including:
The current geographic position obtaining mobile terminal sends to dictionary server;
Receive the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and store,
Wherein, the geographical dictionary of described son at least includes: geographic terms, and described geographic terms has at least one index position; Geographic terms in the geographical dictionary of described son is selected from the seedbed reason dictionary preset.
2. the method for claim 1, it is characterised in that the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range.
3. method as claimed in claim 2, it is characterized in that, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed the geographic terms corresponding less than the index position of threshold range with described current geographic position distance in dictionary by seedbed and formed.
4. method as claimed in claim 2, it is characterized in that, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed in dictionary corresponding less than the index position of threshold range with described current geographic position distance by seedbed, and the front geographic terms once not having pushed to described mobile terminal forms.
5. method as claimed in claim 4, it is characterized in that, after the geographical dictionary of the son that the described current geographic position receiving described dictionary server push is corresponding, described method also includes: delete index position and the described current geographic position distance geographic terms more than or equal to threshold range in the described mobile terminal geographical dictionary of locally stored son.
6. a geographical dictionary method for pushing, it is characterised in that including:
Creating the seedbed reason dictionary including multiple geographic terms, described geographic terms has at least one index position;
Receive the current geographic position that mobile terminal sends;
Determine the geographical dictionary of son that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, and push described son geographical dictionary extremely described mobile terminal.
7. method as claimed in claim 6, it is characterized in that, according to described index position, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine that in the reason dictionary of described seedbed, the geographic terms corresponding less than the index position of threshold range with described current geographic position distance forms the sub geographical dictionary that described current geographic position is corresponding.
8. method as claimed in claim 6, it is characterized in that, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine in the reason dictionary of described seedbed corresponding less than the index position of threshold range with described current geographic position distance according to described index position, and the front geographic terms once not having pushed to described mobile terminal forms the described current geographic position geographical dictionary of corresponding son.
9. a geographical dictionary pusher, it is characterised in that including:
Geographical position acquisition module, the current geographic position for obtaining mobile terminal sends to dictionary server;
Dictionary acquisition module, for receiving the described current geographic position of the described dictionary server push geographical dictionary of corresponding son and storing, wherein, the geographical dictionary of described son at least includes: geographic terms, and described geographic terms has at least one index position; Geographic terms in the geographical dictionary of described son is selected from the seedbed reason dictionary preset.
10. device as claimed in claim 9, it is characterised in that the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is made up of index position geographic terms in described current geographic position preset range.
11. device as claimed in claim 10, it is characterized in that, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed the geographic terms corresponding less than the index position of threshold range with described current geographic position distance in dictionary by seedbed and formed.
12. device as claimed in claim 10, it is characterized in that, the geographical dictionary of son that the described current geographic position of described dictionary server push is corresponding is made up of index position geographic terms in described current geographic position preset range particularly as follows: the geographical dictionary of son corresponding to the described current geographic position of described dictionary server push is managed in dictionary corresponding less than the index position of threshold range with described current geographic position distance by seedbed, and the front geographic terms once not having pushed to described mobile terminal forms.
13. device as claimed in claim 12, it is characterised in that also include:
Dictionary maintenance module, after the son geographical dictionary corresponding at the described current geographic position receiving described dictionary server push, delete index position and the described current geographic position distance geographic terms more than or equal to threshold range in the described mobile terminal geographical dictionary of locally stored son.
14. a geographical dictionary pusher, it is characterised in that including:
Seedbed reason dictionary creation module, for creating the seedbed reason dictionary including multiple geographic terms, described geographic terms has at least one index position;
Push request receiver module, for receiving the current geographic position that mobile terminal sends;
The geographical dictionary pushing module of son, for determining the geographical dictionary of son that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, and push described son geographical dictionary extremely described mobile terminal.
15. device as claimed in claim 14, it is characterized in that, according to described index position, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine that in the reason dictionary of described seedbed, the geographic terms corresponding less than the index position of threshold range with described current geographic position distance forms the sub geographical dictionary that described current geographic position is corresponding.
16. device as claimed in claim 14, it is characterized in that, the described geographical dictionary of son determining that in the reason dictionary of described seedbed, the index position geographic terms described current geographic position of composition in described current geographic position preset range is corresponding, particularly as follows: determine in the reason dictionary of described seedbed corresponding less than the index position of threshold range with described current geographic position distance according to described index position, and the front geographic terms once not having pushed to described mobile terminal forms the described current geographic position geographical dictionary of corresponding son.
CN201610006366.9A 2016-01-04 2016-01-04 Method and device for pushing geographic word bank Pending CN105677841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610006366.9A CN105677841A (en) 2016-01-04 2016-01-04 Method and device for pushing geographic word bank

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610006366.9A CN105677841A (en) 2016-01-04 2016-01-04 Method and device for pushing geographic word bank

Publications (1)

Publication Number Publication Date
CN105677841A true CN105677841A (en) 2016-06-15

Family

ID=56299197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610006366.9A Pending CN105677841A (en) 2016-01-04 2016-01-04 Method and device for pushing geographic word bank

Country Status (1)

Country Link
CN (1) CN105677841A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362686A (en) * 2018-04-02 2019-10-22 北京搜狗科技发展有限公司 A kind of generation method of dictionary, device, terminal device and server
CN112052302A (en) * 2020-09-02 2020-12-08 平安科技(深圳)有限公司 Method, system, device and storage medium for dynamically generating position word library

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395105A (en) * 2011-10-28 2012-03-28 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, server, word stock update method and vocabulary pushing method
CN102843476A (en) * 2012-09-12 2012-12-26 惠州Tcl移动通信有限公司 Mobile terminal and input method management method thereof
CN103390001A (en) * 2012-05-09 2013-11-13 北京千橡网景科技发展有限公司 Method and system for acquiring vocabularies
CN103399947A (en) * 2013-08-16 2013-11-20 北京播思无线技术有限公司 Position based input method thesaurus management system and method
CN103455160A (en) * 2012-05-29 2013-12-18 阿里巴巴集团控股有限公司 Method and device for recommending candidate words according to geographic position

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395105A (en) * 2011-10-28 2012-03-28 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, server, word stock update method and vocabulary pushing method
CN103390001A (en) * 2012-05-09 2013-11-13 北京千橡网景科技发展有限公司 Method and system for acquiring vocabularies
CN103455160A (en) * 2012-05-29 2013-12-18 阿里巴巴集团控股有限公司 Method and device for recommending candidate words according to geographic position
CN102843476A (en) * 2012-09-12 2012-12-26 惠州Tcl移动通信有限公司 Mobile terminal and input method management method thereof
CN103399947A (en) * 2013-08-16 2013-11-20 北京播思无线技术有限公司 Position based input method thesaurus management system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
聂荣: "《BitTorrent类型对等网络的位置知晓性研究》", 31 March 2014 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362686A (en) * 2018-04-02 2019-10-22 北京搜狗科技发展有限公司 A kind of generation method of dictionary, device, terminal device and server
CN110362686B (en) * 2018-04-02 2024-02-06 北京搜狗科技发展有限公司 Word stock generation method and device, terminal equipment and server
CN112052302A (en) * 2020-09-02 2020-12-08 平安科技(深圳)有限公司 Method, system, device and storage medium for dynamically generating position word library
WO2021159725A1 (en) * 2020-09-02 2021-08-19 平安科技(深圳)有限公司 Method, system and apparatus for dynamically generating location lexicon, and storage medium

Similar Documents

Publication Publication Date Title
CN106384371B (en) Map drawing method based on vector tiles
CN103927933B (en) A kind of magnanimity moves method and the device that target renders
CN101312555B (en) Bitmap array for optimally distributing map data content to wireless communications devices
EP1840510B1 (en) Method and system for distribution of map content to mobile communication devices
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
CN103927934B (en) Closed fence drawing method and system
CN107092623B (en) Interest point query method and device
CN103268730B (en) Electronic map interface shows the method and apparatus of association mark point
CN105205092A (en) Tile-based distribution of searchable geospatial data to client devices
CN109815419B (en) Interest point indexing method, device, medium and electronic equipment based on geographic position
CN113342912B (en) Geographical location area coding method, and method and device for establishing coding model
CN112233240A (en) Three-dimensional vector data slicing method and device of three-dimensional vector map and electronic equipment
CN104867402A (en) Offline reverse geocoding method, device thereof and terminal equipment
CN110209748B (en) Method and apparatus for indexing geofences
CN113160693B (en) Road intersection processing method, device, equipment and storage medium
CN114627239B (en) Bounding box generation method, device, equipment and storage medium
CN105677841A (en) Method and device for pushing geographic word bank
Ai et al. A map generalization model based on algebra mapping transformation
KR100902934B1 (en) Method and apparatus for updating digital map
WO2023231459A1 (en) Method for generating intersection surface and related apparatus
CN112948517B (en) Regional position calibration method and device and electronic equipment
CN110309244B (en) Target point positioning method and device
CN113868555A (en) Track retrieval method, device, equipment and storage medium
CN116091715A (en) POI (point of interest) point aggregation method based on three-dimensional GIS engine
CN113139258B (en) Road data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160615

RJ01 Rejection of invention patent application after publication