Address generation method and apparatus, electronic device, and storage medium
Patent Information
- Application Number
- CN202310699540.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-13
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-06-13
AI Technical Summary
[0019]本公开实施例提出了一种地址生成方法,该方法通过响应于操作对象对目标应用的地址选取操作,获取一张或多张候选图片并展示在目标应用的展示界面上,在检测到操作对象对至少一张候选图片的选中操作后,从选中的候选图片中解析多个地址信息,进而基于多个地址信息生成目标地址列表。由于该方法可使得操作对象仅需要提供一张或多张图片,从而能够自动生成一张或多张图片涉及的多个目标地址的目标地址列表,无需操作对象手动输入地址,减少了手动操作,降低了人工成本,提高了地址生成效率和准确率。
Smart Images

Figure CN116756365B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of geographic information technology, specifically to an address generation method, apparatus, electronic device, and storage medium. Background Technology
[0002] Address saving, address-based navigation, and address-based content creation are common address-related functions used by users on electronic devices. To implement these functions, addresses need to be provided to the electronic device. In related technologies, users typically input addresses manually. However, manual address input is prone to errors, requires frequent input, and is time-consuming and labor-intensive, resulting in low efficiency and a poor user experience.
[0003] Therefore, a solution is needed to automatically and efficiently provide addresses to electronic devices when using address-related functions. Summary of the Invention
[0004] This disclosure provides an address generation method, apparatus, electronic device, and storage medium.
[0005] In a first aspect, this disclosure provides an address generation method, comprising:
[0006] In response to the operation object's address selection operation on the target application, one or more candidate images are obtained and the candidate images are displayed on the display interface of the target application.
[0007] After detecting that the operation object has selected at least one of the candidate images, multiple address information is parsed from the selected candidate images;
[0008] A target address list is generated based on the multiple address information.
[0009] Secondly, embodiments of the present invention provide an address generation apparatus, comprising:
[0010] The display module is configured to, in response to an operation object's address selection operation on the target application, acquire one or more candidate images and display the candidate images on the display interface of the target application.
[0011] The parsing module is configured to parse multiple address information from the selected candidate image after detecting that the operation object has selected at least one of the candidate images;
[0012] The generation module is configured to generate a list of target addresses based on the multiple address information.
[0013] The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above function.
[0014] In one possible design, the above-described device includes a memory and a processor. The memory stores one or more computer instructions that support the device in performing the corresponding methods described above, and the processor is configured to execute the computer instructions stored in the memory. The device may also include a communication interface for communicating with other devices or communication networks.
[0015] Thirdly, embodiments of this disclosure provide an electronic device including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described in any of the above aspects.
[0016] Fourthly, embodiments of this disclosure provide a computer-readable storage medium for storing computer instructions used by any of the above-described devices, which, when executed by a processor, are used to implement the methods described in any of the above aspects.
[0017] Fifthly, embodiments of this disclosure provide a computer program product comprising computer instructions which, when executed by a processor, are used to implement the methods described in any of the preceding aspects.
[0018] The technical solutions provided in this disclosure may have the following beneficial effects:
[0019] This disclosure proposes an address generation method. In response to an operation object's address selection operation on a target application, the method acquires one or more candidate images and displays them on the target application's interface. After detecting the operation object's selection of at least one candidate image, it parses multiple address information from the selected candidate image and then generates a target address list based on this multiple address information. Because this method allows the operation object to provide only one or more images, it can automatically generate a target address list containing multiple target addresses associated with those images, eliminating the need for the operation object to manually input addresses. This reduces manual operations, lowers labor costs, and improves the efficiency and accuracy of address generation.
[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0021] Other features, objects, and advantages of this disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the drawings:
[0022] Figure 1 A flowchart of an address generation method according to an embodiment of the present disclosure is shown.
[0023] Figures 2a-2f A schematic diagram illustrating the implementation effect of an address generation method according to an embodiment of the present disclosure is shown.
[0024] Figures 3a-3c A schematic diagram illustrating the implementation effect of a navigation method according to an embodiment of the present disclosure is shown.
[0025] Figure 4 A structural block diagram of an address generation apparatus according to an embodiment of the present disclosure is shown.
[0026] Figure 5 This is a schematic diagram of the structure of an electronic device suitable for implementing the address generation method according to an embodiment of the present disclosure. Detailed Implementation
[0027] In the following, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings to enable those skilled in the art to readily implement them. Furthermore, for clarity, portions unrelated to the description of the exemplary embodiments have been omitted from the drawings.
[0028] In this disclosure, it should be understood that terms such as “comprising” or “having” are intended to indicate the presence of features, figures, steps, behaviors, components, parts or combinations thereof disclosed in this specification, and do not preclude the possibility of the presence or addition of one or more other features, figures, steps, behaviors, components, parts or combinations thereof.
[0029] It should also be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0030] The user information (including but not limited to user device information such as location information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals shall be provided for users to choose to authorize or refuse.
[0031] The details of the embodiments of this disclosure are described in detail below through specific examples.
[0032] Figure 1 A flowchart illustrating an address generation method according to an embodiment of this disclosure is shown. Figure 1 As shown, the address generation method includes the following steps:
[0033] In step S101, in response to the operation object's address selection operation on the target application, one or more candidate images are obtained and the candidate images are displayed on the display interface of the target application.
[0034] In step S102, after detecting that the operation object has selected at least one of the candidate images, multiple address information is parsed from the selected candidate images;
[0035] In step S103, a target address list is generated based on the multiple address information.
[0036] In this embodiment, the address generation method described above can be applied to electronic devices with display and file transfer functions. These electronic devices can be mobile phones, smart TVs, wearable devices, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and so on. The embodiments of this application do not limit the specific technology or form of the electronic device used.
[0037] In this embodiment of the disclosure, the object of operation is an object capable of operating the electronic device to enable the electronic device to perform corresponding functions. For example, the object of operation can be a user or an artificial intelligence device. The target application can be an application (APP) on the electronic device with preset functions, which can include at least one or more combinations of the following: address bookmarking function, navigation function, information guide function, information evaluation function, or video tutorial function.
[0038] In some embodiments, for any preset function of the target application, at least one function page can be developed, and the at least one function page can implement the preset function. For example, one or more collection subpages can be developed for the address collection function of the target application. Each collection subpage is responsible for implementing one aspect of the address collection function, and the address can be collected by operating on the one or more collection subpages.
[0039] Address selection can be a preset action that the target object can perform on a corresponding page of the target application. This preset action could be, for example, the target object clicking on an address selection control, such as a preset button, or other forms of action on the corresponding page. For example, ... Figure 2a In the interface shown, the user can perform an address selection operation by clicking the "Image / Text Selection" control on the corresponding page of a target application.
[0040] After detecting an address selection operation on a target application, the electronic device can obtain candidate images and display them on the target application's display interface.
[0041] In some embodiments, candidate images can be obtained and displayed on the target application's display interface as follows: images from the local photo album are obtained by calling the local device's local photo album interface; the images from the local photo album are then displayed as candidate images on the target application's display interface. For example, ... Figure 2b The interface shown can display images 1 to 9 obtained from the local photo album on the target application's display screen, allowing the user to select the images of interest.
[0042] In some embodiments, the candidate image can be one or more images stored locally on an electronic device, or one or more frames of images parsed from a locally stored video, or one or more frames of images parsed from one or more images or videos stored on a network device. After performing the address selection operation, the operation object can specify the local storage address or network storage address of the candidate image; alternatively, the operation object can not specify a storage address, and the target application can read the candidate image from the default address.
[0043] In some embodiments, the number of candidate images can be determined by the number of images in the local album. If only one image is retrieved from the local album, then the number of candidate images is also one; if multiple images are retrieved from the local album, then the number of candidate images is also multiple.
[0044] In some embodiments, a candidate image may include at least one line of text content, which may contain the name of at least one point of interest (POI). This text content may contain only the POI name or a descriptive statement that includes the POI name. Here, a POI is a geographic object abstracted as a point in a geographic information system, such as a school, tourist attraction, hospital, or supermarket.
[0045] In some embodiments, the candidate image may not include text content, but instead include partial or complete image features of at least one POI. For example, the candidate image may show a landmark building.
[0046] In some embodiments, the target application's display interface can be a user interface capable of human-computer interaction. After candidate images are displayed on the target application's display interface, the user can select or deselect the candidate images. After the user selects one or more candidate images, the target application can parse the selected candidate image to obtain multiple address information related to the selected candidate image. For example, such as... Figure 2c In the interface shown, when parsing the candidate image "My Best Friend's Hand-drawn Map of a City's Attractions" selected by the operation object, since the candidate image contains multiple text contents, multiple address information such as "Art Museum", "Cross-sea Bridge", "Old Street", "Library", "Museum", "Ancient Town", "Library", "Folk Street", and "Guild Hall" can be parsed in batches.
[0047] In some embodiments, the address information may include location keywords parsed from the selected candidate image, such as the POI name.
[0048] To improve address generation efficiency, the device can select at least one candidate image containing multiple text entries and / or multiple Points of Interest (POIs) features, allowing the electronic device to batch-parse multiple address information entries at once. After parsing multiple address information entries from the at least one candidate image selected by the device, the electronic device can generate a target address list based on the address information and preset location matching data. This target address list can include multiple target addresses, each corresponding to one address information entry, and each target address can include a POI location. The preset location matching data can include the mapping relationship between location keywords and specific addresses.
[0049] This disclosure proposes an address generation method. In response to an operation object's address selection operation on a target application, the method acquires one or more candidate images and displays them on the target application's interface. After detecting the operation object's selection of at least one candidate image, it parses multiple address information from the selected candidate image and generates a target address list based on this information. Because this method allows the operation object to automatically generate a target address list containing multiple address information related to one or more images without requiring manual address input, it reduces manual operations and labor costs. Furthermore, it enables batch address generation, improving both efficiency and accuracy.
[0050] In an optional implementation of this embodiment, step S103, the step of generating a target address list based on the plurality of address information, further includes the following steps:
[0051] The parsed address information is simultaneously displayed on the selected candidate images; wherein, if the address information is parsed from the selected candidate images, the address information is displayed on the corresponding candidate image.
[0052] Based on the selection operation of the multiple address information by the operation object, a target address list is generated.
[0053] In this optional implementation, to avoid potential inaccuracies in the address information parsed from candidate images, each of the multiple parsed address information can be displayed on its corresponding candidate image. For example, if the text content in a candidate image includes address information, the address information can be displayed around the corresponding text content; or if part of the image content in a candidate image involves a building image corresponding to the address information, the address information can be displayed around the building image. In some embodiments, the multiple address information can be parsed from the same candidate image or from multiple different candidate images. If the multiple address information is parsed from the same candidate image, that candidate image is displayed, and the multiple address information is simultaneously displayed on that candidate image. If the multiple address information is parsed from multiple candidate images, all multiple candidate images are displayed simultaneously, and the multiple address information is displayed on their respective corresponding candidate images. For example, if two address information A and B are parsed, address information A is parsed from candidate image a, and address information B is parsed from candidate image b, then candidate images a and b can be displayed simultaneously, with address information A displayed on candidate image a and address information B displayed on candidate image b.
[0054] Address information can be optionally displayed on the corresponding candidate images, allowing the user to select the address of interest from multiple options. This selection generates a target address list, which can include target addresses. To improve address generation efficiency, the user can select multiple address information, generating a target address list with multiple target addresses at once, each corresponding to one address.
[0055] In some embodiments, the target address can be at least one of the following: an address that the user wants to save, an address used for navigating the user's route, an address that the user wants to rate, a relevant address in a video tutorial the user is watching, or an address mentioned in a guide message the user wants to view. Correspondingly, candidate images can also include at least one of the following: a map of a region including various attractions, a regional map containing at least a start point and an end point, a video tutorial for a specific point of interest (POI), etc.
[0056] Since electronic devices can parse a batch of address information at once, in order to improve the efficiency of address generation, the operating object can also select multiple address information of interest from a batch of address information, thereby enabling the electronic device to generate multiple target addresses in batches at once.
[0057] In an optional implementation of this embodiment, step S101, which involves acquiring one or more candidate images and displaying them on the display interface of the target application, further includes the following steps:
[0058] Retrieve images from the local photo album by calling the local device's local photo album API;
[0059] The images in the local photo album are displayed as candidate images on the display interface of the target application.
[0060] In this optional implementation, the local photo album has an interface that can be called by other applications. After detecting that the device is performing an address selection operation within the target application, it can call this interface to retrieve images from the local photo album. These images can then be displayed as candidate images in the target application's interface, allowing the device to select the candidate image to be parsed. For example, ... Figure 2b In the interface shown, the electronic device can display images 1 to 9 obtained from the local photo album on the target application's display interface, allowing the user to select the image of interest. In some embodiments, if a video is obtained from the local photo album via the local photo album interface, the video can be broken down into multiple frames before being displayed on the target application's display interface.
[0061] In an optional implementation of this embodiment, the step of simultaneously displaying the parsed multiple address information on the selected candidate image may further include the following steps:
[0062] Based on the parsed address information, generate multiple corresponding interactive controls;
[0063] The multiple interactive controls are simultaneously displayed on the selected candidate images, so that the operation object can select the multiple address information through the multiple interactive controls; wherein, if the multiple address information is parsed from the multiple selected candidate images, the multiple interactive controls are each displayed on the corresponding candidate image.
[0064] In this optional implementation, after parsing multiple address information entries, each parsed address can be displayed in its corresponding candidate image. The address information can be displayed using interactive controls, with the number of interactive controls matching the number of parsed address information entries.
[0065] In some embodiments, for each parsed address information, a corresponding interactive control can be generated at the location where the address information is to be displayed. The content displayed by the interactive control can be set to the address information, so that while displaying the candidate image, the interactive control is also displayed on the candidate image. The interactive control can be selected or deselected. The operation object can perform the operation of selecting or deselecting the address information by clicking or clicking the interactive control again.
[0066] In some embodiments, the location where the address information is to be displayed can be determined based on the location of the image content on the candidate image from which the address information is parsed. For example, such as Figure 2d The interface shown can generate nine interactive controls based on the nine parsed address information: "Art Gallery", "Cross-Sea Bridge", "Old Street", "Library", "Museum", "Ancient Town", "Library", "Folk Customs Street", and "Guild Hall". Each interactive control is displayed near the location of each attraction, allowing users to select or deselect the corresponding address information by clicking the interactive controls.
[0067] As mentioned above, the multiple address information can be parsed from the same candidate image or from multiple different candidate images. If the multiple address information is parsed from the same candidate image, that candidate image is displayed, and the interactive controls corresponding to the multiple address information are also displayed on that candidate image. If the multiple address information is parsed from multiple candidate images, all multiple candidate images are displayed simultaneously, and the interactive controls corresponding to the multiple address information are displayed on their respective candidate images. For example, if two address information A and B are parsed, address information A is parsed from candidate image a, and address information B is parsed from candidate image b, then candidate images a and b can be displayed simultaneously, with the interactive controls corresponding to address information A displayed on candidate image a, and the interactive controls corresponding to address information B displayed on candidate image b.
[0068] In an optional implementation of this embodiment, the step of generating a target address list based on the selection operation of the operation object on the plurality of address information may further include the following steps:
[0069] Based on the selection operation of the operation object on the multiple address information, the selected address information is determined;
[0070] After detecting the address generation operation of the operation object, a target address list is generated based on the selected address information and preset location matching data.
[0071] In this optional implementation, since the parsed address information can be displayed on the corresponding candidate image as an interactive control, the user can further select or deselect the address information of interest by triggering the interactive control. When the triggering operation is a selection operation, the address information corresponding to the interactive control is selected. In some embodiments, the selection operation can be a single click operation, and clicking again deselects the selected address information.
[0072] In some embodiments, when an object clicks on an interactive control corresponding to the address information, the color of the interactive control changes. For example, when the interactive control is selected, its displayed color becomes more vibrant and / or brighter. When the interactive control is deselected, its displayed color reverts to a less vibrant color and / or dimmer.
[0073] In some embodiments, an address generation control may also be displayed in the interface used to display interactive controls corresponding to address information. When an object operates on the address generation control, an address generation operation is triggered, causing the electronic device to generate a target address list including target addresses based on the address information selected by the object and preset location matching data. In some embodiments, the preset location matching data may include a mapping relationship between location keywords and specific addresses. The location keywords may include POI names, and the specific addresses may include POI locations. Target addresses may include POI locations. For example, based on the location keywords, such as POI names, included in the address information, a specific address, such as a POI location, corresponding to the location keywords can be obtained from the preset location matching data. This specific address is then used as the target address corresponding to the address information, and the target address is added to the target address list. Objects can often select multiple addresses of interest at once through a selection operation, thereby generating a target address list containing multiple target addresses in batches, improving address generation efficiency.
[0074] For example, such as Figure 2e In the interface shown, the user can click on the "Art Museum", "Cross-Sea Bridge", "Old Street", "Museum", "Ancient Town", "Library", and "Folk Customs Street" controls to select the corresponding address information, and then click on the "Generate Address" control to perform the address generation operation. This allows the electronic device to generate a list of target addresses corresponding to the multiple address information such as "Art Museum", "Cross-Sea Bridge", "Old Street", "Museum", "Ancient Town", "Library", and "Folk Customs Street" in batches. The list of target addresses contains multiple target addresses corresponding to these multiple address information.
[0075] In an optional implementation of this embodiment, before the step of generating a target address list based on the selected address information and preset location matching data after detecting the address generation operation of the operation object, the following steps may be included:
[0076] After detecting that the operation object has cancelled the selected address information, the cancelled address information is deleted from the selected address information.
[0077] In this optional implementation, as previously described, the user can select or deselect address information of interest by triggering an interactive control. When the triggering operation is a deselection operation, the address information corresponding to the interactive control is deselected. In some embodiments, if the interactive control is selected, clicking the interactive control again will deselect the address information.
[0078] In an optional implementation of this embodiment, step S102, the step of parsing multiple address information from the selected candidate image, may further include one or more combinations of the following steps:
[0079] The text content is parsed from the selected candidate images, and the multiple address information is determined by performing natural language processing on the text content;
[0080] The selected candidate image is matched with the stored image with associated address information, and the multiple address information is determined based on the matching results.
[0081] In this optional implementation, when the operating object selects at least one candidate image through a selection operation, the electronic device can parse the address information of each selected candidate image. For any selected candidate image, the electronic device can parse the address information in the selected candidate image using any one or a combination of the following two methods.
[0082] One approach involves using optical character recognition (OCR) technology to identify text content within a selected candidate image when such text is present. This allows for the extraction of at least one line of text from the selected candidate image. OCR technology can be understood as the process by which an electronic device determines the shape of characters in a selected candidate image by detecting dark and light patterns, and then translates these shapes into computer text using character recognition methods.
[0083] For any given piece of text content, it may or may not contain a POI name, or the text content may be a descriptive statement containing at least one POI name. Therefore, in order to accurately parse the address information in the selected candidate images, natural language processing (NLP) techniques can be used to extract the POI names from the text content recognized by OCR technology. The extracted POI names can then be used as address information. Specifically, NLP techniques can extract POI names from text content using specific rule-based strategies.
[0084] When at least one candidate image containing multiple POI names is selected as the target of the operation, multiple address information can be parsed in batches using OCR technology and natural language processing technology, thereby improving the address generation efficiency.
[0085] Another approach, when the selected candidate images do not contain text content but only image features of the Point of Interest (POI), is to match the selected candidate images with stored images containing associated address information in the electronic device. The target stored image is then identified from these stored images, and the address information associated with that target stored image is used as the parsed address information. Specifically, the similarity between the image features contained in the target stored image and the image features contained in the selected candidate images must be greater than or equal to a preset threshold.
[0086] In some embodiments, the address information associated with a stored image may include a POI name corresponding to the image features contained in the stored image.
[0087] When the user selects at least one candidate image containing multiple image features, this method can batch parse multiple address information, improving address generation efficiency. Correspondingly, the user can quickly identify the specific geographical structures displayed in the selected candidate images, enhancing the user experience.
[0088] Another approach is to use OCR and natural language processing techniques to extract address information from candidate images when the selected candidate images contain both text content and POI image features. At the same time, the candidate image can be matched with stored images with associated address information in the electronic device to determine the target stored image, and the address information associated with the target stored image can be used as the extracted address information.
[0089] In some embodiments, the operation object can specify an image recognition method, i.e., whether to use OCR technology for text recognition or to match the stored image with associated address information to obtain the address information. In other embodiments, the operation object may not specify an image recognition method, but may use a default recognition method or a combination of both methods.
[0090] In an optional implementation of this embodiment, the address selection operation is detected on the corresponding page of the preset function of the target application, and the method may further include the following steps:
[0091] The target addresses in the target address list are associated with the address details page in the target application, and the details page jump links of the target addresses and the operation controls to return to the corresponding page of the preset function are displayed in the form of an optional list.
[0092] Based on the operation of the operation object to select the details page jump link in the optional list, the selected address is determined;
[0093] When an operation is detected on the control by the object being operated, the corresponding page of the preset function is returned with the selected address.
[0094] In this optional implementation, the user performs an address selection operation on the corresponding page of a preset function on the target application. After the electronic device generates a target address list, it can further display the target addresses in the target address list for the user to select. After the user selects the target address, it can return to the corresponding page of the preset function, and then implement the preset function based on the selected target address on the corresponding page of the preset function.
[0095] In some embodiments, the target application can pre-set detail pages corresponding to various POI addresses, such as detail pages for each POI address in an electronic map application. These detail pages may include, but are not limited to, detailed information such as the POI address's location, phone number, business hours, reviews, and group-buying deals. After generating a target address list based on the address information selected by the operation object, for each target address in the target address list, the corresponding detail page can be retrieved from the target application based on the target address, and the detail page jump links for the target addresses can be displayed on the target application's display interface in the form of an optional list. Furthermore, the display interface can also display operation controls for returning to the corresponding page of a preset function. Clicking the detail page jump link for the target address will redirect to the target address's detail page, where detailed information about the target address will be displayed.
[0096] In some embodiments, the target address is displayed as an optional list. The user can select the target address from this list by making a selection operation, which can be either selecting or deselecting the target address, rather than selecting a link to the target address's details page. In some embodiments, an optional control can be placed near the details page link, allowing the user to select or deselect the target address by clicking the optional control.
[0097] It is understandable that the user can be redirected to the details page of the target address by clicking the link to view detailed information about the target address, and can select or deselect the target address by clicking the optional control corresponding to the target address.
[0098] In some embodiments, when multiple target addresses are displayed through an optional list, the target addresses can be displayed as a movable control. Users can drag and drop the movable control within the optional list to adjust its position or order within the list, based on their preferences.
[0099] In some embodiments, when multiple target addresses are displayed in the form of an optional list, the electronic device may also display multiple target addresses according to preset rules. For example, multiple target addresses may be displayed in the optional list according to rules such as rating from high to low or distance from the target to be operated on.
[0100] As described above, the user can trigger an address selection operation on a pre-defined page of a target application's preset function through a pre-defined operation. The target application then parses address information from candidate images selected by the user based on this address selection operation, generates a target address list based on the user's address selection, and displays the target addresses in the selectable list. After the user selects all or part of the target addresses in the selectable list, they can return to the corresponding page of the preset function, where they can perform corresponding operations based on the selected target addresses. Therefore, in addition to displaying a link to the target address details page in the selectable list on the target application's display interface, a control can also be displayed to return to the corresponding page of the preset function. By clicking this control, the user can return to the corresponding page of the preset function, and the selected target address will also be carried back to that page, allowing for corresponding operations based on that target address. After obtaining the target address through the address selection operation on the corresponding page of the preset function using the address generation method described above, the user can then perform corresponding functions based on that target address on that page. For example, if the preset function is a favorites function, after obtaining the target address using the method described above, the target address can be saved on the corresponding page of the favorites function. For example, the user can create a new favorites folder and save the obtained target address in that new folder. As another example, if the preset function is a route navigation function, after obtaining the target address, based on the user's actions, two of the addresses can be used as the start and destination addresses, while the other addresses are used as waypoints, generating a corresponding navigation path and providing navigation services to the user.
[0101] In an optional implementation of this embodiment, the details page redirection link of the target address is implemented as a draggable control; the method may further include the following steps:
[0102] In response to a drag operation on the details page jump link of the target address, the order of the details page jump links in the optional list is adjusted according to the drag operation;
[0103] The step of returning to the corresponding page of the preset function with the selected address when the operation object's operation on the operation control is detected may further include the following steps:
[0104] If an operation on the control is detected by the operation object, the corresponding page of the preset function is returned, carrying the selected address and the order relationship between the selected addresses.
[0105] In this optional implementation, when the user selects multiple target addresses from the selectable list, the selected target addresses can be sorted so that the preset function can be implemented according to this sorting after returning to the corresponding page of the preset function. To this end, the details page jump links of the target addresses can be implemented as draggable controls. The user can adjust the order of the details page jump links corresponding to multiple target addresses in the selectable list by dragging and dropping these draggable controls.
[0106] For example, when the default function is navigation, after selecting multiple target addresses from the list and determining the starting address, waypoints, and destination address, the user can drag the starting address to the front, followed by the waypoints and destination addresses. Upon returning to the corresponding navigation page, in addition to returning the selected starting address, waypoints, and destination address, the order of these addresses is also displayed on the navigation page, allowing the navigation function to plan a path for the user based on this order. As another example, when the default function is video tutorial, after selecting multiple target addresses from the list, the user can drag and sort the addresses according to their level of interest, placing the most interesting addresses at the front and the least interesting at the back. Upon returning to the corresponding video tutorial page, the tutorial can prioritize explaining the most interesting address based on this order.
[0107] For example, such as Figure 2fIn the interface shown, after generating a list of target addresses containing multiple target addresses, the electronic device can associate each target address with the address details page of the target application and display the multiple target addresses in the form of an optional list a. When multiple target addresses are displayed through optional list a, a details page jump link b can be displayed for each target address. When the user clicks a details page jump link b, the display page of the target application can jump to the details page of the corresponding target address for the user to view. The user can also click the optional control c next to the details page jump link b to select the target address. This optional list page can also display an operation control d that returns to the corresponding page of the preset function. After the user selects a target address, they can further click on operation control d so that the electronic device can return to the corresponding page of the preset function with the selected destination address.
[0108] In an optional implementation of this embodiment, the method may further include the following steps:
[0109] When a click operation is detected on the details page jump link by the operation object, the address details page corresponding to the details page jump link is displayed.
[0110] In this optional implementation, displaying a link to the target address's details page on the target application allows the target application to respond to the click by clicking this link, redirecting to the details page and displaying it on the target application's interface. The user can then access the details page to learn about the target address and decide whether to select it, returning to the corresponding page for the desired function.
[0111] In an optional implementation of this embodiment, the method may further include at least one of the following steps:
[0112] When the preset function is the address bookmarking function, after returning to the corresponding page of the address bookmarking function, the selected address is bookmarked based on the operation of the operation object on the corresponding page of the address bookmarking function;
[0113] When the preset function is navigation, after returning to the corresponding page of the navigation function, based on the operation of the user on the corresponding page of the navigation function, provide the user with a path and / or navigation service to the selected address;
[0114] When the preset function is the information guide function, after returning to the corresponding page of the information guide function, guide information related to the selected address is displayed based on the operation of the operation object on the corresponding page of the information guide function.
[0115] When the preset function is the information evaluation function, after returning to the corresponding page of the information evaluation function, the evaluation editing page of the selected address is displayed based on the operation of the operation object on the corresponding page of the information evaluation function.
[0116] When the preset function is the video explanation function, after returning to the corresponding page of the video explanation function, based on the operation of the user on the corresponding page of the video explanation function, the relevant information of the selected address involved in the video is displayed.
[0117] In this optional implementation, as described above, the preset functions of the target application may include at least one or more combinations of the following: address bookmarking function, navigation function, information guide function, information evaluation function, or video tutorial function. Therefore, when the user returns to the corresponding page of the preset function through operation of the operation control, the corresponding preset function can be implemented through operation on the corresponding page of the preset function.
[0118] In some embodiments, when the preset function is an address bookmarking function, the corresponding page returned for the preset function can be a bookmarking subpage for bookmarking the selected target address. This bookmarking subpage may include an address selection control that triggers the address selection operation. By performing corresponding operations on this bookmarking subpage, the selected target address can be bookmarked.
[0119] In some embodiments, when the preset function is a navigation function, the corresponding page of the returned preset function can be a navigation subpage that navigates to the selected target address. This navigation subpage may include an address selection control that triggers the address selection operation. By performing corresponding operations on this navigation subpage, the function of generating a navigation path including the target address and the function of navigating based on this navigation path can be realized. The starting address and destination address in the navigation path can be two of the target addresses specified by the operation object, while the other target addresses can be waypoints on the navigation path.
[0120] In some embodiments, when the preset function is an information guide function, the corresponding page returned for the preset function can be an information guide subpage for viewing guide information for the selected target address. By performing corresponding operations on this information guide subpage, the information guide for the selected target address can be displayed for the user to view. In this embodiment, the user does not need to manually enter and query the target addresses one by one to view the information guides for multiple target addresses; instead, they can simply select multiple target addresses on the information guide subpage to view the information guides for each target address.
[0121] In some embodiments, when the preset function is the information evaluation function, the corresponding page returned for the preset function can be an information evaluation subpage for evaluating the selected target address. By performing corresponding operations on this information evaluation subpage, the selected target address can be evaluated. Through this embodiment, the user can perform batch evaluations of multiple target addresses, eliminating the need to manually input and query each target address individually before evaluating them. Instead, multiple target addresses can be selected on the information evaluation subpage to open the evaluation page for evaluation.
[0122] In some embodiments, when the preset function is a video explanation function, the corresponding page of the returned preset function can be a video explanation subpage for viewing the explanation video of the selected target address. By performing corresponding operations on this video explanation subpage, users can watch the explanation video while simultaneously viewing information related to the explanation video by clicking on one of the multiple target addresses displayed on the page. For example, when watching an explanation video of the Palace Museum, users can search for multiple Palace Museum attractions mentioned in the video using the above method. After returning to the video explanation subpage, multiple Palace Museum attraction names can be displayed at the bottom of the video explanation subpage. Users can then click on the Palace Museum attraction names at the bottom of the page to learn about the text descriptions and other detailed information of the attractions mentioned in the video while watching the explanation video.
[0123] It should be noted that the naming of each control and the triggering operation of each control mentioned above are merely illustrative examples. Those skilled in the art can name each control and set the specific form of triggering each control according to actual needs. This disclosure does not limit this.
[0124] The following example illustrates one implementation of the address generation process in an embodiment of this disclosure.
[0125] Figures 2a-2f A schematic diagram illustrating the implementation effect of an address generation method according to an embodiment of the present disclosure is shown.
[0126] like Figure 2a As shown, the user can perform an address selection operation by clicking the "Image / Text Selection" control on the corresponding page of a preset function in the target application. When the electronic device detects this address selection operation, it can retrieve multiple images from its local album (e.g., images 1 to 9) via the local photo album interface and display these images as candidate images. Figure 2b The target application's interface, as shown, allows the user to select the candidate image to be parsed from a list of displayed images. Assuming the user selects image 1, image 2, image 6, and image 7, they can then click the "OK" button to trigger the electronic device to parse images 1, 2, 6, and 7.
[0127] like Figure 2c As shown, assuming one of these four images is a "hand-drawn map of a city's attractions by a best friend," when the electronic device parses this image, since it contains multiple text entries such as "art museum," "cross-sea bridge," "old street," "library," "museum," "ancient town," "library," "customs street," and "guild hall," it can batch obtain multiple address information such as "art museum," "cross-sea bridge," "old street," "library," "museum," "ancient town," "library," "customs street," and "guild hall" based on OCR technology and natural language processing technology.
[0128] like Figure 2d As shown, after parsing the address information of "Art Museum", "Cross-sea Bridge", "Old Street", "Library", "Museum", "Ancient Town", "Library", "Folk Street", and "Guild Hall" from the image "My Best Friend's Hand-drawn Map of a City's Attractions" selected by the user, corresponding controls for "Art Museum", "Cross-sea Bridge", "Old Street", "Library", "Museum", "Ancient Town", "Library", "Folk Street", and "Guild Hall" can be generated. These interactive controls are then displayed near the locations of each attraction in the image "My Best Friend's Hand-drawn Map of a City's Attractions", allowing users to select the desired address information by clicking on the interactive controls.
[0129] like Figure 2e As shown, assuming the user clicks once on each of the following controls displayed on the "My Best Friend's Hand-Drawn Map of a City's Attractions" image: "Art Gallery," "Cross-Sea Bridge," "Old Street," "Museum," "Ancient Town," "Library," and "Folk Customs Street," the corresponding address information is selected. The user can then click the "Generate Address" control, causing the electronic device to generate seven target addresses based on these seven address information and preset location matching data, and add these seven target addresses to the target address list.
[0130] like Figure 2fAs shown, assuming the electronic device generates a list of 21 target addresses based on the user's clicks on multiple interactive controls in images 1, 2, 6, and 7, this list can be further associated with the address details page of the target application and displayed as an optional list a. If the user wants to implement a preset function for these 21 addresses, they can click the optional control c next to the details page jump link b for each target address, or click the "Select All" control to select all 21 target addresses. Then, the user can click the operation control d to return the electronic device to the corresponding page for the preset function, carrying the selected 21 destination addresses. Additionally, the user can click the details page jump link b for the target address of interest to view its details.
[0131] According to one embodiment of this disclosure, a navigation method is also proposed, the method comprising:
[0132] Retrieve the image provided by the navigation object;
[0133] A list of target addresses is determined based on the image, and the list of target addresses is obtained based on the address generation method described above.
[0134] Navigation services are provided to the navigable objects based on the target address list.
[0135] In this embodiment, the navigated object can be a user, a smart vehicle, or other intelligent device. The navigated object can provide images to the navigation application, and the navigation application can generate a list of target addresses based on the images provided by the navigated object. This list of target addresses can include the target addresses involved in the images provided by the navigated object. The method for generating the target address list can be found in the description of the address generation method above, and will not be repeated here. After obtaining the target addresses involved in the images provided by the navigated object, the navigation application can generate a navigation path based on one or more of the obtained target addresses. When there is only one target address, a navigation path from the current location to the target address can be generated based on the operation of the navigated object. When there are two target addresses, a corresponding navigation path can be generated based on the operation of the navigated object, using one of the two target addresses or the current location as the starting location and the other target address or the current location as the destination address. When there are more than two target addresses, a corresponding navigation path can be generated based on the operation of the navigated object, using the current location or one of the target addresses as the starting location, the other target address or the current location as the destination address, and the remaining target addresses as waypoints. The generated navigation path can include one or more paths, and the navigated object can choose one of them for navigation.
[0136] In some embodiments, the object being navigated may also be the object being operated on in the address generation method described above.
[0137] In some embodiments, the image provided by the navigated object may be a photo selected by the navigated object in its local album, a frame image from a video selected by the navigated image, an image from a network link provided by the navigated object, or an image temporarily uploaded by the navigated object, etc.
[0138] In some embodiments, before providing services to the navigated object based on the determined target address, the navigated object may first determine the waypoints and / or start and end addresses it wants to pass through based on the target address. Then, the electronic device plans a path for the navigated object based on the waypoints and / or start and end addresses determined by the navigated object. In some embodiments, the planned path may pass through multiple waypoints, each waypoint corresponding to a target address.
[0139] Figures 3a-3c A schematic diagram illustrating the implementation effect of a navigation method according to an embodiment of the present disclosure is shown.
[0140] like Figure 3a As shown, the user can click the "Image and Text Capture" control on the corresponding page of the navigation application to trigger the navigation application to obtain the image provided by the user, and obtain multiple target addresses involved in the image based on the address generation method mentioned above, such as "Gas Station in City X", "Liangzi Fitness", "Museum" and "Happy Hot Spring" target addresses.
[0141] like Figure 3b As shown, the user can select from multiple target addresses to use the current location as the starting point, the location of the "Museum" as the destination, and the locations of the "X City Gas Station," "Liangzi Fitness," and "Happy Hot Spring" as waypoints in sequence. After determining the waypoints of the navigation route, click the "Finish" control to generate a navigation application like... Figure 3c The generated navigation path is shown.
[0142] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein.
[0143] Figure 4 This diagram illustrates a structural block diagram of an address generation apparatus according to an embodiment of the present disclosure. This apparatus can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 4 As shown, the address generation device may include:
[0144] The display module 401 is configured to, in response to the operation of the object selecting the address of the target application, acquire one or more candidate images and display the candidate images on the display interface of the target application.
[0145] The parsing module 402 is configured to parse multiple address information from the selected candidate image after detecting that the operation object has selected at least one of the candidate images;
[0146] The generation module 403 is configured to generate a target address list based on the plurality of address information.
[0147] In this embodiment, the address generation device can be an electronic device with display and file transfer functions. The electronic device can be a mobile phone, smart TV, wearable device, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. The embodiments of this application do not limit the specific technology or device form used in the electronic device.
[0148] In this embodiment of the disclosure, the object of operation is an object capable of operating the electronic device to enable the electronic device to perform corresponding functions. For example, the object of operation can be a user or an artificial intelligence device. The target application can be an application (APP) on the electronic device with preset functions, which can include at least one or more combinations of the following: address bookmarking function, navigation function, information guide function, information evaluation function, or video tutorial function.
[0149] In some embodiments, for any preset function of the target application, at least one function page can be developed, and the at least one function page can implement the preset function. For example, one or more collection subpages can be developed for the address collection function of the target application. Each collection subpage is responsible for implementing one aspect of the address collection function, and the address can be collected by operating on the one or more collection subpages.
[0150] Address selection operation can be a preset operation that the operation object can perform on the corresponding page of the target application. This preset operation can be, for example, the operation object can click on the address selection control such as the preset button on the corresponding page or other forms of operation.
[0151] After detecting an address selection operation on a target application, the electronic device can obtain candidate images and display them on the target application's display interface.
[0152] In some embodiments, candidate images can be obtained and displayed on the target application's display interface in the following ways: obtain images from the local photo album by calling the local device's local photo album interface; and display the images from the local photo album as candidate images on the target application's display interface.
[0153] In some embodiments, the candidate image can be one or more images stored locally on an electronic device, or one or more frames of images parsed from a locally stored video, or one or more frames of images parsed from one or more images or videos stored on a network device. After performing the address selection operation, the operation object can specify the local storage address or network storage address of the candidate image; alternatively, the operation object can not specify a storage address, and the target application can read the candidate image from the default address.
[0154] In some embodiments, the number of candidate images can be determined by the number of images in the local album. If only one image is retrieved from the local album, then the number of candidate images is also one; if multiple images are retrieved from the local album, then the number of candidate images is also multiple.
[0155] In some embodiments, a candidate image may include at least one line of text content, which may contain the name of at least one point of interest (POI). This text content may contain only the POI name or a descriptive statement that includes the POI name. Here, a POI is a geographic object abstracted as a point in a geographic information system, such as a school, tourist attraction, hospital, or supermarket.
[0156] In some embodiments, the candidate image may not include text content, but instead include partial or complete image features of at least one POI. For example, the candidate image may show a landmark building.
[0157] In some embodiments, the target application's display interface can be a user interface capable of human-computer interaction. After candidate images are displayed on the target application's display interface, the user can select or deselect the candidate images. After the user selects one or more candidate images, the target application can parse the selected candidate images to obtain multiple address information related to the selected candidate images. In some embodiments, the address information may include location keywords parsed from the selected candidate images, such as POI names.
[0158] To improve address generation efficiency, the device can select at least one candidate image containing multiple text entries and / or multiple Points of Interest (POIs) features, allowing the electronic device to parse multiple address information entries in batches at once. After parsing multiple address information entries from the at least one candidate image selected by the device, the electronic device can generate a target address list based on the address information and preset location matching data. This target address list can include multiple target addresses, each corresponding to one address information entry, and each target address can include a POI location. The preset location matching data can include the mapping relationship between location keywords and specific addresses.
[0159] This disclosure provides an address generation device. In response to an operation by an user selecting an address for a target application, the device acquires one or more candidate images and displays them on the target application's interface. After detecting a user's selection of at least one candidate image, it parses multiple address information from the selected image and generates a target address list based on this information. Because this device allows the user to provide only one or more images, it can automatically generate a target address list containing multiple address information from those images, eliminating the need for manual address input. This reduces manual operations and labor costs, and also enables batch address generation, improving both efficiency and accuracy.
[0160] In an optional implementation of this embodiment, the generation module 403 includes:
[0161] The first display submodule is configured to simultaneously display the parsed multiple address information on the selected candidate images; wherein, if the multiple address information is parsed from the selected multiple candidate images, then each of the multiple address information is displayed on its respective candidate image.
[0162] The first generation submodule is configured to generate a target address list based on the selection operation of the multiple address information by the operation object.
[0163] In this optional implementation, to avoid potential inaccuracies in the address information parsed from candidate images, each of the multiple parsed address information can be displayed on its corresponding candidate image. For example, if the text content in a candidate image includes address information, the address information can be displayed around the corresponding text content; or if part of the image content in a candidate image involves a building image corresponding to the address information, the address information can be displayed around the building image. In some embodiments, the multiple address information can be parsed from the same candidate image or from multiple different candidate images. If the multiple address information is parsed from the same candidate image, that candidate image is displayed, and the multiple address information is simultaneously displayed on that candidate image. If the multiple address information is parsed from multiple candidate images, all multiple candidate images are displayed simultaneously, and the multiple address information is displayed on their respective corresponding candidate images. For example, if two address information A and B are parsed, address information A is parsed from candidate image a, and address information B is parsed from candidate image b, then candidate images a and b can be displayed simultaneously, with address information A displayed on candidate image a and address information B displayed on candidate image b.
[0164] Address information can be optionally displayed on the corresponding candidate images, allowing the user to select the address of interest from multiple options. This selection generates a target address list, which can include target addresses. To improve address generation efficiency, the user can select multiple address information, generating a target address list with multiple target addresses at once, each corresponding to one address.
[0165] In some embodiments, the target address can be at least one of the following: an address that the user wants to save, an address used for navigating the user's route, an address that the user wants to rate, a relevant address in a video tutorial the user is watching, or an address mentioned in a guide message the user wants to view. Correspondingly, candidate images can also include at least one of the following: a map of a region including various attractions, a regional map containing at least a start point and an end point, a video tutorial for a specific point of interest (POI), etc.
[0166] Since electronic devices can parse a batch of address information at once, in order to improve the efficiency of address generation, the operating object can also select multiple address information of interest from a batch of address information, thereby enabling the electronic device to generate multiple target addresses in batches at once.
[0167] In an optional implementation of this embodiment, the display module 401 includes:
[0168] The calling submodule is configured to retrieve images from the local photo album by calling the local device's local photo album interface;
[0169] The second display submodule is configured to display images from the local photo album as candidate images on the display interface of the target application.
[0170] In this optional implementation, the local photo album has an interface that can be called by other applications. After detecting that the operating object is performing an address selection operation in the target application, the electronic device can obtain the images in the local photo album by calling this interface, and display these images as candidate images in the display interface of the target application, allowing the operating object to select the candidate images to be parsed. In some embodiments, if a video is obtained from the local photo album through the local photo album interface, the video can be decomposed into multiple frames before being displayed on the display interface of the target application.
[0171] In an optional implementation of this embodiment, the first display submodule includes:
[0172] The second generation submodule is configured to generate multiple corresponding interactive controls based on the parsed multiple address information;
[0173] The third display submodule is configured to simultaneously display the multiple interactive controls on the selected candidate images, so that the operation object can select the multiple address information through the multiple interactive controls; wherein, if the multiple address information is parsed from the selected multiple candidate images, then the multiple interactive controls are each displayed on the corresponding candidate image.
[0174] In this optional implementation, after parsing multiple address information entries, each parsed address can be displayed in its corresponding candidate image. The address information can be displayed using interactive controls, with the number of interactive controls matching the number of parsed address information entries.
[0175] In some embodiments, for each parsed address information, a corresponding interactive control can be generated at the location where the address information is to be displayed. The content displayed by the interactive control can be set to the address information, so that while displaying the candidate image, the interactive control is also displayed on the candidate image. The interactive control can be selected or deselected. The operation object can perform the operation of selecting or deselecting the address information by clicking or clicking the interactive control again.
[0176] In some embodiments, the location where the address information is to be displayed can be determined based on the location of the image content on the candidate image from which the address information is parsed.
[0177] As mentioned above, the multiple address information can be parsed from the same candidate image or from multiple different candidate images. If the multiple address information is parsed from the same candidate image, that candidate image is displayed, and the interactive controls corresponding to the multiple address information are also displayed on that candidate image. If the multiple address information is parsed from multiple candidate images, all multiple candidate images are displayed simultaneously, and the interactive controls corresponding to the multiple address information are displayed on their respective candidate images. For example, if two address information A and B are parsed, address information A is parsed from candidate image a, and address information B is parsed from candidate image b, then candidate images a and b can be displayed simultaneously, with the interactive controls corresponding to address information A displayed on candidate image a, and the interactive controls corresponding to address information B displayed on candidate image b.
[0178] In an optional implementation of this embodiment, the first generation submodule includes:
[0179] The first determining submodule is configured to determine the selected address information based on the selection operation of the multiple address information by the operation object;
[0180] The third generation submodule is configured to generate a target address list based on the selected address information and preset location matching data after detecting the address generation operation of the operation object.
[0181] In this optional implementation, since the parsed address information can be displayed on the corresponding candidate image as an interactive control, the user can further select or deselect the address information of interest by triggering the interactive control. When the triggering operation is a selection operation, the address information corresponding to the interactive control is selected. In some embodiments, the selection operation can be a single click operation, and clicking again deselects the selected address information.
[0182] In some embodiments, when an object clicks on an interactive control corresponding to the address information, the color of the interactive control changes. For example, when the interactive control is selected, its displayed color becomes more vibrant and / or brighter. When the interactive control is deselected, its displayed color reverts to a less vibrant color and / or dimmer.
[0183] In some embodiments, an address generation control may also be displayed in the interface used to display interactive controls corresponding to address information. When an object operates on the address generation control, an address generation operation is triggered, causing the electronic device to generate a target address list including target addresses based on the address information selected by the object and preset location matching data. In some embodiments, the preset location matching data may include a mapping relationship between location keywords and specific addresses. The location keywords may include POI names, and the specific addresses may include POI locations. Target addresses may include POI locations. For example, based on the location keywords, such as POI names, included in the address information, a specific address, such as a POI location, corresponding to the location keywords can be obtained from the preset location matching data. This specific address is then used as the target address corresponding to the address information, and the target address is added to the target address list. Objects can often select multiple addresses of interest at once through a selection operation, thereby generating a target address list containing multiple target addresses in batches, improving address generation efficiency.
[0184] In an optional implementation of this embodiment, before the third generation submodule, the apparatus further includes:
[0185] The deletion module is configured to delete the cancelled address information from the selected address information after detecting that the operation object has cancelled the operation on the selected address information.
[0186] In this optional implementation, as previously described, the user can select or deselect address information of interest by triggering an interactive control. When the triggering operation is a deselection operation, the address information corresponding to the interactive control is deselected. In some embodiments, if the interactive control is selected, clicking the interactive control again will deselect the address information.
[0187] In an optional implementation of this embodiment, the parsing module 402 includes a combination of one or more of the following sub-modules:
[0188] The first parsing submodule is configured to parse text content from the selected candidate image and determine the multiple address information by performing natural language processing on the text content;
[0189] The second parsing submodule is configured to match the selected candidate image with the stored image of the associated address information, and determine the multiple address information based on the matching result.
[0190] In this optional implementation, when the operating object selects at least one candidate image through a selection operation, the electronic device can parse the address information of each selected candidate image. For any selected candidate image, the electronic device can parse the address information in the selected candidate image using any one or a combination of the following two methods.
[0191] One approach involves using optical character recognition (OCR) technology to identify text content within a selected candidate image when such text is present. This allows for the extraction of at least one line of text from the selected candidate image. OCR technology can be understood as the process by which an electronic device determines the shape of characters in a selected candidate image by detecting dark and light patterns, and then translates these shapes into computer text using character recognition methods.
[0192] For any given piece of text content, it may or may not contain a POI name, or the text content may be a descriptive statement containing at least one POI name. Therefore, in order to accurately parse the address information in the selected candidate images, natural language processing (NLP) techniques can be used to extract the POI names from the text content recognized by OCR technology. The extracted POI names can then be used as address information. Specifically, NLP techniques can extract POI names from text content using specific rule-based strategies.
[0193] When at least one candidate image containing multiple POI names is selected as the target of the operation, multiple address information can be parsed in batches using OCR technology and natural language processing technology, thereby improving the address generation efficiency.
[0194] Another approach, when the selected candidate images do not contain text content but only image features of the Point of Interest (POI), is to match the selected candidate images with stored images containing associated address information in the electronic device. The target stored image is then identified from these stored images, and the address information associated with that target stored image is used as the parsed address information. Specifically, the similarity between the image features contained in the target stored image and the image features contained in the selected candidate images must be greater than or equal to a preset threshold.
[0195] In some embodiments, the address information associated with a stored image may include the POI name corresponding to the image features contained in the stored image.
[0196] When the user selects at least one candidate image containing multiple image features, this method can batch parse multiple address information, improving address generation efficiency. Correspondingly, the user can quickly identify the specific geographical structures displayed in the selected candidate images, enhancing the user experience.
[0197] Another approach is to use OCR and natural language processing techniques to extract address information from candidate images when the selected candidate images contain both text content and POI image features. At the same time, the candidate image can be matched with stored images with associated address information in the electronic device to determine the target stored image, and the address information associated with the target stored image can be used as the extracted address information.
[0198] In some embodiments, the operation object can specify an image recognition method, i.e., whether to use OCR technology for text recognition or to match the stored image with associated address information to obtain the address information. In other embodiments, the operation object may not specify an image recognition method, but may use a default recognition method or a combination of both methods.
[0199] In an optional implementation of this embodiment, the address selection operation is detected on the corresponding page of a preset function of the target application; the device further includes:
[0200] The associated display module is configured to associate the target addresses in the target address list with the address details page in the target application, and display the details page jump links of the target addresses and operation controls to return to the corresponding page of the preset function in the form of an optional list;
[0201] The address determination module is configured to determine the selected address based on the selection operation of the detail page jump link in the optional list by the operation object;
[0202] The return module is configured to return to the corresponding page of the preset function with the selected address when the operation object is detected to operate the operation control.
[0203] In this optional implementation, the user performs an address selection operation on the corresponding page of a preset function on the target application. After the electronic device generates a target address list, it can further display the target addresses in the target address list for the user to select. After the user selects the target address, it can return to the corresponding page of the preset function, and then implement the preset function based on the selected target address on the corresponding page of the preset function.
[0204] In some embodiments, the target application can pre-set detail pages corresponding to various POI addresses, such as detail pages for each POI address in an electronic map application. These detail pages may include, but are not limited to, detailed information such as the POI address's location, phone number, business hours, reviews, and group-buying deals. After generating a target address list based on the address information selected by the operation object, for each target address in the target address list, the corresponding detail page can be retrieved from the target application based on the target address, and the detail page jump links for the target addresses can be displayed on the target application's display interface in the form of an optional list. Furthermore, the display interface can also display operation controls for returning to the corresponding page of a preset function. Clicking the detail page jump link for the target address will redirect to the target address's detail page, where detailed information about the target address will be displayed.
[0205] In some embodiments, the target address is displayed as an optional list. The user can select the target address from this list by making a selection operation, which can be either selecting or deselecting the target address, rather than selecting a link to the target address's details page. In some embodiments, an optional control can be placed near the details page link, allowing the user to select or deselect the target address by clicking the optional control.
[0206] It is understandable that the user can be redirected to the details page of the target address by clicking the link to view detailed information about the target address, and can select or deselect the target address by clicking the optional control corresponding to the target address.
[0207] In some embodiments, when multiple target addresses are displayed through an optional list, the target addresses can be displayed as a movable control. Users can drag and drop the movable control within the optional list to adjust its position or order within the list, based on their preferences.
[0208] In some embodiments, when multiple target addresses are displayed in the form of an optional list, the electronic device may also display multiple target addresses according to preset rules. For example, multiple target addresses may be displayed in the optional list according to rules such as rating from high to low or distance from the target to be operated on.
[0209] As described above, the user can trigger an address selection operation on a pre-defined page of a target application's preset function through a pre-defined operation. The target application then parses address information from candidate images selected by the user based on this address selection operation, generates a target address list based on the user's address selection, and displays the target addresses in the selectable list. After the user selects all or part of the target addresses in the selectable list, they can return to the corresponding page of the preset function, where they can perform corresponding operations based on the selected target addresses. Therefore, in addition to displaying a link to the target address details page in the selectable list on the target application's display interface, a control can also be displayed to return to the corresponding page of the preset function. By clicking this control, the user can return to the corresponding page of the preset function, and the selected target address will also be carried back to that page, allowing for corresponding operations based on that target address. After obtaining the target address through the address selection operation on the corresponding page of the preset function using the address generation method described above, the user can then perform corresponding functions based on that target address on that page. For example, if the preset function is a favorites function, after obtaining the target address using the method described above, the target address can be saved on the corresponding page of the favorites function. For example, the user can create a new favorites folder and save the obtained target address in that new folder. As another example, if the preset function is a route navigation function, after obtaining the target address, based on the user's actions, two of the addresses can be used as the start and destination addresses, while the other addresses are used as waypoints, generating a corresponding navigation path and providing navigation services to the user.
[0210] In an optional implementation of this embodiment, the details page redirection link of the target address is implemented as a draggable control; the device further includes:
[0211] The drag-and-drop module is configured to, in response to a drag-and-drop operation on a details page jump link of the target address, adjust the order of the details page jump links in the optional list according to the drag-and-drop operation;
[0212] The return module can be implemented as follows:
[0213] If an operation on the control is detected by the operation object, the corresponding page of the preset function is returned, carrying the selected address and the order relationship between the selected addresses.
[0214] In this optional implementation, when the user selects multiple target addresses from the selectable list, the selected target addresses can be sorted so that the preset function can be implemented according to this sorting after returning to the corresponding page of the preset function. To this end, the details page jump links of the target addresses can be implemented as draggable controls. The user can adjust the order of the details page jump links corresponding to multiple target addresses in the selectable list by dragging and dropping these draggable controls.
[0215] For example, when the default function is navigation, after selecting multiple target addresses from the list and determining the starting address, waypoints, and destination address, the user can drag the starting address to the front, followed by the waypoints and destination addresses. Upon returning to the corresponding navigation page, in addition to returning the selected starting address, waypoints, and destination address, the order of these addresses is also displayed on the navigation page, allowing the navigation function to plan a path for the user based on this order. As another example, when the default function is video tutorial, after selecting multiple target addresses from the list, the user can drag and sort the addresses according to their level of interest, placing the most interesting addresses at the front and the least interesting at the back. Upon returning to the corresponding video tutorial page, the tutorial can prioritize explaining the most interesting address based on this order.
[0216] In an optional implementation of this embodiment, the apparatus further includes:
[0217] The details display module is configured to display the address details page corresponding to the details page jump link when the operation object clicks the details page jump link.
[0218] In this optional implementation, displaying a link to the target address's details page on the target application allows the target application to respond to the click by clicking this link, redirecting to the details page and displaying it on the target application's interface. The user can then access the details page to learn about the target address and decide whether to select it, returning to the corresponding page for the desired function.
[0219] In an optional implementation of this embodiment, the apparatus further includes at least one of the following:
[0220] The favorites module is configured to, when the preset function is the address favorites function, return to the corresponding page of the address favorites function and favorite the selected address based on the operation of the operation object on the corresponding page of the address favorites function.
[0221] The navigation module is configured to, when the preset function is navigation, return to the corresponding page of the navigation function, and based on the operation of the operation object on the corresponding page of the navigation function, provide the operation object with a path and / or navigation service to the selected address;
[0222] The information guide module is configured to, when the preset function is the information guide function, return to the corresponding page of the information guide function and, based on the operation of the object on the corresponding page of the information guide function, display guide information related to the selected address;
[0223] The information evaluation module is configured to, when the preset function is the information evaluation function, return to the corresponding page of the information evaluation function, and then, based on the operation of the operation object on the corresponding page of the information evaluation function, display the evaluation editing page of the selected address;
[0224] The video explanation module is configured to, when the preset function is video explanation, return to the corresponding page of the video explanation function and, based on the operation of the user on the corresponding page of the video explanation function, display relevant information about the selected address involved in the video.
[0225] In this optional implementation, as described above, the preset functions of the target application may include at least one or more combinations of the following: address bookmarking function, navigation function, information guide function, information evaluation function, or video tutorial function. Therefore, when the user returns to the corresponding page of the preset function through operation of the operation control, the corresponding preset function can be implemented through operation on the corresponding page of the preset function.
[0226] In some embodiments, when the preset function is an address bookmarking function, the corresponding page returned for the preset function can be a bookmarking subpage for bookmarking the selected target address. This bookmarking subpage may include an address selection control that triggers the address selection operation. By performing corresponding operations on this bookmarking subpage, the selected target address can be bookmarked.
[0227] In some embodiments, when the preset function is a navigation function, the corresponding page of the returned preset function can be a navigation subpage that navigates to the selected target address. This navigation subpage may include an address selection control that triggers the address selection operation. By performing corresponding operations on this navigation subpage, the function of generating a navigation path including the target address and the function of navigating based on this navigation path can be realized. The starting address and destination address in the navigation path can be two of the target addresses specified by the operation object, while the other target addresses can be waypoints on the navigation path.
[0228] In some embodiments, when the preset function is an information guide function, the corresponding page returned for the preset function can be an information guide subpage for viewing guide information for the selected target address. By performing corresponding operations on this information guide subpage, the information guide for the selected target address can be displayed for the user to view. In this embodiment, the user does not need to manually enter and query the target addresses one by one to view the information guides for multiple target addresses; instead, they can simply select multiple target addresses on the information guide subpage to view the information guides for each target address.
[0229] In some embodiments, when the preset function is the information evaluation function, the corresponding page returned for the preset function can be an information evaluation subpage for evaluating the selected target address. By performing corresponding operations on this information evaluation subpage, the selected target address can be evaluated. Through this embodiment, the user can perform batch evaluations of multiple target addresses, eliminating the need to manually input and query each target address individually before evaluating them. Instead, multiple target addresses can be selected on the information evaluation subpage to open the evaluation page for evaluation.
[0230] In some embodiments, when the preset function is a video explanation function, the corresponding page of the returned preset function can be a video explanation subpage for viewing the explanation video of the selected target address. By performing corresponding operations on this video explanation subpage, users can watch the explanation video while simultaneously viewing information related to the explanation video by clicking on one of the multiple target addresses displayed on the page. For example, when watching an explanation video of the Palace Museum, users can search for multiple Palace Museum attractions mentioned in the video using the above method. After returning to the video explanation subpage, multiple Palace Museum attraction names can be displayed at the bottom of the video explanation subpage. Users can then click on the Palace Museum attraction names at the bottom of the page to learn about the text descriptions and other detailed information of the attractions mentioned in the video while watching the explanation video.
[0231] It should be noted that the naming of each control and the triggering operation of each control mentioned above are merely illustrative examples. Those skilled in the art can name each control and set the specific form of triggering each control according to actual needs. This disclosure does not limit this.
[0232] The address generation device in this embodiment corresponds to the address generation method described above. For details, please refer to the description of the address generation method above, which will not be repeated here.
[0233] Figure 5 This is a schematic diagram of the structure of an electronic device suitable for implementing the address generation method according to an embodiment of the present disclosure.
[0234] like Figure 5 As shown, the electronic device 500 includes a processing unit 501, which can be implemented as a CPU, GPU, FPGA, NPU, or other processing unit. The processing unit 501 can execute various processes according to any of the methods described above in this disclosure, based on a program stored in the read-only memory (ROM) 502 or a program loaded from the storage portion 508 into the random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0235] The following components are connected to I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O interface 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 510 as needed so that computer programs read from it can be installed into storage section 508 as needed.
[0236] In particular, according to embodiments of this disclosure, any of the methods described above in the embodiments of this disclosure can be implemented as a computer software program. For example, embodiments of this disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program containing program code for performing any of the methods in the embodiments of this disclosure. In such an embodiment, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511.
[0237] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0238] The units or modules described in the embodiments of this disclosure can be implemented in software or hardware. The described units or modules can also be located in a processor, and the names of these units or modules do not necessarily constitute a limitation on the unit or module itself.
[0239] In another aspect, this disclosure also provides a computer-readable storage medium, which may be a computer-readable storage medium included in the apparatus described in the above embodiments; or it may be a standalone computer-readable storage medium not assembled into a device. The computer-readable storage medium stores one or more programs that are used by one or more processors to perform the methods described in this disclosure.
[0240] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
Claims
1. An address generation method, wherein, include: In response to the operation object's address selection operation on the target application, one or more candidate images are obtained and the candidate images are displayed on the display interface of the target application. After detecting that the operation object has selected at least one of the candidate images, multiple address information is parsed from the selected candidate image; Based on the parsed multiple address information, multiple corresponding interactive controls are generated, and the multiple interactive controls are simultaneously displayed on the selected candidate images, so that the operation object can select the multiple address information through the multiple interactive controls; wherein, if the multiple address information is parsed from the selected multiple candidate images, then each of the multiple interactive controls is displayed on the corresponding candidate image. Generate a target address list based on the multiple address information; The process involves parsing multiple address information from the selected candidate images, including one or more combinations of the following: The text content is parsed from the selected candidate images, and the multiple address information is determined by performing natural language processing on the text content; The selected candidate image is matched with the stored image with associated address information, and the multiple address information is determined based on the matching results.
2. The method according to claim 1, wherein, A target address list is generated based on the multiple address information, including: The parsed address information is simultaneously displayed on the selected candidate images; wherein, if the address information is parsed from the selected candidate images, the address information is displayed on the corresponding candidate image. Based on the selection operation of the multiple address information by the operation object, a target address list is generated.
3. The method according to claim 2, wherein, Based on the selection operation of the multiple address information by the operation object, a target address list is generated, including: Based on the selection operation of the operation object on the multiple address information, the selected address information is determined; After detecting the address generation operation of the operation object, a target address list is generated based on the selected address information and preset location matching data.
4. The method according to claim 3, wherein, Before generating a target address list based on the selected address information and preset location matching data after detecting the address generation operation of the operation object, the method further includes: After detecting that the operation object has cancelled the selected address information, the cancelled address information is deleted from the selected address information.
5. The method according to any one of claims 1-4, wherein, The address selection operation is detected on the corresponding page of the preset function of the target application; the method further includes: The target addresses in the target address list are associated with the address details page in the target application, and the details page jump links of the target addresses and the operation controls to return to the corresponding page of the preset function are displayed in the form of an optional list. Based on the operation of the operation object to select the details page jump link in the optional list, the selected address is determined; When an operation is detected on the control by the object being operated, the corresponding page of the preset function is returned with the selected address.
6. The method according to claim 5, wherein, The link to the details page of the target address is implemented as a draggable control; the method also includes: In response to a drag operation on the details page jump link of the target address, the order of the details page jump links in the optional list is adjusted according to the drag operation; When an operation on the control is detected, the corresponding page of the preset function is returned with the selected address, including: If an operation on the control is detected by the operation object, the corresponding page of the preset function is returned, carrying the selected address and the order relationship between the selected addresses.
7. The method according to claim 5, wherein, The method further includes at least one of the following: When the preset function is the address bookmarking function, after returning to the corresponding page of the address bookmarking function, the selected address is bookmarked based on the operation of the operation object on the corresponding page of the address bookmarking function; When the preset function is navigation, after returning to the corresponding page of the navigation function, based on the operation of the user on the corresponding page of the navigation function, provide the user with a path and / or navigation service to the selected address; When the preset function is the information guide function, after returning to the corresponding page of the information guide function, guide information related to the selected address is displayed based on the operation of the operation object on the corresponding page of the information guide function. When the preset function is the information evaluation function, after returning to the corresponding page of the information evaluation function, the evaluation editing page of the selected address is displayed based on the operation of the operation object on the corresponding page of the information evaluation function. When the preset function is the video explanation function, after returning to the corresponding page of the video explanation function, based on the operation of the user on the corresponding page of the video explanation function, the relevant information of the selected address involved in the video is displayed.
8. An address generation device, wherein, include: The display module is configured to, in response to an operation object's address selection operation on the target application, acquire one or more candidate images and display the candidate images on the display interface of the target application. The parsing module is configured to parse multiple address information from the selected candidate image after detecting that the operation object has selected at least one of the candidate images; The control generation module is configured to generate multiple corresponding interactive controls based on the parsed multiple address information, and simultaneously display the multiple interactive controls on the selected candidate images, so that the operation object can select the multiple address information through the multiple interactive controls; wherein, if the multiple address information is parsed from the selected multiple candidate images, then each of the multiple interactive controls is displayed on the corresponding candidate image. The generation module is configured to generate a target address list based on the multiple address information; The parsing module includes a combination of one or more of the following sub-modules: The first parsing submodule is configured to parse text content from the selected candidate image and determine the multiple address information by performing natural language processing on the text content; The second parsing submodule is configured to match the selected candidate image with the stored image of the associated address information, and determine the multiple address information based on the matching result.
9. An electronic device, wherein, It includes a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the method of any one of claims 1-7.
10. A computer-readable storage medium having stored thereon computer instructions, wherein, When executed by a processor, the computer instructions implement the method of any one of claims 1-7.
11. A computer program product comprising computer instructions, wherein, When executed by a processor, the computer instructions implement the method described in any one of claims 1-7.
Citation Information
Patent Citations
Path navigation method and device
CN101726311A
Method for automatically extracting address and searching map
CN101996253A
Geographic location information identification method and device and terminal
CN106776777A