CN116541421A - Address query information generation method and device, electronic equipment and computer medium - Google Patents

Address query information generation method and device, electronic equipment and computer medium Download PDF

Info

Publication number
CN116541421A
CN116541421A CN202310828031.5A CN202310828031A CN116541421A CN 116541421 A CN116541421 A CN 116541421A CN 202310828031 A CN202310828031 A CN 202310828031A CN 116541421 A CN116541421 A CN 116541421A
Authority
CN
China
Prior art keywords
address information
address
information group
target
determining
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.)
Granted
Application number
CN202310828031.5A
Other languages
Chinese (zh)
Other versions
CN116541421B (en
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.)
Zhongguancun Smart City Co Ltd
Original Assignee
Zhongguancun Smart City 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 Zhongguancun Smart City Co Ltd filed Critical Zhongguancun Smart City Co Ltd
Priority to CN202310828031.5A priority Critical patent/CN116541421B/en
Publication of CN116541421A publication Critical patent/CN116541421A/en
Application granted granted Critical
Publication of CN116541421B publication Critical patent/CN116541421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • 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/22Indexing; Data structures therefor; Storage structures
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the disclosure discloses an address query information generation method, an address query information generation device, electronic equipment and a computer medium. One embodiment of the method comprises the following steps: in response to the storage modes of the address information group set being forward index storage, executing the following processing steps according to the address information group set: determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence; determining an address information group which is different from an address information group corresponding to a target address information sequence in the address information group set as a first address information group; determining target address data according to the first address information group; in response to determining that the alternative address information included in the alternative address information set meets an address data screening condition, determining the first address information set as an alternative address information set; and generating address inquiry information according to the address information group to be selected and the address information set to be selected. The embodiment shortens the time for reading the address data and reduces the occupation of computing resources.

Description

Address query information generation method and device, electronic equipment and computer medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for generating address query information, electronic equipment and a computer medium.
Background
Querying the address data refers to retrieving the required address data from an address database. Currently, in generating address query information, the following methods are generally adopted: all address data are required to be read into the memory at one time and sorted simultaneously, so that address inquiry information is determined according to the sorting result.
However, when determining address query information in the above manner, there are often the following technical problems:
firstly, the memory is read in all at one time and ordered, and the data volume of reading and ordering is larger, so that the time for reading the data is longer, and the occupation of computing resources is more;
secondly, when address inquiry information is generated, a mode of combining reverse index and screening data is not adopted, so that the data reading time is longer, and more computing resources are occupied;
thirdly, the address in the address information base is not identified, so that the stored address information is inaccurate, and the address information inquiry fails.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, may contain information that does not form the prior art that is already known to those of ordinary skill in the art in this country.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose address query information generation methods, apparatuses, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an address query information generation method, including: reading an address information group set in an address information base, wherein the address information group in the address information group set corresponds to a storage position, and the address information in the address information group set comprises address attribute data and mark field data; in response to the storage mode of each address information included in the address information group set being forward index storage, executing the following processing steps according to the address information group set: randomly selecting an address information group from the address information group set as a target address information group; sorting the target address information included in the target address information group to generate a target address information sequence; determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence; determining any one address information group which is different from the address information group corresponding to the target address information sequence in the address information group set as a first address information group; determining target address data according to the first address information group; determining the first address information group as a candidate address information group in response to determining that at least one candidate address information included in the candidate address information set meets an address data screening condition corresponding to target address data; and generating address inquiry information according to the address information set to be selected and the address information set to be selected.
In a second aspect, some embodiments of the present disclosure provide an address query information generating apparatus, the apparatus including: a reading unit configured to read a set of address information groups in an address information base, wherein the address information groups in the set of address information groups correspond to a storage location, and the address information in the set of address information groups includes address attribute data and tag field data; an information generating unit configured to respond to the storage mode of each address information included in the address information group set being forward index storage, and execute the following processing steps according to the address information group set: randomly selecting an address information group from the address information group set as a target address information group; sorting the target address information included in the target address information group to generate a target address information sequence; determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence; determining any one address information group which is different from the address information group corresponding to the target address information sequence in the address information group set as a first address information group; determining target address data according to the first address information group; determining the first address information group as a candidate address information group in response to determining that at least one candidate address information included in the candidate address information set meets an address data screening condition corresponding to target address data; and generating address inquiry information according to the address information set to be selected and the address information set to be selected.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors causes the one or more processors to implement the method described in any of the implementations of the first aspect above.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following advantageous effects: by the address query information generation method of some embodiments of the present disclosure, the time for reading address data is shortened, and occupation of computing resources is retrieved. Specifically, the reason why the time for reading data is long and the computing resources are occupied is that: the method is characterized in that the method comprises the steps of reading the memory and sequencing all at once, wherein the data volume of reading and sequencing is larger, so that the time for reading the data is longer, and the occupied computing resources are more. Based on this, the address query information generation method of some embodiments of the present disclosure first reads the address information group set in the address information base. The address information set in the address information set corresponds to a storage location, and the address information in the address information set comprises address attribute data and tag field data. Thereby, the address information group set of the entire address data amount can be read. Then, in response to the storage mode of each address information included in the address information group set being forward index storage, the following processing steps are executed according to the address information group set: first, an address information group is randomly selected from the above-described address information group set as a target address information group. And secondly, sequencing the target address information included in the target address information group to generate a target address information sequence. Thus, the target address information sequence can be obtained, and the address data is subjected to block processing. The efficiency of data processing is improved. And then, determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence. Thus, the query information corresponding to the target address information sequence is convenient to obtain. Then, any one of the address information groups different from the address information group corresponding to the target address information sequence among the address information groups is determined as a first address information group. Then, the target address data is determined based on the first address information group. Thus, the target address data in the first address information group can be obtained, so that whether each address data in the candidate address information set needs to be read or not can be judged by comparing the target data in the candidate address information set with the target address data, and the target address data can be used for reducing the data amount of processing. And then, in response to determining that at least one piece of alternative address information included in the alternative address information set meets an address data screening condition corresponding to target address data, determining the first address information set as an alternative address information set. Thus, by performing block screening on address data in all address information, a group of address information to be selected, which is necessary to read, can be screened out. Therefore, the method can be used for reducing the read data quantity and reducing the occupation of system resources. And finally, generating address inquiry information according to the address information set to be selected and the address information set to be selected. Thus, address inquiry information generated after data pruning is performed on all address information can be obtained. And because each data included in the address information group set representing all address information is subjected to block processing, the time for reading the address data is shortened, and the occupation of computing resources is reduced.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of some embodiments of an address query information generation method according to the present disclosure;
FIG. 2 is a schematic diagram of the structure of some embodiments of an address query information generation device according to the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a flow chart of some embodiments of an address query information generation method according to the present disclosure. A flow 100 of some embodiments of an address query information generation method according to the present disclosure is shown. The address query information generation method comprises the following steps:
Step 101, reading an address information group set in an address information base.
In some embodiments, the execution body (e.g., server) of the address query information generation method may read the address information group set in the address information base from the terminal device by means of a wired connection or a wireless connection. The address information set in the address information set corresponds to a storage location, and the address information in the address information set comprises address attribute data and tag field data. The different storage locations correspond to different sets of address information. The storage location may represent a storage node. The address attribute data may represent address names and address longitudes and latitudes. The tag field data may indicate a priority and/or usage of the address. The address attribute data may also include an address data number.
Optionally, the address information base is obtained through the following steps:
first, an address information image set to be identified is obtained. The image set of the address information to be identified can be obtained from the terminal equipment in a wired connection or wireless connection mode. The address information image to be identified may refer to an image containing address information
And secondly, inputting the address information image set to be identified into a pre-trained address identification model to obtain an address character information set. Wherein the address character information group in the address character information group set corresponds to the address information image to be identified in the address information image set to be identified. The address recognition model may be a neural network model which is trained in advance, takes an image of address information to be recognized as an input, and takes an information group of address characters as an output. For example, the address identification model may be a YOLO v5 model or a convolutional neural network model. Here, the address character information may represent the recognized address character.
And thirdly, generating an identification address information set according to the address character information set. Wherein the address character information group in the address character information group set corresponds to the identification address information in the identification address information group. For example, the individual address character information included in each address character information group may be combined into the identification address information.
And fourthly, inputting the identification address information set into a pre-trained abnormal address identification model to obtain an address identification result set. The abnormal address recognition model may be a neural network model trained in advance with recognition address information as an input and an address recognition result as an output. For example, the abnormal address identification model may be a pre-trained convolutional neural network model. The address recognition result may indicate whether or not the recognition address information has an address element missing. Address elements may include, but are not limited to: administrative address elements, street address elements, road number address elements, point of interest address elements, building number address elements.
And fifthly, determining the address recognition result which characterizes the address without abnormality in the address recognition result set as a target address recognition result, and obtaining a target address recognition result set. The address identification result indicates that the address has no abnormality, which may mean that the address elements in the address information are complete.
And sixthly, adding the marking field data to each piece of identification address information corresponding to the target address identification result group so as to generate the added identification address information as address information.
And seventhly, adding each piece of address information into a preset database to obtain an address information base.
The above-mentioned related matters serve as an invention point of the embodiments of the present disclosure, and solve the third technical problem mentioned in the background art, namely "failure of address information query". The factors that cause address information query failure are often as follows: the addresses in the address information base are not identified, resulting in inaccuracy of the stored address information. If the above factors are solved, the effect of reducing the probability of failure of the address information query can be achieved. To achieve this effect, first, an image set of address information to be identified is acquired. And secondly, inputting the image set of the address information to be identified into a pre-trained address identification model to obtain an address character information set. Then, a set of identification address information is generated based on the set of address character information sets. Wherein the address character information group in the address character information group set corresponds to the identification address information in the identification address information group. Thereby, address information in the image can be recognized. And then, inputting the identification address information set into a pre-trained abnormal address identification model to obtain an address identification result set. Thus, it can be determined whether the identified address is abnormal. And then, determining the address recognition result which represents that the address has no abnormality in the address recognition result set as a target address recognition result to obtain a target address recognition result set. And finally, adding the identification address information corresponding to the target address identification result group into a preset database to obtain an address information base. Therefore, the address information without abnormality can be added into a preset database, so that the address information in the address information database can keep accuracy, and the probability of failure of address information inquiry is reduced.
Step 102, in response to the storage mode of each address information included in the address information group set being forward index storage, executing the following processing steps according to the address information group set:
step 1021, randomly selecting an address information group from the address information group set as a target address information group.
In some embodiments, the executing entity may randomly select an address information group from the set of address information groups as the target address information group.
Step 1022, sorting the destination address information included in the destination address information group to generate a destination address information sequence.
In some embodiments, the execution body may sort the respective destination address information included in the destination address information group to generate a destination address information sequence. For example, the respective target address information included in the target address information group may be sorted by bubbling sorting and/or rapid sorting to generate a target address information sequence. For another example, the respective destination address information included in the destination address information group may be sorted from large to small according to the tag field data included in the respective destination address information to generate a destination address information sequence.
Step 1023, determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence.
In some embodiments, the execution body may determine, according to the target address information sequence, an alternative address information set corresponding to the target address information sequence.
In practice, the executing body may determine each target address information satisfying the first preset condition in the target address information sequence as an alternative address information set. Wherein, the first preset condition is: ordinal values corresponding to the target address information meet preset sequence screening conditions. The sequence number corresponding to the target address information may refer to a sequence number of the target address information in the target address information sequence. The preset order screening conditions may be: the sequence value is smaller than or equal to a preset sequence value.
Step 1024, determining any one of the address information groups different from the address information group corresponding to the target address information sequence among the address information groups as the first address information group.
In some embodiments, the execution body may determine any one of the address information groups different from the address information group corresponding to the target address information sequence among the address information groups as the first address information group. That is, one address information group different from the address information group corresponding to the target address information sequence among the address information groups may be randomly determined as the first address information group.
Step 1025, determining the target address data according to the first address information set.
In some embodiments, the execution body may determine the target address data according to the first address information set.
In practice, the execution subject may determine the target address data by:
and a first step of sorting the first address information according to the mark field data included in the first address information group to obtain a first address information sequence. The first address information may be sorted according to the value represented by the tag field data from large to small, to obtain a first address information sequence.
And a second step of determining the first address information meeting the preset threshold condition in the first address information sequence as target address data. The preset threshold condition is that the ordinal value corresponding to the first address information is equal to a preset ordinal value. The preset sequence number may be 1.
And step 1026, in response to determining that at least one of the candidate address information sets includes candidate address information that satisfies the address data filtering condition corresponding to the target address data, determining the first address information set as a candidate address information set.
In some embodiments, the executing body may determine the first address information group as the candidate address information group in response to determining that at least one candidate address information included in the candidate address information set satisfies an address data filtering condition corresponding to the target address data. The address data filtering condition may be: the tag field data included in the alternative address information is less than or equal to the tag field data included in the target address data.
Step 1027, generating address inquiry information according to the address information group to be selected and the address information set to be selected.
In some embodiments, the execution body may generate address query information according to the candidate address information set and the candidate address information set.
In practice, the execution subject may generate address query information by:
the first step, sorting the address information to be selected according to the data of each mark field included in the address information to be selected in the address information group to be selected, so as to obtain an address information sequence to be selected. And sorting the address information to be selected according to the values represented by the data of the marking fields from large to small to obtain a sequence of address information to be selected.
And a second step of determining each piece of address information to be selected meeting a second preset condition in the address information sequence to be selected as an address information set to be selected. The second preset condition is that the ordinal number of the position where the address information to be selected is located meets the preset sequence screening condition.
And thirdly, generating a candidate address information sequence according to the candidate address information set and the candidate address information set.
In practice, the third step may comprise the following sub-steps:
a first sub-step of combining each of the candidate address information sets with each of the candidate address information sets to generate a candidate address information set. Combining may be referred to as merging. I.e. merging each candidate address information with each candidate address information into a candidate address information set.
And a second sub-step of, in response to determining that the tag field data corresponding to the target address data is maximum data, performing descending order sequencing on each candidate address information according to each tag field data included in each candidate address information in the candidate address information set, thereby obtaining a descending order candidate address information sequence.
And a third sub-step of, in response to determining that the tag field data corresponding to the target address data is minimum value data, performing ascending sort on each candidate address information according to each tag field data included in each candidate address information in the candidate address information set, thereby obtaining an ascending candidate address information sequence.
And a fourth sub-step of determining the descending candidate address information sequence or the ascending candidate address information sequence as a candidate address information sequence.
And fourth, merging each candidate address information meeting the third preset condition in the candidate address information sequence into address query information. Wherein, the third preset condition is: ordinal values of the positions of the candidate address information meet the preset sequence screening condition.
Optionally, in response to determining that each of the candidate address information included in the candidate address information set does not satisfy the address data filtering condition, deleting the first address information group from the address information group set, and taking the address information group set after deleting the first address information group as a new address information group set, performing the processing step again.
In some embodiments, the executing body may delete the first address information group from the address information group set in response to determining that each of the candidate address information included in the candidate address information set does not satisfy the address data filtering condition, and execute the processing step again with the address information group set after deleting the first address information group as a new address information group set.
Optionally, the generated address query information is sent to the associated mobile terminal device, so as to display the address query information.
In some embodiments, the executing entity may send the generated address query information to the associated mobile terminal device to display the address query information. The mobile terminal device may be a mobile phone or a tablet computer.
Optionally, in response to determining that the storage manner of each address information included in the address information group set is an inverted index, for each address information group in the address information group set, performing the following steps:
and step one, sequencing all the marking field data included in the address information group to obtain a marking field data sequence.
And step two, sequencing the address data numbers corresponding to the mark field data sequence to generate an address data number sequence.
And thirdly, determining the address information corresponding to the address data number as the address information to be selected for each address data number in the address data number sequence to obtain the address information sequence to be selected.
And a fourth step of determining each piece of address information to be selected meeting a fourth preset data condition in the address information sequence to be selected as an address information set to be selected. The fourth preset data condition is that the ordinal number of the position where the address information to be selected is located meets the preset order screening condition.
Optionally, combining the obtained candidate address information sets to obtain candidate address information sets. Here, the combination may be splicing.
Optionally, sorting the candidate address information included in the candidate address information set to obtain a candidate address information sequence. In practice, the execution body may sort the candidate address information according to the size of the tag field data included in the candidate address information, to obtain a candidate address information sequence.
Optionally, combining each candidate address information meeting the fifth preset data condition in the candidate address information sequence to be selected into address query information. The fifth preset data condition is that the ordinal number of the position of the target data to be selected meets the preset sequence screening condition.
The above related matters serve as an invention point of the embodiments of the present disclosure, and solve the second technical problem mentioned in the background art, which is that the time for reading data is long and the occupation of computing resources is more. Factors that lead to longer data reading time and more computation resources are often as follows: when address inquiry information is generated, a mode of combining reverse index and screening data is not adopted, so that the data reading time is longer, and more calculation resources are occupied. If the above factors are solved, the effect of shortening the time for reading the data and reducing the occupation of computing resources can be achieved. To achieve this, first, in response to determining that each address information included in the set of address information groups is stored in the reverse index, the following steps are performed for each address information group in the set of address information groups: sequencing each piece of mark field data included in the address information group to obtain a mark field data sequence; sorting the address data numbers corresponding to the tag field data sequences to generate an address data number sequence; sorting the address data numbers corresponding to the tag field data sequences to generate an address data number sequence; and determining each piece of address information to be selected meeting the fourth preset data condition in the address information to be selected as an address information set to be selected. Thus, the reverse index storage method is adopted, and all address data is subjected to blocking processing. And thus may be used to generate address query information. And combining the obtained candidate address information sets to obtain candidate address information sets. And then, sequencing the candidate address information included in the candidate address information set to obtain a candidate address information sequence. And finally, merging each candidate address information meeting the fifth preset data condition in the candidate address information sequence to be selected into address inquiry information. Thus, address query information can be obtained. Since the amount of data for inquiry can be reduced by reversely indexing and storing the respective address information included in the address information group set. And because each address information included in the address information group set is subjected to block screening processing, the time for reading data can be reduced, and the occupation of computing resources is reduced.
With further reference to fig. 2, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of an address query information generating apparatus, which correspond to those method embodiments shown in fig. 2, and which are particularly applicable to various electronic devices.
As shown in fig. 2, the address query information generating apparatus 200 of some embodiments includes: a reading unit 201 and an information generating unit 202. Wherein, the reading unit 201 is configured to read an address information group set in the address information base, wherein, the address information group in the address information group set corresponds to a storage location, and the address information in the address information group set includes address attribute data and tag field data; an information generating unit 202 configured to perform the following processing steps according to the address information group set in response to the storage manner of each address information included in the address information group set being forward index storage: randomly selecting an address information group from the address information group set as a target address information group; sorting the target address information included in the target address information group to generate a target address information sequence; determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence; determining any one address information group which is different from the address information group corresponding to the target address information sequence in the address information group set as a first address information group; determining target address data according to the first address information group; determining the first address information group as a candidate address information group in response to determining that at least one candidate address information included in the candidate address information set meets an address data screening condition corresponding to target address data; and generating address inquiry information according to the address information set to be selected and the address information set to be selected.
It will be appreciated that the elements described in the address query information generation device 200 correspond to the respective steps in the method described with reference to fig. 1. Thus, the operations, features and advantages described above for the method are equally applicable to the address query information generating device 200 and the units contained therein, and are not described herein again.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., server) 300 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM302, and the RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 3 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 309, or from storage device 308, or from ROM 302. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: reading an address information group set in an address information base, wherein the address information group in the address information group set corresponds to a storage position, and the address information in the address information group set comprises address attribute data and mark field data; in response to the storage mode of each address information included in the address information group set being forward index storage, executing the following processing steps according to the address information group set: randomly selecting an address information group from the address information group set as a target address information group; sorting the target address information included in the target address information group to generate a target address information sequence; determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence; determining any one address information group which is different from the address information group corresponding to the target address information sequence in the address information group set as a first address information group; determining target address data according to the first address information group; determining the first address information group as a candidate address information group in response to determining that at least one candidate address information included in the candidate address information set meets an address data screening condition corresponding to target address data; and generating address inquiry information according to the address information set to be selected and the address information set to be selected.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor comprising: a reading unit and an information generating unit. The names of these units do not in any way constitute a limitation of the unit itself, for example, a reading unit may also be described as "a unit that reads a set of address information groups in an address information base".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (8)

1. An address query information generation method, comprising:
reading an address information group set in an address information base, wherein the address information group in the address information group set corresponds to a storage position, and the address information in the address information group set comprises address attribute data and mark field data;
in response to the storage mode of each address information included in the address information group set being forward index storage, executing the following processing steps according to the address information group set:
randomly selecting an address information group from the address information group set as a target address information group;
sorting all target address information included in the target address information group to generate a target address information sequence;
determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence;
determining any one address information group which is different from the address information group corresponding to the target address information sequence in the address information group set as a first address information group;
determining target address data according to the first address information group;
determining the first address information group as a candidate address information group in response to determining that at least one candidate address information included in the candidate address information set meets an address data screening condition corresponding to target address data;
And generating address inquiry information according to the address information group to be selected and the address information set to be selected.
2. The method of claim 1, wherein the method further comprises:
in response to determining that none of the candidate address information included in the candidate address information set satisfies the address data filtering condition, deleting the first address information group from the address information group set, and executing the processing step again with the address information group set after deleting the first address information group as a new address information group set.
3. The method of claim 1, wherein the method further comprises:
and sending the generated address inquiry information to the associated mobile terminal equipment so as to display the address inquiry information.
4. The method of claim 1, wherein the determining, according to the target address information sequence, an alternative address information set corresponding to the target address information sequence includes:
determining each target address information meeting a first preset condition in the target address information sequence as an alternative address information set, wherein the first preset condition is as follows: ordinal values corresponding to the target address information meet preset sequence screening conditions.
5. The method of claim 1, wherein the determining target address data from the first set of address information comprises:
sequencing each first address information according to each mark field data included in each first address information in the first address information group to obtain a first address information sequence;
and determining first address information meeting a preset threshold condition in the first address information sequence as target address data, wherein the preset threshold condition is that an ordinal value corresponding to the first address information is equal to a preset ordinal value.
6. An address inquiry information generating apparatus comprising:
a reading unit configured to read a set of address information groups in an address information base, wherein the address information groups in the set of address information groups correspond to a storage location, and the address information in the set of address information groups includes address attribute data and tag field data;
an information generating unit configured to respond to the storage mode of each address information included in the address information group set being forward index storage, and execute the following processing steps according to the address information group set: randomly selecting an address information group from the address information group set as a target address information group; sorting all target address information included in the target address information group to generate a target address information sequence; determining an alternative address information set corresponding to the target address information sequence according to the target address information sequence; determining any one address information group which is different from the address information group corresponding to the target address information sequence in the address information group set as a first address information group; determining target address data according to the first address information group; determining the first address information group as a candidate address information group in response to determining that at least one candidate address information included in the candidate address information set meets an address data screening condition corresponding to target address data; and generating address inquiry information according to the address information group to be selected and the address information set to be selected.
7. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
8. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-5.
CN202310828031.5A 2023-07-07 2023-07-07 Address query information generation method and device, electronic equipment and computer medium Active CN116541421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310828031.5A CN116541421B (en) 2023-07-07 2023-07-07 Address query information generation method and device, electronic equipment and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310828031.5A CN116541421B (en) 2023-07-07 2023-07-07 Address query information generation method and device, electronic equipment and computer medium

Publications (2)

Publication Number Publication Date
CN116541421A true CN116541421A (en) 2023-08-04
CN116541421B CN116541421B (en) 2023-09-12

Family

ID=87456459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310828031.5A Active CN116541421B (en) 2023-07-07 2023-07-07 Address query information generation method and device, electronic equipment and computer medium

Country Status (1)

Country Link
CN (1) CN116541421B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104429024A (en) * 2011-10-06 2015-03-18 谷歌公司 Method and apparatus for providing destination-address suggestions
CN105701133A (en) * 2014-11-28 2016-06-22 方正国际软件(北京)有限公司 Address input method and equipment
CN111161086A (en) * 2019-12-16 2020-05-15 中国平安财产保险股份有限公司 Method, system, computer equipment and storage medium for inquiring business data
CN113204613A (en) * 2021-04-26 2021-08-03 北京百度网讯科技有限公司 Address generation method, device, equipment and storage medium
CN113722580A (en) * 2020-11-27 2021-11-30 北京京东振世信息技术有限公司 Address information processing method and device, electronic equipment and computer readable medium
CN113873051A (en) * 2021-08-30 2021-12-31 苏州浪潮智能科技有限公司 Address allocation method and device, electronic equipment and readable storage medium
CN114116924A (en) * 2021-11-30 2022-03-01 北京百度网讯科技有限公司 Data query method based on map data, map data construction method and device
CN114491089A (en) * 2022-01-28 2022-05-13 北京百度网讯科技有限公司 Address acquisition method, device, electronic equipment and medium
CN114579883A (en) * 2022-02-11 2022-06-03 阿里巴巴(中国)有限公司 Address query method, method for obtaining address vector representation model and corresponding device
CN114579882A (en) * 2022-02-11 2022-06-03 阿里巴巴(中国)有限公司 Address query method, method for obtaining geocoding prediction model and corresponding device
CN115292619A (en) * 2022-08-05 2022-11-04 江苏满运物流信息有限公司 Address query method, system, device and storage medium
WO2023008696A1 (en) * 2021-07-30 2023-02-02 주식회사 오씨엘 Method for processing address information, and system therefor

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104429024A (en) * 2011-10-06 2015-03-18 谷歌公司 Method and apparatus for providing destination-address suggestions
CN105701133A (en) * 2014-11-28 2016-06-22 方正国际软件(北京)有限公司 Address input method and equipment
CN111161086A (en) * 2019-12-16 2020-05-15 中国平安财产保险股份有限公司 Method, system, computer equipment and storage medium for inquiring business data
CN113722580A (en) * 2020-11-27 2021-11-30 北京京东振世信息技术有限公司 Address information processing method and device, electronic equipment and computer readable medium
CN113204613A (en) * 2021-04-26 2021-08-03 北京百度网讯科技有限公司 Address generation method, device, equipment and storage medium
WO2023008696A1 (en) * 2021-07-30 2023-02-02 주식회사 오씨엘 Method for processing address information, and system therefor
CN113873051A (en) * 2021-08-30 2021-12-31 苏州浪潮智能科技有限公司 Address allocation method and device, electronic equipment and readable storage medium
CN114116924A (en) * 2021-11-30 2022-03-01 北京百度网讯科技有限公司 Data query method based on map data, map data construction method and device
CN114491089A (en) * 2022-01-28 2022-05-13 北京百度网讯科技有限公司 Address acquisition method, device, electronic equipment and medium
CN114579883A (en) * 2022-02-11 2022-06-03 阿里巴巴(中国)有限公司 Address query method, method for obtaining address vector representation model and corresponding device
CN114579882A (en) * 2022-02-11 2022-06-03 阿里巴巴(中国)有限公司 Address query method, method for obtaining geocoding prediction model and corresponding device
CN115292619A (en) * 2022-08-05 2022-11-04 江苏满运物流信息有限公司 Address query method, system, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DAVID TRABISH 等: "Address-Aware Query Caching for Symbolic Execution", 2021 14TH IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST) *
邹崇尧 等: "基于搜索引擎技术的地名地址定制查询研究", 测绘通报 *

Also Published As

Publication number Publication date
CN116541421B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN114422267B (en) Flow detection method, device, equipment and medium
CN115757400B (en) Data table processing method, device, electronic equipment and computer readable medium
CN110390493B (en) Task management method and device, storage medium and electronic equipment
CN111950857A (en) Index system management method and device based on service indexes and electronic equipment
CN110852720A (en) Document processing method, device, equipment and storage medium
CN113392018A (en) Traffic distribution method, traffic distribution device, storage medium, and electronic device
CN113220281A (en) Information generation method and device, terminal equipment and storage medium
CN116796233A (en) Data analysis method, data analysis device, computer readable medium and electronic equipment
CN116756616A (en) Data processing method, device, computer readable medium and electronic equipment
CN113807056B (en) Document name sequence error correction method, device and equipment
CN116541421B (en) Address query information generation method and device, electronic equipment and computer medium
CN111782895B (en) Retrieval processing method and device, readable medium and electronic equipment
CN111582456B (en) Method, apparatus, device and medium for generating network model information
CN113918659A (en) Data operation method and device, storage medium and electronic equipment
CN113393288A (en) Order processing information generation method, device, equipment and computer readable medium
CN114997120B (en) Method, device, terminal and storage medium for generating document tag
CN116186093B (en) Address information processing method, address information processing device, electronic equipment and computer readable medium
CN113157695B (en) Data processing method and device, readable medium and electronic equipment
CN116503849B (en) Abnormal address identification method, device, electronic equipment and computer readable medium
CN116467178B (en) Database detection method, apparatus, electronic device and computer readable medium
CN116307998B (en) Power equipment material transportation method, device, electronic equipment and computer medium
CN115374320B (en) Text matching method and device, electronic equipment and computer medium
CN114040014B (en) Content pushing method, device, electronic equipment and computer readable storage medium
CN110619087B (en) Method and apparatus for processing information
CN116992115A (en) Recommendation method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant