Position data determination method, electronic equipment, storage medium and program product
By acquiring the attribute information of geographic objects, the most matching candidate location data is selected from the candidate location set, which solves the problem of low location data accuracy in existing technologies and achieves more accurate and efficient location data determination.
Patent Information
- Application Number
- CN202512061298.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-10
AI Technical Summary
The accuracy of existing location data acquisition methods is relatively low.
By acquiring the attribute information of geographic objects, the most matching candidate location data is selected from the candidate location set as the location data of the geographic objects, and the attribute information is used to constrain the location data.
It improves the accuracy of location data and simplifies the process of determining the location data of multiple geographic objects, supporting the determination of location data of geographic objects not included in the database.
Smart Images

Figure CN121833858A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more particularly to a method for determining location data, an electronic device, a storage medium, and a program product. Background Technology
[0002] In related technologies, the location data of geographic objects can generally be determined by searching for their names in map navigation software. However, the location data obtained by these methods has relatively low accuracy. Summary of the Invention
[0003] This disclosure provides a method for determining location data, an electronic device, a storage medium, and a program product to improve the accuracy of the determined location data.
[0004] In a first aspect, embodiments of this disclosure provide a method for determining location data, including:
[0005] Obtain the first information and the geographic objects associated with the first information;
[0006] Based on the first information, first attribute information of the geographic object is obtained, wherein the first attribute information includes at least one second attribute information of the geographic object;
[0007] Based on the first attribute information, a candidate location data is selected from the candidate location set as the first location data of the geographic object, wherein the candidate location set includes at least one candidate location data;
[0008] Output the data at the first position.
[0009] Secondly, embodiments of this disclosure also provide a location data determination device, comprising:
[0010] The object acquisition module is used to acquire first information and the geographic objects associated with the first information;
[0011] The information acquisition module is used to acquire first attribute information of the geographic object based on the first information, wherein the first attribute information includes at least one second attribute information of the geographic object;
[0012] The first location determination module is used to select a candidate location data from the candidate location set according to the first attribute information, as the first location data of the geographic object, wherein the candidate location set includes at least one candidate location data.
[0013] The position output module is used to output the first position data.
[0014] Thirdly, embodiments of this disclosure also provide an electronic device, including:
[0015] One or more processors;
[0016] Memory, used to store one or more programs.
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining location data as described in the embodiments of this disclosure.
[0018] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method for determining location data as described in embodiments of this disclosure.
[0019] Fifthly, embodiments of this disclosure also provide a computer program product that, when executed by a computer, enables the computer to implement the method for determining location data as described in embodiments of this disclosure.
[0020] The location data determination method, electronic device, storage medium, and program product provided in this disclosure constrain the location data of geographic objects through attribute information. Compared with technical solutions that directly search the location data of geographic objects, this improves the accuracy of the determined location data. Furthermore, the technical solution provided in this embodiment can also determine the location data of multiple geographic objects associated with first information in batches, and / or determine the location data of geographic objects not included in the database. This simplifies the operations required to determine the location data of multiple geographic objects and improves the comprehensiveness of the geographic objects supporting the determination of location data. Attached Figure Description
[0021] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0022] Figure 1 A flowchart illustrating a method for determining location data provided in an embodiment of this disclosure;
[0023] Figure 2 A flowchart illustrating another method for determining location data provided in an embodiment of this disclosure;
[0024] Figure 3 A structural block diagram of a location data determination device provided in an embodiment of this disclosure;
[0025] Figure 4This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0026] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0027] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0028] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0030] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0031] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0032] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0033] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0034] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose whether to "agree" or "disagree" to provide personal information to the electronic device.
[0035] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0036] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0037] Figure 1 This is a flowchart illustrating a method for determining location data according to an embodiment of this disclosure. The method can be executed by a location data determining device, which can be implemented in software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet. The location data determining method provided in this disclosure is applicable to scenarios where the location data of a geographic object associated with received information is determined based on received information. Figure 1 As shown, the method for determining location data provided in this embodiment may include:
[0038] S101. Obtain first information and the geographic object associated with the first information.
[0039] The first information can be understood as received information, such as information input by the user, or information sent by other business parties or devices. The type of the first information is not limited; for example, the first information can include, but is not limited to, at least one of the following: text information, voice information, image information, or video information. Text information can be understood as information carried by text, such as text data. Voice information can be understood as information of the voice type, such as audio data. Image information can be understood as information of the image type, such as still images or animated images. Video information can be understood as information of the video type, such as video data. The following explanation uses text information as an example of the first information. This text information can include one or more text statements, and / or one or more text paragraphs. The first information can be associated with a geographic object; for example, the first information may mention or describe one or more geographic objects, or it may express an intention to obtain the location data of a geographic object.
[0040] A geographic object can be understood as an entity or phenomenon in geographic space that has geographic significance and can be observed or analyzed. For example, a geographic object can include, but is not limited to, at least one of the following: a natural geographic object, a human geographic object, or an abstract geographic object. A natural geographic object can be understood as a geographic object formed by natural forces (such as geology, climate, or hydrology), such as mountains, rivers, lakes, climate zones, or ecosystems. A human geographic object can be understood as a geographic object created or modified by human activities, such as shops, tourist attractions, cities, roads, or administrative divisions. An abstract geographic object can be understood as a virtual geographic entity constructed through data modeling or theory, such as isobars, watershed boundaries, or economic radiation zones—virtual entities that need to be expressed through data modeling.
[0041] Specifically, it can obtain first information and geographic objects associated with the first information, such as receiving first information input by the user, or receiving first information sent by other devices or other business parties; and determine the geographic objects associated with the first information and whose location data is to be determined.
[0042] In this embodiment, the method for determining the geographic object associated with the first information is not limited.
[0043] In some examples, the current business entity can receive first information and a list of geographic objects associated with the first information, and determine the geographic objects associated with the first information based on this list of geographic objects. Optionally, in this case, obtaining the first information and the geographic objects associated with the first information includes: receiving the first information and the list of geographic objects associated with the first information, wherein the list of geographic objects includes at least one geographic object. For example, when a user inputs the first information, they can further input a list of geographic objects associated with the first information, such as a list of geographic objects they are interested in; or, other devices or business entities can further send a list of geographic objects associated with the first information when sending the first information, to further improve the usability of the determined geographic data. The current business entity can receive this first information and the list of geographic objects associated with the first information, and use the geographic objects in the list as the geographic objects associated with the first information.
[0044] In some examples, after receiving the first information, the geographic objects associated with the first information can be determined based on the first information. For example, geographic objects associated with the content of the first information can be obtained, such as extracting geographic objects mentioned or described in the first information as geographic objects associated with the first information; and / or, geographic objects corresponding to the intent indicated by the first information can be determined as geographic objects associated with the first information, without requiring the user to input a list of geographic objects associated with the first information or other devices or services sending such a list. In this case, optionally, obtaining the first information and the geographic objects associated with the first information includes: receiving the first information and extracting the geographic objects associated with the first information from the first information.
[0045] S102. Obtain first attribute information of the geographic object based on the first information, wherein the first attribute information includes at least one second attribute information of the geographic object.
[0046] The first attribute information can be understood as the attribute information of a geographic object obtained based on the first information. In this embodiment, the first attribute information may include the attribute information of the geographic object extracted from the first information, and may further include the attribute information of the geographic object obtained by information search or information query based on the first information. The first attribute information includes one or more second attribute information of the geographic object. Different second attribute information may correspond to different attributes of the geographic object, and / or, different second attribute information may be used to indicate different attribute values of the geographic object under a certain attribute, etc. These different attributes may include, for example, at least one of the following attributes of the geographic object: real name, alias, address, location, geographic region or geographic route, intersecting geographic objects, or neighboring geographic objects. Each attribute may have one or more attribute values, and attribute values of different attributes or different attribute values of the same attribute can all serve as different second attribute information of the geographic object.
[0047] Specifically, after obtaining the first information and the geographic object associated with the first information, the first attribute information of the geographic object can be obtained based on the first information, such as extracting one or more second attribute information of the geographic object from the first information, and / or searching or querying the second attribute information of the geographic object based on the first information, as the first attribute information of the geographic object.
[0048] In some implementations, the attribute information of a geographic object can be extracted from the first information, such as extracting the attribute information of the geographic object presented in the first information as the second attribute information of the geographic object, thereby realizing the acquisition of the first attribute information of the geographic object.
[0049] For example, taking the first piece of information as "On the third day of my trip, I went to Town A. Town A is located in City C, Province B, at the border of Province B and Province D, near National Highway E, and about 110 kilometers northwest of County F. It is a group of abandoned buildings half-buried by wind and sand, full of a sense of history..." and the geographical object associated with the first piece of information as "Town A", the following second attribute information of "Town A" can be extracted from the first information: address is "City C, Province B", the bordering geographical objects are "Province B" and "Province C", the adjacent geographical object is "National Highway E", and the location is "about 110 kilometers northwest of County F". The obtained second attribute information can be used as the first attribute information of Town A obtained based on the first information.
[0050] In some implementations, considering that the first information may only present partial attribute information of a geographic object, in addition to extracting the attribute information of the geographic object from the first information, the attribute information of the geographic object can be further obtained from the second information associated with the geographic object to further complete the attribute information of the geographic object and improve the accuracy of the subsequently determined location data of the geographic object. Among the attributes corresponding to the attribute information further obtained from the second information, there may be attributes that are the same as those extracted based on the first information.
[0051] Optionally, obtaining the first attribute information of the geographic object based on the first information includes: extracting the second attribute information of the geographic object from the first information; determining the attribute of the geographic object to be supplemented with information based on the second attribute information; obtaining the second information associated with the attribute, and continuing to extract the second attribute information of the geographic object from the second information.
[0052] The attribute to be supplemented can be understood as an attribute whose corresponding attribute information cannot be accurately determined based on the first information, such as a key attribute whose corresponding attribute information cannot be accurately determined based on the first information among key attributes associated with location data. For example, the attribute to be supplemented may include attributes whose attribute information is not presented in the first information, and / or attributes whose attribute information presented in the first information is inaccurate (e.g., multiple possible attribute values exist), etc. The second information can be understood as information associated with the attribute to be supplemented, such as information that presents the attribute information of the attribute to be supplemented. The type of the second information is not limited; for example, the second information may include, but is not limited to, at least one of the following: text information, voice information, image information, or video information. The following explanation uses text information as an example of the second information.
[0053] For example, the second attribute information of the geographic object can be extracted first from the first information. After the second attribute information is extracted from the first information, it is determined whether the geographic object needs to have its attribute information supplemented based on the extracted second attribute information, such as determining whether the geographic object has attributes that need to be supplemented.
[0054] When a geographic object has attributes that need to be supplemented with information, for each attribute or at least some of the attributes that need to be supplemented with information, the second information associated with this attribute can be obtained, such as by searching for the second information associated with this attribute, or by querying the second information associated with this attribute from a pre-set knowledge base or database. The second attribute information of this geographic object can then be extracted from the second information. After the extraction is completed, the operation of determining whether the geographic object needs to supplement attribute information based on the extracted second attribute information is returned until the geographic object no longer needs to supplement attribute information.
[0055] For example, assuming the attribute to be supplemented for the geographic object "Town A" is its real name, we can obtain second information related to the real name of "Town A" and further extract the second attribute information of "Town A" from this second information. For instance, assuming the obtained second information is "Town A, real name XXXX Town, specific location at the intersection of National Highway G and Provincial Highway H," we can extract the following second attribute information for "Town A": its real name is "XXXX Town," and the intersecting geographic objects are "National Highway G" and "Provincial Highway H," thus further completing the second attribute information of "Town A."
[0056] Furthermore, in response to the absence of any attribute for which information needs to be supplemented for a geographic object, it can be determined that the acquisition of the second attribute information of this geographic object is complete, thereby obtaining the first attribute information of the geographic object.
[0057] In the above embodiments, the method for determining whether a geographic object has attributes requiring information supplementation can be set as needed. For example, a list of key attributes for determining location data can be pre-set. After obtaining the extracted second attribute information of the geographic object, it can be determined whether the second attribute information of each key attribute in the key attribute list can be accurately determined based on this extracted second attribute information. If so, it can be determined that the geographic object does not have attributes requiring information supplementation; if not, key attributes whose second attribute information cannot yet be accurately determined can be obtained as attributes requiring information supplementation for the geographic object. Alternatively, a pre-trained model can be used to determine whether a geographic object has attributes requiring information supplementation based on the extracted second attribute information of the geographic object. This embodiment does not impose limitations on this comparison.
[0058] In this embodiment, the first attribute information of a geographic object can be extracted based on a pre-trained model or a pre-set extraction strategy. Taking the extraction of the first attribute information of a geographic object based on a pre-trained large model as an example, the large model can extract the second attribute information of the geographic object from the first information based on the first information and the first prompt word. After extraction, based on the extracted second attribute information and the second prompt word, it is determined whether the geographic object has any attributes that need to be supplemented. If not, it can be determined that the first attribute information of the geographic object has been obtained. If it does, based on the attribute that needs to be supplemented and the third prompt word, the second information associated with this attribute can be obtained. Based on the second information and the first prompt word, the second attribute information of the geographic object can continue to be extracted from the second information, and the operation of determining whether the geographic object has any attributes that need to be supplemented based on the extracted second attribute information and the second prompt word can be returned until the geographic object no longer has any attributes that need to be supplemented.
[0059] The first, second, and third prompt words can be different. The first prompt word can be used to instruct the large model to extract attribute information. The second prompt word can be used to instruct the large model to determine whether a geographic object has an attribute that needs to be supplemented with information, and if so, to identify this attribute. The third prompt word can be used to instruct the large model to obtain second information, such as instructing the large model to search for second information associated with the attribute that needs to be supplemented with information.
[0060] S103. Based on the first attribute information, select a candidate location data from the candidate location set as the first location data of the geographic object, wherein the candidate location set includes at least one candidate location data.
[0061] Candidate location data can be understood as available location data, which can be initially determined possible location data of a geographic object. The candidate location set can be understood as a collection of candidate location data, which may include one or more possible candidate location data of the geographic object associated with the first piece of information.
[0062] The first location data can be understood as the location data of a geographic object that is identified and associated with the first information. This location data can be used to indicate the location of the geographic object associated with the first information. When the types of geographic objects are different, the way this location data indicates the location can be different. For example, for a location associated with the first information, the first location data can be the point of interest or location coordinates (such as latitude and longitude coordinates) corresponding to this location; for a geographic route associated with the first information, the first location data can include the location data of a series of consecutive locations on this geographic route and the lines connecting adjacent locations; for a location area associated with the first information, the first location data can be used to indicate the shape corresponding to this location area, such as a polygon, circle, or ellipse, etc. For example, the first location data can include the location data, distances, or lines connecting adjacent locations used to determine this shape.
[0063] Specifically, after obtaining the first attribute information of the geographic object associated with the first information, a candidate location data can be selected from the candidate location set of the geographic object based on this first attribute information, and used as the first location data of the geographic object. For example, based on the matching between each candidate location data in the candidate location set and the first attribute information of the geographic object, the candidate location data that best matches the first attribute information can be obtained from the candidate location set and used as the first location data of the geographic object.
[0064] In this embodiment, the geographic objects associated with the first information can be of different types. For example, the geographic objects associated with the first information can include, but are not limited to, at least one of location, geographic route, or geographic region. The methods for determining the location data of different types of geographic objects can be the same or different.
[0065] For example, for a location associated with the first information, the first attribute information of the location can be obtained based on the first information, and a candidate location data can be selected from the candidate location set of the location based on the first attribute information of the location as the first location data of the location.
[0066] For a geographical route or geographical region associated with the first information, the first attribute information of the geographical route or geographical region can be obtained based on the first information. Based on the first attribute information of the geographical route or geographical region, a candidate location data can be selected from the candidate location set of the geographical route or geographical region as the first location data of the geographical route or geographical region.
[0067] Optionally, the geographic object includes a geographic route or geographic region. The step of selecting a candidate location data from the candidate location set as the first location data of the geographic object based on the first attribute information includes: determining a key location in the geographic object; selecting a candidate location data from the candidate location set of the key location as the second location data of the key location based on the first attribute information; and determining the first location data of the geographic object based on the second location data.
[0068] Among these, key locations along a geographical route or within a geographical region can be understood as key locations on that route or region. Secondary location data can be understood as the location data of these key locations.
[0069] For example, for a geographical route or geographical region associated with the first information, the first attribute information of the geographical route or geographical region can be obtained based on the first information. The first attribute information may include the attribute information of the geographical route or geographical region as a whole, or it may further include the attribute information of key locations on the geographical route or geographical region.
[0070] Based on this first attribute information, second location data of key locations on this geographical route or geographical area is determined. For example, based on this first attribute information, attribute information of key locations on this geographical route or geographical area is determined, such as obtaining at least one or more second attribute information of the key location, and selecting a candidate location data from the candidate location set of the key location based on this one or more second attribute information as the second location data of the key location.
[0071] After obtaining the second location data of the key location, the first location data of the geographical route or geographical area can be determined based on this second location data, or by further combining it with the first attribute information of the geographical route or geographical area.
[0072] In some examples, for the location associated with the first information, or the key location on the first associated geographical route or geographical region, the attribute information of the location can be obtained based on the first information. Based on this attribute information, a candidate location data can be selected from the candidate location set of this location as the location data of this geographical object.
[0073] For a geographic route associated with the first information, the location data of key locations (such as locations along the route) on the geographic route can be determined first. Based on the location data of the key locations, a set of candidate locations for the geographic route can be obtained, such as generating or obtaining the set of candidate locations for the geographic route from a map navigation service provider. Based on the first attribute information of the geographic route, a candidate location data can be selected from the set of candidate locations of the geographic route as the first location data of the geographic object.
[0074] For the geographic region associated with the first information, location data of key locations in this geographic region (such as locations on the boundary or locations in the center of the region) can be determined, and / or, the coverage area of this geographic region (such as radius or length of the boundary) can be determined in a similar manner, and the first location data of this geographic route can be generated based on the location data of the key locations and this coverage area.
[0075] S104. Output the first position data.
[0076] In this step, after obtaining the first location data of the geographic object associated with the first information, this first location data can be output, such as storing the first location data, displaying the first location data, or feeding the first location data back to the sender of the first information, etc.
[0077] The method for determining location data provided in this embodiment involves: acquiring first information and geographic objects associated with the first information; acquiring first attribute information of the geographic object based on the first information, wherein the first attribute information includes at least one second attribute information of the geographic object; selecting a candidate location data from a candidate location set as the first location data of the geographic object based on the first attribute information, wherein the candidate location set includes at least one candidate location data; and outputting the first location data of the geographic object. This embodiment utilizes the above technical solution to constrain the location data of geographic objects through attribute information, which improves the accuracy of the determined location data compared to the technical solution of directly searching for the location data of geographic objects. Furthermore, the technical solution provided in this embodiment can also determine the location data of multiple geographic objects associated with the first information in batches, and / or determine the location data of geographic objects not included in the database, simplifying the operations required to determine the location data of multiple geographic objects and improving the comprehensiveness of geographic objects supporting location data determination.
[0078] Figure 2 This is a flowchart illustrating another method for determining location data provided in an embodiment of this disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, selecting a candidate location data from the candidate location set based on the first attribute information as the first location data of the geographic object includes: obtaining a first candidate location set based on the first attribute information, wherein the first candidate location set includes at least one first candidate location data; selecting a first candidate location data from the first candidate location set based on a first matching degree, and using the selected first candidate location data as the first location data, wherein the first matching degree is the matching degree between the first candidate location data and the first attribute information.
[0079] Correspondingly, such as Figure 2 As shown, the method for determining location data provided in this embodiment may include:
[0080] S201. Obtain first information and the geographic object associated with the first information.
[0081] S202. Based on the first information, obtain the first attribute information of the geographic object, wherein the first attribute information includes at least one second attribute information of the geographic object.
[0082] S203. Based on the first attribute information, obtain a first candidate location set, wherein the first candidate location set includes at least one first candidate location data.
[0083] The first candidate location data can be candidate location data of a geographic object, such as the candidate location data obtained when initially determining the location data of a geographic object. For example, the first candidate location data can be candidate location data of a first type of geographic object, or candidate location data of a geographic object obtained using a first acquisition method. The first candidate location set can be a collection of first candidate location data, and the first candidate location set may include one or more first candidate location data.
[0084] Specifically, the first candidate location set of a geographic object can be obtained based on its first attribute information. For example, one or more first candidate location data of a geographic object can be obtained based on its first attribute information, thereby obtaining a first candidate location set including the obtained first candidate location data.
[0085] In this embodiment, the method for obtaining the first candidate location data is not limited. Optionally, obtaining the first candidate location set based on the first attribute information includes at least one of the following: determining a knowledge base corresponding to at least a portion of the second attribute information, and obtaining first candidate location data associated with the second attribute information from the knowledge base; searching for first candidate location data associated with at least a portion of the second attribute information; and calculating the first candidate location data based on at least a portion of the second attribute information.
[0086] For example, for each piece of second attribute information or at least part of the second attribute information of a geographic object, candidate location data for the geographic object is queried from a pre-configured knowledge base based on this second attribute information, and used as the first candidate location data for the geographic object. For example, the location data of the geographic object is queried from a pre-configured knowledge base associated with this second attribute information, and used as the first candidate location data for the geographic object. And / or, for each piece of second attribute information or at least part of the second attribute information of a geographic object, candidate location data associated with this second attribute is searched based on this second attribute information, and used as the first candidate location data for the geographic object. For example, the location data of the geographic object is searched in publicly available data using this second attribute information as a constraint condition for the geographic object, and used as the first candidate location data for the geographic object. And / or, possible candidate location data for the geographic object is calculated based on some or all of the second attribute information of the geographic object, and used as the first candidate location data for the geographic object.
[0087] In some examples, taking a geographic object as a location, the first candidate location data for this location can be determined in at least one of the following ways: for each or at least one piece of second attribute information of this geographic object, query the first candidate location data of this geographic object from the knowledge base corresponding to this second attribute information; or, based on some second attribute information of this location (such as name, etc.), search for the first candidate location data of this location; or, based on some second attribute information of this location (such as address, nearby geographic objects, intersecting geographic objects, or orientation, etc.), search for location data that matches this second attribute information as the first candidate location data of this location; or, based on the services provided by this location, search for location data that matches the services provided by this location as the first candidate location data of this location; or, based on at least some of the second attribute information of this location, infer the possible location data of this location as the first candidate location data of this location, and so on.
[0088] S204. Based on the first matching degree, select a first candidate position data from the first candidate position set, and use the selected first candidate position data as the first position data, wherein the first matching degree is the matching degree between the first candidate position data and the first attribute information.
[0089] The first matching degree can be understood as the matching degree between the first candidate location data and the first attribute information of the geographic object.
[0090] In this step, a first candidate location data can be selected from at least a portion of the first candidate location data in the first candidate location set as the first location data of the geographic object, based on the first matching degree between the first candidate location data and the first attribute information of the geographic object. For example, the first candidate location data with the highest first matching degree with the first attribute information of the geographic object can be selected as the first location data of the geographic object.
[0091] In this embodiment, the method of selecting the first candidate position data based on the first matching degree is not limited.
[0092] For example, after obtaining the first candidate location set, the first candidate location data in the first candidate location set can be filtered without using the first attribute information. Instead, the first matching degree between each first candidate location data in the first candidate location set and the first attribute information of the geographic object can be calculated. Based on this first matching degree, a first candidate location data can be selected as the first location data of the geographic object. For example, the first candidate location data with the highest first matching degree can be selected as the first location data of the geographic object.
[0093] For example, after obtaining the first candidate location set, the first candidate location data in the first candidate location set can be filtered based on the first attribute information to remove first candidate location data that does not meet the second attribute information corresponding to the key attribute of the geographic object. For the remaining first candidate location data, a first matching degree between each first candidate location data and the first attribute information of the geographic object is calculated, and a first candidate location data is selected based on this first matching degree. For example, the first candidate location data with the highest first matching degree is selected from the remaining first candidate location data as the first location data of the geographic object to further improve the accuracy of the determined first location data. In this case, optionally, the step of selecting a first candidate location data from the first candidate location set based on the first matching degree includes: filtering the first candidate location data in the first candidate location set based on the first attribute information; determining the first matching degree between the remaining first candidate location data and the first attribute information; and selecting a first candidate location data from the remaining first candidate location data based on the first matching degree.
[0094] In some implementations, the first candidate location data selected based on the first matching degree can be directly used as the first location data of the geographic object, without considering whether the first matching degree between the selected first candidate location data and the first attribute information of the geographic object is greater than or equal to a preset matching degree threshold.
[0095] In some implementations, taking a geographic object as a location as an example, it can be considered whether the first matching degree between the selected first candidate location data and the first attribute information of the geographic object is greater than or equal to a preset matching degree threshold. Only when the first matching degree is greater than or equal to the preset matching degree threshold is the selected first candidate location data used as the first location data of the geographic object, so as to further improve the accuracy of the determined first location data. In this case, optionally, the geographic object includes a location, and using the selected first candidate location data as the first location data includes: in response to the first matching degree between the selected first candidate location data and the first attribute information being greater than or equal to the preset matching degree threshold, using the selected first candidate location data as the first location data.
[0096] In the above implementation, if the first matching degree between the selected first candidate location data and the first attribute information of the geographic object is less than a preset matching degree threshold, the selected first candidate location data may not be used as the first location data of the geographic object. For example, other methods different from the first candidate location set may be used to determine the first location data of the geographic object to further improve the accuracy of the determined first location data.
[0097] Optionally, the method for determining the location data may further include: in response to a first matching degree between the selected first candidate location data and the first attribute information being less than a preset matching degree threshold, obtaining a second candidate location set based on the first attribute information, wherein the second candidate location set includes at least one second candidate location data; and selecting a second candidate location data from the second candidate location set as the first location data based on a second matching degree, wherein the second matching degree is the matching degree between the second candidate location data and the first attribute information.
[0098] The second candidate location data can be candidate location data of a geographic object, obtained when the first candidate location data does not meet the requirements (e.g., the first matching degree between the first candidate location data and the first attribute information of the geographic object is less than a preset matching degree threshold). For example, the second candidate location data can be candidate location data of a second type of geographic object, or candidate location data of a geographic object obtained using a second acquisition method. This second type may be different from the first type of the first candidate location data, and / or this second acquisition method may be different from the first acquisition method of the first candidate location data.
[0099] Taking a geographic object as a location as an example, one of the first candidate location data and the second candidate location data of the geographic object can be a point of interest corresponding to the geographic object; the other of the first candidate location data and the second candidate location data can be the location coordinates of the geographic object, such as latitude and longitude coordinates. Optionally, the first candidate location data includes candidate points of interest, and the second candidate location data includes candidate location coordinates. For example, the first candidate location data can be a point of interest that the geographic object may correspond to; the second candidate location data can be the possible location coordinates of the geographic object, such as the possible latitude and longitude coordinates of the geographic object.
[0100] The second candidate location set can be a collection of second candidate location data, and the second candidate location set may include one or more second candidate location data.
[0101] For example, if the first matching degree between the selected first candidate location data and the first attribute information of the geographic object is less than a preset matching degree threshold, a second candidate location set of the geographic object can be obtained based on the first attribute information of the geographic object. For example, one or more second candidate location data of the geographic object can be obtained based on the first attribute information of the geographic object, thereby obtaining a second candidate location set including the obtained second candidate location data.
[0102] Subsequently, based on the matching degree between at least some of the second candidate location data in the second candidate location set and the first attribute information of the geographic object, a second candidate location data can be selected from the second candidate location set as the first location data of the geographic object. For example, the second candidate location data in the second candidate location set can be filtered based on the first attribute information to remove second candidate location data that do not meet the second attribute information corresponding to the key attribute of the geographic object; for the remaining second candidate location data, the second matching degree between each second candidate location data and the first attribute information of the geographic object is calculated, and a first candidate location data is selected based on this first matching degree. For example, from the remaining second candidate location data, the second candidate location data with the highest second matching degree is selected as the first location data of the geographic object to further improve the accuracy of the determined first location data.
[0103] In this embodiment, taking first candidate location data as candidate points of interest and second candidate location data as candidate location coordinates as an example, the acquisition methods of the second candidate location data and the first candidate location data can be the same or different. For example, the candidate location coordinates of a geographic object can be determined by querying a knowledge base, searching in publicly available data, and / or inferring. Optionally, obtaining the second candidate location set based on the first attribute information includes: calculating the second candidate location data based on the first attribute information. For example, the possible location coordinates of a geographic object can be inferred based on each or at least part of the second attribute information of the geographic object, serving as the second candidate location data for that geographic object.
[0104] S205, Output the first position data.
[0105] The location data determination method provided in this embodiment selects a candidate location data from the candidate location set as the first location data of the geographic object based on the matching degree between the candidate location data in the candidate location set and the first attribute information of the geographic object. This can further improve the accuracy of the determined geographic location data and reduce the situation of incorrectly determining the location data.
[0106] Figure 3 This is a structural block diagram of a location data determination device provided in an embodiment of this disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. It can determine the location data of a geographic object associated with received information based on received information by executing a location data determination method. Figure 3 As shown, the location data determination device provided in this embodiment may include: an object acquisition module 301, an information acquisition module 302, a first location determination module 303, and a location output module 304, wherein,
[0107] The object acquisition module 301 is used to acquire first information and the geographic objects associated with the first information;
[0108] Information acquisition module 302 is used to acquire first attribute information of the geographic object based on the first information, wherein the first attribute information includes at least one second attribute information of the geographic object;
[0109] The first location determination module 303 is used to select a candidate location data from the candidate location set according to the first attribute information, as the first location data of the geographic object, wherein the candidate location set includes at least one candidate location data.
[0110] The position output module 304 is used to output the first position data.
[0111] The location data determination device provided in this embodiment acquires first information and geographic objects associated with the first information through an object acquisition module; acquires first attribute information of the geographic object based on the first information through an information acquisition module, the first attribute information including at least one second attribute information of the geographic object; selects a candidate location data from a candidate location set based on the first attribute information through a first location determination module, as the first location data of the geographic object, wherein the candidate location set includes at least one candidate location data; and outputs the first location data of the geographic object through a location output module. This embodiment utilizes the above technical solution to constrain the location data of geographic objects through attribute information, which improves the accuracy of the determined location data compared to the technical solution of directly searching the location data of geographic objects. Furthermore, the technical solution provided in this embodiment can also determine the location data of multiple geographic objects associated with the first information in batches, and / or determine the location data of geographic objects not included in the database, simplifying the operations required to determine the location data of multiple geographic objects and improving the comprehensiveness of geographic objects supporting location data determination.
[0112] Optionally, the information acquisition module 302 may be specifically used to: extract the second attribute information of the geographic object from the first information; determine the attribute of the geographic object to be supplemented based on the second attribute information; acquire the second information associated with the attribute, and continue to extract the second attribute information of the geographic object from the second information.
[0113] Optionally, the first location determination module 303 may include: a set acquisition unit, configured to acquire a first candidate location set based on the first attribute information, wherein the first candidate location set includes at least one first candidate location data; and a location determination unit, configured to select a first candidate location data from the first candidate location set based on a first matching degree, and use the selected first candidate location data as the first location data, wherein the first matching degree is the matching degree between the first candidate location data and the first attribute information.
[0114] Optionally, the location determination unit may be specifically used to: filter the first candidate location data in the first candidate location set based on the first attribute information; determine the first matching degree between the filtered remaining first candidate location data and the first attribute information; and select a first candidate location data from the filtered remaining first candidate location data based on the first matching degree.
[0115] Optionally, the location determination unit may be specifically used to: in response to a first matching degree between the selected first candidate location data and the first attribute information being greater than or equal to a preset matching degree threshold, use the selected first candidate location data as the first location data; the location data determination device may further include: a set acquisition module, used to acquire a second candidate location set according to the first attribute information in response to a first matching degree between the selected first candidate location data and the first attribute information being less than a preset matching degree threshold, the second candidate location set including at least one second candidate location data; and a second location determination module, used to select a second candidate location data from the second candidate location set based on a second matching degree, and use it as the first location data, wherein the second matching degree is the matching degree between the second candidate location data and the first attribute information.
[0116] Optionally, the first candidate location data includes candidate points of interest, and the second candidate location data includes candidate location coordinates.
[0117] Optionally, the set acquisition module may be specifically used to: calculate the second candidate position data based on the first attribute information.
[0118] Optionally, the set acquisition unit may be specifically used to perform at least one of the following: determining a knowledge base corresponding to at least a portion of the second attribute information, and acquiring first candidate location data associated with the second attribute information from the knowledge base; searching for first candidate location data associated with at least a portion of the second attribute information; and calculating the first candidate location data based on at least a portion of the second attribute information.
[0119] Optionally, the geographic object includes a geographic route or geographic region, and the first location determination module 303 may be specifically used to: determine key locations in the geographic object; select a candidate location data from the candidate location set of the key location according to the first attribute information, as the second location data of the key location; and determine the first location data of the geographic object based on the second location data.
[0120] Optionally, the object acquisition module 301 may be specifically used to: receive first information and a list of geographic objects associated with the first information, wherein the list of geographic objects includes at least one geographic object; or, receive the first information and extract the geographic objects associated with the first information from the first information.
[0121] The location data determination apparatus provided in this disclosure can execute the location data determination method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the location data determination method. Technical details not described in detail in this embodiment can be found in the location data determination method provided in any embodiment of this disclosure.
[0122] The following is for reference. Figure 4 The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device or a server) 400 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0123] like Figure 4 As shown, electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 401, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 402 or a program loaded from storage device 408 into random access memory (RAM) 403. RAM 403 also stores various programs and data required for the operation of electronic device 400. Processing device 401, ROM 402, and RAM 403 are interconnected via bus 404. Input / output (I / O) interface 405 is also connected to bus 404.
[0124] Typically, the following devices can be connected to I / O interface 405: input devices 406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 408 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409. Communication device 409 allows electronic device 400 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4 An electronic device 400 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0125] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 409, or installed from storage device 408, or installed from ROM 402. When the computer program is executed by processing device 401, it performs the functions defined in the methods of embodiments of this disclosure.
[0126] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0127] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0128] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0129] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: acquire first information and a geographic object associated with the first information; acquire first attribute information of the geographic object based on the first information, wherein the first attribute information includes at least one second attribute information of the geographic object; select a candidate location data from a candidate location set as the first location data of the geographic object based on the first attribute information, wherein the candidate location set includes at least one candidate location data; and output the first location data.
[0130] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0131] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0132] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not necessarily limit the specific unit itself.
[0133] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0134] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0135] According to one or more embodiments of this disclosure, Example 1 provides a method for determining location data, including:
[0136] Obtain the first information and the geographic objects associated with the first information;
[0137] Based on the first information, first attribute information of the geographic object is obtained, wherein the first attribute information includes at least one second attribute information of the geographic object;
[0138] Based on the first attribute information, a candidate location data is selected from the candidate location set as the first location data of the geographic object, wherein the candidate location set includes at least one candidate location data;
[0139] Output the data at the first position.
[0140] According to one or more embodiments of this disclosure, Example 2, based on the method described in Example 1, includes obtaining the first attribute information of the geographic object based on the first information, comprising:
[0141] Extract the second attribute information of the geographic object from the first information;
[0142] Based on the second attribute information, determine the attributes of the geographic object that need to be supplemented with information;
[0143] Obtain the second information associated with the attribute, and continue to extract the second attribute information of the geographic object from the second information.
[0144] According to one or more embodiments of this disclosure, Example 3, based on the method described in Example 1, involves selecting a candidate location data from a set of candidate locations based on the first attribute information, as the first location data of the geographic object, comprising:
[0145] Based on the first attribute information, a first candidate location set is obtained, wherein the first candidate location set includes at least one first candidate location data;
[0146] Based on the first matching degree, a first candidate position data is selected from the first candidate position set, and the selected first candidate position data is used as the first position data, wherein the first matching degree is the matching degree between the first candidate position data and the first attribute information.
[0147] According to one or more embodiments of this disclosure, Example 4 describes the method described in Example 3, wherein selecting a first candidate location data from the first candidate location set based on a first matching degree includes:
[0148] Based on the first attribute information, the first candidate location data in the first candidate location set is filtered;
[0149] Determine the first matching degree between the filtered remaining first candidate position data and the first attribute information;
[0150] Based on the first matching degree, a first candidate position data is selected from the remaining first candidate position data after filtering.
[0151] According to one or more embodiments of this disclosure, Example 5 describes the method according to Example 3, wherein the geographic object includes a location, and the step of using the selected first candidate location data as the first location data includes:
[0152] In response to the first matching degree between the selected first candidate location data and the first attribute information being greater than or equal to a preset matching degree threshold, the selected first candidate location data is used as the first location data.
[0153] The method further includes:
[0154] In response to the first matching degree between the selected first candidate location data and the first attribute information being less than a preset matching degree threshold, a second candidate location set is obtained based on the first attribute information, wherein the second candidate location set includes at least one second candidate location data.
[0155] Based on the second matching degree, a second candidate position data is selected from the second candidate position set as the first position data, wherein the second matching degree is the matching degree between the second candidate position data and the first attribute information.
[0156] According to one or more embodiments of this disclosure, Example 6 describes the method described in Example 5, wherein the first candidate location data includes candidate points of interest, and the second candidate location data includes candidate location coordinates.
[0157] According to one or more embodiments of this disclosure, Example 7 describes the method described in Example 5, wherein obtaining the second candidate location set based on the first attribute information includes:
[0158] Calculate the second candidate location data based on the first attribute information.
[0159] According to one or more embodiments of this disclosure, Example 8 describes the method described in Example 3, wherein obtaining the first candidate location set based on the first attribute information includes at least one of the following:
[0160] Determine at least a portion of the second attribute information corresponding to a knowledge base, and obtain first candidate location data associated with the second attribute information from the knowledge base;
[0161] Search for first candidate location data that is associated with at least part of the second attribute information;
[0162] Calculate the first candidate location data based on at least some of the second attribute information.
[0163] According to one or more embodiments of this disclosure, Example 9 describes the method according to any one of Examples 1-8, wherein the geographic object includes a geographic route or geographic region, and the step of selecting a candidate location data from a candidate location set as the first location data of the geographic object based on the first attribute information includes:
[0164] Identify key locations within the geographic object;
[0165] Based on the first attribute information, a candidate location data is selected from the candidate location set of the key location as the second location data of the key location;
[0166] The first location data of the geographic object is determined based on the second location data.
[0167] According to one or more embodiments of this disclosure, Example 10, based on any one of Examples 1-8, includes obtaining the first information and the geographic object associated with the first information, comprising:
[0168] Receive first information and a list of geographic objects associated with the first information, wherein the list of geographic objects includes at least one geographic object; or,
[0169] Receive the first information and extract the geographic object associated with the first information from the first information.
[0170] According to one or more embodiments of this disclosure, Example 11 provides an electronic device, including:
[0171] One or more processors;
[0172] Memory, used to store one or more programs.
[0173] When the one or more programs are executed by the one or more processors, the one or more processors implement a method for determining location data as described in any of Examples 1-10.
[0174] According to one or more embodiments of the present disclosure, Example 12 provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements a method for determining location data as described in any of Examples 1-10.
[0175] According to one or more embodiments of this disclosure, Example 13 provides a computer program product that, when executed by a computer, causes the computer to implement a method for determining location data as described in any of Examples 1-10.
[0176] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0177] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0178] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for determining location data, characterized in that, include: Obtain the first information and the geographic objects associated with the first information; Based on the first information, first attribute information of the geographic object is obtained, wherein the first attribute information includes at least one second attribute information of the geographic object; Based on the first attribute information, a candidate location data is selected from the candidate location set as the first location data of the geographic object, wherein the candidate location set includes at least one candidate location data; Output the data at the first position.
2. The method according to claim 1, characterized in that, The step of obtaining the first attribute information of the geographic object based on the first information includes: Extract the second attribute information of the geographic object from the first information; Based on the second attribute information, determine the attributes of the geographic object that need to be supplemented with information; Obtain the second information associated with the attribute, and continue to extract the second attribute information of the geographic object from the second information.
3. The method according to claim 1, characterized in that, The step of selecting a candidate location data from the candidate location set as the first location data of the geographic object based on the first attribute information includes: Based on the first attribute information, a first candidate location set is obtained, wherein the first candidate location set includes at least one first candidate location data; Based on the first matching degree, a first candidate position data is selected from the first candidate position set, and the selected first candidate position data is used as the first position data, wherein the first matching degree is the matching degree between the first candidate position data and the first attribute information.
4. The method according to claim 3, characterized in that, The step of selecting a first candidate location data from the first candidate location set based on the first matching degree includes: Based on the first attribute information, the first candidate location data in the first candidate location set is filtered; Determine the first matching degree between the filtered remaining first candidate position data and the first attribute information; Based on the first matching degree, a first candidate position data is selected from the remaining first candidate position data after filtering.
5. The method according to claim 3, characterized in that, The geographic object includes location, and the step of selecting the first candidate location data as the first location data includes: In response to the first matching degree between the selected first candidate location data and the first attribute information being greater than or equal to a preset matching degree threshold, the selected first candidate location data is used as the first location data. The method further includes: In response to the first matching degree between the selected first candidate location data and the first attribute information being less than a preset matching degree threshold, a second candidate location set is obtained based on the first attribute information, wherein the second candidate location set includes at least one second candidate location data. Based on the second matching degree, a second candidate position data is selected from the second candidate position set as the first position data, wherein the second matching degree is the matching degree between the second candidate position data and the first attribute information.
6. The method according to claim 5, characterized in that, The first candidate location data includes candidate points of interest, and the second candidate location data includes candidate location coordinates.
7. The method according to claim 5, characterized in that, The step of obtaining the second candidate location set based on the first attribute information includes: Calculate the second candidate location data based on the first attribute information.
8. The method according to claim 3, characterized in that, The step of obtaining the first candidate location set based on the first attribute information includes at least one of the following: Determine at least a portion of the second attribute information corresponding to a knowledge base, and obtain first candidate location data associated with the second attribute information from the knowledge base; Search for first candidate location data that is associated with at least part of the second attribute information; Calculate the first candidate location data based on at least some of the second attribute information.
9. The method according to any one of claims 1-8, characterized in that, The geographic object includes a geographic route or geographic region. The step of selecting a candidate location data from the candidate location set as the first location data of the geographic object based on the first attribute information includes: Identify key locations within the geographic object; Based on the first attribute information, a candidate location data is selected from the candidate location set of the key location as the second location data of the key location; The first location data of the geographic object is determined based on the second location data.
10. The method according to any one of claims 1-8, characterized in that, The acquisition of the first information and the geographic object associated with the first information includes: Receive first information and a list of geographic objects associated with the first information, wherein the list of geographic objects includes at least one geographic object; or, Receive the first information and extract the geographic object associated with the first information from the first information.
11. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the method for determining location data according to any one of claims 1-10.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for determining location data according to any one of claims 1-10.
13. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method for determining location data according to any one of claims 1-10.