Map version information generation method and device, electronic equipment and medium
By detecting changes in point of interest information and generating target map version information, the redundant storage problem caused by map version information generation in the prior art is solved, and a complete version of map version information sequence without duplicate information is realized.
Patent Information
- Application Number
- CN202311515153.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2025-05-16
AI Technical Summary
The prior art generates map version information, which leads to the problem of redundant information storage, mainly due to the full and incremental update methods that lead to the existence of duplicate information.
By detecting the change in the interest point information in the interest point information set, the target interest point information is determined, and the target map version information is generated based on this. The method includes determining the base time and the base version number, updating the map version information sequence, and adding the target map version information to the preset map version information sequence.
It effectively avoids redundant storage of information, ensures that there is no duplicate information in the generated map version information sequence, thereby improving storage efficiency.
Smart Images

Figure CN120011461A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, electronic device, and medium for generating map version information. Background Art
[0002] The user end can query different versions of map information according to the map version information. At present, the map version information is usually generated by updating all the map version information at regular intervals and performing incremental updates at irregular intervals to generate a complete version of the map version information.
[0003] However, the above method usually has the following technical problems: the entire map version information is fully updated at regular intervals, and incremental updates are performed at irregular intervals, which results in duplicate information in the updated map version information, resulting in redundant information storage.
[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0005] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0006] Some embodiments of the present disclosure propose a map version information generation method, apparatus, electronic device, computer-readable medium, and program product to solve one or more of the technical problems mentioned in the above background technology section.
[0007] In a first aspect, some embodiments of the present disclosure provide a method for generating map version information, the method comprising: in response to detecting a change in point of interest information in a point of interest information set, determining the changed point of interest information as target point of interest information; based on the above point of interest information set, determining a benchmark time and a benchmark version number, wherein the above benchmark version number is determined based on the above benchmark time; based on the above target point of interest information, the above benchmark time and the above benchmark version number, generating target map version information; and adding the above target map version information to a map version information sequence corresponding to a preset map version information sequence set.
[0008] Optionally, the method further includes: in response to receiving a viewing request sent by a user terminal, determining whether the viewing request satisfies a preset viewing condition; in response to determining that the viewing request satisfies the preset viewing condition, extracting each map version information satisfying the preset extraction condition from a map version information sequence set, and sending each map version information to the user terminal.
[0009] Optionally, the method further includes: in response to determining that the viewing request does not satisfy the preset viewing condition, extracting each map version information corresponding to the map version number corresponding to the viewing request from the map version information sequence set, and sending each map version information to the user terminal.
[0010] Optionally, the above-mentioned generating target map version information based on the above-mentioned target point of interest information, the above-mentioned benchmark time and the above-mentioned benchmark version number includes: updating the initial map version information in the map version information sequence corresponding to the above-mentioned target point of interest information in the map version information sequence set based on the above-mentioned target point of interest information, the above-mentioned benchmark time and the above-mentioned benchmark version number; generating a target point of interest map identifier and target point of interest map data based on the above-mentioned target point of interest information; generating a target point of interest start time, a target point of interest end time, a target point of interest start version number and a target point of interest end version number based on the above-mentioned initial map version information; and combining the above-mentioned target point of interest map identifier, the above-mentioned target point of interest map data, the above-mentioned target point of interest start time, the above-mentioned target point of interest end time, the above-mentioned target point of interest start version number and the above-mentioned target point of interest end version number into the target map version information.
[0011] Optionally, the above-mentioned target point of interest information includes: target point of interest change time, the above-mentioned initial map version information includes: initial point of interest end time and initial point of interest end version number; and the above-mentioned updating of the initial map version information in the map version information sequence corresponding to the above-mentioned target point of interest information in the map version information sequence set based on the above-mentioned target point of interest information, the above-mentioned benchmark time and the above-mentioned benchmark version number, including: determining the target point of interest change time included in the above-mentioned target point of interest information as the initial point of interest end time included in the above-mentioned initial map version information; determining the difference between the above-mentioned initial point of interest end time and the above-mentioned benchmark time as the version number difference; determining the sum of the above-mentioned version number difference and the above-mentioned benchmark version number as the initial point of interest end version number included in the above-mentioned initial map version information.
[0012] Optionally, the above-mentioned target point of interest information includes: a target point of interest identifier and a target point of interest data; and the above-mentioned generation of a target point of interest map identifier and a target point of interest map data based on the above-mentioned target point of interest information includes: determining the target point of interest identifier included in the above-mentioned target point of interest information as a target point of interest map identifier; determining the target point of interest data included in the above-mentioned target point of interest information as a target point of interest map data.
[0013] Optionally, the above-mentioned initial map version information includes: the end time of the initial point of interest and the end version number of the initial point of interest; and the above-mentioned generation of the target point of interest start time, the target point of interest end time, the target point of interest start version number and the target point of interest end version number based on the above-mentioned initial map version information includes: determining the initial point of interest end time included in the above-mentioned initial map version information as the target point of interest start time; determining the current time as the target point of interest end time; determining the initial point of interest end version number included in the above-mentioned initial map version information as the target point of interest start version number; determining the preset end version number as the target point of interest end version number.
[0014] In a second aspect, some embodiments of the present disclosure provide a map version information generating device, the device comprising: a first determining unit, configured to determine the changed point of interest information as target point of interest information in response to detecting a change in point of interest information in a point of interest information set; a second determining unit, configured to determine a reference time and a reference version number based on the above point of interest information set, wherein the above reference version number is determined based on the above reference time; a generating unit, configured to generate target map version information based on the above target point of interest information, the above reference time and the above reference version number; and an adding unit, configured to add the above target map version information to a map version information sequence corresponding to a preset map version information sequence set.
[0015] Optionally, the map version information generating device further includes: a third determination unit, configured to determine whether the viewing request satisfies a preset viewing condition in response to receiving a viewing request sent by a user terminal; a first extraction unit, configured to extract each map version information satisfying the preset extraction condition from a map version information sequence set in response to determining that the viewing request satisfies the preset viewing condition, and send each map version information to the user terminal.
[0016] Optionally, the map version information generating device further includes: a second extraction unit, configured to extract, in response to determining that the viewing request does not satisfy the preset viewing condition, each map version information corresponding to the map version number corresponding to the viewing request from the map version information sequence set, and send the each map version information to the user terminal.
[0017] Optionally, the above-mentioned generation unit is further configured to: update the initial map version information in the map version information sequence corresponding to the above-mentioned target point of interest information in the map version information sequence set based on the above-mentioned target point of interest information, the above-mentioned benchmark time and the above-mentioned benchmark version number; generate a target point of interest map identifier and target point of interest map data based on the above-mentioned target point of interest information; generate a target point of interest start time, a target point of interest end time, a target point of interest start version number and a target point of interest end version number based on the above-mentioned initial map version information; and combine the above-mentioned target point of interest map identifier, the above-mentioned target point of interest map data, the above-mentioned target point of interest start time, the above-mentioned target point of interest end time, the above-mentioned target point of interest start version number and the above-mentioned target point of interest end version number into the target map version information.
[0018] Optionally, the target interest point information includes: target interest point change time, and the initial map version information includes: initial interest point end time and initial interest point end version number.
[0019] Optionally, the above-mentioned generation unit is further configured to: determine the target interest point change time included in the above-mentioned target interest point information as the initial interest point end time included in the above-mentioned initial map version information; determine the difference between the above-mentioned initial interest point end time and the above-mentioned benchmark time as the version number difference; determine the sum of the above-mentioned version number difference and the above-mentioned benchmark version number as the initial interest point end version number included in the above-mentioned initial map version information.
[0020] Optionally, the above target interest point information includes: a target interest point identifier and target interest point data.
[0021] Optionally, the generating unit is further configured to: determine the target interest point identifier included in the target interest point information as a target interest point map identifier; and determine the target interest point data included in the target interest point information as a target interest point map data.
[0022] Optionally, the above-mentioned initial map version information includes: initial point of interest end time and initial point of interest end version number.
[0023] Optionally, the above-mentioned generation unit is further configured to: determine the initial point of interest end time included in the above-mentioned initial map version information as the target point of interest start time; determine the current time as the target point of interest end time; determine the initial point of interest end version number included in the above-mentioned initial map version information as the target point of interest start version number; determine the preset end version number as the target point of interest end version number.
[0024] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0025] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0026] In a fifth aspect, some embodiments of the present disclosure provide a computer program product, including a computer program, which implements the method described in any implementation manner of the above-mentioned first aspect when executed by a processor.
[0027] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the map version information generation method of some embodiments of the present disclosure, redundant storage of information can be avoided. Specifically, the reason for redundant storage of information is that the entire map version information is fully updated at regular intervals, and incremental updates are performed irregularly, resulting in the updated map version information being prone to duplicate information. Based on this, the map version information generation method of some embodiments of the present disclosure, first, in response to detecting that the interest point information in the interest point information set has changed, the changed interest point information is determined as the target interest point information. Thus, the target map version information can be generated based on the interest point information, so as to subsequently generate the target map version information without duplicate information with other map version information. Secondly, based on the above interest point information set, the reference time and the reference version number are determined. Among them, the above reference version number is determined according to the above reference time. Thus, the reference time and the reference version number can be obtained, so as to subsequently generate the target map version information. Then, based on the above target interest point information, the above reference time and the above reference version number, the target map version information is generated. Thus, the target map version information without duplicate information with other map version information can be obtained. Finally, the target map version information is added to the map version information sequence corresponding to the preset map version information sequence set. Thus, a map version information sequence set including a complete version of map version information without duplicate information can be obtained. Thus, redundant storage of information can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent 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.
[0029] Figure 1 is a schematic diagram of an application scenario of a method for generating map version information according to some embodiments of the present disclosure;
[0030] Figure 2 is a flowchart of some embodiments of the method for generating map version information according to the present disclosure;
[0031] Figure 3 are flowcharts of other embodiments of the method for generating map version information according to the present disclosure;
[0032] Figure 4 is a schematic diagram of a map version information table according to the map version information generation method disclosed in the present invention;
[0033] Figure 5 is a schematic diagram of the structure of some embodiments of the map version information generating device according to the present disclosure;
[0034] Figure 6 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0035] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0036] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0037] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0038] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0040] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0041] Figure 1 It is a schematic diagram of an application scenario of a method for generating map version information according to some embodiments of the present disclosure.
[0042] exist Figure 1 In the application scenario, first, the electronic device 101 can determine the changed point of interest information 1021 as the target point of interest information 103 in response to detecting that the point of interest information 1021 in the point of interest information set 102 has changed. In this application scenario, the above-mentioned point of interest information 1021 may include a point of interest identifier, point of interest data, and a point of interest change time. For example, the point of interest identifier may be "1". The point of interest change time may be "2023 / 2 / 5". Secondly, the electronic device 101 may determine the reference time 104 and the reference version number 105 based on the above-mentioned point of interest information set 102. Among them, the above-mentioned reference version number 105 is determined according to the above-mentioned reference time 104. In this application scenario, the above-mentioned reference time 104 may be "2023 / 2 / 1". The above-mentioned reference version number 105 may be "0". Then, the electronic device 101 may generate the target map version information 106 based on the above-mentioned target point of interest information 103, the above-mentioned reference time 104, and the above-mentioned reference version number 105. In this application scenario, the target map version information 106 may include a point of interest identifier, point of interest data, and a point of interest version number. For example, the point of interest identifier may be "1". The point of interest version number may be "4". Finally, the electronic device 101 may add the target map version information 106 to the map version information sequence 1071 corresponding to the preset map version information sequence set 107.
[0043] It should be noted that the electronic device 101 can be hardware or software. When the electronic device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or it can be implemented as a single server or a single terminal device. When the electronic device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, for example, or it can be implemented as a single software or software module. No specific limitation is made here.
[0044] It should be understood that Figure 1 The number of electronic devices in the embodiment is only for illustration. Any number of electronic devices may be provided according to implementation requirements.
[0045] Continue to refer Figure 2 , shows a process 200 of some embodiments of the method for generating map version information according to the present disclosure. The method for generating map version information comprises the following steps:
[0046] Step 201: in response to detecting that a point of interest information in a point of interest information set has changed, determining the changed point of interest information as target point of interest information.
[0047] In some embodiments, the execution subject of the map version information generation method (for example Figure 1 The electronic device 101 shown can determine the changed point of interest information as target point of interest information in response to detecting a change in the point of interest information in the point of interest information set. Among them, the point of interest information in the above-mentioned point of interest information set can be map data of a certain area point on the map. The point of interest information in the above-mentioned point of interest information set may include but is not limited to at least one of the following: point of interest identification, point of interest data, and point of interest change time. Here, the point of interest identification can uniquely determine a point of interest. The point of interest can be a certain area point on the map. For example, a certain area point can be but is not limited to: a building, a road, a community, etc. The point of interest data can be the map data corresponding to the point of interest on the map. The point of interest change time can be the time when the point of interest changes. For example, the point of interest identification can be but is not limited to: 1, 2, 3, etc. The point of interest change time can be but is not limited to: 2023 / 2 / 1, 2023 / 2 / 7.
[0048] Step 202: Determine a reference time and a reference version number based on the point of interest information set.
[0049] In some embodiments, the execution entity may determine a reference time and a reference version number based on the POI information set. The reference version number may be determined based on the reference time. In practice, first, the execution entity may determine the earliest POI change time among the POI change times included in the POI information in the POI information set as the reference time. Then, the execution entity may determine the preset initial version number as the reference version number corresponding to the reference time. For example, the preset initial version number may be 0. The reference time may be 2023 / 2 / 1.
[0050] Step 203: Generate target map version information based on the target point of interest information, the reference time and the reference version number.
[0051] In some embodiments, the execution entity may generate target map version information based on the target point of interest information, the reference time and the reference version number.
[0052] In practice, based on the target point of interest information, the reference time and the reference version number, the execution subject may generate the target map version information by the following steps:
[0053] In the first step, the difference between the interest point change time included in the target interest point information and the reference time is determined as the target difference.
[0054] In the second step, the sum of the target difference value and the benchmark version number is determined as the target point of interest version number.
[0055] In the third step, the POI identifier, POI data and the POI version number included in the target POI information are combined into target map version information.
[0056] Step 204: Add the target map version information to the map version information sequence corresponding to the preset map version information sequence set.
[0057] In some embodiments, the above-mentioned execution entity may add the above-mentioned target map version information to the map version information sequence corresponding to the preset map version information sequence set. Among them, the map version information in the preset map version information sequence set may be the map data of a certain area point on the map. The map version information sequence in the map version information sequence set corresponds to a point of interest. The map version information in the map version information sequence set may include but is not limited to at least one of the following: a point of interest identifier, a point of interest data, and a point of interest version number. Here, the point of interest identifier can uniquely identify a point of interest. The point of interest data may be the map data corresponding to the point of interest on the map. The point of interest version number may represent the version number of the map corresponding to the map version information. In practice, first, the above-mentioned execution entity may extract the map version information sequence corresponding to the point of interest corresponding to the above-mentioned target map version information from the map version information sequence set. Then, the above-mentioned execution entity may add the above-mentioned target map version information to the above-mentioned map version information sequence.
[0058] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the map version information generation method of some embodiments of the present disclosure, redundant storage of information can be avoided. Specifically, the reason for redundant storage of information is that the entire map version information is fully updated at regular intervals, and incremental updates are performed irregularly, resulting in the updated map version information being prone to duplicate information. Based on this, the map version information generation method of some embodiments of the present disclosure, first, in response to detecting that the interest point information in the interest point information set has changed, the changed interest point information is determined as the target interest point information. Thus, the target map version information can be generated based on the interest point information, so as to subsequently generate the target map version information without duplicate information with other map version information. Secondly, based on the above interest point information set, the reference time and the reference version number are determined. Among them, the above reference version number is determined according to the above reference time. Thus, the reference time and the reference version number can be obtained, so as to subsequently generate the target map version information. Then, based on the above target interest point information, the above reference time and the above reference version number, the target map version information is generated. Thus, the target map version information without duplicate information with other map version information can be obtained. Finally, the target map version information is added to the map version information sequence corresponding to the preset map version information sequence set. Thus, a map version information sequence set including a complete version of map version information without duplicate information can be obtained. Thus, redundant storage of information can be avoided.
[0059] Further references Figure 3 , shows a process 300 of some embodiments of the method for generating map version information according to the present disclosure. The method for generating map version information comprises the following steps:
[0060] Step 301: in response to detecting that a point of interest information in a point of interest information set has changed, determining the changed point of interest information as target point of interest information.
[0061] Step 302: Determine a reference time and a reference version number based on the point of interest information set.
[0062] In some embodiments, the specific implementation of steps 301-302 and the technical effects brought about can be referred to Figure 2 The steps 201-202 in the corresponding embodiment are not described in detail here.
[0063] Step 303: Generate target map version information based on the target point of interest information, the reference time and the reference version number.
[0064] In some embodiments, the execution subject of the map version information generation method (for example Figure 1The electronic device 101 shown generates target map version information based on the target interest point information, the reference time and the reference version number. The target interest point information may include but is not limited to at least one of the following: target interest point identifier, target interest point data and target interest point change time.
[0065] In practice, based on the target point of interest information, the reference time and the reference version number, the execution subject may generate the target map version information by the following steps:
[0066] The first step is to update the initial map version information in the map version information sequence corresponding to the target point of interest information in the map version information sequence set based on the target point of interest information, the reference time and the reference version number. The initial map version information may be the last map version information in the map version information sequence. The map version information in the map version information sequence set may include but is not limited to at least one of the following: point of interest map identifier, point of interest map data, point of interest start time, point of interest end time, point of interest start version number, point of interest end version number. The point of interest map identifier can uniquely identify a point of interest. The point of interest map data may be the map data corresponding to the point of interest on the map. The point of interest start time may be the time when the map corresponding to the map version information starts to take effect. The point of interest end time may be the time when the map corresponding to the map version information ends to take effect. The point of interest start version number may be the version number of the map corresponding to the map version information when the map version information starts to take effect. The point of interest end version number may be the version number of the map corresponding to the map version information when the map version information ends to take effect. The initial map version information may include but is not limited to at least one of the following: initial point of interest end time and initial point of interest end version number. For example, the map version information sequence set may refer to Figure 4 A schematic diagram of a map version information table according to the map version information generating method disclosed in the present invention is shown. Figure 4 The table headers in the map version information table shown may be "POI map identifier, POI map data, POI start time, POI end time, POI start version number, POI end version number". Figure 4 401 "1, first point of interest data, 2023 / 2 / 1, 2023 / 2 / 2, 0, 1", 402 "1, second point of interest data, 2023 / 2 / 2, 2023 / 2 / 5, 1, 4", 403 "1, third point of interest data, 2023 / 2 / 5, 2023 / 2 / 7, 4, 65535", 404 "2, fourth point of interest data, 2023 / 2 / 4, 2023 / 2 / 6, 3, 5", 405 "2, fifth point of interest data, 2023 / 2 / 6, 2023 / 2 / 7, 5, 65535". Here, Figure 4The corresponding current time may be 2023 / 2 / 7. The map version information sequence may include Figure 4 401, 402 and 403 are shown. The map version information sequence may also include Figure 4 404 and 405 are shown.
[0067] In practice, based on the target POI information, the reference time and the reference version number, the execution subject may update the initial map version information in the map version information sequence corresponding to the target POI information in the map version information sequence set through the following sub-steps:
[0068] In a first sub-step, the target point of interest change time included in the target point of interest information is determined as the initial point of interest end time included in the initial map version information.
[0069] The second sub-step is to determine the difference between the initial point of interest end time and the reference time as the version number difference.
[0070] The third sub-step is to determine the sum of the version number difference and the base version number as the initial point of interest end version number included in the initial map version information.
[0071] The second step is to generate a target point of interest map identifier and target point of interest map data based on the target point of interest information.
[0072] In practice, based on the above target point of interest information, the above execution subject can generate the target point of interest map identifier and the target point of interest map data through the following sub-steps:
[0073] In a first sub-step, the target point of interest identifier included in the target point of interest information is determined as the target point of interest map identifier.
[0074] In a second sub-step, the target interest point data included in the target interest point information is determined as target interest point map data.
[0075] The third step is to generate the target point of interest start time, target point of interest end time, target point of interest start version number and target point of interest end version number based on the above initial map version information.
[0076] In practice, based on the above initial map version information, the above execution subject can generate the target point of interest start time, target point of interest end time, target point of interest start version number and target point of interest end version number through the following sub-steps:
[0077] In the first sub-step, the end time of the initial point of interest included in the initial map version information is determined as the start time of the target point of interest.
[0078] The second sub-step is to determine the current time as the end time of the target point of interest.
[0079] In a third sub-step, the initial point of interest ending version number included in the initial map version information is determined as the target point of interest starting version number.
[0080] The fourth sub-step is to determine the preset end version number as the end version number of the target point of interest. For example, the preset end version number may be 65535.
[0081] Step 4: Combine the target POI map identifier, the target POI map data, the target POI start time, the target POI end time, the target POI start version number and the target POI end version number into target map version information. For example, the target map version information can refer to Figure 4 403 or 405 shown.
[0082] Step 304: Add the target map version information to the map version information sequence corresponding to the preset map version information sequence set.
[0083] In some embodiments, the specific implementation of step 304 and the technical effects brought about can be referred to Figure 2 The corresponding step 204 in the embodiment will not be described in detail here.
[0084] Step 305: In response to receiving the viewing request sent by the user terminal, determining whether the viewing request meets a preset viewing condition.
[0085] In some embodiments, the execution subject may determine whether the viewing request meets a preset viewing condition in response to receiving a viewing request sent by a user terminal. The viewing request may indicate that the user terminal wants to view a map version information of a specified historical version or the latest version. The preset viewing condition may be that the user terminal wants to view a map version information of a specified historical version. For example, the specified historical version may be 2.
[0086] Step 306 , in response to determining that the viewing request satisfies the preset viewing condition, extracting each map version information satisfying the preset extraction condition from the map version information sequence set, and sending each map version information to the user terminal.
[0087] In some embodiments, the execution subject may extract each map version information satisfying the preset extraction condition from the map version information sequence set in response to determining that the viewing request satisfies the preset viewing condition, and may send each map version information to the user terminal. The preset extraction condition may be that the starting version number of the point of interest included in the map version information is less than or equal to the specified historical version, and the ending version number of the point of interest included in the map version information is greater than the specified historical version.
[0088] Optionally, in response to determining that the viewing request does not meet the preset viewing condition, each map version information corresponding to the map version number corresponding to the viewing request is extracted from the map version information sequence set, and each map version information is sent to the user terminal.
[0089] In some embodiments, the execution entity may, in response to determining that the viewing request does not satisfy the preset viewing condition, extract each map version information corresponding to the map version number corresponding to the viewing request from the map version information sequence set, and send the each map version information to the user terminal. The fact that the viewing request does not satisfy the preset viewing condition may indicate that the user terminal wants to view the latest version of the map version information. In practice, first, the execution entity may extract each map version information whose map version information includes a point of interest end version number that is the same as the preset end version number from the map version information sequence set. Then, the execution entity sends the each map version information to the user terminal.
[0090] from Figure 3 It can be seen that Figure 2 Compared with the description of some corresponding embodiments, Figure 3 The process 300 of the map version information generation method in some corresponding embodiments adds another point of interest version number to the map version information in the map version information sequence set. Thus, one of the two point of interest version numbers included in the map version information can be a point of interest start version number, which can represent the version number at which the version of the map corresponding to the map version information starts to take effect, and the other point of interest version number can be a point of interest end version number, which can represent the version number at which the version of the map corresponding to the map version information ends to take effect. Thus, the various map version information that the user terminal wants to view can be extracted based on the specified version number that the user terminal wants to view between the point of interest start version number and the point of interest end version number. When the user terminal wants to view the latest version of map data, the various map version information whose point of interest end version number is the same as the preset end version number can be directly extracted. Therefore, the waste of extraction time can be reduced.
[0091] Further references Figure 5As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a map version information generating device. These map version information generating device embodiments are similar to Figure 2 Corresponding to the method embodiments shown, the map version information generating device can be specifically applied to various electronic devices.
[0092] like Figure 5 As shown, the map version information generating device 500 of some embodiments includes: a first determining unit 501, a second determining unit 502, a generating unit 503 and an adding unit 504. The first determining unit 501 is configured to determine the changed point of interest information as target point of interest information in response to detecting a change in the point of interest information set; the second determining unit 502 is configured to determine the reference time and the reference version number based on the point of interest information set, wherein the reference version number is determined according to the reference time; the generating unit 503 is configured to generate the target map version information based on the target point of interest information, the reference time and the reference version number; the adding unit 504 is configured to add the target map version information to the map version information sequence corresponding to the preset map version information sequence set.
[0093] Optionally, the map version information generating device further includes: a third determination unit, configured to determine whether the viewing request satisfies a preset viewing condition in response to receiving a viewing request sent by a user terminal; a first extraction unit, configured to extract each map version information satisfying the preset extraction condition from a map version information sequence set in response to determining that the viewing request satisfies the preset viewing condition, and send each map version information to the user terminal.
[0094] Optionally, the map version information generating device further includes: a second extraction unit, configured to extract, in response to determining that the viewing request does not satisfy the preset viewing condition, each map version information corresponding to the map version number corresponding to the viewing request from the map version information sequence set, and send the each map version information to the user terminal.
[0095] Optionally, the above-mentioned generation unit 503 is further configured to: update the initial map version information in the map version information sequence corresponding to the above-mentioned target point of interest information in the map version information sequence set based on the above-mentioned target point of interest information, the above-mentioned benchmark time and the above-mentioned benchmark version number; generate a target point of interest map identifier and target point of interest map data based on the above-mentioned target point of interest information; generate a target point of interest start time, a target point of interest end time, a target point of interest start version number and a target point of interest end version number based on the above-mentioned initial map version information; and combine the above-mentioned target point of interest map identifier, the above-mentioned target point of interest map data, the above-mentioned target point of interest start time, the above-mentioned target point of interest end time, the above-mentioned target point of interest start version number and the above-mentioned target point of interest end version number into a target map version.
[0096] Optionally, the target interest point information includes: target interest point change time, and the initial map version information includes: initial interest point end time and initial interest point end version number.
[0097] Optionally, the above-mentioned generation unit 503 is further configured to: determine the target interest point change time included in the above-mentioned target interest point information as the initial interest point end time included in the above-mentioned initial map version information; determine the difference between the above-mentioned initial interest point end time and the above-mentioned benchmark time as the version number difference; determine the sum of the above-mentioned version number difference and the above-mentioned benchmark version number as the initial interest point end version number included in the above-mentioned initial map version information.
[0098] Optionally, the above target interest point information includes: a target interest point identifier and target interest point data.
[0099] Optionally, the generating unit 503 is further configured to: determine the target interest point identifier included in the target interest point information as a target interest point map identifier; and determine the target interest point data included in the target interest point information as target interest point map data.
[0100] Optionally, the above-mentioned initial map version information includes: initial point of interest end time and initial point of interest end version number.
[0101] Optionally, the above-mentioned generation unit 503 is further configured to: determine the initial point of interest end time included in the above-mentioned initial map version information as the target point of interest start time; determine the current time as the target point of interest end time; determine the initial point of interest end version number included in the above-mentioned initial map version information as the target point of interest start version number; determine the preset end version number as the target point of interest end version number.
[0102] It can be understood that the units recorded in the map version information generating device 500 and the reference Figure 2Therefore, the operations, features and beneficial effects described above for the method are also applicable to the map version information generating device 500 and the units included therein, and will not be described in detail here.
[0103] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device (e.g., electronic device) 600 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0104] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0105] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0106] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0107] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0108] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0109] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to detecting a change in the point of interest information in the point of interest information set, determines the changed point of interest information as target point of interest information; determines a reference time and a reference version number based on the point of interest information set, wherein the reference version number is determined based on the reference time; generates target map version information based on the target point of interest information, the reference time and the reference version number; and adds the target map version information to the map version information sequence corresponding to the preset map version information sequence set.
[0110] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate 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 a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0111] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0112] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be set in a processor, for example, may be described as: a processor includes a first determination unit, a second determination unit, a generation unit, and an addition unit. The names of these units do not constitute limitations on the units themselves in certain circumstances, for example, the first determination unit may also be described as "in response to detecting a change in the point of interest information in the point of interest information set, determining the changed point of interest information as target point of interest information".
[0113] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0114] Some embodiments of the present disclosure further provide a computer program product, including a computer program, which implements any of the above-mentioned map version information generation methods when executed by a processor.
[0115] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A method for generating map version information, comprising: In response to detecting that the point of interest information in the point of interest information set has changed, determining the changed point of interest information as target point of interest information; Determine a reference time and a reference version number based on the point of interest information set, wherein the reference version number is determined according to the reference time; Generate target map version information based on the target point of interest information, the reference time and the reference version number; The target map version information is added to the map version information sequence corresponding to the preset map version information sequence set.
2. The method according to claim 1, wherein: The method further comprises: In response to receiving a viewing request sent by a user terminal, determining whether the viewing request satisfies a preset viewing condition; In response to determining that the viewing request satisfies the preset viewing condition, each map version information satisfying the preset extraction condition is extracted from the map version information sequence set, and the each map version information is sent to the user terminal.
3. The method according to claim 2, wherein: The method further comprises: In response to determining that the viewing request does not satisfy the preset viewing condition, each map version information corresponding to the map version number corresponding to the viewing request is extracted from the map version information sequence set, and the each map version information is sent to the user terminal.
4. The method according to claim 1, wherein: The generating target map version information based on the target point of interest information, the reference time and the reference version number includes: Based on the target point of interest information, the reference time and the reference version number, updating the initial map version information in the map version information sequence corresponding to the target point of interest information in the map version information sequence set; Based on the target point of interest information, generating a target point of interest map identifier and target point of interest map data; Based on the initial map version information, generating a target point of interest start time, a target point of interest end time, a target point of interest start version number, and a target point of interest end version number; The target point of interest map identifier, the target point of interest map data, the target point of interest start time, the target point of interest end time, the target point of interest start version number and the target point of interest end version number are combined into target map version information.
5. The method according to claim 4, wherein: The target point of interest information includes: target point of interest change time, the initial map version information includes: initial point of interest end time and initial point of interest end version number; and The updating of the initial map version information in the map version information sequence corresponding to the target point of interest information in the map version information sequence set based on the target point of interest information, the reference time and the reference version number comprises: Determining the target point of interest change time included in the target point of interest information as the initial point of interest end time included in the initial map version information; Determine the difference between the initial point of interest end time and the reference time as the version number difference; The sum of the version number difference and the base version number is determined as the initial point of interest end version number included in the initial map version information.
6. The method according to claim 4, wherein: The target interest point information includes: a target interest point identifier and target interest point data; and The generating a target point of interest map identifier and target point of interest map data based on the target point of interest information includes: Determining the target point of interest identifier included in the target point of interest information as the target point of interest map identifier; The target interest point data included in the target interest point information is determined as the target interest point map data.
7. The method according to claim 4, wherein: The initial map version information includes: initial point of interest end time and initial point of interest end version number; and The generating, based on the initial map version information, the target point of interest start time, the target point of interest end time, the target point of interest start version number and the target point of interest end version number, comprises: Determine the end time of the initial point of interest included in the initial map version information as the start time of the target point of interest; Determine the current time as the end time of the target point of interest; Determine the initial point of interest end version number included in the initial map version information as the target point of interest start version number; The preset end version number is determined as the end version number of the target point of interest.
8. A map version information generating device, comprising: A first determining unit is configured to, in response to detecting that the interest point information in the interest point information set has changed, determine the changed interest point information as target interest point information; A second determining unit is configured to determine a reference time and a reference version number based on the interest point information set, wherein the reference version number is determined according to the reference time; A generating unit configured to generate target map version information based on the target point of interest information, the reference time and the reference version number; The adding unit is configured to add the target map version information to a map version information sequence corresponding to a preset map version information sequence set.
9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.