Disclosure of Invention
In view of the above, an object of an embodiment of the present application is to provide an address determining method. The method can reduce the recognition error rate by reducing the length of audio recognition based on the positioning information, thereby achieving the purpose of accurately recognizing the address.
In a first aspect, an embodiment of the present application provides an address determining method, which is applied to a user terminal, and includes obtaining target positioning information of the user terminal, obtaining target voice information, and determining a first target address according to the target positioning information and the target voice information.
The embodiment of the application determines the approximate positioning address based on the target positioning information, then determines the accurate address according to the voice information, combines the approximate positioning address obtained by the positioning information with the accurate address obtained by the voice information to form the complete first target address, and realizes the accurate confirmation of the first target address.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where the obtaining the target voice information includes identifying voice information input by a user, converting the voice information into text information, and determining target voice information corresponding to the voice information based on a received operation on the text information.
According to the embodiment of the application, the accuracy of the address information of the obtained voice information is ensured by converting the voice information into the characters for the user to operate, so that the accuracy of the first target address is improved.
With reference to the first possible implementation manner of the first aspect, the embodiment of the present application provides a second possible implementation manner of the first aspect, where the obtaining the target positioning information of the user terminal includes obtaining initial positioning information of the user terminal, displaying the initial positioning information, and determining the target positioning information based on a received operation on the initial positioning information.
According to the embodiment of the application, the position information obtained by positioning is displayed for the user to operate, so that the accuracy of the address information of the obtained positioning information is ensured, and the accuracy of the first target address is improved.
With reference to the second possible implementation manner of the first aspect, the embodiment of the present application provides a third possible implementation manner of the first aspect, where the method further includes acquiring a set of historical address information from a first server communicatively connected to the user terminal based on the received location acquisition operation, and determining a second target address according to the location information of the user terminal and the set of historical address information.
According to the embodiment of the application, the historical address information of the user is matched from the historical address information set through the position acquisition operation of the user, so that the second target address can be quickly determined.
With reference to the third possible implementation manner of the first aspect, the embodiment of the present application provides a fourth possible implementation manner of the first aspect, where the method further includes generating information to be mailed according to the first target address, and sending a mailing request to a second server communicatively connected to the user terminal based on the information to be mailed.
According to the embodiment of the application, the first target address obtained by the target positioning information and the target voice information is applied to the mail information, so that the quick confirmation of the mail address of the user is realized, and the user experience is enhanced.
In a second aspect, an embodiment of the present application further provides an address determining method, which is applied to a server, and includes obtaining location information of a user terminal, receiving voice information sent by the user terminal, and determining a third target address of the user terminal according to the location information and the voice information.
The embodiment of the application determines the approximate positioning address based on the target positioning information, then determines the accurate address according to the voice information, combines the approximate positioning address obtained by the positioning information with the accurate address obtained by the voice information to form the complete target address, and realizes the accurate confirmation of the target address.
In a second aspect, the embodiment of the application also provides an address determining device which is applied to a user terminal and comprises a first acquisition module, a second acquisition module and a first confirmation module, wherein the first acquisition module is used for acquiring target positioning information of the user terminal, the second acquisition module is used for acquiring target voice information, and the first confirmation module is used for determining a first target address according to the target positioning information and the target voice information.
The embodiment of the application also provides an address determining device which is applied to a server and comprises a first receiving module, a second receiving module and a second confirming module, wherein the first receiving module is used for acquiring positioning information of a user terminal, the second receiving module is used for receiving voice information sent by the user terminal, and the second confirming module is used for determining a third target address of the user terminal according to the positioning information and the voice information.
In a fourth aspect, the present embodiments also provide an electronic device comprising a processor, a memory storing machine-readable instructions executable by the processor, which when executed by the processor perform the steps of the method of the first aspect, the second aspect, any one of the first aspect, or any one of the possible implementation manners of the second aspect.
In a fifth aspect, embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the first aspect, the second aspect, any one of the first aspect, or any one of the possible implementation manners of the second aspect.
In summary, the address determining method, the device, the electronic equipment and the computer readable storage medium provided by the embodiment of the application combine the address matching function and the voice recognition function of the map address library, take the user positioning position information as the initial front-stage position information, take the user voice input final-stage information as the second-stage position information, thereby reducing the pain point with low voice recognition accuracy in voice recognition, improving the whole recognition efficiency, and the finally generated position information is also continuously used as sample data to fill the map address library, providing data sources and supports for the coverage rate of the map address library, not only enabling two completely independent systems to be connected in series, complementing the advantages, but also improving the piece-collecting efficiency of the terminal couriers and the satisfaction degree of customer experience, and greatly simplifying the complicated flow of address input and the process of secondary verification.
In order to make the above objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
At present, the common address determination mode comprises (1) uploading by autonomous text editing, (2) obtaining the positioned position information by using positioning software, and (3) inputting address voice information, and uploading the address after system identification. The first mode is complex, time consumption is long, and accuracy and precision of position information obtained in the latter two modes are low.
Based on the above, the application provides an address determination method, an address determination device, an electronic device and a readable storage medium. An address determining method, an address determining device, an electronic device and a readable storage medium in the embodiments of the present application are described below.
Example 1
Fig. 1 is a schematic diagram of an operation environment of an address determining method according to an embodiment of the present application. In this embodiment, the user terminal 100 and the server 200 are connected via a network. The server may be a web server, database server, or the like. The user terminal may be a personal computer (personal computer, PC), tablet computer, smart phone, personal Digital Assistant (PDA), etc.
The user terminal 100 may have a designated application installed therein, and the user terminal 100 accesses the server 200 through the designated application to acquire a service provided by the server 200. By way of example, the designated application may be an application for point take-out, an application for placing express orders, and the like.
The server 200 may provide services corresponding to the above-described specific application program.
For example, the user terminal 100 may send a request for sending an express to the server 200, where the request for sending an express carries a target address and a start address of the sending of the express.
Illustratively, as shown in fig. 2, is a block schematic diagram of a user terminal. The user terminal 100 may include a memory 111, a memory controller 112, a processor 113, a peripheral interface 114, an input output unit 115, and a display unit 116. It will be appreciated by those skilled in the art that the structure shown in fig. 2 is merely illustrative and not limiting as to the structure of the user terminal 100. For example, the user terminal 100 may also include more or fewer components than shown in fig. 2, or have a different configuration than shown in fig. 2.
The above-mentioned memory 111, memory controller 112, processor 113, peripheral interface 114, input/output unit 115 and display unit 116 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processor 113 is used to execute executable modules stored in the memory.
The Memory 111 may be, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory 111 is configured to store a program, and the processor 113 executes the program after receiving an execution instruction, and a method executed by the user terminal 100 defined by the process disclosed in any embodiment of the present application may be applied to the processor 113 or implemented by the processor 113.
The processor 113 may be an integrated circuit chip having signal processing capabilities. The processor 113 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a digital signal processor (DIGITAL SIGNAL processor, DSP), an Application-specific integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a discrete gate or transistor logic device, or a discrete hardware component. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripheral interface 114 couples various input/output devices to the processor 113 and the memory 111. In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented in a single chip. In other examples, they may be implemented by separate chips.
The input-output unit 115 described above is used to provide input data to a user. The input/output unit 115 may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit 116 described above provides an interactive interface (e.g., a user operation interface) between the user terminal 100 and the user or is used to display image data to a user reference. In this embodiment, the display unit may be a liquid crystal display or a touch display. In the case of a touch display, the touch display may be a capacitive touch screen or a resistive touch screen, etc. supporting single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are passed to the processor for calculation and processing.
The positioning unit 117 determines the position of the user terminal itself. The above-mentioned position may be expressed in terms of longitude, latitude, and altitude, for example. The positioning unit may be a GPS positioning system, for example, which is configured to receive positioning signals broadcast by GPS satellites and calculate its position according to the positioning signals. It will be appreciated that the manner in which positioning is achieved is not limited to the GPS system. For example, the positioning unit may also be other available satellite positioning systems including a Beidou satellite positioning system (Compass Navigation SATELLITE SYSTEM, CNSS) or a Gelnas system (Global Navigation SATELLITE SYSTEM, GLONASS). In addition, the positioning unit 117 is not limited to the satellite positioning technology, and for example, a wireless positioning technology such as a positioning technology based on a wireless base station or a positioning technology of a wireless hotspot may also be employed.
The user terminal 100 in this embodiment may be used to perform each step in each method provided in the embodiment of the present application. The implementation of the address determination method is described in detail below by means of several embodiments.
Example two
Fig. 3 is a flowchart of an address determining method according to an embodiment of the present application, where the address determining method in the embodiment may be applied to a user terminal. The specific flow shown in fig. 3 will be described in detail.
Step 401, obtaining target positioning information of the user terminal.
Alternatively, the target positioning information may be determined based on a positioning unit in the user terminal.
Alternatively, the target positioning information may be obtained by determining a dual determination based on the positioning unit and the human-computer interaction.
As shown in fig. 4, step 401 may include the following steps 4011 through 4013.
Step 4011, obtaining initial positioning information of the user terminal.
Optionally, a first inquiry interface is displayed when the appointed application program is opened for the first time, wherein the first inquiry interface comprises whether the positioning system and corresponding operation keys are automatically opened or not.
Optionally, the designated application includes, but is not limited to, order software, order applet, etc.
In this embodiment, if the designated application is an automatic start positioning system. The obtaining the initial positioning information of the user terminal may include obtaining the order information, performing positioning operation on the user terminal according to the order information, and matching the positioning information with data in a map address library to obtain the initial positioning information of the user terminal.
In this embodiment, if the application is designated as always inquiring whether to acquire the location information of the user terminal. Acquiring the initial positioning information of the user terminal may further include acquiring order information, displaying a second query interface according to the order information, and performing corresponding operations according to operations received by the second query interface.
For example, the second query interface may include a guide as to whether to open the positioning system and corresponding operating keys.
Optionally, the corresponding operation keys in the second query interface may include agreeing to turn on the positioning system, refusing to turn on the positioning system.
Alternatively, the operation key may be two independent keys for displaying consent and rejection, and the operation key may be a slider, where two ends of the slider are consent and rejection, respectively.
Optionally, if the received operation of the second query interface is that the positioning system is started, a positioning unit in the user terminal is started, positioning operation is performed on the user terminal to obtain positioning information, and the positioning information is matched with data in the map address library to obtain initial positioning information of the user terminal.
Optionally, if the received operation of the second query interface is refusal to start the positioning system, displaying an address input page. And acquiring address information in the address input page, and matching the address information with data in a map address library to obtain initial positioning information of the user terminal.
When the positioning information is matched with the data of the map address library, if the positioning position is in a border zone such as a province border, a city border and the like, the matching result is displayed in the user terminal through text push information according to the matching result with the map address library, so that a user can select the displayed address, and correct initial positioning information is determined based on the received selection operation.
Step 4012, displaying the initial positioning information.
Alternatively, the initial positioning information may be displayed in an editable page that allows the user to edit the content displayed in the editable page.
Illustratively, when the address in the initial positioning information displayed in the editable page is incorrect, the editable interface determines updated initial positioning information based on the acquired editing operation.
Alternatively, the editable page may be directly edited by way of entering text.
Alternatively, the editable page may be edited by selecting an editing mode for each level of province, city, district/county, street/town/country, and the like.
Optionally, a confirmation key is also displayed on the initial positioning information display interface. The confirmation key is used for inputting confirmation information.
Step 4013, determining the target positioning information based on the received operation on the initial positioning information.
Optionally, after the target positioning information of the user terminal is acquired, the user terminal stores the target positioning information, and obtains an address information set based on the user terminal according to the stored target positioning information.
Alternatively, the target location information may include province, city, district/county, street/town/country, etc. level location information.
Step 402, obtaining target voice information.
In one embodiment, as shown in fig. 5, step 402 may include the following steps 4021 through 4023.
In step 4021, voice information input by the user is identified.
Optionally, the user terminal directly recognizes the voice information after receiving the voice information.
Step 4022, converting the voice information into text information.
Optionally, after converting the voice information into text information, displaying the text information.
Alternatively, the text information may be displayed in an editable page that allows the user to edit the content displayed in the editable page.
Illustratively, when the address in the text information displayed in the editable page is incorrect, the editable interface determines updated text information based on the obtained editing operation.
Optionally, the editable page may be edited directly by inputting text, or may be edited by selecting each level of a cell, a building, a unit, a floor, a house number, etc.
Optionally, a confirmation key is further displayed on the text information display interface, and the confirmation key is used for inputting confirmation information.
Step 4023, determining the target voice information corresponding to the voice information based on the received operation on the text information.
Optionally, after determining the target voice information corresponding to the voice information, the user terminal stores the target voice information, and obtains an address information set based on the user terminal according to the stored target voice information.
Alternatively, the target voice information may include hierarchical location information of cells, buildings, units, floors, house numbers, and the like.
Step 403, determining a first target address according to the target positioning information and the target voice information.
Optionally, determining the first target address according to the target positioning information and the target voice information includes retrieving the target positioning information and the target voice information stored in the user terminal, and combining the target positioning information and the target voice information to determine the first target address.
Optionally, determining the first target address according to the target positioning information and the target voice information includes obtaining the target positioning information and the target voice information stored in the server from the server, and combining the target positioning information and the target voice information to determine the first target address.
Optionally, after determining the first target address, the method further comprises sending the first target address to a server.
Optionally, after the first target address is determined, generating information to be mailed according to the first target address, and sending a mailing request to a second server in communication connection with the user terminal based on the information to be mailed.
Optionally, the mail information comprises first target address information, a name of a sender, a telephone of the sender, a time of going up and the like.
Optionally, after receiving the mail sending request, the second server distributes the mail sending request to the nearest website and courier nearby, and notifies the courier to take the mail.
Optionally, the method further comprises the steps of starting a position acquisition operation according to the ordering information, acquiring a historical address information set from a first server in communication connection with the user terminal based on the received position acquisition operation, and determining a second target address according to the positioning information of the user terminal and the historical address information set.
Optionally, the set of address information is a first set of target address information stored by the user terminal or the server.
Optionally, determining the second target address according to the positioning information of the user terminal and the historical address information set includes sending the positioning information to the historical address information set and matching, selecting the historical address information with the highest matching degree as an original second target address, and determining the second target address according to the original second target address.
Compared with the traditional manual editing and inputting address, the address determining method provided by the embodiment of the application greatly reduces the time for determining the address.
Compared with long-audio recognition of voice recognition, the address determination method provided by the embodiment of the application reduces the audio length of voice recognition, reduces the recognition error rate and improves the recognition efficiency.
According to the address determination method provided by the embodiment of the application, the map address library is communicated with the voice recognition system, and the matching advantages of the two systems are complementary, so that the collecting address can be quickly confirmed, the flow and frequency of address confirmation are reduced, the efficiency of address confirmation is improved, and the experience of a user is improved.
Example III
Based on the same application conception, the embodiment of the present application further provides an address determining device corresponding to an address determining method, where the address determining device in this embodiment is applied to a user terminal, and since the principle of solving the problem by the device in the embodiment of the present application is similar to that of the foregoing embodiment of an address determining method, implementation of the device in this embodiment of the present application may refer to the description in the foregoing embodiment of the method, and the repetition is omitted.
Fig. 7 is a schematic functional block diagram of an address determining apparatus according to an embodiment of the present application. The respective modules in the address determination apparatus in the present embodiment are configured to execute the respective steps in the above-described method embodiment. The address determining device comprises a first acquisition module 601, a second acquisition module 602 and a first confirmation module 603, wherein,
A first obtaining module 601, configured to obtain target positioning information of the user terminal.
A second obtaining module 602, configured to obtain target voice information.
The first confirmation module 603 is configured to determine a first target address according to the target positioning information and the target voice information.
In a possible implementation manner, the first obtaining module 601 is further configured to obtain initial positioning information of the user terminal, display the initial positioning information, and determine target positioning information based on a received operation on the initial positioning information.
In a possible implementation manner, the second obtaining module 602 is specifically configured to identify voice information input by a user, convert the voice information into text information, and determine target voice information corresponding to the voice information based on a received operation on the text information.
In a possible implementation manner, the address determining device further comprises a first matching module, a second matching module and a first target address, wherein the first matching module is used for acquiring a historical address information set from a first server in communication connection with the user terminal based on the received position acquiring operation, and determining a second target address according to the positioning information of the user terminal and the historical address information set.
In a possible implementation manner, the address determining device further comprises a generating module, a sending module and a sending module, wherein the generating module is used for generating information to be sent according to the first target address, and sending a sending request to a second server in communication connection with the user terminal based on the information to be sent.
Example IV
Referring to fig. 6, an address determining method according to an embodiment of the present application is similar to the address determining method according to the second embodiment, in that the address determining method according to the second embodiment is applied to a user terminal, and the address determining method according to the embodiment of the present application is applied to a server. The specific flow shown in fig. 6 will be described in detail.
Step 501, obtaining positioning information of a user terminal.
In one embodiment, step 501 may include the following steps.
Acquiring initial positioning information of the user terminal, transmitting the initial positioning information to the user terminal, and determining target positioning information based on the confirmed initial positioning information transmitted by the user terminal.
Optionally, the obtaining the initial positioning information of the user terminal includes obtaining the order information, starting a positioning system according to the order information, obtaining the positioning information of the user terminal according to the positioning system, and matching the positioning information with the data of the map address library to obtain the initial positioning information of the user terminal.
Optionally, when the positioning information is matched with the data of the map address library, if the positioning position is in a border zone such as a province border, a city border and the like, the matching result is sent to the user terminal through text push information according to the matching result with the map address library.
Optionally, after determining the target positioning information based on the confirmed initial positioning information sent by the user terminal, the server stores the target positioning information, and obtains an address information set based on the server according to the stored target positioning information.
Step 502, receiving voice information sent by the user terminal.
Optionally, after receiving the voice information sent by the user terminal, the voice information is identified, the voice information is converted into text information, and the obtained text information is sent to the user terminal.
Step 503, determining a third target address of the user terminal according to the positioning information and the voice information.
Optionally, determining the third target address according to the target positioning information and the target voice information, and further comprises retrieving the target positioning information and the target voice information stored in the server, and combining the target positioning information and the target voice information to determine the third target address.
Optionally, after determining the third target address, storing the third target address.
Optionally, after the third target address is determined, the method further comprises the steps of distributing the mail sending request to the nearest net point and the courier nearby after the mail sending request is received, and notifying the courier to take the mail.
Example five
Based on the same application conception, the embodiment of the present application further provides an address determining device corresponding to an address determining method, where the address determining device in this embodiment is applied to a server, and since the principle of solving the problem by the device in the embodiment of the present application is similar to that of the foregoing embodiment of an address determining method, implementation of the device in this embodiment of the present application may refer to the description in the foregoing embodiment of the method, and the repetition is omitted.
Fig. 8 is a schematic diagram of a functional module of an address determining apparatus applied to a server according to an embodiment of the present application. The respective modules in the address determination apparatus in the present embodiment are configured to execute the respective steps in the above-described method embodiment. The address determining means comprises a first receiving module 701, a second receiving module 702, a second confirming module 703, wherein,
A first receiving module 701, configured to obtain positioning information of a user terminal.
And the second receiving module 702 is configured to receive voice information sent by the user terminal.
And the second confirmation module 703 is configured to determine a third target address of the user terminal according to the positioning information and the voice information.
Furthermore, the embodiment of the present application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor performs the steps of the address validation method described in the above-mentioned method embodiment.
The computer program product of the address confirmation method provided by the embodiment of the present application includes a computer readable storage medium storing a program code, where the program code includes instructions for executing the steps of the address confirmation method described in the above method embodiment, and specifically, reference may be made to the above method embodiment, and details thereof are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. 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.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of additional identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.