CN112925868A - Method, device and equipment for realizing address input assembly and storage medium - Google Patents

Method, device and equipment for realizing address input assembly and storage medium Download PDF

Info

Publication number
CN112925868A
CN112925868A CN202110214664.8A CN202110214664A CN112925868A CN 112925868 A CN112925868 A CN 112925868A CN 202110214664 A CN202110214664 A CN 202110214664A CN 112925868 A CN112925868 A CN 112925868A
Authority
CN
China
Prior art keywords
address information
address
information list
list
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110214664.8A
Other languages
Chinese (zh)
Inventor
顾骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202110214664.8A priority Critical patent/CN112925868A/en
Publication of CN112925868A publication Critical patent/CN112925868A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity

Abstract

The invention discloses a method for realizing an address input assembly, which comprises the following steps: when a request for inputting address information is detected, displaying a first address information list in a first preset area of an address input assembly; judging whether the first address information list needs to be updated or not; when the first address information list is judged not to be updated, acquiring first address selection input made by a user based on the first address information list; when the first address information list is judged to be required to be updated, updating first address information contained in the first address information list, and triggering and executing the operation of acquiring first address selection input made by a user based on the first address information list; and determining the address information input by the user at the address input component according to the target first address information. Therefore, the method and the device can realize automatic adjustment of the first address information list, are beneficial to ensuring the accuracy of the first address information list and improve the user experience of the address input assembly. The invention also relates to the technical field of block chains.

Description

Method, device and equipment for realizing address input assembly and storage medium
Technical Field
The present invention relates to the field of application program display, and in particular, to a method and an apparatus for implementing an address input component, a computer device, and a storage medium.
Background
In the process of developing a computer program, it is a very common development requirement to implement the input function of a user in the computer program. In actual development, developers can use a variety of components to implement user input functionality in a computer program. For example, text information input by a user in a computer program can be acquired through the text input box component, selection input made by the user in the computer program can be acquired through the selection box component, and address information input by the user in the computer program can be acquired through the address input component. Because the functions implemented by different components are different, the logic implemented by the different components is also quite different. In the implementation process of the address input component, the address information is usually divided into several parts, for example, the address information is divided into four parts in sequence: province-city-community-street. Then, a corresponding address information list is set for the address information of each part, for example, a province corresponds to one address information list, a plurality of provinces are preset in the address information list corresponding to the province for the user to select, the user selects the province to be input from the plurality of provinces in the address information list corresponding to the province as the province part in the address information, similarly, the address information of the city, community and street parts all exist in the corresponding address information list, and the user can select the address information of the part to be input from the corresponding address information list. When the user uses the address input component, the address information corresponding to each part is selected from the address information list of each part in sequence, and therefore complete address information is input. For example, if the address that the user wants to input is a new security street in the south of Guangdong province Shenzhen City, Guangdong province is selected from the address information list corresponding to province, and then Shenzhen City … … is selected from the address information list corresponding to the city subordinate to Guangdong province, but in the implementation manner of the address input component, the address information in each address information list is pre-stored by a developer in the development process, and if the address information changes (such as community merging or renaming in a certain city) or the pre-stored address information fails to cover the address information that the user wants to input or the pre-stored address information is incorrect, the address input component may be incorrect, and the user cannot input correct address information through the address input component. Therefore, the current address information list of the address input component cannot be automatically adjusted, which easily causes errors of the address input component and influences the user experience of the address input component.
Disclosure of Invention
The invention aims to solve the technical problem that the address information list of the current address input component can not be automatically adjusted, so that errors of the address input component are easily caused, and the user experience of the address input component is influenced.
In order to solve the above technical problem, a first aspect of the present invention discloses a method for implementing an address input component, where the method includes:
when a request for inputting address information is detected, displaying a first address information list in a first preset area of an address input assembly, wherein the first address information list comprises at least one piece of first address information;
judging whether the first address information list needs to be updated or not;
when the first address information list is judged not to be updated, acquiring a first address selection input made by a user based on the first address information list, wherein the first address selection input is used for indicating that the user selects target first address information from the first address information list;
when the first address information list is judged to be needed to be updated, updating first address information contained in the first address information list, and triggering and executing operation of first address selection input made by the acquisition user based on the first address information list;
and determining the address information input by the user at the address input component according to the target first address information.
The second aspect of the present invention discloses an implementation apparatus for an address input component, the apparatus comprising:
the display module is used for displaying a first address information list in a first preset area of the address input assembly when a request for inputting address information is detected, wherein the first address information list comprises at least one piece of first address information;
the judging module is used for judging whether the first address information list needs to be updated or not;
an obtaining module, configured to obtain a first address selection input made by a user based on the first address information list when the determining module determines that the first address information list does not need to be updated, where the first address selection input is used to indicate that the user selects target first address information from the first address information list;
the updating module is used for updating the first address information contained in the first address information list when the judging module judges that the first address information list needs to be updated, and triggering the acquiring module to execute the operation of first address selection input made by the acquiring user based on the first address information list;
and the determining module is used for determining the address information input by the user at the address input component according to the target first address information.
A third aspect of the present invention discloses a computer apparatus, comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps in the implementation method of the address input component disclosed by the first aspect of the invention.
In a fourth aspect, the present invention discloses a computer storage medium, which stores computer instructions, and when the computer instructions are called, the computer instructions are used to execute some or all of the steps in the implementation method of the address input component disclosed in the first aspect of the present invention.
In the embodiment of the invention, after the request for inputting the address information is detected, whether the first address information list needs to be updated is judged, and after the first address information list needs to be updated is judged, the first address information list is updated first, and then the first address selection input of the user is acquired, so that the address information input by the user on the address input assembly is determined, the automatic adjustment of the first address information list is realized, the accuracy of the first address information list is favorably ensured, and the user experience of the address input assembly is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for implementing an address input component according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an apparatus for implementing an address input component according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a method and a device for realizing an address input component, computer equipment and a storage medium, which can judge whether a first address information list needs to be updated or not after detecting a request for inputting address information, and after judging that the first address information list needs to be updated, firstly update the first address information list and then acquire the first address selection input of a user, thereby determining the address information input by the user at the address input component, realizing the automatic adjustment of the first address information list, being beneficial to ensuring the accuracy of the first address information list and improving the user experience of the address input component. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for implementing an address input component according to an embodiment of the present invention. As shown in fig. 1, the implementation method of the address input component may include the following operations:
101. when a request for inputting address information is detected, displaying a first address information list in a first preset area of an address input assembly, wherein the first address information list comprises at least one piece of first address information;
102. judging whether the first address information list needs to be updated or not;
103. when the first address information list is judged not to be updated, acquiring a first address selection input made by a user based on the first address information list, wherein the first address selection input is used for indicating that the user selects target first address information from the first address information list;
104. when the first address information list is judged to be needed to be updated, updating first address information contained in the first address information list, and triggering and executing operation of first address selection input made by the acquisition user based on the first address information list;
105. and determining the address information input by the user at the address input component according to the target first address information.
In the implementation process of the currently common address input component, the first address information is usually pre-stored by a developer in the development process, the first address information is usually not changed after the development is completed, when a user needs to input the address information through the address input component, a plurality of pre-stored first address information are presented to the user in a list form, and then the user can select one address information from the plurality of first address information in the list as the address information to be input through the address input component. It can be seen that the first address information of this implementation is fixed and unchangeable, and if the first address information changes (e.g. community mergence or renaming in a certain city) or the pre-stored first address information fails to cover the address information that the user wants to input or the pre-stored first address information is incorrect, the user may not input the correct address information through the address input component, and at this time, the user can input the correct address information only by waiting for the developer to modify the stored first address information, which will affect the user experience of the address input component.
In the embodiment of the present invention, after the first preset area of the address input component displays the first address information list including the first address information, it is determined whether the first address information list needs to be updated (i.e., whether the first address information included in the first address information list is correct, and a specific determination process is described later), and if it is determined that the first address information list needs to be updated, the first address information list is updated (a specific update process is described later) so that the first address information included in the first address information list is correct, so that a user can input the address information that the user wants to input through the updated first address information list. For example, if the user wants to input a street name, which is just modified, in the current implementation manner of the address input component, the user needs to wait for the developer to release a new software version, and the user can input a new street name by modifying the first address information in the first address information list in the new software version. The implementation mode of the address input assembly can update the first address information list in time when the user uses the address input assembly, so that the user can input a new street name in time without waiting for a developer to correct the first address information list, and the user experience of the address input assembly is greatly improved.
It can be seen that, by implementing the method for implementing the address input component described in fig. 1, after detecting the request for inputting the address information, it can be determined whether the first address information list needs to be updated, and after determining that the first address information list needs to be updated, the first address information list is updated first, and then the first address selection input of the user is acquired, so that the address information input by the user at the address input component is determined, thereby implementing the automatic adjustment of the first address information list, being beneficial to ensuring the accuracy of the first address information list, and improving the user experience of the address input component.
In an optional embodiment, after detecting the request for inputting the address information, before displaying the first address information list in the first preset area of the address input component, the method further comprises:
judging whether a first address information set corresponding to the first address information list exists or not;
when the first address information set is judged to exist, triggering and executing the operation of displaying a first address information list in a first preset area of an address input assembly;
when the first address information set does not exist, requesting a third-party map service to obtain the first address information set, and triggering and executing the operation of displaying a first address information list in a first preset area of an address input assembly;
and displaying a first address information list in a first preset area of the address input component, wherein the first address information list comprises:
and displaying a first address information list in a first preset area of an address input component based on the first address information set.
In this alternative embodiment, in the implementation process of the address input component, the first address information included in the first address information list is usually pre-stored in a data set (i.e., the first address information set), and when the first address information list is displayed, the display of the first address information list needs to be completed depending on the data set. However, since the address information is previously stored by the developer, if the corresponding address information is not previously stored, the first address information list cannot be correctly displayed, and the user cannot complete correct address information input. For example, for some remote locations, there may be a situation where address information for the remote location is not stored in the data set, resulting in a user being unable to enter address information for the remote location via the address input component. In the embodiment of the present invention, before displaying the first address information list, it may be determined whether the first address information set corresponding to the first address information list already exists, and if not, the first address information set may be automatically obtained by requesting an external map service (e.g., a Baidu map, a google map, etc.), so as to complete the display of the first address information list.
Therefore, when the optional embodiment is implemented, the external map service can be automatically requested to obtain the corresponding first address information set when the first address information set corresponding to the first address information list is not stored, so that the display of the first address information list is completed, the automatic acquisition of the first address information set can be realized, the errors of the address input assembly can be reduced, and the user experience of the address input assembly can be improved.
In an optional embodiment, the updating the first address information included in the first address information list includes:
requesting a third-party map service to obtain a first address information set corresponding to the new first address information list;
and redisplaying the first address information list in a first preset area of the address input component based on the first address information set corresponding to the new first address information list.
In this alternative embodiment, when it is determined that the first address information list needs to be updated, the latest first address information set may be obtained through an external map service (e.g., a Baidu map, a Google map, etc.), and then the first address information list is redisplayed using the latest first address information set, so as to complete updating of the first address information in the first address information list. For example, the first address information list is used to show all street names in a certain community, and when it is determined that the street names in the first address information list are wrong, the hundredth map service may be requested to obtain the latest street names in the community, and then the latest street names are displayed in the first address information list, so that the modification of the first address information list is completed, and the update of the first address information list is realized.
Therefore, by implementing the optional embodiment, the third-party map service is requested to obtain the new first address information set, and then the first address information list is displayed by the new first address information set, so that the updating of the first address information list is completed, the automatic adjustment of the address input assembly is realized, the errors of the address input assembly are reduced, and the user experience of the address input assembly is improved.
In an optional embodiment, the updating the first address information included in the first address information list includes:
acquiring error address information and/or missing address information input by the user;
when the wrong address information input by the user is acquired, deleting the wrong address information from a first address information set corresponding to the first address information list to obtain a new first address information set corresponding to the first address information list;
when the missing address information input by the user is acquired, adding the missing address information to a first address information set corresponding to the first address information list to obtain a new first address information set corresponding to the first address information list;
and redisplaying the first address information list in a first preset area of the address input component based on the first address information set corresponding to the new first address information list.
In this optional embodiment, when it is determined that the first address information list needs to be updated, a corresponding text input box may be provided on the interactive interface for collecting incorrect address information and/or missing address information input by the user, and the user operates to update the first address information list. For example, the first address information list includes: guangdong province and Guansouth province … …, wherein the Guansouth province is wrong address information, and lacks the Guangxi province that the user wants to input, and the user can regard the Guangxi province as missing address information, regards the wrong Guansouth province as wrong address information, so, can delete the Guangxi province from the first address information list promptly, add the Guangxi province to the first address information list to realize the correction of first address information list, accomplish the update of first address information list.
Therefore, the implementation of the optional embodiment can realize the manual adjustment of the address input component by the user, is beneficial to reducing the errors of the address input component and improves the user experience of the address input component.
In an optional embodiment, the determining whether the first address information list needs to be updated includes:
sending a verification request to a third-party map service to obtain a first address information verification list;
judging whether the first address information check list is consistent with the first address information list or not;
when the first address information check list is judged to be consistent with the first address information list, determining that the first address information list does not need to be updated;
and when the first address information check list is judged to be inconsistent with the first address information list, determining that the first address information list needs to be updated.
In this optional embodiment, when determining whether the first address information list is correct (i.e., whether updating is required), a verification request may be sent to a third-party map service (e.g., a Baidu map, a Google map, etc.) to obtain a first address information verification list corresponding to the first address information list, and if the first address information list is used to show all names of cities in Guangdong province, the latest all names of cities in Guangdong province are requested to be obtained from the third-party map service as the first address information verification list.
Therefore, by implementing the optional embodiment, the first address information list is compared with the first address information check list obtained through the third-party map service, so that whether the first address information list needs to be updated can be accurately judged, errors of the address input assembly can be reduced, and user experience of the address input assembly can be improved.
In an optional embodiment, the determining whether the first address information list needs to be updated includes:
detecting whether an update request for the first address information list input by the user is received;
determining that the first list of address information does not need to be updated when the update request is not detected;
when the update request is detected, determining that the first address information list needs to be updated.
In this alternative embodiment, it may also be determined manually by the user whether the first address information list needs to be updated. In particular, a specific key for a user to initiate an update request may be provided at the interactive interface. After the user views the first address information list, if the first address information list is found to be wrong, the user can click the key to initiate an update request, and then the first address information list is updated.
Therefore, by implementing the optional embodiment, the user can manually initiate the update of the first address information list, so that the update of the first address information list is more flexible, the errors of the address input assembly are reduced, and the user experience of the address input assembly is improved.
In an optional embodiment, after the obtaining of the first address selection input made by the user based on the first address information list, the method further comprises:
displaying a second address information list corresponding to the target first address information in a second preset area of the address input assembly, wherein the second address information list comprises at least one piece of second address information;
judging whether the second address information list needs to be updated or not;
when judging that the second address information list does not need to be updated, acquiring a second address selection input made by the user based on the second address information list, wherein the second address selection input is used for indicating that the user selects target second address information from the second address information list;
when the second address information list is judged to be needed to be updated, updating second address information contained in the second address information list, and triggering and executing the operation of acquiring second address selection input made by the user based on the second address information list;
and the step of determining the address information input by the user at the address input component according to the target first address information comprises the following steps:
and determining the address information input by the user at the address input component according to the target first address information and the target second address information.
In this alternative embodiment, typically a complete address message may comprise several parts of the address message, for example, a complete address message may include address information of four parts of province-city-community-street, wherein, the input of the address information of each part can correspond to an address information list, for example, the address information of the province part corresponds to a first address information list, the input is realized through a first address information list, the address information of the city part corresponds to a second address information list, the input is realized through a second address information list, the address information of the community part corresponds to a third address information list, by analogy with the third address information list implementation input … …, multiple address information input lists can be included in the address input component at the same time for obtaining multiple parts of address information to form complete address information. Specifically, the first address information, the second address information, and the third address information may establish a corresponding upper-lower level relationship, and after acquiring the upper level address information input by the user, a lower level address information list corresponding to the upper level address information may be determined, for example, after the user inputs the first address information through the first address information list, the corresponding second address information list may be acquired according to the input first address information, for example, after the user inputs the address information of the province part as guangdong province, all cities subordinate to guangdong province may be used as the second address information list, and then the user may select the city to be input from the second address information list as the address information of the city part. The address information list corresponding to the address information of each part can be set to be automatically updated. The updating process of each partial address information list may refer to the updating process of the first address information list, and is not repeated one by one in order to avoid repetition.
It can be seen that, by implementing the optional embodiment, a first address information list for acquiring first address information and a second address information list for acquiring second address information can be set in the address input component, and after the first address information and the second address information are acquired, the address information input by the user in the address input component is determined according to the first address information and the second address information, so that the address input component can acquire more complex address information.
Optionally, it is also possible: and uploading the input information of the implementation method of the address input component to a block chain.
Specifically, the input information is obtained by executing the implementation method of the address input component, and is used for recording the implementation condition of the address input component, for example, the time when the request for inputting the address information is detected, all the first address information in the first address information list, the obtained target first address information, and the like. Uploading the input information to the blockchain can ensure the safety and the fair transparency of the input information to the user. The user may download this input information from the blockchain in order to verify that the input information of the implementation method of the address input component has been tampered with. The blockchain referred to in this example is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Therefore, by implementing the method for implementing the address input component disclosed by the embodiment of the invention, whether the first address information list needs to be updated or not can be judged after the request for inputting the address information is detected, and after the first address information list is judged to need to be updated, the first address information list is updated first, and then the first address selection input of the user is acquired, so that the address information input by the user at the address input component is determined, the automatic adjustment of the first address information list is realized, the accuracy of the first address information list is favorably ensured, and the user experience of the address input component is improved. When the first address information set corresponding to the first address information list is not stored, the external map service can be automatically requested to obtain the corresponding first address information set so as to complete the display of the first address information list, and therefore the automatic acquisition of the first address information set can be realized. And the updating of the first address information list is also completed by requesting a third-party map service to obtain a new first address information set and then displaying the first address information list in the new first address information set. It is also possible to enable manual adjustment of the address input component by the user. And comparing the first address information list with a first address information check list obtained through a third-party map service, so that whether the first address information list needs to be updated or not can be accurately judged. The updating of the first address information list can also be initiated manually, thereby making the updating of the first address information list more flexible. And after the first address information and the second address information are acquired, the address information input by the user at the address input assembly is determined according to the first address information and the second address information, so that the address input assembly can acquire more complex address information.
Example two
Referring to fig. 2, fig. 2 is a schematic structural diagram of an implementation apparatus of an address input component according to an embodiment of the present invention. As shown in fig. 2, the apparatus for implementing the address input component may include:
a display module 201, configured to display a first address information list in a first preset area of an address input component when a request for inputting address information is detected, where the first address information list includes at least one piece of first address information;
a judging module 202, configured to judge whether the first address information list needs to be updated;
an obtaining module 203, configured to, when the determining module 202 determines that the first address information list does not need to be updated, obtain a first address selection input made by a user based on the first address information list, where the first address selection input is used to indicate that the user selects target first address information from the first address information list;
an updating module 204, configured to update the first address information included in the first address information list when the determining module 202 determines that the first address information list needs to be updated, and trigger the obtaining module 203 to perform an operation of the obtaining user to select and input a first address based on the first address information list;
a determining module 205, configured to determine, according to the target first address information, address information input by the user at the address input component.
For the specific description of the implementation apparatus of the address input component, reference may be made to the specific description of the implementation method of the address input component, which is not described in detail herein.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention. As shown in fig. 3, the computer apparatus may include:
a memory 301 storing executable program code;
a processor 302 connected to the memory 301;
the processor 302 calls the executable program code stored in the memory 301 to execute the steps in the method for implementing the address input component disclosed in the embodiment of the present invention.
Example four
The embodiment of the invention discloses a computer storage medium 401, wherein a computer instruction is stored in the computer storage medium 401, and when the computer instruction is called, the computer instruction is used for executing steps in the implementation method of the address input component disclosed by the embodiment of the invention.
The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM), or other magnetic disk memories, magnetic tape memories, magnetic disk drives, magnetic tape drives, and magnetic tape drives, Or any other medium which can be used to carry or store data and which can be read by a computer.
Finally, it should be noted that: the method, apparatus, computer device and storage medium for implementing an address input component disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, rather than limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for implementing an address input component, the method comprising:
when a request for inputting address information is detected, displaying a first address information list in a first preset area of an address input assembly, wherein the first address information list comprises at least one piece of first address information;
judging whether the first address information list needs to be updated or not;
when the first address information list is judged not to be updated, acquiring a first address selection input made by a user based on the first address information list, wherein the first address selection input is used for indicating that the user selects target first address information from the first address information list;
when the first address information list is judged to be needed to be updated, updating first address information contained in the first address information list, and triggering and executing operation of first address selection input made by the acquisition user based on the first address information list;
and determining the address information input by the user at the address input component according to the target first address information.
2. The method for implementing an address input component of claim 1, wherein after detecting the request for inputting address information, before displaying the first address information list in the first preset area of the address input component, the method further comprises:
judging whether a first address information set corresponding to the first address information list exists or not;
when the first address information set is judged to exist, triggering and executing the operation of displaying a first address information list in a first preset area of an address input assembly;
when the first address information set does not exist, requesting a third-party map service to obtain the first address information set, and triggering and executing the operation of displaying a first address information list in a first preset area of an address input assembly;
and displaying a first address information list in a first preset area of the address input component, wherein the first address information list comprises:
and displaying a first address information list in a first preset area of an address input component based on the first address information set.
3. The method for implementing an address input component according to claim 1 or 2, wherein the updating the first address information included in the first address information list includes:
requesting a third-party map service to obtain a first address information set corresponding to the new first address information list;
and redisplaying the first address information list in a first preset area of the address input component based on the first address information set corresponding to the new first address information list.
4. The method for implementing an address input component according to claim 1 or 2, wherein the updating the first address information included in the first address information list includes:
acquiring error address information and/or missing address information input by the user;
when the wrong address information input by the user is acquired, deleting the wrong address information from a first address information set corresponding to the first address information list to obtain a new first address information set corresponding to the first address information list;
when the missing address information input by the user is acquired, adding the missing address information to a first address information set corresponding to the first address information list to obtain a new first address information set corresponding to the first address information list;
and redisplaying the first address information list in a first preset area of the address input component based on the first address information set corresponding to the new first address information list.
5. The method of claim 1, wherein the determining whether the first address information list needs to be updated comprises:
sending a verification request to a third-party map service to obtain a first address information verification list;
judging whether the first address information check list is consistent with the first address information list or not;
when the first address information check list is judged to be consistent with the first address information list, determining that the first address information list does not need to be updated;
and when the first address information check list is judged to be inconsistent with the first address information list, determining that the first address information list needs to be updated.
6. The method of claim 1, wherein the determining whether the first address information list needs to be updated comprises:
detecting whether an update request for the first address information list input by the user is received;
determining that the first list of address information does not need to be updated when the update request is not detected;
when the update request is detected, determining that the first address information list needs to be updated.
7. The method of claim 1, wherein after obtaining a first address selection input by a user based on the first list of address information, the method further comprises:
displaying a second address information list corresponding to the target first address information in a second preset area of the address input assembly, wherein the second address information list comprises at least one piece of second address information;
judging whether the second address information list needs to be updated or not;
when judging that the second address information list does not need to be updated, acquiring a second address selection input made by the user based on the second address information list, wherein the second address selection input is used for indicating that the user selects target second address information from the second address information list;
when the second address information list is judged to be needed to be updated, updating second address information contained in the second address information list, and triggering and executing the operation of acquiring second address selection input made by the user based on the second address information list;
and the step of determining the address information input by the user at the address input component according to the target first address information comprises the following steps:
and determining the address information input by the user at the address input component according to the target first address information and the target second address information.
8. An apparatus for implementing an address input component, the apparatus comprising:
the display module is used for displaying a first address information list in a first preset area of the address input assembly when a request for inputting address information is detected, wherein the first address information list comprises at least one piece of first address information;
the judging module is used for judging whether the first address information list needs to be updated or not;
an obtaining module, configured to obtain a first address selection input made by a user based on the first address information list when the determining module determines that the first address information list does not need to be updated, where the first address selection input is used to indicate that the user selects target first address information from the first address information list;
the updating module is used for updating the first address information contained in the first address information list when the judging module judges that the first address information list needs to be updated, and triggering the acquiring module to execute the operation of first address selection input made by the acquiring user based on the first address information list;
and the determining module is used for determining the address information input by the user at the address input component according to the target first address information.
9. A computer device, characterized in that the computer device comprises:
a memory storing executable program code;
a processor coupled to the memory;
the processor calls the executable program code stored in the memory to execute the method for implementing the address input component according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements a method of implementing an address input component according to any one of claims 1 to 7.
CN202110214664.8A 2021-02-25 2021-02-25 Method, device and equipment for realizing address input assembly and storage medium Pending CN112925868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110214664.8A CN112925868A (en) 2021-02-25 2021-02-25 Method, device and equipment for realizing address input assembly and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110214664.8A CN112925868A (en) 2021-02-25 2021-02-25 Method, device and equipment for realizing address input assembly and storage medium

Publications (1)

Publication Number Publication Date
CN112925868A true CN112925868A (en) 2021-06-08

Family

ID=76172044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110214664.8A Pending CN112925868A (en) 2021-02-25 2021-02-25 Method, device and equipment for realizing address input assembly and storage medium

Country Status (1)

Country Link
CN (1) CN112925868A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114418533A (en) * 2022-01-13 2022-04-29 北京声智科技有限公司 Questionnaire processing method, apparatus, device, storage medium and computer program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751266A (en) * 2008-12-02 2010-06-23 爱思开电讯投资(中国)有限公司 Method and device for updating graphic user interface (GUI) component
CN110347768A (en) * 2019-06-28 2019-10-18 秒针信息技术有限公司 A kind of update method of map, device, storage medium and electronic device
CN110572466A (en) * 2019-09-16 2019-12-13 天津五八到家科技有限公司 position acquisition method, device and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751266A (en) * 2008-12-02 2010-06-23 爱思开电讯投资(中国)有限公司 Method and device for updating graphic user interface (GUI) component
CN110347768A (en) * 2019-06-28 2019-10-18 秒针信息技术有限公司 A kind of update method of map, device, storage medium and electronic device
CN110572466A (en) * 2019-09-16 2019-12-13 天津五八到家科技有限公司 position acquisition method, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114418533A (en) * 2022-01-13 2022-04-29 北京声智科技有限公司 Questionnaire processing method, apparatus, device, storage medium and computer program product

Similar Documents

Publication Publication Date Title
KR101999409B1 (en) Formatting data by example
CN108196878B (en) Method and device for generating application program installation package, electronic equipment and storage medium
US8112354B2 (en) Method and system for virtual consolidation of biller direct web sites
CN104412256B (en) Generate localised users interface
CN110221904B (en) Business process control method
US8311794B2 (en) Testing executable logic
US20190163499A1 (en) Simulating human interface interaction resilient to user interface changes
CN110673907B (en) Multi-role page jumping method and device, computer equipment and readable storage medium
BRPI0721732A2 (en) automatic contact information input via location sensing
CN113448862B (en) Software version testing method and device and computer equipment
CN110297808A (en) File modification method, apparatus, computer equipment and the storage medium of container application
CN112925868A (en) Method, device and equipment for realizing address input assembly and storage medium
CN114528504A (en) Data processing method, device, electronic equipment and medium
CN105786484B (en) A kind of application fusion method and device
CN110674233B (en) Method and equipment for generating operation view based on electronic map
CN102597952B (en) Software library rebuilds apparatus and method and utilizes the guider of these apparatus and method
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN111125202B (en) Map customization method, device, equipment and storage medium based on big data
CN111240562B (en) Data processing method, device, terminal equipment and computer storage medium
CN106663004A (en) Subscriber defined dynamic eventing
CN113221509B (en) Automatic generation method, device and equipment of slide and storage medium
CN117196876B (en) Task money settlement method and device, electronic equipment and storage medium
CN111125083B (en) Historical record screening method and device
US9945681B2 (en) Verification of a generated route in computer assisted navigation
CN113157273A (en) Fee calculation method, fee calculation device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination