Map configuration method, device, intelligent robot and storage medium
By providing a language editing interface in the intelligent robot map editing interface, users can update the language of location information on the map, and use the correspondence table of the cloud server to solve the problem of incoherent updates when the location information language display requirements change, improving map configuration efficiency. and display effects.
Patent Information
- Application Number
- CN202011399826.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-01
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-12-01
AI Technical Summary
When the location information language display requirements of existing intelligent robots change, the updates are not consistent enough, which affects the map configuration efficiency and display effect.
The map editing interface provides a language editing interface. Users can respond to operation instructions and selection instructions, directly update the location information displayed on the map, and use the correspondence table in the cloud server to obtain and update information corresponding to geographical location and language.
It achieves the consistency of location information language updates, improves map configuration efficiency and display effects, and reduces the maintenance complexity of map data packages.
Smart Images

Figure CN112395384B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent robots, and in particular to a map configuration method, device, intelligent robot and storage medium. Background Art
[0002] With the rapid development of science and technology, robots are beginning to be used to replace manual operations in more and more scenarios, and thus intelligent robots with various functions have emerged. For example, the intelligent robot has a built-in map display program, so that the robot can call the map display program, load the map data package stored in the cloud server, and thus load the map interface on the display screen, and display the location information on the map interface. In addition, some intelligent robots also support the display of location information in multiple languages.
[0003] In the related art, a corresponding map data package is usually configured for each language, and the location information corresponding to the language is stored in the corresponding map data package. When the language of the location information is switched, it is necessary to switch to the map data package corresponding to the new language. During the location information maintenance process, multiple map data packages also need to be maintained.
[0004] In this way, when the language display requirements of location information change, the language update of the location information is not consistent, which affects the efficiency of map configuration and the display effect of the location information. Summary of the invention
[0005] The present application aims to solve one of the technical problems in the related art at least to some extent.
[0006] To this end, the purpose of this application is to propose a map configuration method, device, intelligent robot and storage medium, which can make the language update of location information more coherent when the language display requirements of location information change, effectively improve the map configuration efficiency, and improve the display effect of location information.
[0007] To achieve the above-mentioned purpose, the map configuration method proposed in the first aspect of the embodiment of the present application includes: displaying a map editing interface, the map editing interface including: displaying location information of each location on the map in a first language; in response to a first operation instruction of a language editing interface on the map editing interface, displaying relevant information in at least one second language, the first language is different from the second language; in response to a user's selection instruction, determining the second language selected by the user; and updating the location information of each location displayed on the map in the second language selected by the user.
[0008] In some embodiments of the present application, in response to a first operation instruction on a language editing interface on a map editing interface, displaying relevant information of at least one second language includes:
[0009] In response to a first operation instruction on the language editing interface, loading a display control on the map editing interface;
[0010] The relevant information of at least one second language is displayed in the display control in a list form.
[0011] In some embodiments of the present application, in response to a first operation instruction on a language editing interface on a map editing interface, displaying relevant information of at least one second language includes:
[0012] In response to a first operation instruction on the language editing interface, displaying a candidate language list, the candidate language list comprising: a plurality of candidate second languages;
[0013] In response to the selection instruction, a second language selected by the selection instruction from the plurality of candidate second languages is obtained, and location information corresponding to the selected second language is determined and displayed.
[0014] In some embodiments of the present application, determining and displaying location information corresponding to the selected second language includes:
[0015] Displaying location information in a second language corresponding to each location on the map;
[0016] In response to the selection instruction, location information in a second language selected by the selection instruction is determined.
[0017] In some embodiments of the present application, in response to the selection instruction, determining the location information of the second language selected by the selection instruction includes:
[0018] In response to the selection instruction, the location information in the second language selected by the selection instruction is obtained from the map data package stored in the cloud server.
[0019] In some embodiments of the present application, the map data packet has a correspondence table, in which the correspondence between the geographical location coordinates of each location in the map and the relevant information of at least one second language corresponding to the geographical location coordinates is preconfigured;
[0020] The step of obtaining the location information in the second language selected by the selection instruction from the map data packet stored in the cloud server includes:
[0021] Obtaining geographic location coordinates corresponding to the location information in the first language;
[0022] The location information corresponding to the geographical location coordinates and the selected second language is determined according to the correspondence table.
[0023] In some embodiments of the present application, the method further includes:
[0024] In response to a second operation instruction to drag any location information on the map, the target geographic location coordinates when the dragging operation stops are determined, and the location information is displayed at the target geographic location coordinates, and a corresponding relationship between the target geographic location coordinates and the location information is established.
[0025] In some embodiments of the present application, the method further includes:
[0026] The correspondence between the target geographical location coordinates and the location information is transmitted to the cloud server, so that the cloud server updates the geographical location coordinates corresponding to the location information in the correspondence table according to the target geographical location coordinates.
[0027] The map configuration method proposed in the first aspect of the embodiment of the present application provides a language editing interface in the map editing interface. When the user's language display requirements change, the language editing interface can be directly called to respond to the user's first operation instructions and selection instructions, and the location information of each location displayed on the map can be directly updated in the second language selected by the user. As a result, when the language display requirements of the location information change, the language update of the location information can be made more coherent, thereby effectively improving the map configuration efficiency and the display effect of the location information.
[0028] To achieve the above-mentioned purpose, the map configuration device proposed in the second embodiment of the present application includes:
[0029] A first display module is used to display a map editing interface, wherein the map editing interface includes: displaying location information of various locations on the map in a first language;
[0030] A second display module, configured to display relevant information of at least one second language in response to a first operation instruction on a language editing interface on the map editing interface, wherein the first language is different from the second language;
[0031] A first determination module, configured to determine a second language selected by the user in response to a selection instruction of the user;
[0032] An updating module is used to update the location information of each location displayed on the map using the second language selected by the user.
[0033] In some embodiments of the present application, the second display module is specifically used for:
[0034] In response to a first operation instruction on the language editing interface, loading a display control on the map editing interface;
[0035] The relevant information of at least one second language is displayed in the display control in a list form.
[0036] In some embodiments of the present application, the second display module is specifically used for:
[0037] In response to a first operation instruction on the language editing interface, displaying a candidate language list, the candidate language list comprising: a plurality of candidate second languages;
[0038] In response to the selection instruction, a second language selected by the selection instruction from the plurality of candidate second languages is obtained, and location information corresponding to the selected second language is determined and displayed.
[0039] In some embodiments of the present application, the second display module is specifically used for:
[0040] Displaying location information in a second language corresponding to each location on the map;
[0041] In response to the selection instruction, location information in a second language selected by the selection instruction is determined.
[0042] In some embodiments of the present application, the second display module is specifically used for:
[0043] In response to the selection instruction, the location information in the second language selected by the selection instruction is obtained from the map data package stored in the cloud server.
[0044] In some embodiments of the present application, the map data packet has a correspondence table, in which the correspondence between the geographical location coordinates of each location in the map and the relevant information of at least one second language corresponding to the geographical location coordinates is pre-configured; wherein the second display module is specifically used for:
[0045] Obtaining geographic location coordinates corresponding to the location information in the first language;
[0046] The location information corresponding to the geographical location coordinates and the selected second language is determined according to the correspondence table.
[0047] In some embodiments of the present application, the device further comprises:
[0048] The second determination module is used to respond to a second operation instruction to drag any location information on the map, determine the target geographical location coordinates when the dragging operation stops, display the location information at the target geographical location coordinates, and establish a corresponding relationship between the target geographical location coordinates and the location information.
[0049] In some embodiments of the present application, the device further comprises:
[0050] The transmission module is used to transmit the correspondence between the target geographical location coordinates and the location information to the cloud server, so that the cloud server updates the geographical location coordinates corresponding to the location information in the correspondence table according to the target geographical location coordinates.
[0051] The map configuration device proposed in the second aspect of the embodiment of the present application provides a language editing interface in the map editing interface. When the user's language display requirements change, the language editing interface can be directly called to respond to the user's first operation instructions and selection instructions, and the location information of each location displayed on the map can be directly updated in the second language selected by the user. As a result, when the language display requirements of the location information change, the language update of the location information can be made more coherent, thereby effectively improving the map configuration efficiency and the display effect of the location information.
[0052] To achieve the above-mentioned objectives, the intelligent robot proposed in the third aspect embodiment of the present application includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, it implements the map configuration method proposed in the first aspect embodiment of the present application.
[0053] The intelligent robot proposed in the third aspect of the embodiment of the present application provides a language editing interface in the map editing interface. When the user's language display requirements change, the language editing interface can be directly called to respond to the user's first operation instructions and selection instructions, and the location information of each location displayed on the map is directly updated in the second language selected by the user. As a result, when the language display requirements of the location information change, the language update of the location information can be made more coherent, thereby effectively improving the map configuration efficiency and the display effect of the location information.
[0054] To achieve the above objectives, the fourth aspect of the present application proposes a computer-readable storage medium. When the instructions in the storage medium are executed by the processor, the map configuration method proposed in the first aspect of the present application is implemented.
[0055] To achieve the above objectives, the fifth aspect of the present application proposes a computer program product. When the instructions in the computer program product are executed by a processor, the map configuration method proposed in the first aspect of the present application is executed.
[0056] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0058] Figure 1 is a flowchart of a map configuration method proposed in an embodiment of the present application;
[0059] Figure 2 is a flowchart of a map configuration method proposed in another embodiment of the present application;
[0060] Figure 3 This is a schematic diagram of an application of an embodiment of the present application;
[0061] Figure 4 is a structural schematic diagram of a map configuration device proposed in an embodiment of the present application;
[0062] Figure 5 is a structural schematic diagram of a map configuration device proposed in another embodiment of the present application;
[0063] Figure 6 A schematic diagram of the structure of an intelligent robot provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as limiting the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.
[0065] Figure 1 It is a flowchart of a map configuration method proposed in an embodiment of the present application.
[0066] This embodiment is described by taking the map configuration method as a map configuration device as an example.
[0067] In this embodiment, the map configuration method can be configured in a map configuration device, and the map configuration device can be set in a server, or can also be set in an intelligent robot, and the embodiment of the present application does not limit this.
[0068] This embodiment takes the map configuration method being configured in an intelligent robot as an example.
[0069] It should be noted that the executing entity of the embodiment of the present application may be, for example, a central processing unit (CPU) in a server or an intelligent robot in terms of hardware, or may be, for example, a related background service in a server or an intelligent robot in terms of software, without limitation.
[0070] The embodiment of the present application is applied to an intelligent robot, which has a built-in map display program, so that the robot can call the map display program, load the map data package stored in the cloud server (or the map data package can be stored in the memory of the intelligent robot), thereby loading the map interface on the display screen, and displaying the location information of each location on the current map interface.
[0071] The intelligent robot in the embodiment of the present application supports displaying location information in multiple languages. The present application specifically improves the method for configuring the displayed map. For example, when a change in the language display requirement of the location information is detected, the map editing interface can be called to provide the user with a language change function based on the map editing interface. When the language display requirement of the location information changes, the language update of the location information can be made more coherent, thereby effectively improving the map configuration efficiency and the display effect of the location information.
[0072] See also Figure 1 , the method comprising:
[0073] S101: Displaying a map editing interface, the map editing interface includes: displaying location information of various locations on the map in a first language.
[0074] Among them, when the display interface of the intelligent robot displays map data, the displayed map data interface can be called a map interface, and when a change in the language display requirement of location information is detected, the map editing interface can be called to jump from the map display interface to the map editing interface (or other forms can be used), and there is no restriction on this.
[0075] For example, there is an edit button on the map interface, and the map editing interface is entered by clicking the edit button. For another example, the user triggers the map editing interface through voice (such as "map edit", etc.); for another example, a map editing button is configured in the "settings" function of the robot, and the map editing interface is entered by clicking the edit button. The specific implementation method of triggering the map editing interface is not limited in this application. And the map editing interface is configured so that the map editing interface includes: displaying the location information of each location on the map in a first language, and the display language of the location information of each location on the map editing interface can be changed.
[0076] Among them, the first language is Chinese, for example. In a home scenario, the location information can be, for example, a bedroom, a children's room, a kitchen, a bathroom, a living room, a dining room, etc.; in an office scenario, the location information can be, for example, the front desk, bathroom A, bathroom B, ..., conference room A, conference room B, ..., office area A, office area B, office area C, etc., or it can be descriptive information corresponding to the above-mentioned places, such as the location coordinates of the place, the label of the place, etc., without limitation.
[0077] The first language may be, for example, a main language, and the second language may specifically be another candidate language, such as English, Japanese, and the like.
[0078] S102: In response to a first operation instruction on a language editing interface on a map editing interface, display relevant information of at least one second language, where the first language is different from the second language.
[0079] For example, the main language for displaying map data can be pre-configured. During configuration, a unified main language can be configured for all maps, or the main language for displaying map data can be pre-configured for each map. Thus, when the map data is initially displayed, location information can be displayed based on the main language, and the pre-configured listener can be subsequently called to listen to whether the user's first operation instruction is received based on the language editing interface (the user's operation instruction on the language editing interface can be referred to as the first operation instruction. For example, the user can trigger the first operation instruction by clicking on the language editing interface or by voice, or it can be any other possible operation form, without limitation).
[0080] That is to say, in the embodiment of the present application, the location information of each location on the map is first displayed in the first language on the map editing interface, and a language editing interface is provided. In the embodiment of the present application, a language update function of the map information is provided for the language editing interface. The language editing interface can be a button. For example, the field corresponding to the button is [Language Edit]. It can monitor whether the user triggers the language editing interface based on a preconfigured listener (the user triggers the language editing interface in the form of manual triggering, voice triggering, or any other possible triggering form, which is not limited to this) the language editing interface. If triggered, the language update function provided by the language editing interface is called in response to the user's first operation instruction on the language editing interface.
[0081] Among them, when the user triggers the language editing interface, it means that the user has the need to update the displayed language. At this time, in response to the user's first operation instruction on the language editing interface, relevant information of at least one second language can be displayed (relevant information, such as the name of the second language, or location information using the second language, without limitation).
[0082] The second language may be a candidate language. When the first language is Chinese, the second language may be English, Korean, Japanese, French, etc. For example, if the location information of the first language is Beijing, the location information of the second language may be Beijing, It can be seen that the location information in the first language and the location information in the second language correspond to the same geographical location coordinates.
[0083] In some embodiments, in response to a first operation instruction on a language editing interface on a map editing interface, relevant information of at least one second language is displayed. This may be by loading a display control on the map editing interface in response to a first operation instruction on the language editing interface, and displaying relevant information of at least one second language in a list in the display control.
[0084] Of course, in the embodiment of the present application, operation instructions such as sliding, dragging, shrinking, and enlarging the above-mentioned display controls can also be supported, and there is no limitation on this.
[0085] That is to say, the embodiment of the present application first uses the first language to display the location information of each location on the map on the map interface, and then, in response to the first operation instruction of the language editing interface, a control (such as a floating window control, which can contain relevant information of at least one second language, and the control can be called a display control) is displayed on the map interface, thereby avoiding affecting the display structure of the map interface, and by displaying relevant information of at least one second language in a list form in the display control, the integrity of the display of relevant information of multiple candidate second languages can be guaranteed, which is convenient for users to select relevant information in the second language based on language update requirements.
[0086] By displaying relevant information of at least one second language in a list form (language list) in a display control, for example, the language name of at least one second language may be displayed in a list form (for example, English, Korean, Japanese, French, etc. are displayed in a list form), or, for another example, location information of at least one second language may be displayed in a list form (for example, location information in English, location information in Korean, location information in Japanese, location information in French, etc. are displayed in a list form), or, any other possible display form may be used, without limitation.
[0087] In some other embodiments, in response to a first operation instruction on the language editing interface, a candidate language list is displayed, the candidate language list including: a plurality of candidate second languages; in response to a selection instruction, a second language selected by the selection instruction from the plurality of candidate second languages is obtained, and location information corresponding to the selected second language is determined and displayed.
[0088] That is to say, in response to the first operation instruction of the language editing interface, a list of candidate languages may be displayed first, and whether the user selects a candidate second language may be monitored. When it is determined that the user selects a second language based on the selection instruction, the location information corresponding to the selected second language is determined and displayed. This provides a variety of methods for displaying relevant information of at least one second language, which has good flexibility and can meet the user's personalized usage needs.
[0089] In some other embodiments, determining and displaying location information corresponding to the selected second language may include displaying location information in the second language corresponding to each location on a map; and in response to a selection instruction, determining the location information in the second language selected by the selection instruction.
[0090] That is to say, in response to a selection instruction for the user to select a second language from the language list, after it is determined that the user has selected a second language, the location information in the second language corresponding to each location on the map can be displayed, that is, the location information in the first language currently displayed on the map is updated to the location information in the second language, and then in response to a selection instruction for selecting location information from the location information in the second language, the location information in the second language selected by the selection instruction is determined. If the user selects location information in a second language (the location information in the second language may be part of the location information in the displayed second language), the location information in the second language selected by the selection instruction is determined, thereby achieving a partial update of the location information displayed on the map, thereby improving the update efficiency while meeting the language update requirements and reducing the consumption of software and hardware resources required for the update.
[0091] In some embodiments, in response to the selection instruction, determining the location information in the second language selected by the selection instruction may be, in response to the selection instruction, obtaining the location information in the second language selected by the selection instruction from a map data packet stored in a cloud server.
[0092] In an embodiment of the present application, location information in a first language and location information in a second language can be configured to be located in the same map data packet, wherein the map data packet is used to store all map data, and in response to a selection instruction, the location information in the second language selected by the selection instruction is obtained from the map data packet stored in the cloud server. That is to say, the map data packet not only contains map data in the current main language, but also contains map data in any language. Therefore, compared with the method of configuring a corresponding map data packet for each language in the related art, the embodiment of the present application can reduce the maintenance complexity and usage complexity of the map data packet, so that when the map data packet is used for map configuration and display, better continuity can be obtained.
[0093] S103: In response to a selection instruction from the user, determining a second language selected by the user.
[0094] S104: updating the location information of each location displayed on the map using the second language selected by the user.
[0095] Based on any of the above embodiments, in an embodiment of the present application, after displaying relevant information of at least one second language in response to a first operation instruction of the language editing interface on the map editing interface, it is also possible to monitor whether the user has selected the relevant information of one of the second languages. If so, the second language selected by the user is determined in response to the user's selection instruction, and the location information of each location displayed on the map is directly updated in the second language selected by the user.
[0096] The map data package may also be configured with a correspondence table, in which the correspondence between the geographical location coordinates of each location in the map and the relevant information of at least one second language corresponding to the geographical location coordinates is pre-configured, wherein, see Figure 2 , obtaining the location information of the second language selected by the selection instruction from the map data packet stored in the cloud server, including:
[0097] S201: Acquire geographic location coordinates corresponding to location information in a first language.
[0098] The geographic location coordinates may be, for example, the longitude and latitude corresponding to the location information, or the distance in the X direction and the Y direction relative to a set origin, etc. The present application does not limit the specific implementation of the geographic location coordinates.
[0099] S202: Determine location information corresponding to the geographical location coordinates and the selected second language according to the correspondence table.
[0100] In an embodiment of the present application, a correspondence table related to a map data packet can be maintained, in which multiple location information is configured. Different location information may have different geographical location coordinates, different languages, or both geographical location coordinates and languages. Thus, the geographical location coordinates corresponding to the location information of the first language can be first obtained, and then the location information corresponding to the geographical location coordinates and the selected second language can be determined from the correspondence table. Thus, the location information corresponding to the geographical location coordinates and the selected second language can be quickly determined, thereby ensuring the convenience of obtaining the location information corresponding to the second language, improving the efficiency of obtaining the location information corresponding to the second language, and thus ensuring the efficiency of updating the overall map information.
[0101] Based on any of the above embodiments, in an embodiment of the present application, a function of modifying map information is also provided, which can respond to a second operation instruction to drag any location information on the map, determine the target geographic location coordinates when the dragging operation stops, and display the location information at the target geographic location coordinates, and establish a corresponding relationship between the target geographic location coordinates and the location information.
[0102] For example, if the map displays location information such as the front desk, office A, office B, and office C, then if the front desk changes its location and there is a need to modify the geographic location coordinates of the front desk, then an operation can be performed on the location information of the "front desk" displayed on the map (such as a drag operation, or any other possible operation form, without limitation). The user's instruction to operate the location information of the "front desk" displayed can be called a second operation instruction. Then, in response to the second operation instruction to drag any location information on the map, it can be monitored whether the drag operation is stopped. If the drag operation is stopped, the geographic location coordinates corresponding to the "front desk" when the drag operation stops are used as the target geographic location coordinates (that is, the geographic location to which the location information of the "front desk" is dragged on the map by the drag operation can be called the target geographic location). The geographic location coordinates corresponding to the "front desk" can be (X1, Y1), and the target geographic location coordinates can be (X2, Y2). Then, the location information of the "front desk" can be displayed at the target geographic location coordinates (X2, Y2) on the map, without limitation.
[0103] After determining the target geographic location coordinates (X2, Y2) corresponding to the "front desk", a corresponding relationship between the "front desk" and the target geographic location coordinates (X2, Y2) can be established, that is, the "front desk" and the target geographic location coordinates (X2, Y2) are associated, which can support the subsequent use of the corresponding relationship between the "front desk" and the target geographic location coordinates (X2, Y2) to update the corresponding relationship between the "front desk" and the geographic location coordinates (X1, Y1), thereby ensuring the accuracy of the geographic location coordinate matching.
[0104] That is to say, the embodiment of the present application supports the function of users editing map information by directly dragging, thereby achieving a better user experience and improving the convenience of map information editing.
[0105] In some other embodiments, the movement trajectory of the intelligent robot can also be dynamically monitored. After the position of the intelligent robot is initially displayed on the map, if it is dynamically monitored that the intelligent robot has moved, this embodiment also supports adjusting the geographical location coordinates of the location information configured on the map according to the position of the intelligent robot after displacement, thereby editing the map information, and there is no restriction on this.
[0106] Based on any of the above embodiments, in the embodiments of the present application, after the geographic location coordinates of any location information are edited, the correspondence between the target geographic location coordinates and the location information can also be transmitted to the cloud server, so that the cloud server updates the geographic location coordinates corresponding to the location information in the correspondence table according to the target geographic location coordinates, thereby achieving timely maintenance of the correspondence table and ensuring the accuracy of subsequent location information updates.
[0107] The cloud server updates the geographic location coordinates corresponding to the location information in the correspondence table according to the target geographic location coordinates. The update may be directly based on the target geographic location coordinates, and there is no limitation on this.
[0108] In this embodiment, since a language editing interface is provided in the map editing interface, when the user's language display requirements change, the language editing interface can be directly called to respond to the user's first operation instruction and selection instruction, and the location information of each location displayed on the map is directly updated in the second language selected by the user. As a result, when the language display requirements of the location information change, the language update of the location information can be made more coherent, thereby effectively improving the map configuration efficiency and the display effect of the location information.
[0109] As another example, see Figure 3 , Figure 3 This is an application diagram of an embodiment of the present application. In an application scenario of the present application, a map tool 31, a data management module 32, map data 33, and location data 34 may be configured, wherein the map tool 31 and the data management module 32 may constitute a map configuration device, and the map data 33 and the location data 34 may be, for example, a backend database of a cloud server (the cloud server may be used to provide the map data 33 and the location data 34 to the map configuration device, and accordingly) (this application scenario is only an example and is not limited to this).
[0110] Therefore, the map tool 31 and the data management module 32 can interact with the background database to obtain map data 33 and location data 34, and because the map configuration device is used to flexibly and efficiently change the language of the location information displayed on the map, when providing map services for upper-level applications based on the map, it is possible to use one map to support upper-level applications in multiple languages, and because the location information in different languages can be configured in the same map data package, the map serving the same enterprise can conveniently deploy map data in multiple languages.
[0111] Figure 4 It is a structural diagram of a map configuration device proposed in one embodiment of the present application.
[0112] See also Figure 4 , the map configuration device 400 comprises:
[0113] The first display module 401 is used to display a map editing interface, which includes: displaying location information of various locations on the map in a first language;
[0114] A second display module 402, for displaying relevant information of at least one second language in response to a first operation instruction on a language editing interface on a map editing interface, wherein the first language is different from the second language;
[0115] A first determination module 403, configured to determine a second language selected by a user in response to a selection instruction of the user;
[0116] The updating module 404 is used to update the location information of each location displayed on the map using the second language selected by the user.
[0117] In some embodiments of the present application, the second display module 402 is specifically used for:
[0118] In response to a first operation instruction on the language editing interface, loading a display control on the map editing interface;
[0119] The relevant information in at least one second language is displayed in a display control in a list format.
[0120] In some embodiments of the present application, the second display module 402 is specifically used for:
[0121] In response to a first operation instruction on the language editing interface, displaying a candidate language list, the candidate language list including: a plurality of candidate second languages;
[0122] In response to a selection instruction, a second language selected by the selection instruction from a plurality of candidate second languages is obtained, and location information corresponding to the selected second language is determined and displayed.
[0123] In some embodiments of the present application, the second display module 402 is specifically used for:
[0124] Display location information in a second language corresponding to each location on the map;
[0125] In response to the selection instruction, location information in the second language selected by the selection instruction is determined.
[0126] In some embodiments of the present application, the second display module 402 is specifically used for:
[0127] In response to the selection instruction, the location information in the second language selected by the selection instruction is obtained from the map data package stored in the cloud server.
[0128] In some embodiments of the present application, the map data packet has a correspondence table, in which the correspondence between the geographical location coordinates of each location in the map and the relevant information of at least one second language corresponding to the geographical location coordinates is pre-configured; wherein the second display module 402 is specifically used for:
[0129] Obtaining geographic location coordinates corresponding to the location information in the first language;
[0130] The location information corresponding to the geographical location coordinates and the selected second language is determined according to the correspondence table.
[0131] In some embodiments of the present application, see Figure 5 , the device 40 further comprises:
[0132] The second determination module 405 is used to respond to a second operation instruction to drag any location information on the map, determine the target geographical location coordinates when the dragging operation stops, display the location information at the target geographical location coordinates, and establish a corresponding relationship between the target geographical location coordinates and the location information.
[0133] In some embodiments of the present application, see Figure 5 , the device 40 further comprises:
[0134] The transmission module 406 is used to transmit the correspondence between the target geographical location coordinates and the location information to the cloud server, so that the cloud server updates the geographical location coordinates corresponding to the location information in the correspondence table according to the target geographical location coordinates.
[0135] It should be noted that the above explanations of the map configuration method embodiment are also applicable to the map configuration device of this embodiment, and will not be repeated here.
[0136] In this embodiment, since a language editing interface is provided in the map editing interface, when the user's language display requirements change, the language editing interface can be directly called to respond to the user's first operation instruction and selection instruction, and the location information of each location displayed on the map is directly updated in the second language selected by the user. As a result, when the language display requirements of the location information change, the language update of the location information can be made more coherent, thereby effectively improving the map configuration efficiency and the display effect of the location information.
[0137] Figure 6 A schematic diagram of the structure of an intelligent robot provided in an embodiment of the present application.
[0138] The intelligent robot includes:
[0139] A memory 601 , a processor 602 , and a computer program stored in the memory 601 and executable on the processor 602 .
[0140] When the processor 602 executes the program, the map configuration method provided in the above embodiment is implemented.
[0141] In a possible implementation, the intelligent robot further includes:
[0142] The communication interface 603 is used for communication between the memory 601 and the processor 602 .
[0143] The memory 601 is used to store computer programs that can be executed on the processor 602 .
[0144] The memory 601 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0145] The processor 602 is used to implement the map configuration method of the above embodiment when executing a program.
[0146] If the memory 601, the processor 602 and the communication interface 603 are implemented independently, the communication interface 603, the memory 601 and the processor 602 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0147] Optionally, in a specific implementation, if the memory 601, the processor 602 and the communication interface 603 are integrated on a chip, the memory 601, the processor 602 and the communication interface 603 can communicate with each other through an internal interface.
[0148] The processor 602 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0149] This embodiment also provides a computer-readable storage medium on which a computer program is stored, characterized in that when the program is executed by a processor, the above map configuration method is implemented.
[0150] In order to implement the above embodiments, the present application also proposes a computer program product. When the instructions in the computer program product are executed by a processor, the map configuration method shown in the above embodiments is executed.
[0151] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.
[0152] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0153] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0154] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0155] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0156] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0157] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0158] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A map configuration method, characterized in that: The method comprises: Displaying a map editing interface, the map editing interface comprising: displaying location information of various locations on the map in a first language; In response to a first operation instruction on a language editing interface on the map editing interface, relevant information of at least one second language is displayed, the first language is different from the second language, the relevant information of the second language includes location information corresponding to the second language, the location information corresponding to the second language is stored in a map data packet of a cloud server, the map data packet has a correspondence table, the correspondence table pre-configured with a correspondence between the geographical location coordinates of each location in the map and the relevant information of at least one second language corresponding to the geographical location coordinates; wherein, in response to the first operation instruction on the language editing interface on the map editing interface, relevant information of at least one second language is displayed, including: in response to the first operation instruction on the language editing interface, a candidate language list consisting of a plurality of candidate second languages is displayed, in response to a user's selection instruction, a second language selected by the selection instruction from the plurality of candidate second languages is obtained, location information of the second language corresponding to each location on the map is displayed, in response to the selection instruction, a geographical location coordinate corresponding to the location information of the first language is obtained, and location information corresponding to the geographical location coordinates and the selected second language is determined according to the correspondence table; In response to a selection instruction of a user, determining a second language selected by the user; The location information of each location displayed on the map is updated using the second language selected by the user.
2. The method according to claim 1, characterized in that The displaying of relevant information of at least one second language in response to a first operation instruction on a language editing interface on the map editing interface further includes: In response to a first operation instruction on the language editing interface, loading a display control on the map editing interface; The relevant information of at least one second language is displayed in the display control in a list form.
3. The method according to claim 1, characterized in that The method further comprises: In response to a second operation instruction to drag any location information on the map, the target geographic location coordinates when the dragging operation stops are determined, and the location information is displayed at the target geographic location coordinates, and a corresponding relationship between the target geographic location coordinates and the location information is established.
4. The method according to claim 3, characterized in that The method further comprises: The correspondence between the target geographical location coordinates and the location information is transmitted to the cloud server, so that the cloud server updates the geographical location coordinates corresponding to the location information in the correspondence table according to the target geographical location coordinates.
5. A map configuration device, characterized in that: The device comprises: A first display module is used to display a map editing interface, wherein the map editing interface includes: displaying location information of various locations on the map in a first language; A second display module is configured to display relevant information of at least one second language in response to a first operation instruction on a language editing interface on the map editing interface, wherein the first language is different from the second language, and the relevant information of the second language includes location information corresponding to the second language, and the location information corresponding to the second language is stored in a map data packet of a cloud server, and the map data packet has a correspondence table, and the correspondence table pre-configures the correspondence between the geographical location coordinates of each location in the map and the relevant information of at least one second language corresponding to the geographical location coordinates; wherein, in response to the first operation instruction on the language editing interface on the map editing interface, displaying relevant information of at least one second language includes: in response to the first operation instruction on the language editing interface, displaying a candidate language list consisting of a plurality of candidate second languages, in response to a user's selection instruction, obtaining the second language selected by the selection instruction from the plurality of candidate second languages, displaying the location information of the second language corresponding to each location on the map, in response to the selection instruction, obtaining the geographical location coordinates corresponding to the location information of the first language, and determining the location information corresponding to the geographical location coordinates and the selected second language according to the correspondence table; A first determination module, configured to determine a second language selected by the user in response to a selection instruction of the user; An updating module is used to update the location information of each location displayed on the map using the second language selected by the user.
6. The device according to claim 5, characterized in that The second display module is specifically used for: In response to a first operation instruction on the language editing interface, loading a display control on the map editing interface; The relevant information of at least one second language is displayed in the display control in a list form.
7. The device according to claim 5, characterized in that The device also includes: The second determination module is used to respond to a second operation instruction to drag any location information on the map, determine the target geographical location coordinates when the dragging operation stops, display the location information at the target geographical location coordinates, and establish a corresponding relationship between the target geographical location coordinates and the location information.
8. The device according to claim 7, characterized in that The device also includes: The transmission module is used to transmit the correspondence between the target geographical location coordinates and the location information to the cloud server, so that the cloud server updates the geographical location coordinates corresponding to the location information in the correspondence table according to the target geographical location coordinates.
9. An intelligent robot, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the map configuration method according to any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the map configuration method as described in any one of claims 1 to 5 is implemented.
