Method, device and computer readable storage medium for managing path points
By directly processing the set of path points on the user's device, the problem of network resource consumption in path point management is solved, and efficient management without server interaction is achieved.
Patent Information
- Application Number
- CN202211372182.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-03
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-11-03
AI Technical Summary
Existing technologies require interaction with servers when managing route points, which consumes network resources.
By implementing preset operations on the user's device to process the set of route points, including adjusting or replacing geographical locations, the updated set of route points is directly displayed on the map interface without interacting with the server.
It reduces the consumption of network resources and improves the efficiency and independence of path point management.
Smart Images

Figure CN115628751B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for managing path points and a computer-readable storage medium. Background Art
[0002] In map navigation, waypoints include the starting point, end point, or waypoints of the navigation path. To manage waypoints, after the user equipment (UE) makes changes to waypoints in a form, such as adding, deleting, or swapping them, it needs to send a change request message to the server providing the map service. After receiving the change request message, the server processes it and sends a change response message to the UE. After receiving the change response message, the UE displays the changed waypoints on the UE's map interface.
[0003] Therefore, in the existing solution, when the UE manages the path points, it needs to interact with the server, which occupies network resources. Summary of the Invention
[0004] The present application provides a method, device and computer-readable storage medium for managing path points, which can manage path points without the need to interact with a server, thereby reducing the occupation of network resources.
[0005] To achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, a method for managing path points is provided, which can be executed by a path point management device. The method is applied to a UE, and the display interface of the UE includes a map interface and a form interface. The map interface includes a first path point set, and the first path point set includes one or more path points. The form interface includes the order of the path points and the geographical locations of the path points. The form interface is used to receive user input operations, and the method includes: obtaining a first click operation of the user on the form interface; the first click operation includes adjusting the number of geographical locations of the path points or replacing the geographical locations of the path points; processing the path points in the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set; the second path point set includes one or more path points; deleting the first path point set on the map interface, and displaying the second path point set on the map interface.
[0007] Based on this solution, after receiving a first click operation from the user on the form interface, the path points in the first set of path points are processed based on a preset operation corresponding to the first click operation, resulting in the display of a second set of path points on the map interface. Compared to existing solutions that require interaction with the server before displaying the modified path points, the solution of this application processes the path points through preset operations, eliminating the need for server interaction when managing the path points, thereby reducing network resource usage.
[0008] In conjunction with the first aspect, in certain embodiments of the first aspect, when the first click operation is to adjust the number of geographic locations of path points, processing the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set specifically includes: adjusting the number of path points in the first path point set to obtain an initial second path point set; determining the number of each path point icon in the initial second path point set based on the order of the geographic locations of the path points in the form interface to obtain an intermediate second path point set; and determining the position of each path point in the intermediate second path point set in the map interface based on the geographic locations of the path points in the form interface to obtain the second path point set.
[0009] Based on this solution, when the first click operation is to adjust the number of geographical locations of path points, it is possible to process the first path point set based on the preset operation corresponding to the first click operation to obtain a solution for the second path point set.
[0010] In combination with the first aspect, in certain embodiments of the first aspect, when the first click operation is to replace the geographic location of a path point, the first path point set is processed based on a preset operation corresponding to the first click operation to obtain a second path point set, specifically including: determining the number of the icon of each path point in the first path point set according to the order of the geographic locations of the path points in the form interface to obtain an initial second path point set; determining the position of each path point in the initial second path point set in the map interface according to the geographic location of the path points in the form interface to obtain a second path point set.
[0011] Based on this solution, when the first click operation is to replace the geographical location of a path point, it is possible to process the first path point set based on the preset operation corresponding to the first click operation to obtain a solution for the second path point set.
[0012] In combination with the first aspect, in certain embodiments of the first aspect, the method also includes: obtaining the user's second click operation on the map interface; adding the geographic location of the location corresponding to the second click operation to the focus position in the form interface; and displaying a new path point icon at the location corresponding to the second click operation in the map interface.
[0013] Based on this solution, when the user clicks on the map interface, the corresponding geographic location can be added to the form interface, and the corresponding path point icon can be displayed on the map interface.
[0014] In the second aspect, a path point management device is provided for implementing the path point management method of the first aspect. The management device is included in a UE, and the display interface of the UE includes a map interface and a form interface. The map interface includes a first path point set, and the first path point set includes one or more path points. The form interface includes the order of the path points and the geographical location of the path points. The form interface is used to receive user input operations. The management device includes a module, unit, or means corresponding to the above method. The module, unit, or means can be implemented by hardware, software, or by executing the corresponding software implementation through hardware. The hardware or software includes one or more modules or units corresponding to the above functions.
[0015] In combination with the second aspect, in certain embodiments of the second aspect, the management device includes: an acquisition module and a processing module; the acquisition module is used to obtain the user's first click operation on the form interface; the first click operation includes adjusting the number of geographical locations of the path points or replacing the geographical locations of the path points; the processing module is used to process the path points in the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set; the second path point set includes one or more path points; the processing module is also used to delete the first path point set on the map interface and display the second path point set on the map interface.
[0016] In conjunction with the second aspect, in certain embodiments of the second aspect, when the first click operation is to adjust the number of geographic locations of path points, the processing module is configured to process the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set, specifically comprising: adjusting the number of path points in the first path point set to obtain an initial second path point set; determining the number of each path point icon in the initial second path point set based on the order of the geographic locations of the path points in the form interface to obtain an intermediate second path point set; and determining the position of each path point in the intermediate second path point set in the map interface based on the geographic locations of the path points in the form interface to obtain the second path point set.
[0017] In combination with the second aspect, in certain embodiments of the second aspect, when the first click operation is to replace the geographic location of a path point, the processing module is used to process the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set, specifically including: determining the number of the icon of each path point in the first path point set according to the order of the geographic locations of the path points in the form interface to obtain an initial second path point set; determining the position of each path point in the initial second path point set in the map interface according to the geographic location of the path points in the form interface to obtain a second path point set.
[0018] In combination with the second aspect, in certain embodiments of the second aspect, the processing module is also used to: obtain the user's second click operation on the map interface; add the geographic location of the location corresponding to the second click operation to the focus position in the form interface; and display a new path point icon at the location corresponding to the second click operation in the map interface.
[0019] In a third aspect, a device for managing path points is provided, comprising: at least one processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the method provided in the first aspect and any possible implementation manner thereof.
[0020] In a fourth aspect, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by the processor of the management device, the management device of the path point can execute the method provided in the first aspect and any possible implementation method thereof.
[0021] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method provided in the first aspect and any possible implementation manner thereof.
[0022] In the sixth aspect, a chip system is provided, comprising: a processor and an interface circuit; the interface circuit is used to receive a computer program or instruction and transmit it to the processor; the processor is used to execute the computer program or instruction so that the chip system executes the method provided in the first aspect above and any possible implementation method thereof.
[0023] Among them, the technical effects brought about by any implementation of the second to sixth aspects can refer to the technical effects brought about by different implementations of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of the architecture of a route point management system provided by this application;
[0025] Figure 2A flowchart of a method for managing route points provided in this application;
[0026] Figure 3 A schematic diagram of a display interface provided by this application;
[0027] Figure 4 A flowchart of another method for managing path points provided by this application;
[0028] Figure 5a A flowchart of another method for managing path points provided by this application;
[0029] Figure 5b A flowchart of another method for managing path points provided by this application;
[0030] Figure 6 A schematic diagram of the structure of a management device provided in this application;
[0031] Figure 7 This is a structural diagram of another management device provided by this application. DETAILED DESCRIPTION
[0032] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.
[0033] In addition, to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first" and "second" do not limit the quantity or execution order, and the words "first" and "second" do not necessarily mean different.
[0034] At the same time, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.
[0035] It will be understood that the “embodiment” mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It will be understood that in the various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0036] It can be understood that in this application, "when", "if" and "if" all mean that corresponding processing will be taken under certain objective circumstances, and do not limit the time, nor do they require judgment actions when implementing them, nor do they mean that there are other limitations.
[0037] It is understood that some optional features in the embodiments of the present application may, in certain scenarios, be implemented independently of other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features in certain scenarios as needed. Accordingly, the devices provided in the embodiments of the present application may also implement these features or functions accordingly, which will not be described in detail here.
[0038] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments of this application, and the various implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The following implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0039] Figure 1 This is a schematic diagram of the architecture of a path point management system provided by this application. The technical solution of the embodiment of this application can be applied to Figure 1 The management system of the waypoints shown is as follows: Figure 1 As shown, the waypoint management system 10 includes a waypoint management device 11 and a UE 12 .
[0040] The path point management device 11 is directly or indirectly connected to the UE 12 . In this connection relationship, a wired connection or a wireless connection may be adopted, which is not limited in the embodiment of the present application.
[0041] The waypoint management device 11 may be configured to receive data from the UE 12 .
[0042] The UE 12 may be configured to send data to the management device 11 of the waypoint.
[0043] It should be noted that the path point management device 11 and UE 12 can be independent devices or integrated into the same device, and this application does not make any specific limitations on this.
[0044] When the waypoint management device 11 and UE 12 are integrated into the same device, the communication between the waypoint management device 11 and UE 12 is performed as between modules within the device. In this case, the communication process between the two is the same as the communication process between the waypoint management device 11 and UE 12 when they are independent of each other.
[0045] In the following embodiments provided in this application, this application is described by taking the example of integrating the path point management device 11 and UE 12 into the same device.
[0046] In practical applications, the method for managing a path point provided in the embodiment of the present application can be applied to the path point management device 11 or to the UE 12 .
[0047] The following describes the path point management method provided in the embodiment of the present application by taking the path point management method applied to the path point management device 11 as an example in conjunction with the accompanying drawings.
[0048] For the sake of ease of description, the subsequent part of the specific implementation method of this application will refer to the management device of the path points as the management device. This application will describe it uniformly here and will not be repeated in detail later.
[0049] Figure 2 A flow chart of a method for managing path points provided in this application is provided. The method for managing path points is applied to a UE. The display interface of the UE includes a map interface and a form interface. The map interface includes a first path point set, the first path point set includes one or more path points, the form interface includes the order of the path points and the geographical location of the path points, and the form interface is used to receive user input operations, such as Figure 2 As shown, the method includes the following steps:
[0050] S201: The management device obtains the user's first click operation on the form interface.
[0051] The first click operation includes adjusting the number of geographical locations of the waypoints or replacing the geographical locations of the waypoints.
[0052] It should be noted that the path points include the starting point, the passing point or the ending point in the path.
[0053] Adjusting the number of geographical locations of path points may be increasing the number of geographical locations of path points, for example, increasing the geographical location of one path point, decreasing the geographical location of one path point, increasing the geographical location of two path points, or decreasing the geographical location of two path points. This application does not impose any restrictions on this.
[0054] Replacing the geographic location of a path point may involve replacing the order of the geographic locations of two path points that are adjacent in sequence in the form interface, or replacing the order of the geographic locations of two path points that are not adjacent in sequence in the form interface, or replacing the geographic location of an existing path point with the geographic location of any location in the map interface. This application does not impose any restrictions on this.
[0055] When replacing the geographic location of an existing path point with the geographic location of any location in the map interface, the specific method can be to obtain the user's click position on the map interface, replace the geographic location of the existing path point corresponding to the focus in the form interface with the geographic location of the user's click position on the map interface, and display the corresponding path point icon in the map interface based on the newminemap.Marker program.
[0056] The geographical location may be longitude and latitude, such as (102.672825, 41.300737), or the geographical location may be a place name, such as Community A.
[0057] Figure 3 A schematic diagram of a display interface provided by this application, such as Figure 3 As shown, the map interface includes a map and multiple waypoints, and the multiple waypoints belong to a first waypoint set.
[0058] The form interface includes an editable input button, which is used to input the location information of the path point in the map interface. For example, the input button can be an input button or a select button, and the select button can perform a remote search for the place name.
[0059] There may be an add button next to the input button, and the add button is used to add the location information of the path point.
[0060] There may also be a delete button next to the input button, which is used to delete the location information of the path point.
[0061] There may also be a swap button next to the delete button, and the swap button is used to swap the order of the position information of two adjacent path points in the form interface.
[0062] The form interface may further include a clear button, which may delete all the location information of the path points.
[0063] There may also be a Save button next to the Clear button, and the Save button is used to save the location information of the path points in the form interface.
[0064] The form interface may further include a query button, which is used to query the corresponding path according to the location information of the path point in the form interface.
[0065] There may also be a route personalization button next to the query button. The route personalization button is used to filter the path. The route personalization button may include, for example, recommended routes, distance priority, highway priority, and less highway use.
[0066] As a possible implementation manner, the management device receives a message from the UE, where the message includes a first click operation of the user on the form interface.
[0067] S202: The management device processes the path points in the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set.
[0068] The second path point set includes one or more path points.
[0069] It should be noted that the number of path points in the first path point set may be the same as the number of path points in the second path point set, or the number of path points in the first path point set may be different from the number of path points in the second path point set.
[0070] For example, if the first click operation is to adjust the number of geographical locations of waypoints, the number of waypoints in the first set of waypoints is different from the number of waypoints in the second set of waypoints. If the first click operation is to replace the geographical location of a waypoint, the number of waypoints in the first set of waypoints is the same as the number of waypoints in the second set of waypoints.
[0071] As a possible implementation method, the management device processes the numbers of the path point icons in the first path point set and the positions of the path points in the map interface based on a preset operation corresponding to the first click operation to obtain a second path point set.
[0072] It should be noted that the specific description of this possible implementation method can be found in the subsequent description, and this application will not go into details here.
[0073] S203: The management device deletes the first path point set on the map interface and displays the second path point set on the map interface.
[0074] After the management device determines the second path point set, the management device may delete the first path point set on the map interface and display the second path point set on the map interface so that the user can perceive the response of the first click operation.
[0075] It should be noted that the specific implementation scheme of this step can refer to the existing scheme, and this application will not explain it again here.
[0076] Based on this solution, after receiving a first click operation from the user on the form interface, the path points in the first set of path points are processed based on a preset operation corresponding to the first click operation, resulting in the display of a second set of path points on the map interface. Compared to existing solutions that require interaction with the server before displaying the modified path points, the solution of this application processes the path points through preset operations, eliminating the need for server interaction when managing the path points, thereby reducing network resource usage.
[0077] The above is a general description of the solution of the present application. The solution of the present application will be further described below in conjunction with the accompanying drawings.
[0078] In one design, Figure 4 A flowchart of another method for managing path points provided by this application is shown in FIG. Figure 4 As shown, in the case where the first click operation is to adjust the number of geographical locations of the waypoints, processing the first waypoint set based on a preset operation corresponding to the first click operation to obtain the second waypoint set specifically includes the following steps:
[0079] S401: The management device adjusts the number of path points in the first path point set to obtain an initial second path point set.
[0080] As a possible implementation, when adjusting the number of geographical locations of path points is to increase the number of geographical locations of path points, the management device correspondingly increases the number of path points in the first path point set to obtain an initial second path point set.
[0081] For example, if the first path point set includes 3 path points, and the number of geographical locations of the path points is adjusted to add the geographical location of one path point, the management device adds one path point to the first path point set to obtain an initial second path point set, and the initial second path point set includes 4 path points.
[0082] As another possible implementation, when adjusting the number of geographical locations of waypoints is to reduce the number of geographical locations of waypoints, the management device reduces the number of waypoints in the first waypoint set to obtain an initial second waypoint set.
[0083] For example, if the first path point set includes 3 path points, and the number of geographical locations of the path points is adjusted to reduce the geographical location of one path point, the management device reduces one path point in the first path point set to obtain an initial second path point set, and the initial second path point set includes 2 path points.
[0084] S402: The management device determines the number of each path point icon in the initial second path point set according to the order of the geographical locations of the path points in the form interface, and obtains the intermediate second path point set.
[0085] As one possible implementation, the management device determines the path point icon in the initial second path point corresponding to the geographic location of the first path point in the form interface to be numbered 1, the management device determines the path point icon in the initial second path point corresponding to the geographic location of the second path point in the form interface to be numbered 2, and the management device determines the path point icon in the initial second path point corresponding to the geographic location of the third path point in the form interface to be numbered 3. Similarly, the number of each path point icon in the initial second path point set is determined to obtain an intermediate second path point set.
[0086] S403: The management device determines the position of each path point in the intermediate second path point set in the map interface according to the geographical location of the path point in the form interface, and obtains the second path point set.
[0087] As a possible implementation method, when the geographical location is longitude and latitude, the management device uses the longitude and latitude of the path point in the form interface as the position of the corresponding path point in the map interface in the intermediate second path point set to obtain the second path point set.
[0088] As another possible implementation method, when the geographical location is a place name, the management device uses the place name of the path point in the form interface as the position of the corresponding path point in the map interface in the intermediate second path point set to obtain the second path point set.
[0089] It should be noted that, in the case where the first click operation is to increase the number of geographical locations of the path points, the management device can call the Marker Adding Loop program encapsulated inside the management device to implement the above solution.
[0090] In the case where the first click operation is to reduce the number of geographic locations of path points, the management device can call a loop program encapsulated inside the management device that starts with the geographic location of the first path point in the form interface and ends with the geographic location of the last path point in the form interface to implement the above solution.
[0091] Based on this solution, when the first click operation is to adjust the number of geographical locations of path points, it is possible to process the first path point set based on the preset operation corresponding to the first click operation to obtain a solution for the second path point set.
[0092] In one design, Figure 5a A flowchart of another method for managing path points provided by this application is shown in FIG. Figure 5a As shown, in the case where the first click operation is to replace the geographical location of a path point, the first path point set is processed based on the preset operation corresponding to the first click operation to obtain the second path point set, which specifically includes the following steps:
[0093] S501: The management device determines the number of the icon of each path point in the first path point set according to the order of the geographical locations of the path points in the form interface, and obtains an initial second path point set.
[0094] As one possible implementation, the management device determines the number of the path point icon in the first path point corresponding to the geographic location of the first path point in the form interface as 1, the number of the path point icon in the first path point corresponding to the geographic location of the second path point in the form interface as 2, and the number of the path point icon in the first path point corresponding to the geographic location of the third path point in the form interface as 3. Similarly, the number of each path point icon in the first path point set is determined to obtain an initial second path point set.
[0095] S502: The management device determines the position of each path point in the initial second path point set in the map interface according to the geographical location of the path point in the form interface, and obtains the second path point set.
[0096] As a possible implementation method, when the geographical location is longitude and latitude, the management device uses the longitude and latitude of the path point in the form interface as the position of the corresponding path point in the map interface in the initial second path point set to obtain the second path point set.
[0097] As another possible implementation method, when the geographical location is a place name, the management device uses the place name of the path point in the form interface as the position of the corresponding path point in the map interface in the initial second path point set to obtain the second path point set.
[0098] It should be noted that, in the case where the first click operation is to replace the geographical location of the path point, the management device can call the setLngLat update loop program encapsulated inside the management device to implement the above solution.
[0099] Based on this solution, when the first click operation is to replace the geographical location of a path point, it is possible to process the first path point set based on the preset operation corresponding to the first click operation to obtain a solution for the second path point set.
[0100] In one design, Figure 5b A flowchart of another method for managing path points provided by this application is shown in FIG. Figure 5b As shown, the path point management method provided by this application also includes the following steps:
[0101] S601: The management device obtains a second click operation of the user on the map interface.
[0102] As a possible implementation manner, the management device receives a message from the UE, where the message includes a second click operation of the user on the map interface.
[0103] S602: The management device adds the geographical location of the location corresponding to the second click operation to the focus position in the form interface.
[0104] It should be noted that the focus position may be the position of the cursor in the form interface, for example, the input button in the form interface.
[0105] As a possible implementation method, taking the geographical location as longitude and latitude as an example, if the geographical location corresponding to the second click operation is (102.672825, 41.300737), the management device adds (102.672825, 41.300737) to the focus position in the form interface.
[0106] As another possible implementation, taking the geographical location as a place name as an example, if the geographical location corresponding to the second click operation is community A, the management device adds community A to the focus position in the form interface.
[0107] S603: The management device displays a new path point icon at a location corresponding to the second click operation in the map interface.
[0108] As a possible implementation, the management device displays the new path point icon by calling the newminemap.Marker program encapsulated within the management device.
[0109] Based on this solution, when the user clicks on the map interface, the corresponding geographic location can be added to the form interface, and the corresponding path point icon can be displayed on the map interface.
[0110] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the management method of the management device executing the path point. In order to realize the above functions, the management device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0111] The embodiment of the present application can divide the functional modules of the management device according to the above-mentioned method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, the "module" here can refer to a specific application-specific integrated circuit (ASIC), a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above-mentioned functions.
[0112] In the case of functional module division, Figure 6 A schematic diagram of the structure of a management device is shown. Figure 6 As shown, the management device 60 includes an acquisition module 601 and a processing module 602 .
[0113] In some embodiments, the management device 60 may further include a storage module ( Figure 6 ), for storing program instructions and data.
[0114] Among them, the acquisition module 601 is used to obtain the user's first click operation on the form interface; the first click operation includes adjusting the number of geographical locations of the path points or replacing the geographical locations of the path points; the processing module 602 is used to process the path points in the first path point set based on the preset operation corresponding to the first click operation to obtain the second path point set; the second path point set includes one or more path points; the processing module 602 is also used to delete the first path point set on the map interface and display the second path point set on the map interface.
[0115] Optionally, when the first click operation is to adjust the number of geographic locations of the path points, processing module 602 is configured to process the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set, specifically comprising: adjusting the number of path points in the first path point set to obtain an initial second path point set; determining the number of each path point icon in the initial second path point set based on the order of the geographic locations of the path points in the form interface to obtain an intermediate second path point set; and determining the position of each path point in the intermediate second path point set in the map interface based on the geographic locations of the path points in the form interface to obtain the second path point set.
[0116] Optionally, in the case where the first click operation is to replace the geographic location of a path point, the processing module 602 is used to process the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set, specifically including: determining the number of the icon of each path point in the first path point set according to the order of the geographic locations of the path points in the form interface to obtain an initial second path point set; determining the position of each path point in the initial second path point set in the map interface according to the geographic location of the path points in the form interface to obtain a second path point set.
[0117] Optionally, processing module 602 is also used to: obtain the user's second click operation on the map interface; add the geographic location of the location corresponding to the second click operation to the focus position in the form interface; and display a new path point icon at the location corresponding to the second click operation in the map interface.
[0118] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0119] When the functions of the above functional modules are implemented in the form of hardware, Figure 7 A schematic diagram of the structure of a management device is shown. Figure 7As shown, the management device 70 includes a processor 701, a memory 702, and a bus 703. The processor 701 and the memory 702 may be connected via the bus 703.
[0120] Processor 701 is the control center of management device 70 and can be a single processor or a collective term for multiple processing elements. For example, processor 701 can be a general-purpose central processing unit (CPU) or other general-purpose processor. A general-purpose processor can be a microprocessor or any conventional processor.
[0121] As an embodiment, the processor 701 may include one or more CPUs, such as Figure 7 CPU 0 and CPU 1 are shown in Figure 1.
[0122] The memory 702 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0123] As a possible implementation, memory 702 can exist independently of processor 701 and can be connected to processor 701 via bus 703 to store instructions or program codes. When processor 701 calls and executes the instructions or program codes stored in memory 702, the path point management method provided in the embodiment of the present application can be implemented.
[0124] In another possible implementation, the memory 702 may also be integrated with the processor 701 .
[0125] Bus 703 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0126] It should be pointed out that Figure 7 The structure shown does not constitute a limitation on the management device 70. Figure 7 In addition to the components shown, the management device 70 may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0127] As an example, combining Figure 6 The functions implemented by the acquisition module 601 and the processing module 602 in the management device 60 are the same as those implemented by Figure 7 The functions of the processor 701 in are the same.
[0128] Optional, such as Figure 7 As shown, the management device 70 provided in the embodiment of the present application may further include a communication interface 704 .
[0129] The communication interface 704 is used to connect to other devices via a communication network. The communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 704 may include a receiving unit for receiving data and a sending unit for sending data.
[0130] In a possible implementation, in the management device 70 provided in the embodiment of the present application, the communication interface 704 may also be integrated into the processor 701, and the embodiment of the present application does not specifically limit this.
[0131] As a possible product form, the management device of the embodiment of the present application can also be implemented using the following: one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.
[0132] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above-mentioned functional units is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0133] An embodiment of the present application also provides a computer-readable storage medium having a computer program or instruction stored thereon. When the computer program or instruction is executed, the computer executes each step in the method flow shown in the above method embodiment.
[0134] An embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute each step of the method flow shown in the above method embodiment.
[0135] An embodiment of the present application provides a chip system, including: a processor and an interface circuit; the interface circuit is used to receive a computer program or instruction and transmit it to the processor; the processor is used to execute the computer program or instruction so that the chip system performs each step in the method flow shown in the above method embodiment.
[0136] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more conductors, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), registers, hard disks, optical fibers, portable Compact Disc Read-Only Memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium known in the art, or any combination thereof. An exemplary storage medium is coupled to a processor so that the processor can read information from and write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and storage medium may be located in a specific-purpose ASIC. In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0137] Since the management device, computer-readable storage medium, and computer program product provided in this embodiment can be applied to the above-mentioned path point management method provided by this embodiment, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of this application will not be repeated here.
[0138] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0139] Although the present application has been described with reference to specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely illustrative of the present application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, the present application is intended to include such modifications and variations as fall within the scope of the claims of the present application and their equivalents.
Claims
1. A method for managing path points, characterized in that: Applied to a user equipment (UE), the display interface of the UE includes a map interface and a form interface, the map interface includes a first set of path points, the first set of path points includes one or more path points, the form interface includes the order of the path points and the geographical locations of the path points, the form interface is used to receive a user input operation, and the method includes: Acquiring a first click operation of the user on the form interface; the first click operation includes adjusting the number of geographical locations of the path points or replacing the geographical locations of the path points; Processing the path points in the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set; the second path point set includes one or more path points; Deleting the first set of path points on the map interface and displaying the second set of path points on the map interface; Acquire a second click operation of the user on the map interface; Adding the geographic location of the position corresponding to the second click operation to the position of the focus in the form interface, so as to replace the geographic location of the existing path point corresponding to the focus in the form interface with the geographic location of the position corresponding to the second click operation in the map interface; A new path point icon is displayed at the position corresponding to the second click operation in the map interface.
2. The method according to claim 1, characterized in that In a case where the first click operation is to adjust the number of geographical locations of waypoints, the processing the first waypoint set based on a preset operation corresponding to the first click operation to obtain a second waypoint set specifically includes: Adjusting the number of path points in the first path point set to obtain an initial second path point set; Determining the number of each path point icon in the initial second path point set according to the order of the geographical locations of the path points in the form interface to obtain an intermediate second path point set; The position of each path point in the intermediate second path point set in the map interface is determined according to the geographical location of the path point in the form interface to obtain a second path point set.
3. The method according to claim 1, characterized in that In a case where the first click operation is to replace the geographical location of a path point, the processing of the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set specifically includes: Determining the number of the icon of each path point in the first path point set according to the order of the geographical locations of the path points in the form interface to obtain an initial second path point set; The position of each path point in the initial second path point set in the map interface is determined according to the geographical location of the path point in the form interface to obtain a second path point set.
4. A path point management device, characterized in that: The management device includes a user equipment (UE), wherein a display interface of the UE includes a map interface and a form interface, wherein the map interface includes a first set of path points, wherein the first set of path points includes one or more path points, and the form interface includes the order of the path points and the geographical locations of the path points, and the form interface is used to receive user input operations. The management device includes: an acquisition module and a processing module; The acquisition module is configured to acquire a first click operation performed by the user on the form interface; the first click operation includes adjusting the number of geographical locations of the path points or replacing the geographical locations of the path points; The processing module is configured to process the path points in the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set; the second path point set includes one or more path points; The processing module is further configured to delete the first set of path points on the map interface and display the second set of path points on the map interface; The processing module is further configured to obtain a second click operation of the user on the map interface; The processing module is further configured to add the geographic location of the position corresponding to the second click operation to the position of the focus in the form interface, so as to replace the geographic location of the existing path point corresponding to the focus in the form interface with the geographic location of the position corresponding to the second click operation in the map interface; The processing module is further configured to display a new path point icon at a position corresponding to the second click operation in the map interface.
5. The management device according to claim 4, characterized in that: In a case where the first click operation is to adjust the number of geographical locations of waypoints, the processing module is configured to process the first set of waypoints based on a preset operation corresponding to the first click operation to obtain a second set of waypoints, specifically including: Adjusting the number of path points in the first path point set to obtain an initial second path point set; Determining the number of each path point icon in the initial second path point set according to the order of the geographical locations of the path points in the form interface to obtain an intermediate second path point set; The position of each path point in the intermediate second path point set in the map interface is determined according to the geographical location of the path point in the form interface to obtain a second path point set.
6. The management device according to claim 4, characterized in that In a case where the first click operation is to replace the geographical location of a path point, the processing module is configured to process the first path point set based on a preset operation corresponding to the first click operation to obtain a second path point set, specifically including: Determining the number of the icon of each path point in the first path point set according to the order of the geographical locations of the path points in the form interface to obtain an initial second path point set; The position of each path point in the initial second path point set in the map interface is determined according to the geographical location of the path point in the form interface to obtain a second path point set.
7. A path point management device, characterized in that: The management device includes: a processor coupled to a memory, wherein the memory is used to store programs or instructions. When the programs or instructions are executed by the processor, the management device executes the method according to any one of claims 1 to 3.
8. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instructions are executed, the computer is caused to perform the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Map path generating method, device and system and storage medium
CN107992964A