CN112052302B - Method, system, device and storage medium for dynamically generating position word stock - Google Patents

Method, system, device and storage medium for dynamically generating position word stock Download PDF

Info

Publication number
CN112052302B
CN112052302B CN202010911883.7A CN202010911883A CN112052302B CN 112052302 B CN112052302 B CN 112052302B CN 202010911883 A CN202010911883 A CN 202010911883A CN 112052302 B CN112052302 B CN 112052302B
Authority
CN
China
Prior art keywords
geographic position
position coordinates
terminal equipment
server
word
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.)
Active
Application number
CN202010911883.7A
Other languages
Chinese (zh)
Other versions
CN112052302A (en
Inventor
刘真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010911883.7A priority Critical patent/CN112052302B/en
Priority to PCT/CN2020/121871 priority patent/WO2021159725A1/en
Publication of CN112052302A publication Critical patent/CN112052302A/en
Application granted granted Critical
Publication of CN112052302B publication Critical patent/CN112052302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

Abstract

The invention discloses a method, a system, a device and a storage medium for dynamically generating a position word stock. The method comprises the following steps: acquiring the geographic position coordinates of the terminal equipment and sending the geographic position coordinates to a server; the server determines an application range containing the geographic position coordinates according to the geographic position coordinates, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates; the server stores a mapping relation table of new words and application ranges thereof, and the new words are not recorded in a word stock of the terminal equipment. By the method, the corresponding position word library is provided according to the geographic position coordinates of the terminal equipment, the accuracy of the position word library is improved, the input efficiency of a user is improved, and the use experience of the user is improved. The intelligent city intelligent management system can be applied to various scenes such as intelligent government affairs, intelligent city management, intelligent communities, intelligent security, intelligent logistics, intelligent medical treatment, intelligent education, intelligent environmental protection, intelligent traffic and the like, so that the construction of intelligent cities is promoted.

Description

Method, system, device and storage medium for dynamically generating position word stock
Technical Field
The present disclosure relates to the field of input methods, and in particular, to a method, a system, an apparatus, and a storage medium for dynamically generating a location thesaurus.
Background
The alphabetic writing input occupies a large part of time of the user and the generated data volume is huge. But currently these data are only local to the user and are not statistically analyzed for ease of use by the user.
In the related art, the content input by the user is a phrase generated based on word bank matching in the terminal device. The word stock is selected from common daily expressions in life of the masses, namely new words and common words such as brand names, network slang and the like cannot be recorded in the word stock. For example, if a vegetarian restaurant is "if blue, the input method cannot group words by itself, and the user must manually input three words. The food brand 'Dashidai' is spelled into 'Dadai' by the input method, because the 'Dadai' is a common word in daily terms.
From the perspective of word stock, the new words and the unusual words are recorded too much, so that recall of the unusual words by a user is impacted, and the use of daily expressions is affected; if the words are not recorded, the words cannot be formed when the user needs the words, so that the input efficiency of the user is reduced, and bad use experience is brought to the user.
Disclosure of Invention
Based on this, it is necessary to provide a method, a system, a device and a storage medium for dynamically generating a location thesaurus, which solve the problem that the thesaurus in the related art cannot dynamically record new words and/or very useful words.
A method of dynamically generating a location thesaurus, the method comprising:
acquiring the geographic position coordinates of the terminal equipment and sending the geographic position coordinates to a server;
the server determines an application range containing the geographic position coordinates according to the geographic position coordinates, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates; the server stores a mapping relation table of new words and application ranges thereof, and the new words are not recorded in a basic word stock of the terminal equipment.
In one embodiment, the method further comprises generating the mapping table;
the generating the mapping relation table includes:
acquiring input information based on an input method of terminal equipment, and monitoring whether the input information contains new words or not;
if yes, obtaining the current geographical position coordinate of the terminal equipment, binding the current geographical position coordinate with the monitored new word and sending the new word to the server;
the server takes the monitored new words as indexes, acquires all geographic position coordinates bound with the monitored new words, takes each geographic position coordinate as a center, takes a preset attenuation rate as a radiation radius, and acquires a radiation range of each geographic position coordinate, wherein each radiation range jointly forms a thermodynamic diagram of the monitored new words;
and the server uses an area formed by surrounding the thermodynamic boundary with the overlapping times larger than a preset first threshold in the thermodynamic diagram as the application range of the monitored new word, and generates the mapping relation table based on the monitored new word and the application range thereof.
In one embodiment, before the server indexes the monitored new word, the method further includes:
the server judges whether the monitored new word is received for the first time;
if so, the server takes the current geographical position coordinate as a center and takes a preset attenuation rate as a radiation radius to obtain a radiation range of the current geographical position coordinate, and adds the radiation range as the monitored application range of the new word into the mapping relation table.
In one embodiment, the method further comprises:
when the geographic position coordinates of the terminal equipment are changed and the change amount is larger than a preset second threshold value, updating the position word stock;
the updating the location thesaurus comprises:
and returning to execute the step of determining the application range containing the geographic position coordinates according to the geographic position coordinates by the server based on the acquired geographic position coordinates.
In one embodiment, the geographic position coordinates include longitude coordinates and latitude coordinates, the variation is a euclidean distance between two geographic position coordinates, and the euclidean distance calculating step includes:
respectively calculating a longitude coordinate difference and a latitude coordinate difference between two geographic position coordinates;
and calculating a first summation value of the square of the longitude coordinate difference and the square of the latitude coordinate difference, wherein the Euclidean distance is the square root value of the first summation value.
In one embodiment, the geographic position coordinates include longitude coordinates and latitude coordinates, and the change amount is a longitude coordinate difference and/or a latitude coordinate difference between two geographic position coordinates.
In one embodiment, the method further comprises:
the server sends the position word stock to the terminal equipment;
and the terminal equipment receives the position word stock and loads the application.
A system for dynamically generating a location thesaurus, the system comprising:
the acquisition module is used for acquiring the geographic position coordinates of the terminal equipment and sending the geographic position coordinates to the server;
the server includes:
the determining module is used for determining an application range containing the geographic position coordinates according to the geographic position coordinates;
the storage module is used for storing a mapping relation table of new words and application ranges thereof, wherein the new words are not recorded in a basic word stock of the terminal equipment;
and the generation module is used for dynamically generating a position word stock based on new words corresponding to the application range containing the geographic position coordinates.
A dynamically generated location thesaurus device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the dynamically generated location thesaurus method described above.
A storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the dynamically generated location thesaurus method described above.
Compared with the prior art, the method, the system, the device and the storage medium for dynamically generating the position word stock are characterized in that the geographic position coordinates of the terminal equipment are obtained and sent to the server; the server determines an application range containing the geographic position coordinates according to the geographic position coordinates, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates; the server stores a mapping relation table of new words and application ranges thereof, and the new words are not recorded in a basic word stock of the terminal equipment. By the method, the corresponding position word library is provided according to the geographic position coordinates of the terminal equipment, the accuracy of the position word library is improved, the input efficiency of a user is improved, and the use experience of the user is improved. When the position word stock is loaded in the memory of the terminal equipment, compared with loading all new words in the memory of the terminal equipment together, the method can effectively avoid the problem that the word stock in the memory of the mobile terminal is bulky and large, and ensure the accuracy of recall of common words. Meanwhile, the method for dynamically generating the position word stock through the geographic position coordinates can be applied to various scenes such as intelligent government affairs, intelligent city management, intelligent communities, intelligent security, intelligent logistics, intelligent medical treatment, intelligent education, intelligent environmental protection, intelligent traffic and the like, so that construction of intelligent cities is promoted.
Drawings
FIG. 1 is a flow diagram of a method for dynamically generating a location thesaurus in accordance with one embodiment of the present invention;
FIG. 2 is a flow chart of a method for generating a mapping table in accordance with one embodiment of the present invention;
FIG. 3 is a thermodynamic diagram of one embodiment of the invention;
FIG. 4 is a flowchart of a method for generating a mapping table according to another embodiment of the present invention;
FIG. 5 is a flow chart of a method for dynamically generating a location thesaurus according to another embodiment of the present invention;
FIG. 6 is a schematic diagram of a system for dynamically generating location thesaurus in accordance with one embodiment of the present invention;
FIG. 7 is a schematic diagram of a device for dynamically generating a location thesaurus according to one embodiment of the present invention;
fig. 8 is a schematic structural view of a storage medium according to an embodiment of the present invention.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," "third," and the like in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", and "a third" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise. All directional indications (such as up, down, left, right, front, back … …) in the embodiments of the present application are merely used to explain the relative positional relationship, movement, etc. between the components in a particular gesture (as shown in the drawings), and if the particular gesture changes, the directional indication changes accordingly. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In a smart city, geographic location is an important datum. By dividing the data by geographic position, a lot of data can be made into scenes, so that the accuracy of data application is improved. The invention provides a method for dynamically generating a position word stock according to a geographic position based on the idea, so that the applicable accuracy of the position word stock is improved, and the problem that the word stock of terminal equipment is bulky and large and common word recall is affected can be solved. Referring to fig. 1, fig. 1 is a flow chart illustrating a method for dynamically generating a location thesaurus according to an embodiment of the present invention. It should be noted that, if there are substantially the same results, the method of the present invention is not limited to the flow sequence shown in fig. 1. As shown in fig. 1, the method comprises the steps of:
step S101: and acquiring the geographic position coordinates of the terminal equipment and sending the geographic position coordinates to a server.
In step S101, the terminal device refers to a user device that can input information by using an input method, and includes, but is not limited to, a mobile phone, a computer, a tablet, and the like.
Optionally, the terminal device may acquire the geographic location coordinates where it is located using its own GPS (Global Positioning System ) function, and then send the geographic location coordinates to the server; the geographic position coordinates can also be obtained by other electronic devices with GPS function and consistent position information (such as a bracelet, a watch or a navigator with GPS function) and transmitted to the terminal device through a short-distance connection (such as Bluetooth connection), and then the terminal device sends the geographic position coordinates to a server.
Step S102: and the server determines the application range containing the geographic position coordinates according to the geographic position coordinates, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates.
It should be noted that in step S102, the new words are words not included in the base word stock of the terminal device, including but not limited to the new words, the unusual words, and some words with regional characteristics. The basic word stock is a word stock loaded into the memory of the terminal equipment when the input method of the terminal equipment is started.
Before step S102, a mapping relationship table of the new word and the application range thereof is stored in the server. Therefore, after the server receives the geographic position coordinates of the terminal equipment, the application range containing the geographic position coordinates and new words corresponding to the application range can be sequentially determined from the mapping relation table through comparison, and further the new words are dynamically generated into the position word stock, so that the position word stock corresponding to the geographic position word stock is provided according to the geographic position coordinates of the terminal equipment, the accuracy of the application of the position word stock is improved, the input efficiency of a user is improved, and the use experience of the user is improved. When the position word stock is loaded in the memory of the terminal equipment, compared with loading all new words in the memory of the terminal equipment together, the method can effectively avoid the problem that the word stock in the memory of the mobile terminal is bulky and large, and ensure the accuracy of recall of common words.
Referring to fig. 2, fig. 2 is a flow chart illustrating a method for generating a mapping table according to an embodiment of the invention, and it should be noted that the method for generating the mapping table is not limited to the flow sequence shown in fig. 2 if there are substantially the same results. As shown in fig. 2, the method for generating the mapping relation table includes the steps of:
step 201: input information is obtained based on an input method of the terminal equipment.
Step 202: it is monitored whether the input information contains new words.
In this embodiment, the new words in step S202 are defined in the same manner as the new words in step S102 of the embodiment shown in fig. 1, and are words not included in the base word stock of the terminal device, including but not limited to new words, common words, and some words with regional characteristics.
In step S202, if it is detected that the input information includes a new word, step S203 is performed. Otherwise, the process returns to step S201 to continue to acquire the input information from the input method.
Step S203: and acquiring the current geographical position coordinate of the terminal equipment, binding the current geographical position coordinate with the monitored new word, and sending the binding to a server.
In step S203, the current geographic position coordinates of the terminal device are bound with the monitored new words to form key value pairs, which are sent to the server, so that the subsequent server can conveniently use the monitored new words as indexes, carry out induction arrangement and analysis on the geographic position coordinates bound with the monitored new words uploaded by different users, and determine the application range of the monitored new words, so as to realize the applicability of word separation according to the geographic position coordinates, thereby providing different new words in different application ranges to dynamically generate a position word stock, not only controlling the size of the position word stock, but also considering the applicability of the position word stock, and improving the accuracy.
Step S204: the server takes the monitored new word as an index, acquires all geographic position coordinates bound with the monitored new word, takes each geographic position coordinate as a center, takes a preset attenuation rate as a radiation radius, and obtains a radiation range of each geographic position coordinate, and all the radiation ranges jointly form a thermodynamic diagram of the monitored new word.
In step S204, the preset attenuation rate may be set according to the actual requirement, which is not specifically limited herein. After the radiation range of each geographic location coordinate is obtained, the radiation ranges of adjacent geographic location coordinates may overlap each other. After overlapping the different radiation ranges, a thermodynamic diagram of the new monitored word is formed, wherein a region of the thermodynamic diagram with a greater number of overlaps indicates a greater likelihood that the new monitored word is entered into the input information by the user in the region.
For example, referring to fig. 3, fig. 3 shows a thermodynamic diagram 30 of a new word, wherein a circle 31 is a radiation range of a geographic position coordinate bound to the new word, a circle center 32 of the circle 31 corresponds to the geographic position coordinate, and a radius 33 of the circle 31 is a preset attenuation rate. As can be seen from fig. 3, the thermodynamic diagram 30 of the new word is formed when the different radiation ranges overlap each other.
Step S205: and the server uses an area formed by surrounding a thermodynamic boundary with the overlapping times larger than a preset first threshold value in the thermodynamic diagram as the application range of the new word.
It should be explained that the thermal boundary is a boundary surrounding an overlapping region, and therefore, the higher the number of overlapping times of the thermal boundary, the more the number of overlapping times of the overlapping region surrounding, that is, the greater the possibility that a new word is input into the input method by the user in the overlapping region. Therefore, in step S205, an area in the thermodynamic diagram with the overlapping number of times greater than the preset first threshold is used as the application range of the new word.
In step S205, the preset first threshold may be set according to the actual requirement, which is not specifically limited herein.
As shown in FIG. 3, the thermodynamic diagram 30 encloses a region defined by the thermodynamic boundary 34, which is the applicable range of the new word.
Step S206: the server generates a mapping relation table based on each monitored new word and the application range thereof.
Optionally, in another embodiment, as shown in fig. 4, before step S404, the method for generating the mapping table in the embodiment shown in fig. 2 further includes
Step S407: the server judges whether to receive the monitored new word for the first time;
according to the foregoing embodiment, if the server receives the monitored new word for the first time, that is, the new word is only bound to the current geographic location coordinate, the step of searching for other geographic location coordinates bound to the monitored new word by using the monitored new word as an index is not required at this time, and step S408 is directly performed. If the server is not receiving the monitored new word for the first time, the process may continue to step S404.
Step S408: the server takes the current geographical position coordinate as a center, takes a preset attenuation rate as a radiation radius, obtains a radiation range of the current geographical position coordinate, takes the radiation range as an application range of the monitored new word, and adds the radiation range into a mapping relation table.
With continued reference to fig. 1, in the embodiment of fig. 1, the method for dynamically generating a location thesaurus further includes the steps of:
step S103: and the server sends the position word stock to the terminal equipment.
Step S104: and the terminal equipment receives the position word stock and loads the application.
The method for dynamically generating the location lexicon in the embodiment shown in fig. 1 is implemented by acquiring the geographic location coordinates of the terminal equipment and sending the geographic location coordinates to a server; the server determines an application range containing the geographic position coordinates according to the geographic position coordinates, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates; the server sends the position word stock to the terminal equipment; and the terminal equipment receives the position word stock and loads the application. By the method, the corresponding position word library is provided according to the geographic position coordinates of the terminal equipment, the accuracy of the position word library is improved, the input efficiency of a user is improved, and the use experience of the user is improved. When the position word stock is loaded in the memory of the terminal equipment, compared with loading all new words in the memory of the terminal equipment together, the method can effectively avoid the problem that the word stock in the memory of the mobile terminal is bulky and large, and ensure the accuracy of recall of common words. Meanwhile, the method for dynamically generating the position word stock through the geographic position coordinates in the embodiment shown in fig. 1 can be applied to various scenes such as intelligent government affairs/intelligent city management/intelligent communities/intelligent security/intelligent logistics/intelligent medical treatment/intelligent education/intelligent environmental protection/intelligent traffic, and the like, so that the construction of intelligent cities is promoted.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for dynamically generating a location thesaurus according to another embodiment of the present invention. It should be noted that, if there are substantially the same results, the method of the present invention is not limited to the flow sequence shown in fig. 5. As shown in fig. 1, the method comprises the steps of:
step S501: and acquiring the geographic position coordinates of the terminal equipment and sending the geographic position coordinates to a server.
Step S502: and the server determines the application range containing the geographic position coordinates according to the geographic position coordinates, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates.
In this embodiment, step S501 and step S502 are similar to step S101 and step S102, respectively, in the embodiment shown in fig. 1, and are not described herein for brevity.
Step S503: and when the geographic position coordinates of the terminal equipment are changed and the change quantity is larger than a preset second threshold value, updating the position word stock.
Optionally, in step S503, when the geographical position coordinate where the terminal device is located changes and the change amount is greater than the preset second threshold, step S502 is executed back based on the obtained geographical position coordinate, that is, the application range is redetermined, and the position word stock is dynamically generated based on the new word corresponding to the redetermined application range.
Optionally, the geographic location coordinates include longitude coordinates and latitude coordinates.
In one embodiment of the invention, the variance refers to the Euclidean distance between two geographic location coordinates. Optionally, the euclidean distance calculating step includes: firstly, respectively calculating a longitude coordinate difference and a latitude coordinate difference between two geographic position coordinates; then a first sum of squares of the longitude coordinate differences and squares of the latitude coordinate differences is calculated, and finally the first sum is square-root ed. In this embodiment, the preset second threshold may be set according to actual requirements, which is not specifically limited herein.
In another embodiment of the invention, the change in geographical position at which the terminal device is located refers to a change in longitude and/or latitude coordinates between two geographical position coordinates. Optionally, the location thesaurus is updated once every 0.1 ° change in longitude coordinates and/or every 0.1 ° change in latitude coordinates.
The method for dynamically generating the location lexicon in the embodiment shown in fig. 5 is implemented by acquiring the geographic location coordinates of the terminal equipment and sending the geographic location coordinates to the server; the server determines an application range containing the geographic position coordinates according to the geographic position coordinates, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates; and when the geographic position coordinates of the terminal equipment are changed and the change quantity is larger than a preset second threshold value, updating the position word stock. By the method, the corresponding position word library is provided according to the geographic position coordinates of the terminal equipment, the accuracy of the position word library is improved, the input efficiency of a user is improved, and the use experience of the user is improved. When the position word stock is loaded in the memory of the terminal equipment, compared with loading all new words in the memory of the terminal equipment together, the method can effectively avoid the problem that the word stock in the memory of the mobile terminal is bulky and large, and ensure the accuracy of recall of common words. Meanwhile, the method for dynamically generating the position word stock through the geographic position coordinates in the embodiment shown in fig. 1 can be applied to various scenes such as intelligent government affairs/intelligent city management/intelligent communities/intelligent security/intelligent logistics/intelligent medical treatment/intelligent education/intelligent environmental protection/intelligent traffic, and the like, so that the construction of intelligent cities is promoted.
FIG. 6 is a schematic diagram of a system for dynamically generating location thesaurus in accordance with one embodiment of the present invention. As shown in fig. 6, the dynamically generated location thesaurus system 60 includes an acquisition module 61 and a server 62, and wireless communication technology is supported between the server 62 and the acquisition module 61. The acquiring module 61 is configured to acquire a geographic location coordinate where the terminal device is located and send the geographic location coordinate to the server 62;
the server 62 includes a determination module 621, a storage module 622, and a generation module 623.
The storage module 622 is configured to store a mapping relationship table of new words and application ranges thereof, where the new words are not included in the base word stock of the terminal device.
The determining module 621 is coupled to the storing module 622, and is configured to determine an applicable range including the geographic location coordinates according to the geographic location coordinates.
The generating module 623 is coupled to both the determining module 621 and the storing module 622, and is configured to dynamically generate a location thesaurus based on the new word corresponding to the applicable range containing the geographic location coordinates.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a device for dynamically generating a location thesaurus according to an embodiment of the present invention. As shown in fig. 7, the dynamically generated location thesaurus device 70 includes a processor 71 and a memory 72 coupled to the processor 71. Stored in memory 72 are computer readable instructions that, when executed by processor 71, cause processor 71 to perform the steps of the dynamically generated location thesaurus method described above.
The processor 71 may also be referred to as a CPU (Central Processing Unit ). The processor 71 may be an integrated circuit chip with signal processing capabilities. Processor 71 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating a structure of a storage medium according to an embodiment of the present invention. The storage medium 80 has stored therein computer readable instructions 81 that, when executed by one or more processors, cause the one or more processors to perform the steps of the dynamically generated location thesaurus method described above. The computer readable instructions 81 may be stored in the storage medium in the form of a software product, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium 50 includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes, or a terminal device such as a computer, a server, a mobile phone, a tablet, or the like.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The foregoing is only the embodiments of the present application, and not the patent scope of the present application is limited by the foregoing description, but all equivalent structures or equivalent processes using the contents of the present application and the accompanying drawings, or directly or indirectly applied to other related technical fields, which are included in the patent protection scope of the present application.

Claims (8)

1. A method for dynamically generating a location thesaurus, the method comprising:
acquiring input information based on an input method of terminal equipment, and monitoring whether the input information contains new words or not;
if yes, obtaining the current geographical position coordinates of the terminal equipment, binding the geographical position coordinates with the monitored new words and sending the new words to a server;
the server judges whether the monitored new word is received for the first time;
if so, the server obtains a radiation range of the geographical position coordinate by taking the geographical position coordinate as a center and taking a preset attenuation rate as a radiation radius, and adds the radiation range as a monitored application range of the new word into a mapping relation table;
if the server judges that the monitored new word is not received for the first time, the server acquires all the geographic position coordinates bound with the monitored new word by taking the monitored new word as an index, and acquires a radiation range of each geographic position coordinate in all the geographic position coordinates bound with the new word by taking each geographic position coordinate in all the geographic position coordinates bound with the new word as a center and taking a preset attenuation rate as a radiation radius, wherein the radiation ranges jointly form a thermodynamic diagram of the monitored new word;
the server uses a region formed by surrounding a thermodynamic boundary with overlapping times larger than a preset first threshold in the thermodynamic diagram as a monitored application range of the new word, and generates the mapping relation table based on each monitored new word and the application range thereof;
acquiring the geographic position coordinates of the terminal equipment and sending the geographic position coordinates to the server;
the server determines an application range containing the geographic position coordinates of the terminal equipment according to the geographic position coordinates of the terminal equipment, and dynamically generates a position word stock based on new words corresponding to the application range containing the geographic position coordinates of the terminal equipment; the server stores a mapping relation table of new words and application ranges thereof, and the new words are not recorded in a basic word stock of the terminal equipment.
2. The method according to claim 1, wherein the method further comprises:
when the geographic position coordinates of the terminal equipment are changed and the change amount is larger than a preset second threshold value, updating the position word stock;
the updating the location thesaurus comprises:
and returning to execute the step of determining the application range containing the geographic position coordinates of the terminal equipment according to the geographic position coordinates of the terminal equipment by the server based on the acquired geographic position coordinates.
3. The method according to claim 2, wherein the geographical position coordinates where the terminal device is located include longitude coordinates and latitude coordinates, the variation is a euclidean distance between the two geographical position coordinates, and the euclidean distance calculating step includes:
respectively calculating a longitude coordinate difference and a latitude coordinate difference between two geographic position coordinates;
and calculating a first summation value of the square of the longitude coordinate difference and the square of the latitude coordinate difference, wherein the Euclidean distance is the square root value of the first summation value.
4. The method according to claim 2, wherein the geographical location coordinates where the terminal device is located include longitude coordinates and latitude coordinates, and the change amount is a longitude coordinate difference and/or a latitude coordinate difference between two geographical location coordinates.
5. The method according to claim 1, wherein the method further comprises:
the server sends the position word stock to the terminal equipment;
and the terminal equipment receives the position word stock and loads the application.
6. A system for dynamically generating a location thesaurus, the system comprising:
the monitoring module is used for acquiring input information based on an input method of the terminal equipment and monitoring whether the input information contains new words or not; if yes, obtaining the current geographical position coordinate of the terminal equipment, binding the current geographical position coordinate with the monitored new word and sending the new word to a server;
the acquisition module is used for acquiring the geographic position coordinates of the terminal equipment and sending the geographic position coordinates to the server;
the server includes:
the judging module is used for judging whether the monitored new words are received for the first time by the server; if so, the server takes the current geographical position coordinate as a center and a preset attenuation rate as a radiation radius to obtain a radiation range of the current geographical position coordinate, and adds the radiation range as the monitored application range of the new word into a mapping relation table;
the thermodynamic diagram module is used for acquiring all geographic position coordinates bound with the monitored new word by taking the monitored new word as an index when the server does not receive the monitored new word for the first time, and acquiring a thermodynamic diagram of the monitored new word by taking each geographic position coordinate in all geographic position coordinates bound with the new word as a center and taking a preset attenuation rate as a radiation radius to acquire a radiation range of each geographic position coordinate in all geographic position coordinates bound with the new word;
the mapping relation table module is used for the server to set a region formed by surrounding a thermodynamic boundary with the overlapping times larger than a preset first threshold in the thermodynamic diagram as the monitored application range of the new word, and generates a mapping relation table based on each monitored new word and the application range thereof;
the determining module is used for determining an application range containing the geographic position coordinates of the terminal equipment according to the geographic position coordinates of the terminal equipment;
the storage module is used for storing new words and the mapping relation table of the application range of the new words, wherein the new words are not recorded in the basic word stock of the terminal equipment;
and the generation module is used for dynamically generating a position word stock based on new words corresponding to the application range containing the geographic position coordinates of the terminal equipment.
7. A dynamically generated positional thesaurus device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the dynamically generated positional thesaurus method of any one of claims 1 to 5.
8. A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the dynamically generated location thesaurus method of any one of claims 1 to 5.
CN202010911883.7A 2020-09-02 2020-09-02 Method, system, device and storage medium for dynamically generating position word stock Active CN112052302B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010911883.7A CN112052302B (en) 2020-09-02 2020-09-02 Method, system, device and storage medium for dynamically generating position word stock
PCT/CN2020/121871 WO2021159725A1 (en) 2020-09-02 2020-10-19 Method, system and apparatus for dynamically generating location lexicon, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010911883.7A CN112052302B (en) 2020-09-02 2020-09-02 Method, system, device and storage medium for dynamically generating position word stock

Publications (2)

Publication Number Publication Date
CN112052302A CN112052302A (en) 2020-12-08
CN112052302B true CN112052302B (en) 2023-06-30

Family

ID=73608363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010911883.7A Active CN112052302B (en) 2020-09-02 2020-09-02 Method, system, device and storage medium for dynamically generating position word stock

Country Status (2)

Country Link
CN (1) CN112052302B (en)
WO (1) WO2021159725A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100130236A1 (en) * 2008-11-26 2010-05-27 Nokia Corporation Location assisted word completion
CN102508903A (en) * 2011-11-09 2012-06-20 中兴通讯股份有限公司 Updating method for word bank of input method, character input method and terminal
CN102662484B (en) * 2012-03-02 2016-03-02 李朋涛 A kind of dynamic upgrades the cell phone input method of position dictionary
CN103455160B (en) * 2012-05-29 2017-07-28 阿里巴巴集团控股有限公司 A kind of method and apparatus according to geographical position recommended candidate word
CN104050168B (en) * 2013-03-12 2017-11-28 联想(北京)有限公司 Information processing method, electronic equipment and dictionary server
CN105677841A (en) * 2016-01-04 2016-06-15 北京新美互通科技有限公司 Method and device for pushing geographic word bank
CN110765220B (en) * 2019-10-16 2022-12-13 每日互动股份有限公司 Geographical position determining method based on thermodynamic diagram and electronic equipment

Also Published As

Publication number Publication date
CN112052302A (en) 2020-12-08
WO2021159725A1 (en) 2021-08-19

Similar Documents

Publication Publication Date Title
JP6343010B2 (en) Identifying entities associated with wireless network access points
CN101999237B (en) Movement history reference system, movement information registration server, information collection server, movement history reference method and program
CN109084795B (en) Method and device for searching service facilities based on map service
EP1857944B1 (en) Information search dependent on the position and direction of a portable electronic device
CN108009205B (en) Search result caching method based on position, search method, client and system
CN103905471A (en) Social network information push method, server and social network
US20190303366A1 (en) Method for sorting and displaying data on a portable electronic device
WO2013182736A1 (en) Determination of context-aware user preferences
CN112052302B (en) Method, system, device and storage medium for dynamically generating position word stock
EP3407568A1 (en) Service processing method and device
CN105981357B (en) System and method for contextual caller identification
CN107743151B (en) Content pushing method and device, mobile terminal and server
CN107291959B (en) Travel log generation method and mobile terminal
CN111885499B (en) Positioning method and device of mobile equipment, electronic equipment and storage medium
CN113014638B (en) Interaction method, interaction device, electronic equipment and storage medium
CN111611337B (en) Terminal data processing system
CN112528138A (en) Community activity information accurate recommendation method, terminal device and readable storage medium
CN110784392B (en) Method and equipment for acquiring reading reminding information
CN111611336B (en) Terminal data processing system
CN110677919B (en) Method and equipment for sharing and determining income based on wireless access point
CN102713910A (en) Server, dictionary-generation method, dictionary-generation program, and computer-readable recording medium with said program recorded thereon
CN114143286B (en) Method and device for positioning target object and electronic equipment
CA2990717C (en) Method and device for searching for mobile terminal
CN116366717A (en) Electronic certificate pushing method, device, storage medium, terminal and server
KR102256732B1 (en) System and method for providing phone number search service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant