Address verification method and device and electronic equipment
By obtaining geographical information of the destination address and recommended address in the electronic device and performing address verification, the problem of deviation when users select addresses is solved, and the travel operation flexibility and accuracy of electronic devices are improved.
Patent Information
- Application Number
- CN202411665186.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-11
AI Technical Summary
When users choose the address recommended by the map software, they are not familiar with the specific address of the destination or cannot distinguish similar addresses, resulting in the deviation of the selected address and cannot meet the user's travel needs. The navigation or taxi-hailing operations of electronic devices are not flexible enough.
By obtaining the geographical information corresponding to the destination address information, and obtaining the geographical information corresponding to the recommended address when the user selects the address, performing address verification operations, and determining whether the two geographical information matches to determine whether the addresses are consistent.
It improves the flexibility of electronic devices to perform travel operations required by users through map software, ensuring that navigation or taxi-hailing operations can accurately meet users' destination needs.
Smart Images

Figure CN119598038A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to an address verification method, device, and electronic equipment. Background Art
[0002] With the rapid development of technology and the popularity of smart phones, more and more users have begun to frequently use applications that include map functions (hereinafter referred to as map software), such as navigation applications and taxi applications. These applications are widely used in various scenarios such as navigation, taxi hailing, and real-time traffic information query.
[0003] Currently, a user can search for a destination from a web page or an application software to obtain a specific destination address, then copy the destination address and input the destination address into a map software. The map software can make address recommendations based on the destination address. After the user selects an address, the electronic device performs navigation or taxi operations through the map software.
[0004] However, in the above method, when the user selects an address from the addresses recommended by the map software, the address selected by the user may deviate from the required destination address due to unfamiliarity with the specific address of the destination or inability to distinguish similar addresses, resulting in the electronic device directly navigating or ordering a taxi based on the address selected by the user, which will not meet the user's travel needs. In this way, the electronic device is not flexible enough to perform travel operations required by users through application software containing map functions. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide an address verification method, device, and electronic device, which can improve the flexibility of the electronic device in performing travel operations required by users.
[0006] In a first aspect, an embodiment of the present application provides an address verification method, the method comprising: based on destination address information in a first application, obtaining first geographic information corresponding to the destination address information; upon receiving the destination address information input into a second application, based on the first address information, obtaining second geographic information corresponding to the first address information, the first address information being address information recommended by the second application based on the destination address information; and performing an address verification operation based on the first geographic information and the second geographic information.
[0007] In a second aspect, an embodiment of the present application provides an address verification device, which includes: an acquisition module and a processing module. The acquisition module is used to acquire first geographic information corresponding to the destination address information based on the destination address information in the first application. The acquisition module is also used to acquire second geographic information corresponding to the first address information based on the first address information when receiving the destination address information input into the second application, wherein the first address information is an address information recommended by the second application based on the destination address information. The processing module is used to perform an address verification operation based on the first geographic information and the second geographic information acquired by the acquisition module.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0012] In an embodiment of the present application, based on the destination address information in the first application, the first geographic information corresponding to the destination address information can be obtained, the destination address information can be input into the second application, the first address information can be obtained after recommendation based on the destination address information in the second application, and the second geographic information corresponding to the first address information can be obtained, and then the address verification operation can be performed based on the first geographic information and the second geographic information. In this solution, since the geographic information corresponding to the destination address of the user's travel needs can be obtained from the first application, and the geographic information corresponding to the address information related to the destination address can be obtained from the second application, and then the two geographic information are compared to perform the address verification operation, that is, by judging whether the two geographic information match, it is judged whether the address information recommended in the second application meets the user's travel needs. In this way, the electronic device does not directly navigate or order a taxi based on the address recommended in the second application, but first judges whether the address recommended in the second application is consistent with the required destination address, and then performs further operations, which improves the flexibility of the electronic device to perform travel operations required by the user through the map software. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is one of the flow charts of the address verification method provided in the embodiment of the present application;
[0014] Figure 2 is a schematic diagram of the interface of the browser application provided in the embodiment of the present application;
[0015] Figure 3 This is one of the interface diagrams of the taxi-hailing application provided in the embodiment of the present application;
[0016] Figure 4 This is the second interface diagram of the taxi-hailing application provided in the embodiment of the present application;
[0017] Figure 5 This is one of the interface diagrams of the navigation application provided in the embodiment of the present application;
[0018] Figure 6 This is the second flowchart of the address verification method provided in the embodiment of the present application;
[0019] Figure 7 This is the third flowchart of the address verification method provided in the embodiment of the present application;
[0020] Figure 8 This is the second interface diagram of the navigation application provided in the embodiment of the present application;
[0021] Fig. 9 This is the fourth flowchart of the address verification method provided in the embodiment of the present application;
[0022] Fig.10 This is the fifth flowchart of the address verification method provided in the embodiment of the present application;
[0023] Fig.11 This is the sixth flowchart of the address verification method provided in the embodiment of the present application;
[0024] Fig.12 is a schematic diagram of an address verification device provided in an embodiment of the present application;
[0025] Fig.13 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0026] Fig.14 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0028] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0029] The terms "at least one (item)", "at least one of" and the like in this application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".
[0030] The address verification method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0031] The embodiments of the present application can be applied to scenarios where users use electronic devices to perform required travel operations, such as scenarios where users use electronic devices to navigate or order a taxi to reach a required destination.
[0032] Currently, in the existing technology, a user can search for a destination from a web page or an application software to obtain a specific destination address, then copy the destination address and input the destination address into a map software. The map software can make address recommendations based on the destination address. After the user selects an address, the electronic device performs navigation or taxi operations through the map software.
[0033] For example, user A wants to use a mobile phone to navigate to shopping mall A. User A first searches for shopping mall A on the web, obtains and copies the specific address A of shopping mall A, and enters the address A into the navigation application software. The navigation application software can recommend addresses based on the address A. After user A selects an address again from the recommended addresses, the mobile phone directly navigates for user A through the navigation application software based on the selected address.
[0034] For another example, driver A receives a taxi order from passenger A to community A through a taxi application. After passenger A gets in the car, driver A enters an address in the navigation application. Based on the entered address, the mobile phone directly navigates for driver A through the navigation application.
[0035] However, in the above method, when the user selects an address from the addresses recommended by the map software, the address selected by the user may deviate from the required destination address due to unfamiliarity with the specific address of the destination or inability to distinguish similar addresses, resulting in the electronic device directly navigating or ordering a taxi based on the address selected by the user, which will not meet the user's travel needs. In this way, the electronic device is not flexible enough in executing the travel operation required by the user through the map software.
[0036] For example, the above-mentioned user A wants to use the mobile phone to navigate to shopping mall A. When user A selects the address again from the addresses recommended by the navigation application software, because user A is not familiar with the specific address of shopping mall A, the final address determined is the address of shopping mall B, which is inconsistent with the address of shopping mall A required by user A. Based on the selected address, the mobile phone directly navigates for user A through the navigation application software, resulting in the address that user A actually arrives at is shopping mall B, which cannot meet the travel needs of user A to reach shopping mall A.
[0037] For another example, the driver A receives a taxi order from passenger A to community A through a taxi application. Driver A enters an address in the navigation application, which is not the address of community A, and passenger A is unaware of this. Based on the entered address, the mobile phone directly navigates for driver A through the navigation application, resulting in passenger A actually arriving at something other than community A. This fails to meet passenger A's travel needs to reach community A and poses certain safety risks.
[0038] However, in an embodiment of the present application, the electronic device does not directly navigate or order a taxi based on the address recommended in the second application, but instead obtains first geographic information corresponding to the destination address information and second geographic information corresponding to the first address information, and then performs an address verification operation based on the first geographic information and the second geographic information.
[0039] The following is an illustrative description of the address verification method provided in the embodiments of the present application using some specific scenarios as examples.
[0040] Scenario 1: User A wants to use mobile phone navigation to reach shopping mall A.
[0041] User A first searches for address A of shopping mall A in an application, and a first map card corresponding to address A of shopping mall A is displayed in the application. When the mobile phone receives the copy of address A by user A, the mobile phone takes a screenshot of the first geographic area contained in the first map card to obtain a first image, and obtains first geographic information from the first image; address A is input into the navigation application, and user A selects an address from the addresses recommended by the navigation application and confirms it. Then, based on the address confirmed by user A, a second map card corresponding to the address is displayed in the navigation application, and the mobile phone takes a screenshot of the second geographic area contained in the second map card to obtain a second image, and obtains second geographic information from the second image; then the mobile phone performs an address verification operation based on the first geographic information and the second geographic information to determine whether the first geographic information matches the second geographic information, and then determines whether the address confirmed by user A in the navigation application matches address A that user A needs to reach, and then performs further operations.
[0042] Scenario 2: Driver A receives a taxi order from passenger A to community A through a taxi app.
[0043] Driver A first checks address B of community A in the taxi-hailing application, which displays a first map card corresponding to address B of community A. The mobile phone takes a screenshot of the first geographic area contained in the first map card to obtain a first image, and obtains first geographic information from the first image. After driver A enters an address in the navigation application and confirms it, a second map card corresponding to the address is displayed in the navigation application based on the address confirmed by driver A. The mobile phone takes a screenshot of the second geographic area contained in the second map card to obtain a second image, and obtains second geographic information from the second image. The mobile phone then performs an address verification operation based on the first geographic information and the second geographic information to determine whether the first geographic information matches the second geographic information, and then determines whether the address confirmed by driver A in the navigation application matches address B that passenger A needs to reach, and then performs further operations.
[0044] It should be noted that the above-mentioned scenarios 1 and 2 are merely illustrative examples of some scenarios in which the embodiments of the present application may be applied. In actual implementation, the embodiments of the present application can also be applied to any possible scenarios of more travel-related scenarios, and the embodiments of the present application are not limited here.
[0045] Based on the above scenario applied by the embodiment of the present application, the address verification method provided by the embodiment of the present application can obtain the first geographic information corresponding to the destination address information based on the destination address information in the first application, input the destination address information into the second application, obtain the first address information after recommendation based on the destination address information in the second application, and then obtain the second geographic information corresponding to the first address information, and then perform the address verification operation based on the first geographic information and the second geographic information. In this solution, since the geographic information corresponding to the destination address of the user's travel needs can be obtained from the first application, and the geographic information corresponding to the address information related to the destination address can be obtained from the second application, and then the two geographic information are compared to perform the address verification operation, that is, by judging whether the two geographic information match, it is judged whether the address information recommended in the second application meets the user's travel needs. In this way, the electronic device does not directly navigate or order a taxi according to the address recommended in the second application, but first judges whether the address recommended in the second application is consistent with the required destination address, and then performs further operations, which improves the flexibility of the electronic device to perform travel operations required by the user through the map software.
[0046] The address verification method provided in the embodiment of the present application may be executed by an address verification device, which may be an electronic device, or a functional module or functional entity in the electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.
[0047] Figure 1FIG. 1 is a flow chart of an address verification method provided by an embodiment of the present application. Figure 1 As shown, the address verification method provided in the embodiment of the present application may include the following steps 201 to 203.
[0048] Step 201: The electronic device obtains first geographic information corresponding to the destination address information based on the destination address information in the first application.
[0049] In the embodiment of the present application, the first application at least includes a map data display function and allows the user to input or select the destination address information.
[0050] It should be noted that the above-mentioned map data display function means that the first application can display the destination address and the corresponding surrounding geographical area in the form of a map.
[0051] Optionally, in an embodiment of the present application, the above-mentioned first application may include but is not limited to at least one of the following: a browser application, a taxi application, and an instant messaging application.
[0052] For example, if a user searches for an address in a browser application, the browser application can display the address and the corresponding surrounding geographic area in the form of a map.
[0053] For example, if a user searches for an address in a taxi-hailing application, the taxi-hailing application can display the address and the corresponding surrounding geographic area in the form of a map.
[0054] For example, if an electronic device receives a location sharing message through an instant messaging application, the instant messaging application may display the address corresponding to the location sharing message and the surrounding geographic area corresponding to the address in the form of a map.
[0055] In the embodiment of the present application, the above-mentioned destination address information is the specific address information of the destination required by the user.
[0056] Optionally, in an embodiment of the present application, the above-mentioned destination address information may be address information entered by the user in the interface of the first application.
[0057] Optionally, in an embodiment of the present application, the above-mentioned destination address information may be address information set by the user by selecting a map mark in the interface of the first application.
[0058] Optionally, in an embodiment of the present application, the above-mentioned destination address information may include but is not limited to at least one of the following: a specific address, a place name or a scenic spot name, and longitude and latitude coordinates.
[0059] Exemplarily, the destination address information may be a specific address, for example, No. A, Street A, District A, City A.
[0060] Exemplarily, the destination address information may be a place name or a scenic spot name. For example, the destination address information may be Park A.
[0061] Exemplarily, the destination address information may be longitude and latitude coordinates. For example, the destination address information may be (a°N, b°W).
[0062] Optionally, in an embodiment of the present application, the form of the first geographic information may include but is not limited to at least one of the following: text form, image form.
[0063] Optionally, in an embodiment of the present application, the above-mentioned first geographic information may include but is not limited to at least one of the following: the map shape corresponding to the above-mentioned destination address information, the map mark within the first range of the destination address information, the altitude of the geographical area corresponding to the destination address information, and the traffic condition information within the second range of the destination address information.
[0064] For example, the electronic device is a mobile phone, and the first application is a browser application. Figure 2 As shown, the mobile phone displays the interface 20 of the browser application, which includes the shopping mall A21 (i.e., the destination address information). Based on the address information of the shopping mall A21, the mobile phone obtains the first geographic information corresponding to the address information, such as the map shape corresponding to the shopping mall A21 (such as a combination of a rectangle and a circle), the map marks around the shopping mall A21 (such as park a, river a, bus stop a marks), and the traffic conditions information around the shopping mall A21 (such as under construction, road closed).
[0065] For example, the electronic device is a mobile phone, and the first application is a taxi-hailing application. Figure 3 As shown, the mobile phone displays the interface 30 of the taxi-hailing application, and the interface 30 of the taxi-hailing application includes the community A31 (i.e., the destination address information). Based on the address information of the community A31, the mobile phone obtains the first geographic information corresponding to the address information, such as the map shape corresponding to the community A31 (such as a rectangle), the map marks around the community A31 (such as hospital a, school a, bus stop b marks), and the traffic condition information around the community A31 (such as smooth).
[0066] It should be noted that, when the above-mentioned first geographic information is in the form of an image, the map shape corresponding to the above-mentioned destination address information, the map mark within the first range of the destination address information, the altitude of the geographical area corresponding to the destination address information, and the traffic road condition information within the second range of the destination address information can all be distinguished using different colors.
[0067] Step 202: When receiving the destination address information input into the second application, the electronic device obtains second geographic information corresponding to the first address information based on the first address information.
[0068] In the embodiment of the present application, the first address information is address information recommended by the second application based on the destination address information.
[0069] Optionally, in an embodiment of the present application, the second application may be an application that includes recommending relevant address information based on the destination address information and providing travel service functions, and allows the user to input the destination address information.
[0070] Optionally, in an embodiment of the present application, the second application may include but is not limited to at least one of the following: a taxi application, a navigation application.
[0071] Exemplarily, when the first application is a taxi-hailing application, the second application may be a navigation application.
[0072] Optionally, in the embodiment of the present application, the address information recommended by the second application based on the destination address information may be one or more. The first address information may be one address information selected and confirmed by the user from among the multiple address information recommended by the second application based on the destination address information.
[0073] Optionally, in an embodiment of the present application, the user can copy the destination address information in the first application and trigger the electronic device to display the interface of the second application. The user can then paste the destination address information in the interface of the second application, and the electronic device can then display multiple address information recommended based on the destination address information, so that the user can select one address information from the multiple address information.
[0074] Optionally, in an embodiment of the present application, the first address information may include but is not limited to at least one of the following: a specific address, a place name or a scenic spot name, and longitude and latitude coordinates.
[0075] Exemplarily, the first address information may be a specific address. For example, the first address information may be No. B, B Street, B District, B City.
[0076] Exemplarily, the first address information may be a place name or a scenic spot name. For example, the first address information may be Park B.
[0077] Exemplarily, the first address information may be longitude and latitude coordinates. For example, the first address information may be (c°N, d°W).
[0078] Optionally, in an embodiment of the present application, the form of the second geographic information may include but is not limited to at least one of the following: text form, image form.
[0079] Optionally, in an embodiment of the present application, the second geographic information includes at least one of the following: a map shape corresponding to the first address information, a map mark within the third range of the first address information, an altitude of the geographic area corresponding to the first address information, and traffic condition information within the fourth range of the first address information.
[0080] For example, the electronic device is a mobile phone, and the second application is a taxi-hailing application. Figure 4 As shown, the mobile phone displays the interface 40 of the taxi-hailing application, which includes the shopping mall A41 (i.e., the first address information). Based on the address information of the shopping mall A41, the mobile phone obtains the second geographic information corresponding to the address information, such as the map shape corresponding to the shopping mall A41 (such as a combination of a rectangle and a circle), the map marks around the shopping mall A41 (such as park a, river a, bus stop a marks), and the traffic conditions information around the shopping mall A41 (such as under construction, road closed).
[0081] For example, the electronic device is a mobile phone, and the second application is a navigation application. Figure 5 As shown, the mobile phone displays the interface 50 of the navigation application, and the interface 50 of the navigation application includes the community B51 (i.e., the first address information). Based on the address information of the community B51, the mobile phone obtains the second geographic information corresponding to the address information, such as the map shape corresponding to the community B51 (such as an ellipse), the map marks around the community B51 (such as hospital b, supermarket b, bus stop c marks), and the traffic condition information around the community B51 (such as smooth).
[0082] It should be noted that, when the second geographic information is in image form, the map shape corresponding to the first address information, the map mark within the third range of the first address information, the altitude of the geographic area corresponding to the first address information, and the traffic road condition information within the fourth range of the first address information can all be distinguished using different colors.
[0083] Step 203: The electronic device performs an address verification operation based on the first geographic information and the second geographic information.
[0084] In the embodiment of the present application, since the above-mentioned first geographic information is the geographic information corresponding to the above-mentioned destination address information, and the above-mentioned second geographic information is the geographic information corresponding to the above-mentioned first address information, the electronic device can determine whether the first address information matches the destination address information by comparing whether the second geographic information matches the first geographic information, that is, the electronic device determines whether the address selected by the user in the second application is consistent with the required destination address.
[0085] Optionally, when the first geographic information and the second geographic information match, the electronic device performs a navigation operation or a taxi ordering operation based on the first address information.
[0086] It should be noted that the matching described in the embodiment of the present application means that the difference between the two compared objects is less than or equal to a threshold, or the similarity between the two objects is greater than or equal to a threshold (for example, 95%).
[0087] It can be understood that the second geographic information matches the first geographic information, indicating that the first address information matches the destination address information, that is, the address selected by the user in the second application is consistent with the required destination address, and the electronic device can provide subsequent travel services for the user, that is, the electronic device performs navigation operations or taxi ordering operations based on the first address information. In this way, the navigation or taxi ordering operations performed by the electronic device can meet the travel needs of the user.
[0088] Optionally, when the first geographic information and the second geographic information do not match, the electronic device displays a prompt message in the second application, where the prompt message is used to prompt that there is a deviation between the first address information and the destination address information.
[0089] It is understandable that the above-mentioned second geographic information does not match the above-mentioned first geographic information, which means that the above-mentioned first address information does not match the above-mentioned destination address information, that is, the address selected by the user in the second application is inconsistent with the required destination address. In this case, if the electronic device continues to provide subsequent travel services to the user, that is, the electronic device performs subsequent navigation operations or taxi order operations based on the first address information, the user cannot reach the required destination address. In this way, the navigation or taxi order operations performed by the electronic device cannot meet the user's travel needs. Therefore, in this case, the electronic device cannot directly provide subsequent travel services to the user, and the electronic device can display a prompt message in the second application, which is used to prompt that there is a deviation between the above-mentioned first address information and the above-mentioned destination address information.
[0090] An embodiment of the present application provides an address verification method. Since geographic information corresponding to the destination address of the user's travel needs can be obtained from a first application, and geographic information corresponding to address information related to the destination address can be obtained from a second application, the two geographic information are then compared to perform an address verification operation, that is, by determining whether the two geographic information match, it is determined whether the address information recommended in the second application meets the user's travel needs. In this way, the electronic device does not directly navigate or order a taxi based on the address recommended in the second application, but first determines whether the address recommended in the second application is consistent with the required destination address, and then performs further operations, thereby improving the flexibility of the electronic device in performing travel operations required by the user through map software.
[0091] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 6 As shown, the above step 201 can be specifically implemented by the following steps 201a and 201b, and the above step 202 can be specifically implemented by the following steps 202a and 202b.
[0092] Step 201a: When the first map card is displayed in the first application, the electronic device obtains destination address information from the first map card.
[0093] In the embodiment of the present application, the first map card is a card in the form of a map including the destination address information and the first geographical area corresponding to the destination address information.
[0094] For example, Figure 2 As shown, the mobile phone displays the interface 20 of the browser application, and the interface 20 of the browser application is the first map card 20, and the first map card 20 includes the shopping mall A21 (ie, the destination address information) and the first geographical area corresponding to the shopping mall A21.
[0095] For example, Figure 3 As shown, the mobile phone displays the interface 30 of the taxi-hailing application, and the interface 30 of the taxi-hailing application is the first map card 30, and the first map card 30 includes the cell A31 (ie, the destination address information) and the first geographical area corresponding to the cell A31.
[0096] Step 201b: upon receiving the user's input of copying the destination address information, the electronic device takes a screenshot of the first geographic area included in the first map card to obtain a first image, and acquires the first geographic information from the first image.
[0097] Optionally, in the embodiment of the present application, the copy input may be a copy operation performed by the user on the destination address information in the first application.
[0098] In an embodiment of the present application, when the electronic device receives the user's copy input of the above-mentioned destination address information, it indicates that the user needs to use the destination address information to perform other operations. At this time, the electronic device takes a screenshot of the first geographic area contained in the first map card to obtain a first image, and obtains the first geographic information from the first image, so that the electronic device can subsequently perform the travel operation required by the user based on the first geographic information.
[0099] In the embodiment of the present application, the first image is a display of the first geographic information in image form.
[0100] For example, in combination Figure 2 , the mobile phone displays the first map card 20. After receiving the user's copy and input of the destination address information in the first map card 20, the mobile phone can take a screenshot of the first geographical area contained in the first map card 20 to obtain a first image 20, and obtain first geographical information from the first image 20, such as the map shape corresponding to the shopping mall A21 (such as a combination of a rectangle and a circle), the map marks around the shopping mall A21 (such as park a, river a, bus stop a marks), and the traffic road condition information around the shopping mall A21 (such as under construction, road closed).
[0101] For example, in combination Figure 3 , the mobile phone displays the first map card 30. After receiving the destination address information copied and input by the user in the first map card 30, the mobile phone can take a screenshot of the first geographical area contained in the first map card 30 to obtain a first image 30, and obtain first geographical information from the first image 30, such as the map shape corresponding to the community A31 (such as a rectangle), the map marks around the community A31 (such as hospital a, school a, bus stop b marks), and the traffic condition information around the community A31 (such as unobstructed).
[0102] Optionally, in an embodiment of the present application, after the electronic device takes a screenshot of the first geographic area contained in the first map card, the electronic device may process the screenshot, such as removing unnecessary UI elements, adjusting image size and quality, etc., to obtain a first image, so as to ensure the clarity and practicality of the first image.
[0103] Step 202a: When receiving the destination address information input into the second application, the electronic device displays a second map card in the second application based on the first address information.
[0104] In the embodiment of the present application, the second map card is a card in the form of a map including the first address information and the second geographical area corresponding to the first address information.
[0105] For example, Figure 4As shown, the mobile phone displays the interface 40 of the taxi-hailing application, and the interface 40 of the taxi-hailing application is the second map card 40, and the second map card 40 includes the shopping mall A41 (ie, the first address information) and the second geographical area corresponding to the shopping mall A41.
[0106] For example, Figure 5 As shown, the mobile phone displays an interface 50 of a navigation application, and the interface 50 of the navigation application is a second map card 50 , and the second map card 50 includes a cell B51 (ie, the first address information) and a second geographical area corresponding to the cell B51 .
[0107] Step 202b: The electronic device takes a screenshot of the second geographical area included in the second map card to obtain a second image, and acquires second geographical information from the second image.
[0108] In the embodiment of the present application, the second image is a display of the second geographic information in image form.
[0109] For example, in combination Figure 4 , the mobile phone displays a second map card 40. The mobile phone can take a screenshot of the second geographical area included in the second map card 40 to obtain a second image 40, and obtain second geographical information from the second image 40, such as the map shape corresponding to the shopping mall A41 (such as a combination of a rectangle and a circle), map marks around the shopping mall A41 (such as park a, river a, bus stop a marks), and traffic conditions information around the shopping mall A41 (such as under construction, road closed).
[0110] For example, Figure 5 As shown, the mobile phone displays a second map card 50. The mobile phone can take a screenshot of the second geographical area contained in the second map card 50 to obtain a second image 50, and obtain second geographical information from the second image 50, such as the map shape corresponding to the community B51 (such as an ellipse), the map marks around the community B51 (such as hospital b, supermarket b, bus stop c marks), and the traffic condition information around the community B51 (such as smooth).
[0111] Optionally, in an embodiment of the present application, after the electronic device takes a screenshot of the second geographic area included in the second map card, the electronic device may process the screenshot, such as removing unnecessary UI elements, adjusting image size and quality, etc., to obtain a second image to ensure the clarity and practicality of the second image.
[0112] Optionally, in an embodiment of the present application, the electronic device may perform an address verification operation based on the first image and the second image. Since the first image is obtained by taking a screenshot of the first geographical area corresponding to the destination address information, and the second image is obtained by taking a screenshot of the second geographical area corresponding to the first address information, the electronic device may compare the first image and the second image to determine whether the first geographical area matches the second geographical area, thereby determining whether the destination address information matches the first address information, that is, the electronic device determines whether the destination address required by the user is consistent with the address selected by the user in the second application.
[0113] Optionally, in an embodiment of the present application, the electronic device may use image recognition technology to obtain first geographic information from the above-mentioned first image, such as obtaining the map shape corresponding to the above-mentioned destination address information, the map mark within the first range of the destination address information, the altitude of the geographic area corresponding to the destination address information, and the traffic road condition information within the second range of the destination address information.
[0114] Optionally, in an embodiment of the present application, the electronic device may also use image recognition technology to obtain second geographic information from the above-mentioned second image, such as obtaining the map shape corresponding to the above-mentioned first address information, the map mark within the third range of the first address information, the altitude of the geographic area corresponding to the first address information, and the traffic road condition information within the fourth range of the first address information.
[0115] It should be noted that there are many specific implementation methods for obtaining key information in an image using image recognition technology, which will not be elaborated in the embodiments of the present application.
[0116] Optionally, in the embodiment of the present application, the scale of the first image is the same as the scale of the second image.
[0117] It is understood that the first image and the second image contain map content, and when comparing the two maps to confirm whether the address information they display is consistent, it is very important to ensure that the scales of the two maps are the same. The scale is the proportional relationship between the distance on the map and the actual distance on the ground. Therefore, the scale of the first image and the scale of the second image are the same, which facilitates effective comparison, thereby avoiding the problem that if the scales of the two maps are different, even if the address information they display is consistent, the relative size and shape on the map may be very different, causing errors in the comparison result.
[0118] In an embodiment of the present application, the electronic device obtains a first image by taking a screenshot of the first geographic area included in the first map card, and obtains a second image by taking a screenshot of the second geographic area included in the second map card, thereby providing a more intuitive and richer way of representing the first geographic information and the second geographic information. Furthermore, by comparing the first geographic information (or first image) and the second geographic information (or second image), the accuracy and efficiency of the electronic device in determining whether the destination address information is consistent with the first address information is improved, thereby improving the flexibility of the electronic device in performing travel operations required by users through map software.
[0119] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 7 As shown, the above step 203 can be specifically implemented through the following step 203a or step 203b.
[0120] Step 203a: When the first geographic information matches the second geographic information, the electronic device performs a navigation operation or a taxi ordering operation based on the first address information.
[0121] It can be understood that the second geographic information matches the first geographic information, indicating that the first address information matches the destination address information, that is, the address selected by the user in the second application is consistent with the required destination address, and the electronic device can provide subsequent travel services for the user, that is, the electronic device performs navigation operations or taxi ordering operations based on the first address information. In this way, the navigation or taxi ordering operations performed by the electronic device can meet the travel needs of the user.
[0122] For example, Figure 2 and Figure 4 As shown, Figure 4 For the general Figure 2 The result obtained by inputting the mall A21 (i.e., the destination address information) in the second application (e.g., a taxi-hailing application) is obtained by Figure 2 and Figure 4 The comparison shows that Figure 2 The map shape (such as a combination of a rectangle and a circle) corresponding to the mall A21 (i.e., the destination address information), the map marks around the mall A21 (such as park a, river a, bus station a marks), the traffic conditions around the mall A21 (such as under construction, road closure) and Figure 4 The map shape (such as a combination of a rectangle and a circle) corresponding to the shopping mall A41 (i.e., the first address information), the map marks around the shopping mall A41 (such as park a, river a, bus stop a marks), and the traffic conditions around the shopping mall A41 (such as under construction, road closed) are completely consistent. Figure 4 The second geographic information and Figure 2The first geographic information matches, that is, the first address information and the destination address information match, the address selected by the user in the taxi application is consistent with the required destination address, and the mobile phone can execute the taxi order operation based on the first address information.
[0123] Step 203b: When the first geographic information does not match the second geographic information, the electronic device displays a prompt message in the second application.
[0124] In the embodiment of the present application, the above prompt information is used to prompt that there is a deviation between the first address information and the destination address information.
[0125] It should be noted that the deviation between the first address information and the destination address information means that the distance between the geographical location corresponding to the first address information and the geographical location corresponding to the destination address information is greater than or equal to a threshold, and the geographical areas corresponding to the two geographical locations are inconsistent.
[0126] It is understandable that the above-mentioned second geographic information does not match the above-mentioned first geographic information, which means that the above-mentioned first address information does not match the above-mentioned destination address information, that is, the address selected by the user in the second application is inconsistent with the required destination address. In this case, if the electronic device continues to provide subsequent travel services to the user, that is, the electronic device performs subsequent navigation operations or taxi order operations based on the first address information, the user cannot reach the required destination address. In this way, the navigation or taxi order operations performed by the electronic device cannot meet the user's travel needs. Therefore, in this case, the electronic device cannot directly provide subsequent travel services to the user, and the electronic device can display a prompt message in the second application, which is used to prompt that there is a deviation between the above-mentioned first address information and the above-mentioned destination address information.
[0127] For example, Figure 3 and Figure 5 As shown, Figure 5 For the general Figure 3 The result obtained by inputting the cell A31 (i.e., the destination address information) in the second application (e.g., the navigation application) is obtained by Figure 3 and Figure 5 The comparison shows that Figure 3 The map shape (such as a rectangle) corresponding to the cell A31 (i.e., the destination address information), the map marks around the cell A31 (such as hospital a, school a, bus station b marks), the traffic conditions around the cell A31 (such as unobstructed) and Figure 5 The map shape (e.g., ellipse) corresponding to the middle community B51 (i.e., the first address information), the map marks around the community B51 (e.g., hospital b, supermarket b, bus station c marks), and the traffic conditions around the community B51 (e.g., smooth) are inconsistent. Figure 5 The second geographic information and Figure 3The first geographic information in the navigation application does not match, that is, the first address information and the destination address information do not match, the address selected by the user in the navigation application is inconsistent with the required destination address, and the mobile phone cannot directly perform navigation operations based on the first address information. Figure 8 As shown, the mobile phone displays a prompt message 61 in the interface 60 of the navigation application, and the prompt message 61 is used to prompt that there is a deviation between the first address information and the destination address information.
[0128] It should be noted that in an application scenario where driver A receives a taxi order from passenger A to community A through a taxi application, when the above-mentioned first geographic information does not match the above-mentioned second geographic information, both the navigation application of driver A and the taxi application of passenger A can display a prompt message that there is a deviation between the first address information and the destination address information.
[0129] In the embodiment of the present application, the electronic device does not directly navigate or order a taxi based on the address selected by the user, but first determines whether the address selected by the user is consistent with the required destination address. When the first geographic information matches the second geographic information, the electronic device continues to provide subsequent travel services to the user. When the first geographic information does not match the second geographic information, the electronic device prompts the user that the address selected by the user is inconsistent with the required destination address, so that the user can reselect address information that is more relevant to the destination address information, so that the electronic device performs operations that meet the user's travel needs, thereby improving the flexibility of the electronic device in performing travel operations required by the user through map software.
[0130] Optionally, in the embodiment of the present application, combined with Figure 7 ,like Fig. 9 As shown, after the above step 203b, the address verification method provided in the embodiment of the present application further includes the following step 301.
[0131] Step 301: Upon receiving a second input from a user to prompt information, the electronic device updates the second map card to a third map card in the second application.
[0132] In the embodiment of the present application, the third map card is a card in the form of a map including the second address information and the third geographical area corresponding to the second address information.
[0133] In the embodiment of the present application, the second address information is address information recommended by the second application based on the deviation between the first address information and the destination address information.
[0134] Optionally, in an embodiment of the present application, the electronic device may recommend address information within a preset range around the destination address information in the second application.
[0135] Optionally, in the embodiment of the present application, the second input may be a confirmation operation or a closing operation performed by the user on the prompt information in the second application.
[0136] In an embodiment of the present application, the second geographic information does not match the first geographic information, indicating that the above-mentioned first address information does not match the above-mentioned destination address information, that is, the address selected by the user in the second application is inconsistent with the required destination address. In this case, in order to meet the user's travel needs, the user can reselect and confirm the second address information in the second application, and the electronic device displays a third map card corresponding to the second address information. The electronic device takes a screenshot of the third geographic area in the third map card to obtain a third image and obtain the third geographic information, and performs the address verification operation again based on the first geographic information and the third geographic information.
[0137] In an embodiment of the present application, when the first geographic information does not match the second geographic information, the electronic device prompts the user that the address selected by the user is inconsistent with the required destination address, and recommends one or more address information for the user to reselect based on the deviation between the above-mentioned first address information and the above-mentioned destination address information, thereby improving the flexibility and accuracy of the electronic device in executing travel operations required by the user through map software.
[0138] The following is a schematic illustration of the implementation process of the address verification method provided in the embodiment of the present application through a specific implementation method.
[0139] Implementation method 1:
[0140] like Fig.10 As shown, the implementation process of the address verification method provided in the embodiment of the present application may include the following steps 71 to 77.
[0141] It should be noted that the implementation method here is illustrated by taking the above-mentioned electronic device as a mobile phone and user A using the mobile phone to take a taxi to shopping mall A as an example.
[0142] Step 71: User A searches for shopping mall A in the browser application. When the first map card corresponding to shopping mall A is displayed in the browser application, the mobile phone obtains the address A of shopping mall A from the first map card.
[0143] Step 72: When receiving the address A copied by user A, the mobile phone takes a screenshot of the first geographical area included in the first map card to obtain a first image corresponding to the address A, and acquires first geographical information from the first image.
[0144] Step 73: input the above-mentioned address A into the taxi-hailing application. The taxi-hailing application recommends multiple addresses based on address A. User A selects one of the addresses C, and the mobile phone displays a second map card corresponding to address C in the taxi-hailing application.
[0145] Step 74: The mobile phone takes a screenshot of the second geographical area included in the second map card to obtain a second image, and acquires second geographical information from the second image.
[0146] Step 75: The mobile phone determines whether the first geographic information and the second geographic information match.
[0147] It should be noted that, if yes, the mobile phone executes the following step 76; if no, the mobile phone executes the following step 77.
[0148] Step 76: The mobile phone executes a taxi order operation based on address C.
[0149] Step 77: The mobile phone displays a prompt message in the taxi-hailing application, indicating that there is a deviation between address C and address A.
[0150] It should be noted that after the mobile phone displays the prompt information in the taxi application, user A can re-enter address A in the taxi application. The taxi application can recommend multiple addresses based on address A. User A can re-select an address different from address C from the multiple addresses so that the mobile phone can perform subsequent operations, that is, the mobile phone re-executes step 73 and subsequent steps, and address C in these steps is correspondingly updated to the re-selected address.
[0151] In the above implementation, the destination address is double-checked by using the mobile phone background, that is, the destination address is double-authenticated to ensure that the user can take a taxi to the correct destination.
[0152] It should be noted that for the relevant description of each step in this implementation mode, please refer to the description in the above embodiment, which will not be repeated here.
[0153] Implementation method 2:
[0154] like Fig.11 As shown, the implementation process of the address verification method provided in the embodiment of the present application may include the following steps 81 to 87.
[0155] It should be noted that the implementation method here is illustrated by taking the above-mentioned electronic device as a mobile phone and the driver A receiving a taxi order from the passenger A to the community A through the taxi application as an example.
[0156] Step 81: Driver A receives a taxi order from passenger A to community A through a taxi application. When a first map card corresponding to community A is displayed in the taxi application, the mobile phone obtains address B of community A from the first map card.
[0157] Step 82: When receiving the address B copied by driver A, the mobile phone takes a screenshot of the first geographical area contained in the first map card, obtains a first image corresponding to address B, and acquires first geographical information from the first image.
[0158] Step 83: input the above-mentioned address B into the navigation application. The navigation application recommends multiple addresses based on address B. Driver A selects one of the addresses E. The mobile phone displays a second map card corresponding to address E in the navigation application.
[0159] Step 84: The mobile phone takes a screenshot of the second geographical area included in the second map card to obtain a second image, and acquires second geographical information from the second image.
[0160] Step 85: The mobile phone determines whether the first geographic information and the second geographic information match.
[0161] It should be noted that, if yes, the mobile phone executes the following step 86; if no, the mobile phone executes the following step 87.
[0162] Step 86: The mobile phone performs navigation operations based on address E.
[0163] Step 87, the mobile phone displays a prompt message in the navigation application, indicating that there is a deviation between address E and address B. At the same time, passenger A's mobile phone displays a prompt message in the taxi application, indicating that there is a deviation between the address selected by driver A and community A.
[0164] It should be noted that after the mobile phone displays the prompt information in the navigation application, driver A can re-enter address B in the navigation application. The navigation application can recommend multiple addresses based on address B. Driver A can re-select an address different from address E from the multiple addresses so that the mobile phone can perform subsequent operations, that is, the mobile phone re-executes step 83 and subsequent steps, and address E in these steps is correspondingly updated to the re-selected address.
[0165] In the above implementation, the destination address is double-checked using the mobile phone background. When the driver switches to a third-party platform for navigation, the navigation destination set by the driver is re-authenticated through the implementation of the present application to ensure that if the driver privately modifies the address, the passenger can still know and inform both the driver and the passenger in the first place, thereby ensuring the safety of the journey and the accuracy of the navigation.
[0166] It should be noted that for the relevant description of each step in this implementation mode, please refer to the description in the above embodiment, which will not be repeated here.
[0167] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application are not limited to this.
[0168] The address verification method provided in the embodiment of the present application can be executed by an address verification device. In the embodiment of the present application, the address verification device provided in the embodiment of the present application is described by taking the address verification method executed by the address verification device as an example.
[0169] Fig.12 A possible structural diagram of an address verification device involved in some embodiments of the present application is shown. Fig.12 As shown, the address verification device 90 may include: an acquisition module 91 and a processing module 92. The acquisition module 91 is used to acquire first geographic information corresponding to the destination address information based on the destination address information in the first application. The acquisition module 91 is also used to acquire second geographic information corresponding to the first address information based on the first address information when the destination address information is input into the second application, and the first address information is an address information recommended by the second application based on the destination address information. The processing module 92 is used to perform an address verification operation based on the first geographic information and the second geographic information acquired by the acquisition module 91.
[0170] In a possible implementation, the acquisition module 91 is specifically used to acquire the destination address information from the first map card when displaying the first map card in the first application, the first map card being a card in the form of a map containing the destination address information and the first geographical area corresponding to the destination address information; and, upon receiving a copy input of the destination address information from the user, taking a screenshot of the first geographical area contained in the first map card to obtain a first image, and acquiring the first geographical information from the first image. The acquisition module 91 is also specifically used to display a second map card in the second application based on the first address information, the second map card being a card in the form of a map containing the first address information and the second geographical area corresponding to the first address information; and taking a screenshot of the second geographical area contained in the second map card to obtain a second image, and acquiring the second geographical information from the second image.
[0171] In one possible implementation, the processing module 92 is specifically used to: when the first geographic information matches the second geographic information, perform a navigation operation or a taxi order operation based on the first address information; or, when the first geographic information does not match the second geographic information, display a prompt message in the second application, where the prompt message is used to indicate that there is a deviation between the first address information and the destination address information.
[0172] In one possible implementation, the processing module 92 is also used to update the second map card in the second application to a third map card after displaying the prompt information in the second application and receiving a second input from the user in response to the prompt information; wherein the third map card is a card in the form of a map of a third geographic area corresponding to the second address information and the second address information, and the second address information is an address information recommended by the second application based on the deviation between the first address information and the destination address information.
[0173] In a possible implementation, the first geographic information includes at least one of the following: a map shape corresponding to the destination address information, a map mark within the first range of the destination address information, an altitude of the geographic area corresponding to the destination address information, and traffic condition information within the second range of the destination address information; the second geographic information includes at least one of the following: a map shape corresponding to the first address information, a map mark within the third range of the first address information, an altitude of the geographic area corresponding to the first address information, and traffic condition information within the fourth range of the first address information.
[0174] An embodiment of the present application provides an address verification device. Since the address verification device can obtain geographic information corresponding to the destination address of the user's travel needs from a first application, and obtain geographic information corresponding to the address information related to the destination address from a second application, the address verification device then compares the two geographic information to perform an address verification operation, that is, the address verification device determines whether the two geographic information match to determine whether the address information recommended in the second application meets the user's travel needs. In this way, the address verification device does not directly navigate or order a taxi based on the address recommended in the second application, but first determines whether the address recommended in the second application is consistent with the required destination address, and then performs further operations, thereby improving the flexibility of the address verification device in performing travel operations required by users through map software.
[0175] The address verification device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0176] The address verification device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0177] The address verification device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0178] Alternatively, if Fig.13 As shown, an embodiment of the present application also provides an electronic device 1000, including a processor 1001 and a memory 1002, wherein the memory 1002 stores a program or instruction that can be executed on the processor 1001, and when the program or instruction is executed by the processor 1001, the various steps of the above-mentioned address verification method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0179] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0180] Fig.14 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0181] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0182] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0183] The processor 110 is configured to obtain first geographic information corresponding to the destination address information based on the destination address information in the first application.
[0184] The processor 110 is also used to obtain second geographic information corresponding to the first address information based on the first address information when receiving the destination address information input into the second application. The first address information is address information recommended by the second application based on the destination address information.
[0185] The processor 110 is further configured to perform an address verification operation based on the first geographic information and the second geographic information.
[0186] Optionally, the processor 110 is specifically configured to obtain the destination address information from the first map card when displaying the first map card in the first application, the first map card being a card in the form of a map containing the destination address information and a first geographical area corresponding to the destination address information; and, upon receiving a copy input of the destination address information from the user, take a screenshot of the first geographical area contained in the first map card to obtain a first image, and obtain the first geographical information from the first image. The processor 110 is also specifically configured to display a second map card in the second application based on the first address information, the second map card being a card in the form of a map containing the first address information and a second geographical area corresponding to the first address information; and take a screenshot of the second geographical area contained in the second map card to obtain a second image, and obtain the second geographical information from the second image.
[0187] Optionally, the processor 110 is specifically used to: perform a navigation operation or a taxi ordering operation based on the first address information when the first geographic information matches the second geographic information; or display a prompt message in the second application when the first geographic information does not match the second geographic information, and the prompt message is used to indicate that there is a deviation between the first address information and the destination address information.
[0188] Optionally, the processor 110 is further used to update the second map card in the second application to a third map card after displaying the prompt information in the second application and receiving a second input from the user in response to the prompt information; wherein the third map card is a card in the form of a map of a third geographic area corresponding to the second address information and the second address information, and the second address information is an address information recommended by the second application based on the deviation between the first address information and the destination address information.
[0189] Optionally, the first geographic information includes at least one of the following: a map shape corresponding to the destination address information, a map mark within the first range of the destination address information, an altitude of the geographic area corresponding to the destination address information, and traffic condition information within the second range of the destination address information; the second geographic information includes at least one of the following: a map shape corresponding to the first address information, a map mark within the third range of the first address information, an altitude of the geographic area corresponding to the first address information, and traffic condition information within the fourth range of the first address information.
[0190] An embodiment of the present application provides an electronic device. Since the electronic device can obtain geographic information corresponding to the destination address of the user's travel needs from a first application, and obtain geographic information corresponding to address information related to the destination address from a second application, the electronic device then compares the two geographic information to perform an address verification operation, that is, the electronic device determines whether the two geographic information match to determine whether the address information recommended in the second application meets the user's travel needs. In this way, the electronic device does not directly navigate or order a taxi based on the address recommended in the second application, but first determines whether the address recommended in the second application is consistent with the required destination address, and then performs further operations, thereby improving the flexibility of the electronic device in performing travel operations required by the user through map software.
[0191] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here. The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, it is not repeated here.
[0192] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0193] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0194] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
[0195] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned address verification method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0196] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0197] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned address verification method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0198] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0199] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned address verification method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0200] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0201] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0202] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An address verification method, characterized in that: include: Based on the destination address information in the first application, obtaining first geographic information corresponding to the destination address information; In the case where the destination address information is input into the second application, based on the first address information, obtaining second geographic information corresponding to the first address information, the first address information being address information recommended by the second application based on the destination address information; An address verification operation is performed based on the first geographic information and the second geographic information.
2. The method according to claim 1, characterized in that The acquiring, based on the destination address information in the first application, first geographic information corresponding to the destination address information includes: When a first map card is displayed in the first application, the destination address information is obtained from the first map card, where the first map card is a card in the form of a map including the destination address information and a first geographical area corresponding to the destination address information; When receiving a copy input of the destination address information from the user, taking a screenshot of the first geographical area included in the first map card to obtain a first image, and acquiring the first geographical information from the first image; The acquiring, based on the first address information, second geographic information corresponding to the first address information includes: Based on the first address information, displaying a second map card in the second application, where the second map card is a card in the form of a map including the first address information and a second geographical area corresponding to the first address information; A screenshot is taken of the second geographical area included in the second map card to obtain a second image, and the second geographical information is acquired from the second image.
3. The method according to claim 1 or 2, characterized in that: The performing an address verification operation based on the first geographic information and the second geographic information includes: When the first geographic information matches the second geographic information, performing a navigation operation or a taxi ordering operation based on the first address information; or, In the case where the first geographic information does not match the second geographic information, a prompt message is displayed in the second application, where the prompt message is used to prompt that there is a deviation between the first address information and the destination address information.
4. The method according to claim 3, characterized in that After the prompt information is displayed in the second application, the method further includes: When receiving a second input of the user to the prompt information, updating the second map card to a third map card in the second application; The third map card is a card in the form of a map including the second address information and a third geographical area corresponding to the second address information, and the second address information is an address information recommended by the second application based on the deviation between the first address information and the destination address information.
5. The method according to any one of claims 1 to 4, characterized in that The first geographic information includes at least one of the following: a map shape corresponding to the destination address information, a map mark within a first range of the destination address information, an altitude of a geographic area corresponding to the destination address information, and traffic condition information within a second range of the destination address information; The second geographic information includes at least one of the following: a map shape corresponding to the first address information, a map mark within a third range of the first address information, an altitude of the geographic area corresponding to the first address information, and traffic condition information within a fourth range of the first address information.
6. An address verification device, characterized in that: include: Acquisition module and processing module; The acquisition module is used to acquire first geographic information corresponding to the destination address information based on the destination address information in the first application; The acquisition module is further configured to, upon receiving the destination address information input into the second application, acquire second geographic information corresponding to the first address information based on the first address information, wherein the first address information is address information recommended by the second application based on the destination address information; The processing module is used to perform an address verification operation based on the first geographic information and the second geographic information acquired by the acquisition module.
7. The device according to claim 6, characterized in that The acquisition module is specifically configured to acquire the destination address information from a first map card when a first map card is displayed in the first application, wherein the first map card is a card in the form of a map including the destination address information and a first geographical area corresponding to the destination address information; and, upon receiving a copy input of the destination address information from the user, taking a screenshot of the first geographical area included in the first map card to obtain a first image, and acquiring the first geographical information from the first image; The acquisition module is further specifically configured to display a second map card in the second application based on the first address information, wherein the second map card is a card in the form of a map including the first address information and a second geographical area corresponding to the first address information; And, taking a screenshot of the second geographical area included in the second map card to obtain a second image, and acquiring the second geographical information from the second image.
8. The device according to claim 6 or 7, characterized in that The processing module is specifically used for: When the first geographic information matches the second geographic information, performing a navigation operation or a taxi ordering operation based on the first address information; or, In the case where the first geographic information does not match the second geographic information, a prompt message is displayed in the second application, where the prompt message is used to prompt that there is a deviation between the first address information and the destination address information.
9. The device according to claim 8, characterized in that The processing module is further configured to, after displaying the prompt information in the second application, update the second map card to a third map card in the second application when receiving a second input of the user in response to the prompt information; The third map card is a card in the form of a map including the second address information and a third geographical area corresponding to the second address information, and the second address information is an address information recommended by the second application based on the deviation between the first address information and the destination address information.
10. The device according to any one of claims 6 to 9, characterized in that The first geographic information includes at least one of the following: a map shape corresponding to the destination address information, a map mark within a first range of the destination address information, an altitude of a geographic area corresponding to the destination address information, and traffic condition information within a second range of the destination address information; The second geographic information includes at least one of the following: a map shape corresponding to the first address information, a map mark within a third range of the first address information, an altitude of the geographic area corresponding to the first address information, and traffic condition information within a fourth range of the first address information.
11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the address verification method according to any one of claims 1 to 5 are implemented.