Method and device for updating point of interest, electronic equipment and readable storage medium
By obtaining road information from the road network database to generate target points of interest and matching them with existing points of interest to determine the update status, the problem of high cost and low efficiency in updating points of interest is solved, and efficient and accurate updating of traffic facility type POIs is achieved.
Patent Information
- Application Number
- CN202111327992.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2041-11-10
AI Technical Summary
Existing technologies for updating points of interest (POIs) are costly, inefficient, and inaccurate, especially for transportation infrastructure-related POI updates, which pose a risk of misleading users.
The road information of the target traffic facility is obtained from the road network database, the target point of interest is generated, the update status of the changed point of interest is determined by matching it with the existing points of interest, and the corresponding update operation is performed.
It reduces the cost of updating Points of Interest (POIs), improves update efficiency and accuracy, and ensures more comprehensive and accurate updates for transportation facility types of POIs.
Smart Images

Figure CN114329239B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of data processing, and in particular to the technical field of artificial intelligence such as intelligent transportation and cloud services. A method and device for updating a point of interest, an electronic device, and a readable storage medium are provided. BACKGROUND
[0002] A point of interest (POI) refers to a geographical object that can be abstracted as a point, and in particular refers to a geographical entity closely related to people's lives. The number of POIs in a navigation map, as well as the accuracy and update speed of the POIs, directly affect the use of the navigation map product.
[0003] In particular, some traffic facility type POIs, such as toll stations, service areas, and parking areas, will seriously mislead users in route selection if missing or inaccurate, and even cause users to suffer financial losses and personal danger.
[0004] Related technologies usually use crowd-sourced user paid collection, map user self-reporting, and network mining to update POIs, but have technical problems such as high update cost, low update efficiency, and low update accuracy. SUMMARY
[0005] According to a first aspect of the present disclosure, a method for updating a point of interest is provided, including: obtaining road information of a target traffic facility from a road network database; generating a target point of interest corresponding to the target traffic facility according to the road information; determining a changed point of interest according to an existing point of interest and the target point of interest, obtaining an update state of the changed point of interest; and completing the update of the point of interest according to the update state of the changed point of interest.
[0006] According to a second aspect of the present disclosure, a device for updating a point of interest is provided, including: an obtaining unit configured to obtain road information of a target traffic facility from a road network database; a generating unit configured to generate a target point of interest corresponding to the target traffic facility according to the road information; a processing unit configured to determine a changed point of interest according to an existing point of interest and the target point of interest, and obtain an update state of the changed point of interest; and an updating unit configured to complete the update of the point of interest according to the update state of the changed point of interest.
[0007] According to a third aspect of the present disclosure, an electronic device is provided, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.
[0008] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to perform the method as described above.
[0009] According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
[0010] From the above technical solutions, the present disclosure achieves the purpose of automatically updating the traffic facility type of the point of interest, reduces the update cost of the point of interest, and improves the update efficiency, update comprehensiveness and update accuracy of the point of interest.
[0011] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0012] The accompanying drawings are used to better understand the present scheme and do not constitute a limitation on the present disclosure. Among them:
[0013] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure;
[0014] Figure 2 is a schematic diagram according to the second embodiment of the present disclosure;
[0015] Figure 3 is a block diagram of an electronic device for implementing the method of updating the point of interest according to the embodiments of the present disclosure. DETAILED DESCRIPTION
[0016] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to help understanding, and should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, in order to be clear and concise, the description below omits the description of well-known functions and mechanisms.
[0017] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure. As shown in Figure 1 , the method of updating the point of interest of the present embodiment specifically includes the following steps:
[0018] S101, obtaining road information of a target traffic facility from a road network database.
[0019] The road network database used by the embodiment in the execution of S101 has different road information with different road attributes. The road attributes in the embodiment include at least one of road shape, road position, road name, and traffic facilities corresponding to the road, etc. The road attributes input by the input end can be used to obtain the corresponding road information from the road network database.
[0020] In the execution of S101, the embodiment can take a preset type of traffic facility as the target traffic facility, which includes at least one of toll station, service area, parking area, bridge, and other traffic facilities. In the execution of S101, the embodiment can also take the traffic facility actually selected by the input end in the road network as the target traffic facility.
[0021] The road information obtained by the embodiment in the execution of S101 is specifically the links and nodes in the real road network located in the periphery and / or inside the target traffic facility.
[0022] That is, if the target traffic facility is a toll station, the embodiment obtains the road information corresponding to one or more toll stations from the road network database, and updates the points of interest of the toll station type in the point of interest library. If the target traffic facility is a service area, the embodiment obtains the road information corresponding to one or more service areas from the road network database, and updates the points of interest of the service area type in the point of interest library.
[0023] Since the current road network database realizes the daily update of the changes in the real road network, the embodiment can realize the daily update of the points of interest in the online point of interest library, especially the points of interest of the traffic facility type, according to the road information obtained from the road network database.
[0024] S102, generating a target point of interest corresponding to the target traffic facility according to the road information.
[0025] After the embodiment obtains the road information of the target traffic facility from the road network database in the execution of S101, the embodiment generates a target point of interest corresponding to the target traffic facility according to the obtained road information in the execution of S102.
[0026] Specifically, when the embodiment generates a target point of interest corresponding to the target traffic facility according to the obtained road information in the execution of S102, an optional implementation manner that can be adopted by the embodiment is as follows: obtaining the center point coordinates corresponding to the obtained road information; taking the obtained center point coordinates as the position of the target point of interest corresponding to the target traffic facility, and taking the attribute of the target traffic facility as the attribute of the target point of interest corresponding to the target traffic facility.
[0027] The attribute of the target traffic facility in this embodiment includes at least one of the name, the opening state, the province to which the target traffic facility belongs, the facility purpose, and the update time of the target traffic facility.
[0028] That is, the embodiment obtains the position of the target interest point according to the obtained road information, and obtains the attribute of the target interest point according to the attribute of the target traffic facility, so as to automatically generate the target interest point corresponding to the target traffic facility according to the road network data, and improve the generation efficiency and the generation accuracy of the target interest point.
[0029] In the process of obtaining the center point coordinates corresponding to the obtained road information in S102, the embodiment can use an optional implementation manner as follows: determining the facility type of the target traffic facility; obtaining a coordinate determination method corresponding to the determined facility type; and obtaining the center point coordinates corresponding to the obtained road information by using the obtained coordinate determination method.
[0030] That is, the embodiment sets different coordinate determination methods for different traffic facilities, and then uses the obtained coordinate determination method corresponding to the determined facility type to obtain the center point coordinates, so as to improve the accuracy of the coordinates of the generated target interest point.
[0031] The facility type determined in S102 of the embodiment can be a specific type of the target traffic facility, such as a toll station, a service area, a bridge, etc. The facility type determined in S102 of the embodiment can also be a shape type corresponding to the target traffic facility, such as a point type (such as a toll station), a surface type (such as a service area or a parking area), a line type (such as a bridge), etc.
[0032] It can be understood that the embodiment can preset coordinate determination methods corresponding to different facility types, such as coordinate determination method 1 for generating the center point coordinates of the road information corresponding to the toll station (or the point type), coordinate determination method 2 for generating the center point coordinates of the road information corresponding to the service area or the parking area (the surface type), and coordinate determination method 3 for generating the center point coordinates of the road information corresponding to the bridge (the line type).
[0033] If the target traffic facility is a toll station, in the process of obtaining the center point coordinates corresponding to the obtained road information by using the determined coordinate determination method in S102, the embodiment can use an optional implementation manner as follows: determining the entry road section and the exit road section of the toll station according to the obtained road information; and taking the coordinates of the intersection between the determined entry road section and the exit road section as the center point coordinates corresponding to the obtained road information.
[0034] If the target traffic facility is a service area or a parking area, in the step S102, the optional implementation manner of the embodiment can be used to determine the center point coordinates corresponding to the obtained road information by using the determined coordinate determination method, which is as follows: according to the obtained road information, a road segment entering the service area or the parking area is taken as a first road segment; a road node is searched along the direction of the determined first road segment; in a case where the searched road node is a three-node (i.e., the road node contains three road segments), a road segment closest to the highway is extracted from the road segments corresponding to the road node as a second road segment; a road node is searched along the direction of the determined second road segment; in a case where the searched road node is a three-node (i.e., the road node contains three road segments), a road segment closest to the highway is extracted from the road segments corresponding to the road node as a third road segment; and the coordinates of the center point of the road segment string composed of the first road segment, the second road segment and the third road segment are taken as the center point coordinates corresponding to the obtained road information.
[0035] In the step S102, the embodiment can also take the coordinates of the position of the center point of the composed road segment string offset by a preset distance (for example, 10 m) in the opposite direction of the highway as the center point coordinates corresponding to the obtained road information after determining the center point of the composed road segment string.
[0036] In addition, if the embodiment fails to find a three-node road node in the step S102, the coordinates of the center point of the road segment closest to the highway in the road information can be directly taken as the center point coordinates corresponding to the obtained road information, thereby avoiding the problem that the target point of interest corresponding to the service area or the parking area cannot be generated.
[0037] If the target traffic facility is a bridge, in the step S102, the optional implementation manner of the embodiment can be used to determine the center point coordinates corresponding to the obtained road information by using the determined coordinate determination method, which is as follows: according to the obtained road information, a road segment corresponding to the bridge is determined; and the coordinates of the center point of the determined road segment are taken as the center point coordinates corresponding to the obtained road information.
[0038] That is, the embodiment presets different coordinate determination methods for different types of target traffic facilities, and then uses the corresponding coordinate determination method to obtain the center point coordinates of the coordinates as the target point of interest from the obtained road information, thereby improving the accuracy of the obtained center point coordinates.
[0039] It can be understood that in some application scenarios with low precision requirements, the embodiment can take the average of the coordinates of the center points of one or more road segments in the obtained road information as the center point coordinates corresponding to the obtained road information when performing S102 to obtain the center point coordinates corresponding to the obtained road information.
[0040] S103, determining a changed interest point according to the existing interest point and the target interest point, and obtaining an update state of the changed interest point.
[0041] After the embodiment performs S102 to generate the target interest point corresponding to the target traffic facility, S103 is performed to determine a changed interest point according to the existing interest point and the target interest point, and obtain an update state of the changed interest point.
[0042] The existing interest point in the embodiment is an interest point that already exists in the online interest point library; and the update state of the changed interest point obtained by the embodiment performing S103 is one of an addition state, a deletion state, and a modification state.
[0043] When the embodiment performs S103 to determine a changed interest point according to the existing interest point and the target interest point, and obtain an update state of the changed interest point, an optional implementation manner that can be adopted is as follows: performing location matching on the existing interest point and the target interest point; in a case where it is determined that the location of the target interest point is not contained in the location of the existing interest point, determining that the target interest point is a changed interest point, and setting the update state of the changed interest point to an addition state.
[0044] When the embodiment performs S103 to determine a changed interest point according to the existing interest point and the target interest point, and obtain an update state of the changed interest point, an optional implementation manner that can be adopted is as follows: performing location matching on the existing interest point and the target interest point; in a case where it is determined that the location of the existing interest point is not contained in the location of the target interest point, determining that the existing interest point is a changed interest point, and setting the update state of the changed interest point to a deletion state.
[0045] When the embodiment performs S103 to determine a changed interest point according to the existing interest point and the target interest point, and obtain an update state of the changed interest point, an optional implementation manner that can be adopted is as follows: performing location matching on the existing interest point and the target interest point; in a case where it is determined that the target interest point and the existing interest point located at the same location have different attributes, determining that the existing interest point is a changed interest point, and setting the update state of the changed interest point to a modification state.
[0046] That is, the embodiment determines the changed interest point in the target interest point or the existing interest point according to the position matching result obtained by matching the existing interest point with the target interest point, and respectively obtains the update state of the determined changed interest point, thereby improving the accuracy of the changed interest point and the update state thereof.
[0047] In addition, when determining the changed interest point and obtaining the update state of the changed interest point in S103, the embodiment can also simultaneously perform the above three methods to determine the changed interest point corresponding to different update states, thereby improving the comprehensiveness in updating the interest point.
[0048] In S104, the changed interest point is processed according to the update state of the changed interest point, and the updating of the interest point is completed.
[0049] After determining the changed interest point and obtaining the update state of the changed interest point in S103, the embodiment performs S104 to process the changed interest point according to the obtained update state of the changed interest point, thereby completing the updating of the interest point.
[0050] If the update state of the changed interest point is the increase state, when the embodiment performs S104 to process the changed interest point according to the update state of the changed interest point and completes the updating of the interest point, an optional implementation manner that can be adopted is to add the position and the attribute of the target interest point as the changed interest point to the online interest point library.
[0051] If the update state of the changed interest point is the deletion state, when the embodiment performs S104 to process the changed interest point according to the update state of the changed interest point and completes the updating of the interest point, an optional implementation manner that can be adopted is to delete the position and the attribute of the existing interest point as the changed interest point from the online interest point library.
[0052] If the update state of the changed interest point is the modification state, when the embodiment performs S104 to process the changed interest point according to the update state of the changed interest point and completes the updating of the interest point, an optional implementation manner that can be adopted is to replace the attribute of the existing interest point as the changed interest point in the online interest point library with the attribute of the target interest point.
[0053] That is, the embodiment generates the target interest point corresponding to the target traffic facility by using the road information obtained from the road network database, and then completes the updating of the interest point of the traffic facility type according to the existing interest point and the target interest point, thereby reducing the updating cost of the interest point and improving the updating efficiency, the updating comprehensiveness and the updating accuracy of the interest point.
[0054] Figure 2 is a schematic diagram according to the second embodiment of the present disclosure. As shown in Figure 2 The device 200 for updating the interest point of the embodiment includes:
[0055] The acquisition unit 201 is configured to acquire road information of a target traffic facility from a road network database.
[0056] The road network database used by the acquisition unit 201 has different road information with different road attributes, and the road attributes include at least one of road shape, road position, road name, and traffic facility corresponding to the road, etc. The acquisition unit 201 can acquire the corresponding road information from the road network database by inputting the road attribute input by the input terminal.
[0057] The acquisition unit 201 can take a preset type of traffic facility as the target traffic facility, and the preset type of traffic facility includes at least one of a toll station, a service area, a parking area, a bridge, etc. The acquisition unit 201 can also take the traffic facility actually selected by the input terminal in the road network as the target traffic facility.
[0058] The road information acquired by the acquisition unit 201 is specifically a link and a node in the real road network located around and / or inside the target traffic facility.
[0059] The generation unit 202 is configured to generate a target point of interest corresponding to the target traffic facility according to the road information.
[0060] After the acquisition unit 201 acquires the road information of the target traffic facility from the road network database, the generation unit 202 generates a target point of interest corresponding to the target traffic facility according to the acquired road information.
[0061] Specifically, when the generation unit 202 generates a target point of interest corresponding to the target traffic facility according to the acquired road information, an optional implementation manner that can be adopted by the generation unit 202 is as follows: obtaining a center point coordinate corresponding to the acquired road information; taking the obtained center point coordinate as the position of the target point of interest corresponding to the target traffic facility, and taking the attribute of the target traffic facility as the attribute of the target point of interest corresponding to the target traffic facility.
[0062] The attribute of the target traffic facility in the embodiment includes at least one of the name, the opening state, the province to which the target traffic facility belongs, the facility purpose, and the update time of the target traffic facility.
[0063] That is, the generation unit 202 obtains the position of the target point of interest according to the acquired road information, and obtains the attribute of the target point of interest according to the attribute of the target traffic facility, so as to achieve the purpose of automatically generating the target point of interest corresponding to the target traffic facility according to the road network data, and improve the generation efficiency and the generation accuracy of the target point of interest.
[0064] The optional implementation manner that the generation unit 202 can adopt when obtaining the center point coordinate corresponding to the obtained road information is: determining a facility type of the target traffic facility; obtaining a coordinate determination method corresponding to the determined facility type; and obtaining the center point coordinate corresponding to the obtained road information by using the obtained coordinate determination method.
[0065] That is, the generation unit 202 sets different coordinate determination methods for different traffic facilities, and then obtains the center point coordinate by using the obtained coordinate determination method corresponding to the determined facility type, which can improve the accuracy of the generated coordinate of the target point of interest.
[0066] The facility type determined by the generation unit 202 can be a specific type of the target traffic facility, such as a toll station, a service area, a bridge, etc. The facility type determined by the generation unit 202 can also be a shape type corresponding to the target traffic facility, such as a point type (such as a toll station), a surface type (such as a service area or a parking area), a line type (such as a bridge), etc.
[0067] If the target traffic facility is a toll station, the optional implementation manner that the generation unit 202 can adopt when obtaining the center point coordinate corresponding to the obtained road information by using the determined coordinate determination method is: determining an entry road section and an exit road section of the toll station according to the obtained road information; and taking the coordinate of the intersection between the determined entry road section and exit road section as the center point coordinate corresponding to the obtained road information.
[0068] If the target traffic facility is a service area or a parking area, the optional implementation manner that the generation unit 202 can adopt when obtaining the center point coordinate corresponding to the obtained road information by using the determined coordinate determination method is: taking a road section entering the service area or the parking area as a first road section according to the obtained road information; searching for a road node in the direction of the determined first road section; in a case where it is determined that the searched road node is a three-node (i.e., the road node contains three road sections), extracting a road section closest to the highway from the road sections corresponding to the road node as a second road section; searching for a road node in the direction of the determined second road section; in a case where it is determined that the searched road node is a three-node (i.e., the road node contains three road sections), extracting a road section closest to the highway from the road sections corresponding to the road node as a third road section; and taking the coordinate of the center point of a road section string composed of the first road section, the second road section, and the third road section as the center point coordinate corresponding to the obtained road information.
[0069] In the method, the generating unit 202 can also, when generating the coordinate of the center point of the road segment string composed of the first road segment, the second road segment and the third road segment as the coordinate of the center point corresponding to the obtained road information, offset the coordinate of the position of the center point of the composed road segment string by a preset distance (for example, 10 m) in the opposite direction of the highway, and then generate the coordinate as the coordinate of the center point corresponding to the obtained road information.
[0070] In addition, if the generating unit 202 fails to find the road node of the three nodes, the coordinate of the center point of the road segment closest to the highway in the road information can be directly generated as the coordinate of the center point corresponding to the obtained road information, so as to avoid the problem that the target interest point corresponding to the service area or the parking area cannot be generated.
[0071] If the target traffic facility is a bridge, when the generating unit 202 uses the determined coordinate determination method to generate the coordinate of the center point corresponding to the obtained road information, an optional implementation manner can be used, that is, the road segment corresponding to the bridge is determined according to the obtained road information, and the coordinate of the center point of the determined road segment is generated as the coordinate of the center point corresponding to the obtained road information.
[0072] That is, the generating unit 202 presets different coordinate determination methods for different types of target traffic facilities, and then uses the corresponding coordinate determination method to generate the coordinate of the center point of the target interest point from the obtained road information, so as to improve the accuracy of the generated coordinate of the center point.
[0073] It can be understood that in some application scenarios with low precision requirements, the generating unit 202 can generate the average of the coordinates of the center points of one or more road segments in the obtained road information as the coordinate of the center point corresponding to the obtained road information when generating the coordinate of the center point corresponding to the obtained road information.
[0074] The processing unit 203 is configured to determine a changed interest point according to the existing interest point and the target interest point, and obtain an update state of the changed interest point.
[0075] In the embodiment, the generating unit 202 generates the target interest point corresponding to the target traffic facility, and then the processing unit 203 determines a changed interest point according to the existing interest point and the target interest point, and obtains an update state of the determined changed interest point.
[0076] In the embodiment, the existing interest point is an interest point that already exists in an online interest point library, and the update state of the changed interest point obtained by the processing unit 203 is one of an addition state, a deletion state and a modification state.
[0077] The optional implementation of the processing unit 203 in determining the changed interest point according to the existing interest point and the target interest point and obtaining the update state of the changed interest point is as follows: the existing interest point is matched with the target interest point in position; and in a case where it is determined that the position of the target interest point is not contained in the position of the existing interest point, the existing interest point is determined as the changed interest point, and the update state of the changed interest point is set as the increase state.
[0078] The optional implementation of the processing unit 203 in determining the changed interest point according to the existing interest point and the target interest point and obtaining the update state of the changed interest point is as follows: the existing interest point is matched with the target interest point in position; and in a case where it is determined that the position of the existing interest point is not contained in the position of the target interest point, the existing interest point is determined as the changed interest point, and the update state of the changed interest point is set as the delete state.
[0079] The optional implementation of the processing unit 203 in determining the changed interest point according to the existing interest point and the target interest point and obtaining the update state of the changed interest point is as follows: the existing interest point is matched with the target interest point in position; and in a case where it is determined that the target interest point and the existing interest point located at the same position have different attributes, the existing interest point is determined as the changed interest point, and the update state of the changed interest point is set as the modification state.
[0080] That is, the processing unit 203 determines the changed interest point in the target interest point or the existing interest point according to the position matching result obtained by matching the existing interest point with the target interest point, and obtains the update state of the determined changed interest point, thereby improving the accuracy of the changed interest point and the update state thereof.
[0081] In addition, the processing unit 203 can also simultaneously execute the above three methods in determining the changed interest point and obtaining the update state of the changed interest point, so as to determine the changed interest points corresponding to different update states, thereby improving the comprehensiveness in updating the interest points.
[0082] The update unit 204 is configured to process the changed interest point according to the update state of the changed interest point, so as to complete the update of the interest points.
[0083] After the processing unit 203 determines the changed interest point and obtains the update state of the changed interest point, the update unit 204 processes the changed interest point according to the obtained update state of the changed interest point, so as to complete the update of the interest points.
[0084] If the update state of the changed interest point is the increase state, when the update unit 204 completes the update of the interest point by processing the changed interest point according to the update state of the changed interest point, an optional implementation manner that can be adopted is that the position and the attribute of the target interest point as the changed interest point are added to the online interest point library.
[0085] If the update state of the changed interest point is the deletion state, when the update unit 204 completes the update of the interest point by processing the changed interest point according to the update state of the changed interest point, an optional implementation manner that can be adopted is that the position and the attribute of the existing interest point as the changed interest point are deleted from the online interest point library.
[0086] If the update state of the changed interest point is the modification state, when the update unit 204 completes the update of the interest point by processing the changed interest point according to the update state of the changed interest point, an optional implementation manner that can be adopted is that the attribute of the existing interest point as the changed interest point in the online interest point library is replaced with the attribute of the target interest point.
[0087] That is, the update unit 204 adopts different processing methods according to different update states to perform the increase, deletion, or modification operation on the changed interest point, which can improve the accuracy of the update of the interest point.
[0088] In the technical solution of the present disclosure, the acquisition, storage, and application of the user personal information comply with relevant laws and regulations and do not violate public order and good customs.
[0089] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.
[0090] As shown in Figure 3 is a block diagram of an electronic device for updating an interest point according to an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown in the electronic device, their connections, and their functions, as described herein, are meant to be examples only, and are not intended to limit the implementations of the present disclosure described and / or claimed in this document.
[0091] As shown in Figure 3As shown, the device 300 includes a computing unit 301 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0092] A plurality of components in the device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a magnetic disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0093] The computing unit 301 can be various general and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 301 performs various methods and processes described above, such as the method of updating a point of interest. For example, in some embodiments, the method of updating a point of interest can be implemented as a computer software program that is tangibly embodied in a machine-readable medium, such as the storage unit 308.
[0094] In some embodiments, part or all of the computer program can be loaded and / or installed on the device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the method of updating a point of interest described above can be performed. Alternatively, in other embodiments, the computing unit 301 can be configured to perform the method of updating a point of interest by any other appropriate means, such as by means of firmware.
[0095] Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0096] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable computing apparatus to produce a machine, such that the program code, when executed by the processor or controller, implements the functions / acts specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0097] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0098] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0099] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by 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), and the Internet.
[0100] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS (Virtual Private Server, or VPS for short) services. The server can also be a server of a distributed system, or a server combined with a blockchain.
[0101] It should be understood that various forms of flow shown above can be used with orders of steps reordered, added to, or removed. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in a different order, without limitation herein, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
[0102] The above detailed description does not limit the scope of the disclosure. Various modifications, combinations, sub-combinations and alternatives can be made to the detailed description. Any modification, equivalent replacement and improvement etc. made within the spirit and principle of the disclosure shall be included in the scope of the disclosure.
Claims
1. A method for updating a point of interest, comprising: obtaining road information of a target traffic facility from a road network database, the target traffic facility being a service area or a parking area; generating a target point of interest corresponding to the target traffic facility according to the road information; determining a changed point of interest according to an existing point of interest and the target point of interest, and obtaining an update state of the changed point of interest; processing the changed point of interest according to the update state of the changed point of interest, and completing the update of the point of interest; wherein the generating of the target point of interest according to the road information comprises: determining a first road segment for entering the service area or the parking area according to the road information; finding a road node along a direction of the first road segment; in a case where the found road node is a three-node, extracting a road segment closest to a highway from road segments corresponding to the road node as a second road segment; finding a road node along a direction of the second road segment; in a case where the found road node is a three-node, extracting a road segment closest to a highway from road segments corresponding to the road node as a third road segment; obtaining a coordinate of a center point of a road segment string composed of the first road segment, the second road segment and the third road segment as a center point coordinate corresponding to the road information; obtaining the center point coordinate as a position of the target point of interest, and obtaining an attribute of the service area or the parking area as an attribute of the target point of interest; the determining of the changed point of interest according to the existing point of interest and the target point of interest comprises: performing position matching between the existing point of interest and the target point of interest; in a case where a position of the existing point of interest is not contained in a position of the target point of interest, determining the existing point of interest as the changed point of interest, and setting an update state of the changed point of interest as a deletion state.
2. The method of claim 1, wherein, the obtaining of the center point coordinate corresponding to the road information comprises: determining a facility type of the target traffic facility; obtaining a coordinate determination method corresponding to the facility type; obtaining the center point coordinate corresponding to the road information by using the coordinate determination method.
3. The method of claim 2, wherein, in a case where the target traffic facility is a toll station, the obtaining of the center point coordinate corresponding to the road information by using the coordinate determination method comprises: determining an entering road segment for entering the toll station and an exiting road segment for exiting the toll station according to the road information; obtaining a coordinate of an intersection between the entering road segment and the exiting road segment as the center point coordinate corresponding to the road information.
4. The method of claim 2, wherein, in a case where the target traffic facility is a bridge, the obtaining of the center point coordinate corresponding to the road information by using the coordinate determination method comprises: determining a road segment corresponding to the bridge according to the road information; obtaining a coordinate of a center point of the road segment as the center point coordinate corresponding to the road information.
5. The method of claim 1, wherein, the determining of the changed point of interest according to the existing point of interest and the target point of interest comprises: performing position matching between the existing point of interest and the target point of interest. determining that the target interest point is a changed interest point, and setting an update state of the changed interest point as an increase state.
6. The method of claim 1, wherein, The determining of the changed interest point according to the existing interest point and the target interest point comprises: matching the existing interest point with the target interest point in position; determining that the target interest point and the existing interest point located at the same position have different attributes, and determining that the existing interest point is a changed interest point, and setting an update state of the changed interest point as a modification state.
7. An apparatus for updating an interest point, comprising: an acquisition unit configured to acquire road information of a target traffic facility from a road network database, the target traffic facility being a service area or a parking area; a generation unit configured to generate a target interest point corresponding to the target traffic facility according to the road information; a processing unit configured to determine a changed interest point according to an existing interest point and the target interest point, and obtain an update state of the changed interest point; an update unit configured to process the changed interest point according to the update state of the changed interest point, and complete the updating of the interest point; wherein the generation unit, when generating the target interest point corresponding to the target traffic facility according to the road information, specifically performs: according to the road information, taking a road segment for entering the service area or the parking area as a first road segment; finding a road node along a direction of the first road segment; in a case where the found road node is a three-node, extracting a road segment closest to a highway from a road segment corresponding to the road node as a second road segment; finding a road node along a direction of the second road segment; in a case where the found road node is a three-node, extracting a road segment closest to a highway from a road segment corresponding to the road node as a third road segment; taking a coordinate of a center point of a road segment string composed of the first road segment, the second road segment and the third road segment as a center point coordinate corresponding to the road information; taking the center point coordinate as a position of the target interest point, and taking an attribute of the service area or the parking area as an attribute of the target interest point; the processing unit, when determining the changed interest point according to the existing interest point and the target interest point, and obtaining the update state of the changed interest point, specifically performs: matching the existing interest point with the target interest point in position; in a case where the position of the existing interest point is not contained in the position of the target interest point, determining that the existing interest point is a changed interest point, and setting an update state of the changed interest point as a deletion state.
8. The apparatus of claim 7, wherein, The generation unit, when obtaining the center point coordinate corresponding to the road information, specifically performs: determining a facility type of the target traffic facility; acquiring a coordinate determination method corresponding to the facility type; obtaining the center point coordinate corresponding to the road information by using the coordinate determination method.
9. The apparatus of claim 8, wherein, The target traffic facility is a toll station, and the generation unit, when obtaining the center point coordinate corresponding to the road information by using the coordinate determination method, specifically performs: According to the road information, determine an entry section for entering the toll station and an exit section for exiting the toll station; Determine coordinates of an intersection between the entry section and the exit section as the center point coordinates corresponding to the road information.
10. The apparatus of claim 8, wherein, The target traffic facility is a bridge, and when the generating unit determines the center point coordinates corresponding to the road information using the coordinate determination method, the generating unit specifically performs: According to the road information, determine a section corresponding to the bridge; Determine coordinates of a center point of the section as the center point coordinates corresponding to the road information.
11. The apparatus of claim 7, wherein, When the processing unit determines a changed interest point according to the existing interest point and the target interest point, and obtains an update state of the changed interest point, the processing unit specifically performs: Match the existing interest point with the target interest point in position; In a case where it is determined that the position of the target interest point is not included in the position of the existing interest point, determine that the target interest point is a changed interest point, and set the update state of the changed interest point to an increase state.
12. The apparatus of claim 7, wherein, When the processing unit determines a changed interest point according to the existing interest point and the target interest point, and obtains an update state of the changed interest point, the processing unit specifically performs: Match the existing interest point with the target interest point in position; In a case where it is determined that the target interest point and the existing interest point located at the same position have different attributes, determine that the existing interest point is a changed interest point, and set the update state of the changed interest point to a modification state.
13. An electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the method of any one of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-6.
Citation Information
Patent Citations
Interest point updating method and device
CN107543553A