CN114861032A - Searching method and electronic equipment - Google Patents

Searching method and electronic equipment Download PDF

Info

Publication number
CN114861032A
CN114861032A CN202110153606.9A CN202110153606A CN114861032A CN 114861032 A CN114861032 A CN 114861032A CN 202110153606 A CN202110153606 A CN 202110153606A CN 114861032 A CN114861032 A CN 114861032A
Authority
CN
China
Prior art keywords
cities
user
city
information
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110153606.9A
Other languages
Chinese (zh)
Inventor
孙帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110153606.9A priority Critical patent/CN114861032A/en
Priority to PCT/CN2021/138621 priority patent/WO2022166421A1/en
Publication of CN114861032A publication Critical patent/CN114861032A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Remote Sensing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a searching method, which is applied to electronic equipment and comprises the following steps: the electronic equipment detects an information point input by a user; the electronic equipment determines a plurality of cities corresponding to the information points; the electronic equipment screens out a target city from the multiple cities through a pre-estimation model; and the electronic equipment searches the information point from the target city. The technical scheme can determine multiple cities where the information points input by the user are located, reserve one or more target cities from the multiple cities according to the prediction result of the pre-estimation model, retrieve the information points from the target cities, and improve the accuracy of the target cities in the search result.

Description

Searching method and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a search method and an electronic device.
Background
When a user searches for a point of information (POI) in a map or navigation application, the user may obtain different results when searching for the POI in different regions, such as different cities or different countries, because there may be a plurality of POIs with the same name in the world.
Therefore, how to correctly predict the geographical area corresponding to the POI input by the user and present the geographical area to the user with a suitable interface result becomes a technical problem to be solved.
Disclosure of Invention
The application provides a searching method and electronic equipment, which can determine multiple cities where information points input by a user are located, reserve one or more target cities from the multiple cities according to a prediction result of a pre-estimation model, retrieve the information points from the target cities, and improve accuracy of the target cities in a search result.
In a first aspect, a search method is provided, where the method is applied to an electronic device, and the method includes: the electronic equipment detects an information point input by a user; the electronic equipment determines a plurality of cities corresponding to the information points; the electronic equipment screens out a target city from the multiple cities through a pre-estimation model; and the electronic equipment searches the information point from the target city.
The estimation model can be a deep learning model, a machine learning model, and the like.
Based on the embodiment of the application, the electronic equipment determines a plurality of cities corresponding to the information points output by the user, screens out a target city from the plurality of cities through the pre-estimation model, and searches the information points in the target city. According to the technical scheme, the accuracy of the target city in the search result can be improved, and the user experience is improved.
With reference to the first aspect, in certain implementations of the first aspect, the determining, by the electronic device, a plurality of cities corresponding to the information point includes: identifying first information in the information points input by the user according to an identification algorithm; a plurality of cities containing the first information is retained.
The recognition algorithm may be the NER algorithm, or may be another recognition algorithm.
The first information may be a core word and/or a regional word.
The cities contain first information, which may be contained in data information or information points contained in the cities.
Based on the embodiment of the application, the first information in the information points can be identified through an identification algorithm, and a plurality of cities containing the first information are reserved, so that the cities can be filtered through the first information.
With reference to the first aspect, in certain implementations of the first aspect, the screening, by the electronic device, a target city from the multiple cities through a predictive model includes: and reserving the cities with the confidence values larger than a first preset value in the cities as the target cities.
In the embodiment of the present application, the confidence value of a city may be a score of the city, or may be a quantized indicator.
The first preset value may be a preset fixed value, for example, when the confidence value is a score of a city, the first preset value may be 60 or 70, etc.; when the confidence value is a quantized index, the first preset value may be 0.5, 0.6, etc.
The first preset value may also be associated with a city with the highest confidence value, for example, the first preset value may be x × N1, where x is a threshold value and N1 is the highest confidence value among multiple cities.
Based on the embodiment of the application, the city with the higher confidence value is taken as the target city, part of the cities with low confidence values can be filtered, and the accuracy of the final prediction result is improved.
With reference to the first aspect, in some implementation manners of the first aspect, the pre-estimation model is obtained by training based on first positive sample data and first negative sample data of user historical data; the first positive sample data is data obtained by clicking the city corresponding to the information point by the user, and the first negative sample data is data obtained by clicking other cities except the city corresponding to the information point by the user.
Based on the embodiment of the application, the pre-estimation model is obtained by training based on historical use data of the user, so that the accuracy of the city corresponding to the predicted information point can be improved.
With reference to the first aspect, in certain implementations of the first aspect, the input features of the predictive model include at least one of: the required city characteristics are cities and counting times corresponding to the information points clicked by the user; the region click preference characteristics are characteristic relation pairs of the core words of the information points, the cities where the users are located, the user demand cities and the counting times, the region words of the information points, the cities where the users are located, the user demand cities and the counting times; the region index features are characteristic relation pairs of core words of the information points, cities where the information points are located, counting times, region words of the information points, cities where the information points are located and counting times; a geographic keyword feature, the geographic keyword feature being a city in the information point.
Based on the embodiment of the application, a plurality of features are calculated from historical data of a user and are used as input features of the pre-estimation model, so that the accuracy of the trained pre-estimation model can be improved.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: and the electronic equipment displays the search result of the information point in the city with the highest confidence value in a display interface of the electronic equipment.
With reference to the first aspect, in certain implementations of the first aspect, the user history data includes history data of a current user or the user history data includes history data of all users.
With reference to the first aspect, in certain implementation manners of the first aspect, the first positive sample data is historical data of a current user, and the demand city feature is calculated from the historical data of the current user.
The technical scheme is combined with the personalized historical data of the user, and the accuracy of prediction of the pre-estimated model is facilitated.
With reference to the first aspect, in certain implementation manners of the first aspect, the first positive sample data is historical data of all users, and the region click preference feature is calculated from the historical data of all users.
According to the technical scheme, historical data of all users can be combined, so that training data are increased, and the model training precision is improved.
In a second aspect, a search method is provided, where the method is applied to an electronic device, and the method includes: the electronic equipment detects a first operation of inputting an information point by a user in a first interface; the electronic equipment responds to the first operation and displays a second interface, the second interface comprises a first region display area corresponding to the information point, and the first region display area comprises a search result of the information point in a first city; the electronic equipment detects a second operation of the user in the second interface; and the electronic equipment responds to the second operation and displays a third interface, the third interface comprises a second map area display area corresponding to the information point, and the second map area display area comprises search results of the information point in a plurality of target cities.
According to the embodiment of the application, the electronic equipment can display the search result of the information point in the first city in response to the first operation of inputting the information point by the user, but the search results of the information point in other target cities are not filtered, but are folded, and when the second operation of the user is detected, the search results of the information point in a plurality of target cities can be displayed. The technical scheme provides a more convenient interactive process for the multi-target city, and improves the use experience of the user.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: the electronic equipment detects a third operation of the user in the third interface; and the electronic equipment responds to the third operation and displays a fourth interface, the fourth interface comprises a third map area display area corresponding to the information point, and the third map area display area comprises a search result of the information point in a second city.
Based on the embodiment of the application, the search results of the information points in different cities can be switched through the operation of the user, and the use experience of the user is improved.
With reference to the second aspect, in some implementations of the second aspect, the search result of the information point in the first city is multiple.
With reference to the second aspect, in some implementations of the second aspect, the second interface further includes a first function button, and the second operation is that the user clicks the first function control.
With reference to the second aspect, in some implementations of the second aspect, the third interface further includes profile information of search results of the information points in multiple cities.
In a third aspect, an electronic device is provided that includes one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the search method as described in the first aspect and any possible implementation thereof to be performed.
In a fourth aspect, an electronic device is provided that includes one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the search method as described in the second aspect and any one of its possible implementations to be performed.
In a fifth aspect, a chip is provided, which includes a processor and a communication interface, where the communication interface is configured to receive a signal and transmit the signal to the processor, and the processor processes the signal, so that the search method as described in the first aspect and any possible implementation manner thereof is performed.
A sixth aspect provides a chip comprising a processor and a communication interface, the communication interface being configured to receive a signal and transmit the signal to the processor, and the processor processing the signal such that the search method as described in the second aspect and any one of its possible implementations is performed.
A seventh aspect provides a computer-readable storage medium, having stored thereon computer instructions, which, when run on a computer, cause the search method as described in the first aspect and any possible implementation manner thereof to be performed.
In an eighth aspect, a computer-readable storage medium is provided, in which computer instructions are stored, which, when run on a computer, cause a search method as described in the second aspect and any one of its possible implementations to be performed.
A ninth aspect provides a computer program product comprising computer instructions which, when run on an electronic device, cause the search method as described in the first aspect and any one of its possible implementations to be performed.
A tenth aspect provides a computer program product comprising computer instructions which, when run on an electronic device, cause the search method as described in the second aspect and any one of its possible implementations to be performed.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 2 is a block diagram of a software structure of an electronic device according to an embodiment of the present application.
FIG. 3 is a set of GUIs provided by an embodiment of the present application.
FIG. 4 is another set of GUIs provided by embodiments of the present application.
Fig. 5 is an exemplary diagram for determining a zone index feature according to an embodiment of the present application.
Fig. 6 is an exemplary diagram for determining a user demand city feature according to an embodiment of the present application.
Fig. 7 is an exemplary diagram for determining a region click preference characteristic according to an embodiment of the present application.
Fig. 8 is an exemplary diagram for determining a feature of a geographic keyword according to an embodiment of the present application.
Fig. 9 is an exemplary framework diagram of a search method provided in an embodiment of the present application.
Fig. 10 is an exemplary flowchart of a search method provided in an embodiment of the present application.
Fig. 11 is an exemplary flowchart of another search method provided in an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
An electronic device in the embodiments of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), and the like, which are not limited in this embodiment.
Fig. 1 shows a schematic structural diagram of an electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to receive phone calls through the bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen".
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 2 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Fig. 3 is a set of Graphical User Interfaces (GUIs) provided in embodiments of the present application. Fig. 3 (a) to (g) show a search and result presentation process of an information point according to an embodiment of the present application. The embodiment of the present application takes the electronic device as a mobile phone as an example for explanation.
Referring to fig. 3 (a), the GUI is a display desktop 310 of the mobile phone 300, the display desktop 310 includes application icons of a plurality of application programs installed therein, and after the mobile phone detects that the user clicks an application icon 311 of the APP1, the GUI as shown in fig. 3 (b) may be displayed.
Referring to fig. 3 (b), the GUI is a home page display interface 320 of the APP1, the display interface 320 includes a search box 321 located at an upper portion of the interface, a map display area 322, a function card 323, and the like, a user can input a keyword in the search box 321 for searching, and the function card 323 includes a plurality of shortcut navigation buttons, such as a bus subway, driving, walking, and the like. When the handset detects an operation of the user clicking the search box 321, a GUI as shown in (c) of fig. 3 may be displayed.
Referring to fig. 3 (c), the display interface 330 includes a plurality of shortcut navigation buttons, such as hotels, gas stations, gourmet food, etc., and the display interface 330 also includes a search history or navigation history of the user, i.e., keyword 1 and its address information 1, keyword 2 and its address information 2, keyword 3 and its address information 3, keyword 4 and its address information 4, etc. The user can input a keyword or an information point through an input method in the display interface 330.
In this embodiment of the present application, the user may further click a voice input button, and input a keyword or an information point through voice, which is not limited in this embodiment of the present application.
Referring to fig. 3 (d), when the user inputs the keyword a, a plurality of results related to the keyword a, that is, the keyword a and its address information B, the keyword a1 and its address information B1, the keyword a2 and its address information B2, the keyword A3 and its address information B3, may be displayed in real time in the display interface 340 for the user to select. When the handset detects an operation of the user clicking the search button 341, a GUI as shown in (e) of fig. 3 may be displayed.
It should be understood that the search button 341 may also be located in the search box, which is not limited in the embodiment of the present application.
It should be understood that the keywords a1, a2, and A3 are related to keyword a, such as keywords that are peripheral to keyword a or that belong to the same type as keyword a.
Referring to (e) of fig. 3, the GUI is a search result display interface 350 of the keyword a, and the display interface 350 may include a search box containing the keyword a input by the user, a region display area 351, an information card 352, a user comment display area 353, and a function button 354.
The region display area 351 may include a place 1 of the keyword a in the map and a map around the place 1, where the place 1 may be identified by a graphic, the graphic may be highlighted or filled in with other colors, such as red, yellow, and the like, a user may zoom in or zoom out a scale displayed on the map by an operation of double-clicking a screen or double-finger sliding the screen, and the user may also move a display position of the map in a mobile phone screen by an operation of dragging, sliding, and the like.
The information card 352 can be used to display the name and detailed address information of the location 1, and the detailed address information can include the street, area, city, country, etc. where the location 1 is located.
The user comment display area 353 may be used to display specific content of comments made by other users on the place corresponding to the keyword a.
For example, the keyword a is a tourist attraction, the information card 352 may further include content such as a brief description of the tourist attraction, and the user comment display area 353 may display comment content of other tourists on the tourist attraction. Alternatively, the keyword may be a hotel, a restaurant, or the like.
The function button 354 may display the text "click to view world map" or the like for prompting the user. When the cellular phone detects an operation of the user clicking the function button 354, a GUI as shown in (f) of fig. 3 may be displayed.
Referring to (f) of fig. 3, the display interface 360 may include a search box containing a keyword a input by the user, a region display area 361, a function button 362, an information card 363, a function button 364, an information card 365, and the like.
The region display area 361 is used for displaying a world map, where the world map includes a place 1 and a place 2 of the keyword a in the map, and the place 1 and the place 2 may be identified by graphics, and the graphics may be highlighted or filled in with other colors, such as red, yellow, and the like.
It should be understood that the site 1 and site 2 may be located in different countries or may be located in the same country but in different cities.
The function button 362 may display the text "search for a result in city a", and after the mobile phone detects that the user clicks the function button 362, a GUI as shown in (e) of fig. 3 may be displayed.
The information card 363 can be used to display the name and detailed address information of the location 1, and the detailed address information can include the street, the area, the city 1, the country a, and the like where the location 1 is located.
In another example, the information card 363 may also include a profile or the like (not shown) of the location 1.
The function button 364 may display the text "search for a result in city B", and after the cell phone detects the user's operation of clicking the function button 362, a GUI as shown in (g) of fig. 3 may be displayed.
The information card 365 can be used to display the name and the detailed address information of the location 2, and the detailed address information can include the street, the area, the city 2, the country B, and the like where the location 2 is located.
In another example, the information card 365 may also include a profile or the like (not shown) of the location 2.
Referring to (g) of fig. 3, the GUI is another search result display interface 370 for the keyword a, and the display interface 370 may include a search box containing the keyword a input by the user, a region display area 371, an information card 365, a user comment display area 373, and a function button 354.
The region display area 371 may include a place 2 of the keyword a in the map and a map around the place 2, where the place 2 may be identified by a graphic, the graphic may be highlighted or filled with other colors, such as red, yellow, and the like, a user may zoom in or zoom out a scale displayed on the map by double-clicking the screen or double-finger sliding the screen, and the user may also move a display position of the map in the mobile phone screen by dragging or sliding and the like.
The user comment display area 373 may include comments of the place 2 by other users.
When the cellular phone detects an operation of the user clicking the function button 354, a GUI as shown in (f) of fig. 3 may be displayed.
Based on the embodiment of the application, when the keywords input by the user correspond to a plurality of target cities, the display interface of the mobile phone displays with the cities as granularity, the first result is displayed in the city A at first, other target results are folded, the user can enable the mobile phone to display the global search result of the keywords through the function buttons, a more convenient interaction process is provided for the multi-target cities, and the use experience of the user is improved.
FIG. 4 is another set of GUIs provided by embodiments of the present application. Fig. 4 (a) to (g) show a search and result presentation process of an information point according to an embodiment of the present application.
Fig. 4 (a) to (d) can refer to the description of fig. 3 (a) to (d), and the description is omitted for brevity.
Referring to (e) of fig. 4, the GUI is a search result display interface 450 for the keyword C, and the display interface 450 may include a search box containing the keyword C input by the user, a region display area 451, information cards 452, 455, user comment display areas 453, 455, and a function button 354.
The map area display area 451 may include a place C1, a place C2, and a map around the place C1 and the place C2 in the map, where the places C3832 and the map may be identified by graphics, the graphics may be highlighted or filled in with other colors, such as red, yellow, and the like, a user may zoom in or zoom out a displayed scale of the map through an operation of double-clicking a screen or a double-finger sliding screen, and a user may also move a displayed position of the map in a mobile phone screen through an operation of dragging, sliding, and the like.
The information card 452 can be used to display the name of the keyword and the detailed address information of the place C1, which can include the street, the area, the city a, the country a, etc. where the place C1 is located.
The information card 453 can be used to display the name of the keyword and the detailed address information of the place C2, which may include the street, the area, the city a, the country a, etc. where the place C2 is located.
The user comment display area 453 may be used to display specific contents of comments made by other users on the place C1 corresponding to the keyword C.
The user comment display area 455 may be used to display specific content of comments made by other users on the place C2 corresponding to the keyword C.
It should be understood that the keyword C may be a chain of restaurants, a mall, a brand exclusive shop, etc., which may have a plurality of branch stores in a city, or the keyword may be a university which has a plurality of school districts in a city, and the search result is exemplified as two, and in other embodiments, the search result may have more, for example, 5, 10, etc., which is not limited in this embodiment of the present application.
The function button 456 may display the text "click to view world map" or the like for prompting the user. When the cellular phone detects an operation of the user clicking the function button 354, a GUI as shown in (f) of fig. 4 may be displayed.
Referring to (f) of fig. 4, the display interface 460 may include a search box containing a keyword C input by the user, a region display area 461, function buttons 462, 464, information cards 463, 465, and the like.
The region display area 461 is used for displaying a world map, where the world map includes the locations C1, C2, C3, and C4 of the keyword C in the map, and the locations C1, C2, C3, and C4 may be identified by graphics, which may be highlighted or filled in with other colors, such as red, yellow, and the like.
The function button 462 may display the text "search for two results in city a", and after the mobile phone detects the operation of the user clicking the function button 462, a GUI as shown in (e) of fig. 4 may be displayed.
The information card 463 may be used to display the name of the keyword C and the detailed address information of the locations C1 and C2, where the detailed address information may include the streets, areas, cities a, countries a, etc. where the locations C1 and C2 are located.
The function button 464 may display the text "search for two results in city B", and after the mobile phone detects the operation of the user clicking the function button 464, a GUI as shown in (g) of fig. 4 may be displayed.
The information card 465 can be used to display the name of the keyword C and the detailed address information of the locations C3 and C4, and the detailed address information can include the streets, areas, cities B, countries B, etc. where the locations C3 and C4 are located.
In another example, the information card 463 may also include the location C1, the location C2, and the like (not shown), and the information card 465 may also include the location C3, the location C4, and the like (not shown).
In the embodiment of the present application, the locations C1 and C2 are located in the same city a, and the locations C3 and C4 are located in the same city B, where the city A, B may be located in different countries or the same country.
Referring to (g) of fig. 4, the GUI is another search result display interface 470 for the keyword C, and the display interface 470 may include a search box containing the keyword C input by the user, a region display area 471, information cards 472, 474, user comment display areas 473, 475, and a function button 456.
The region display area 471 may include a place C3, a place C4 and a map around the place C in the map of the keyword C, where the places C3 and C4 may be identified by graphics, the graphics may be highlighted or filled in with other colors, such as red, yellow, and the like, a user may zoom in or zoom out a displayed scale of the map by an operation of double-clicking a screen or a double-finger sliding screen, and the user may also move a display position of the map in a mobile phone screen by an operation of dragging or sliding, and the like.
The information card 472 can be used to display the name of the keyword C and the detailed address information of the location C3, which can include the street, the region, the city B, the country B, etc. where the location C3 is located.
The information card 474 can be used to display the name of the keyword C and the detailed address information of the location C4, which can include the street, the region, the city B, the country B, etc. where the location C4 is located.
The user comment display area 473 can be used to display the specific content of the comment made by the other user on the place C3 corresponding to the keyword C.
The user comment display area 475 may be used to display specific content of comments made by other users on the place C4 corresponding to the keyword C.
Based on the embodiment of the application, when the keywords input by the user correspond to the target cities, the display interface of the mobile phone displays the target results in the city A by taking the cities as granularity, the target results in other cities are folded, the user can enable the mobile phone to display the global search results of the keywords through the function buttons, a more convenient interaction process is provided for the target cities, and the use experience of the user is improved.
The calculation method of the features involved in the embodiments of the present application will be described below with reference to fig. 5 to 9.
Fig. 5 is an exemplary diagram for determining a zone index feature according to an embodiment of the present application. As shown in fig. 5, for a POI containing region information, the POI may be identified according to a Named Entity Recognition (NER) algorithm to obtain a core word and a region word in the POI, and then according to a city where the POI is located, features of the POI, i.e., < core word, city >, < region word, city >, traverse all the POIs, count the number m of occurrences of the < core word, city >, the number n of occurrences of the < region word, city >, and obtain keywords and region index features, i.e., < core word, city, m >, < region word, city, n >.
It should be understood that an algorithm of information extraction in the field of natural language processing, etc. may also be used to identify the core words and the regional words in the POI, which is not limited in this embodiment of the present application.
It should be understood that the geographic information herein may represent a street, a landmark, etc.
In the embodiment of the present application, all the POI information may form a POI index library, the POI information may include a name (or a title) of the POI and address information where the POI is located, and the POI index library may be provided by a third party.
In an example, one POI in the POI index repository is "hua be flagship store big anser tower shop", the POI is identified by the NER algorithm, core words in the POI are "hua be flagship store", a regional word is "big anser tower", a city where the POI is located is "west ampere", and a feature pair that a regional index feature corresponding to the POI is < hua be flagship store, west ampere, 1>, < big anser tower, west ampere, 1> can be obtained.
And performing the above operation on other POIs in the POI index library, so as to obtain the region index characteristics of all the POIs in statistics.
It should be understood that the more the statistics of the region word, the higher the importance of the region word in the city is, that is, the more representative of the region attribute of the city, and therefore, the statistics of the region word can be used as an important characteristic for measuring whether the region word belongs to the city.
Fig. 6 is an exemplary diagram for determining a user demand city feature according to an embodiment of the present application. As shown in fig. 6, according to the user personalized log, a user resident city and a user demand city are calculated, and the number of times that a plurality of user demand cities occur is counted as a user demand city feature.
In the embodiment of the application, when the user uses the map each time, the city where the position of the user currently located is recorded, for example, the city where the user currently located can be determined according to the location information of the mobile phone. The city where the user is currently located may be kept once a day, and if the user appears in multiple cities in a day, the city where the user is located when the user first uses the map is kept. The resident city of the user can be determined by counting the city where the user is currently located for a plurality of times.
For example, a statistical period may be set, and in this period, the city a is regarded as the user resident city when the number of times the city a is counted is the largest. The statistical period may be two weeks or one month, or the statistical period does not set an upper limit, and the city with the largest number of counted times is taken as the user resident city and may be updated every day, which is not limited in the embodiment of the present application.
In the embodiment of the application, when the user uses the map each time, the demand city retrieved by the user is recorded, for example, although the city where the user is currently located is determined to be city a according to the positioning information of the mobile phone, the city where the POI retrieved by the user is located is city B, and the city B may be referred to as the demand city of the user. The city where the POI is searched by the user can be reserved once a day, and if a plurality of POI searched by the user in one day are located in different cities, the city where the POI searched by the user for the first time is reserved as a user demand city.
It should be understood that the city B may be the same as or different from the city a, and this is not limited in this embodiment of the present application.
By counting the use logs of the map by the users, a plurality of user demand cities and the occurrence times thereof can be counted, and the user demand cities and the occurrence times thereof are used as the characteristics of the user demand cities.
For example, by counting the usage log of the map by the user, the < city a, L >, < city B, M >, < city C, N > are obtained, and are used as the user demand city characteristics.
In the embodiment of the application, the city required by the user can be calculated according to the historical data of all users.
Fig. 7 is an exemplary diagram for determining a region click preference characteristic according to an embodiment of the present application. In the embodiment of the present application, log data of all users using the map is called a full user log, as shown in fig. 7, a resident city C and a user demand city D of each user are counted according to the full user log, and a POI input by each user using the map is identified according to an NER algorithm, so as to obtain a core word and a region word in each POI, obtain feature pairs of < core word, C, D, m1>, < region word, C, D, m2>, and obtain a region click preference feature.
In the embodiment of the present application, the user resident city and the user demand city may be calculated according to the correlation method in fig. 6. When the user uses the map each time, the NER algorithm is used for identifying the core words and the region words in each POI, and the resident city and the demand city of the user are combined, log data of all the users are counted, and then < the core words, C, D, m1>, < the region words, C, D, m2> can be obtained to serve as the region click preference feature.
Fig. 8 is an exemplary diagram for determining a feature of a geographic keyword according to an embodiment of the present application. As shown in fig. 8, when the user uses the map, the POI input by the user is identified by the NER or the information extraction algorithm to obtain the core word and the geographic key word in the POI, where the geographic key word is a city and the < city > is used as the geographic key word feature.
For example, when some users use a map, they may input a POI with an obvious geographic keyword, and if the users input "tambour building", the geographic keyword in the POI may be identified as a city "tambour", and the geographic keyword is characterized by < tambour >, so that the target city of the users may be accurately identified as tambour.
Fig. 9 is an exemplary framework diagram of a search method provided in an embodiment of the present application. As shown in FIG. 9, the framework may include a feature input section S1, a region prediction section S2, and a city region presentation section S3.
In this embodiment, the feature input part S1 may include a geographic keyword feature, a region index feature, a demand city feature, a region click preference feature, and the like, and the specific calculation of the features may refer to the related descriptions in fig. 5 to 8, which are not described again for brevity.
It will be appreciated that the present application may also use one or more or all of the above features, and that other features may also be included in the present application, etc.
The city region prediction section S2 may include: the neural network model prediction section S21, the extract target city section S22, and the search within target city section S23.
Neural network model prediction section S21:
illustratively, the training method of the neural network model is as follows:
(1) a training data set with markers is acquired.
Based on the historical data of the user, the city corresponding to the POI clicked by the user each time is used as a target city, namely positive sample data with a training label of 1, and all other cities are used as negative sample data with labels of 0, so that a training data set with labels is obtained.
The feature input part is calculated in the manner described above in fig. 5 to 8.
(2) Inputting the characteristic parts into a neural network model for training.
The neural network model may be a deep learning model, such as a rank Learning (LTR) model, such as a gradient boosting rank (gbrank), QBRank, or a machine learning model, which is not limited in this embodiment of the present invention.
(3) And obtaining the trained neural network model.
And when the loss function of the neural network model is reduced to the minimum and keeps stable, the trained neural network model can be obtained.
The method for estimating the city by using the neural network model comprises the following steps:
(1) and identifying the region words and the core words according to the POI input by the user, filtering all cities, and reserving M cities containing the related region words and the core words.
Optionally, according to the POI input by the user, a region word in the POI is identified through the NER algorithm, and then all cities are filtered, and M cities containing the region word are reserved. Or, identifying the core word in the POI through the NER algorithm, and then filtering all cities, and reserving M cities containing the region word.
(2) And estimating scores of the M cities.
And inputting the POI, the M cities, the regional words and/or the core words into the neural network model, wherein the trained neural network model can score the M cities.
Illustratively, the M cities are city 1, city 2, …, and city M, respectively, and the scoring result of the M cities is: < city 1, score 1>, < city 2, score 2>, …, < city M, score M >.
It will be appreciated that the above operation can be performed for each POI input by the user, and thus, the neural network model can be updated in real time. The model is also more accurate as the number of uses by the user increases.
Extracting a target city S22:
and extracting N cities before the score from the M cities, reserving the cities with the score being larger than x N1, wherein N1 is the score corresponding to the city with the highest score, x is a preset value, and x is a value which is larger than zero and smaller than 1 and is taken as a target city.
For example, N may be 10, 5, other values, etc., N1 may be 10 points, 100 points, other values, etc., and x may be 0.4, 0.5, 0.6, other values, etc.
For example, if N is 5, N1 is 10 points, and x is 0.5, then 5 cities of the top 5 points are extracted from the M cities, which may be: < city 1, 10 points >, < city 2, 6 points >, < city 3, 4 points >, < city 4, 3 points >, < city 5, 2 points >, from which 5 cities a target city is selected with a retention score of more than 0.5 x 10, i.e. city 1 and city 2 with a retention score of more than 5 points.
In another possible implementation manner of pre-estimating cities, scores of all cities can be obtained through POI input by a user, then all cities are filtered according to the region words and/or the core words, M cities containing related region words or core words are reserved, and then N cities before the scores are extracted from the M cities. The embodiments of the present application are not limited thereto.
Search within the target city S23:
and searching the POI in a region corresponding to the target city.
The target city may be one or more, and may be determined according to the result in S22.
Target city region display section S3:
if only one target city is available, namely one city with the highest score is extracted from the M cities, only the search result of the POI in the city is displayed;
if the target city is multiple, the search result of the POI in the city with the highest score is preferentially displayed, folding processing is carried out on other target cities, and the user can check the search result of the POI in other cities through the function buttons.
Illustratively, as shown in (d) to (g) of fig. 3, when the user inputs keyword a, search results of keyword a in city 1 are preferentially presented in the interface of the mobile phone, when the user clicks the function button 354, the mobile phone may globally display the distribution of keyword a in multiple cities, and when the user clicks the function button 363, the specific search results of keyword a in city 2 may be viewed.
Based on the embodiment of the application, the city where the POI input by the user is located is predicted through the neural network model, one or more target cities can be reserved according to the prediction result, the POI is retrieved from the target cities, and the retrieval result is presented to the user. According to the technical scheme, the accuracy of the target city in the retrieval result is improved by combining the historical use data of the user.
The method for searching for information points provided by the present application will be described below with reference to specific embodiments.
The embodiment of the application takes the example that a user in washington goes to london on business trip and the information retrieval point in london is 'cambridge'.
Firstly, a navigation APP1 related in the embodiment of the present application is installed in an electronic device (e.g., a mobile phone or a locomotive) of a user a, and through statistics of historical data of the user a using the APP1, it can be analyzed that a resident city of the user a is washington.
For example, when a user uses a navigation application, a positioning function in an electronic device is generally opened to facilitate the navigation application to obtain accurate location information of the user, the navigation application can record location information of the user and a city corresponding to the location information when the user opens the application every time, and the resident city of the user can be analyzed through multiple statistics.
For example, the city with the largest number of statistics is taken as the resident city of the user in a statistical period, for example, the statistical period may be one month, three months, etc. Or, the city with the largest number of statistics is used as the resident city of the user without setting the statistics period, and the resident city can be updated every day along with the statistics of the data.
Alternatively, the user may manually set a resident city and the like in the navigation application, which is not limited in the embodiment of the present application.
It should be understood that the electronic device may support at least one of a Global Positioning System (GPS), a beidou satellite navigation system (BDS), a GLONASS satellite navigation system (GLONASS), and a Galileo satellite positioning system (Galileo).
And secondly, by analyzing data of all cities in the world, the statistical frequency of occurrence of a regional word 'Cambridge' in each city can be obtained, and N cities before ranking can be reserved.
Illustratively, the regional term "Cambridge" has a statistical number of 90 occurrences in London, 60 occurrences in Washington, 40 occurrences in St. Peterburg, 30 occurrences in Beijing, and 10 occurrences in Mumbay.
It should be understood that the regional word "cambridge" may also occur in other cities, but the confidence is low due to the small number of statistics.
And thirdly, estimating scores of the N cities by using a neural network model.
Inputting the regional word 'Cambridge', N cities and the statistical times thereof into a neural network model, and predicting the scores of the N cities through the neural network model.
Illustratively, the scores of the 5 cities are estimated, for example, the output result of the neural network model is: < london, 10 points >, < washington, 7 points >, < st peterburg, 5 points >, < beijing, 2 points >, < benumbo, 0 points >.
In another possible implementation manner, according to an information point input by a user, scores of the confidence point in all cities can be estimated through the estimation model, all cities are filtered according to region words and/or core words in the information point, the cities containing the region words and/or the core words are reserved, and M cities before ranking are selected from the filtered cities.
And fourthly, keeping M cities with the highest scores in the former N cities as target cities, wherein M is less than or equal to N.
Illustratively, cities with scores greater than x M1 are retained as target cities, x is a preset value, and M1 is the score of the city with the highest score, e.g., x is 0.5, 0.6, etc.
For example, in 5 cities, london scores the highest, the score is 10 points, and x is 0.5, x M1 is 5 points, and the cities with scores greater than 5 points in the 5 cities are reserved, i.e., two cities of london and washington are reserved as the final target city.
As another example, if x is 0.4, then the cities with scores greater than 5 among the 5 cities are retained, i.e., the three cities of london, washington and st.
And fifthly, retrieving the 'Cambridge' in two target cities of London and Washington to obtain a retrieval result.
And sixthly, displaying the search result of the Cambridge in the city with the highest score, namely the search result in London, in a display interface of the electronic equipment, and folding the search result page of the Cambridge in Washington.
The user can switch the content displayed by the electronic equipment from the search result of London to the search result of Washington by clicking the operation of the related control in the display interface of the electronic equipment.
Illustratively, as shown in (d) to (g) of fig. 3, when the user inputs keyword a, search results of keyword a in city 1 are preferentially presented in the interface of the mobile phone, when the user clicks the function button 354, the mobile phone may globally display the distribution of keyword a in multiple cities, and when the user clicks the function button 363, the specific search results of keyword a in city 2 may be viewed.
According to the method and the device, the retrieval is carried out by taking the city as the granularity, and the historical use data of the user are combined, so that the accuracy of the target city in the retrieval result is improved, and in addition, the convenience of man-machine interaction is improved on a display interface.
Fig. 10 is an exemplary flowchart of a search method provided in an embodiment of the present application. As shown in fig. 10, the method is applied to an electronic device, and the method may include steps 1010 to 1040.
The electronic device detects 1010 points of information input by the user.
Wherein the electronic device can detect the information point input by the user in the search box of the map navigation APP 1.
For example, the electronic device may detect an information point input by a user within a search box or detect an information point input by a user's voice.
Illustratively, as shown in (d) of fig. 3, the information point may be a keyword C in the search box.
The electronic device determines a plurality of cities corresponding to the information point 1020.
Optionally, the electronic device may recognize first information in the information points input by the user through a recognition algorithm; and maintaining a plurality of cities containing the first information.
The recognition algorithm may be the NER algorithm, or may be another recognition algorithm.
The first information may be a core word and/or a regional word.
The cities contain first information, which may be contained in data information or information points contained in the cities.
Illustratively, by identifying the first information in the information points input by the user through the NER algorithm, M cities containing the first information may be retained, and the number of occurrences of the first information in the M cities is counted, and the M cities and the counted number and the first information are input into the predictive model, and the confidence values of the M cities are calculated by the predictive model. And filtering a part of cities through the first information, thereby reducing the complexity of calculation of the prediction model.
And 1030, the electronic equipment screens out a target city from the multiple cities through the pre-estimation model.
In the embodiment of the present application, the pre-estimation model may be the neural network model described above, for example, a deep learning model, such as a rank learning model; or the predictive model may also be a machine learning model or the like.
For example, the confidence values of the cities can be estimated through the estimation model.
For example, the predictive model scores the cities, and a score ranking of the cities can be obtained.
Optionally, the electronic device screens out a target city from a plurality of cities through a predictive model, including: and reserving the cities with the confidence coefficient values larger than the first preset value in the plurality of cities as target cities.
In a possible implementation manner, a city with a confidence value greater than a first preset value may be reserved, where the first preset value may be a preset value, for example, if the confidence value is expressed in a fraction, if the confidence value is a percentage, the first preset value may be 60, 70, 80, and the like, and if the confidence value is a tenth, the first preset value may be 5, 6, 7, and the like, and a specific value of the first preset value is not limited in the embodiment of the present application. The first preset value may also be a quantized index, for example, the first preset value may be 0.5, 0.6, etc.
In another possible implementation manner, assuming that the city confidence value with the highest confidence value among the multiple cities is N1, the cities with scores greater than x × N1 may be retained, and x may be a preset value, for example, 0.5, 0.6, and the like. Therefore, a part of cities with low confidence coefficient can be filtered, and the accuracy of the final prediction result is improved.
The target city may be one or more.
Optionally, the electronic device may further calculate confidence values of all cities through the pre-estimation model, screen out multiple cities from all cities according to region words and/or core words in the information points input by the user, and reserve the city with the confidence value greater than the first preset value as the target city. The technical scheme can also improve the accuracy of target city prediction.
1040, the electronic device searches for the information point from the target city.
In the embodiment of the application, when only one target city is available, the electronic device may search for the information point in the target city, and display a search result of the information point in the target city in the display interface.
It should be understood that the search result of the search information point in the target city may be one or more.
When a plurality of target cities exist, the electronic equipment can search the information points in the target cities, display the search result in the city with the highest score in the target cities in the display interface, fold the search results of the information points in other target cities, and display the search results of the information points in the target cities after the user's viewing operation is detected.
Based on the embodiment of the application, the electronic equipment determines a plurality of cities corresponding to the information points output by the user, screens out a target city from the plurality of cities through the pre-estimation model, and searches the information points in the target city. According to the technical scheme, the accuracy of target city prediction can be improved, and the user experience is improved. Optionally, the method may further include step 1050:
1050, the electronic device displays the search result of the information point in the city with the highest confidence value in a display interface of the electronic device.
In the embodiment of the application, the electronic device may display, by default, the search result of the information point in the city with the highest confidence value in the display interface.
Optionally, the pre-estimation model is obtained by training based on first positive sample data and first negative sample data of user historical data; the first positive sample data is data obtained by a city corresponding to the user click information point, and the first negative sample data is data obtained by other cities except the city corresponding to the user click information point.
The user history data may be the history usage record of the current user, or the history usage data of all users.
When the user inputs POI retrieval each time, recording the city corresponding to the point where the user finally clicks the POI, wherein the city is equivalent to the positive sample data with the training label of 1, and the other cities are taken as the negative sample data with the label of 0.
The pre-estimation model is obtained by training based on historical use data of a user, so that the accuracy of the city corresponding to the predicted information point can be improved.
Optionally, the input features of the predictive model include at least one of the following features: the required city characteristics are cities and counting times corresponding to the information points clicked by the user; the region click preference characteristics are characteristic relation pairs of the core words of the information points, the cities where the users are located, the user demand cities and the counting times, the region words of the information points, the cities where the users are located, the user demand cities and the counting times; the region index features are characteristic relation pairs of core words of the information points, cities where the information points are located, counting times, region words of the information points, cities where the information points are located and counting times; a geographic keyword feature, the geographic keyword feature being a city in the information.
The demand city feature, the region click preference feature, the region index feature, and the geographic keyword feature may refer to the descriptions in fig. 5 to 8, and are not described again for brevity.
Alternatively, one or more of the features may be used as input features to the predictive model.
Based on the embodiment of the application, a plurality of features are calculated from historical data of a user and are used as input features of the pre-estimation model, so that the accuracy of the trained pre-estimation model can be improved.
Optionally, the user history data includes history data of a current user or the user history data includes history data of all users.
Optionally, the first positive sample data is historical data of a current user, and the demand city feature is obtained by calculation through the historical data of the current user. The technical scheme is combined with the personalized historical data of the user, and the accuracy of prediction of the pre-estimated model is facilitated.
Optionally, the first positive sample data is historical data of all users, and the region click preference feature is calculated from the historical data of all users. According to the technical scheme, historical data of all users can be combined, so that training data are increased, and the model training precision is improved.
Fig. 11 is an exemplary flowchart of a search method provided in an embodiment of the present application. As shown in fig. 11, the method is applied to an electronic device, and the method may include steps 1110 to 1140.
1110, the electronic device detects a first operation of a user to input an information point within a first interface.
Illustratively, as shown in (a) of fig. 3, the first interface may be a display interface of the APP1, and the first operation may be an operation of a user to input an information point in a search box, may be a manual input, or a voice input, or a photographing input, and the like.
1120, the electronic device responds to the first operation, and displays a second interface, wherein the second interface comprises a first region display area corresponding to the information point, and the first region display area comprises a search result of the information point in a first city.
Illustratively, as shown in fig. 3 (e), the second interface may be a display interface 350 of the electronic device, the first region display area may be a region display area 351, the first city may be a city 1, and the search result may be a location 1 of the information point in the region.
The electronic device detects a second operation by the user within the second interface 1130.
Illustratively, as shown in (e) of fig. 3, the second interface may be a display interface 350 of the electronic device, and the second operation may be an operation in which the user clicks a function button 354.
And 1140, the electronic device responds to the second operation to display a third interface, wherein the third interface comprises a second region display area corresponding to the information point, and the second region display area comprises search results of the information point in a plurality of target cities.
Illustratively, as shown in fig. 3 (f), the third interface may be a display interface 360 of the electronic device, and the second region display region may be a region display region 361, the region display region 361 being for displaying a world map including search results of the information point in a plurality of cities in the world map.
According to the embodiment of the application, the electronic equipment can display the search result of the information point in the first city in response to the first operation of inputting the information point by the user, but the search results of the information point in other target cities are not filtered and are folded, and when the second operation of the user is detected, the search results of the information point in a plurality of target cities can be displayed. The technical scheme provides a more convenient interactive process for the multi-target city, and improves the use experience of the user.
Optionally, the method further comprises: the electronic equipment detects a third operation of the user in the third interface; and the electronic equipment responds to the third operation and displays a fourth interface, the fourth interface comprises a third map area display area corresponding to the information point, and the third map area display area comprises a search result of the information point in a second city.
Illustratively, as shown in (g) of fig. 3, the third operation may be an operation of the user clicking on the function button 364, the fourth interface may be the display interface 370 of the electronic device, the third region display area may be a region display area 371, the second city is city 2, and the region display area 371 includes the search result location 2 of the information point at city 2.
Optionally, the search result of the information point in the first city is multiple.
Illustratively, as shown in (e) in fig. 4, the search results of this information point in city 1 are places C1 and C2.
Optionally, the search result of the information point in the second city is multiple.
Illustratively, as shown in (g) in fig. 4, the search results of this information point in city 2 are places C3 and C4.
Optionally, the second interface further includes a first function button, and the second operation is that the user clicks the first function control.
Illustratively, as shown in fig. 4 (e), the second interface is a display interface 450 of the electronic device, and the first function button is a function button 456.
Optionally, the third interface further comprises profile information of search results of the information points in a plurality of cities.
Illustratively, as shown in fig. 4 (f), the third interface is a display interface 460 of the electronic device, the information point is a keyword C, the plurality of cities may be a city a, a city B, the profile information of the search result may be an information card 463, an information card 465, and the like.
The embodiment of the present application further provides an electronic device, which includes one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs comprising instructions, which when executed by the one or more processors, cause the electronic device to perform the search method as described in any of the preceding.
An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, where the communication interface is configured to receive a signal and transmit the signal to the processor, and the processor processes the signal, so that the search method described in any one of the foregoing is performed.
The present embodiment also provides a computer-readable storage medium, in which computer instructions are stored, and when the computer instructions are executed on an electronic device, the electronic device executes the above related method steps to implement the search method in the above embodiment.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the searching method in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the searching method in the above-mentioned method embodiments.
The electronic device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A search method, applied to an electronic device, the method comprising:
the electronic equipment detects an information point input by a user;
the electronic equipment determines a plurality of cities corresponding to the information points;
the electronic equipment screens out a target city from the multiple cities through a pre-estimation model;
and the electronic equipment searches the information point from the target city.
2. The method of claim 1, wherein the electronic device determines a plurality of cities corresponding to the information points, comprising:
identifying first information in the information points input by the user according to an identification algorithm;
a plurality of cities containing the first information is retained.
3. The method of claim 1 or 2, wherein the electronic device screens out a target city from the plurality of cities through a predictive model, comprising:
and reserving the cities with the confidence values larger than a first preset value in the cities as the target cities.
4. The method according to any one of claims 1-3, wherein the pre-estimation model is trained based on first positive sample data and first negative sample data of user historical data;
the first positive sample data is data obtained by clicking the city corresponding to the information point by the user, and the first negative sample data is data obtained by clicking other cities except the city corresponding to the information point by the user.
5. The method of claim 4, wherein the input features of the predictive model comprise at least one of:
the required city characteristics are cities and counting times corresponding to the information points clicked by the user;
the region click preference characteristics are characteristic relation pairs of the core words of the information points, the cities where the users are located, the user demand cities and the counting times, the region words of the information points, the cities where the users are located, the user demand cities and the counting times;
the region index features are characteristic relation pairs of core words of the information points, cities where the information points are located, counting times, region words of the information points, cities where the information points are located and counting times;
a geographic keyword feature, the geographic keyword feature being a city in the information point.
6. The method according to any one of claims 3-5, further comprising:
and the electronic equipment displays the search result of the information point in the city with the highest confidence value in a display interface of the electronic equipment.
7. The method according to any of claims 4-6, wherein the user history data comprises history data of the current user or the user history data comprises history data of all users.
8. The method according to any one of claims 4-6, wherein the first positive sample data is historical data of a current user, and the demand city feature is calculated from the historical data of the current user.
9. The method according to any one of claims 4-6, wherein the first positive sample data is historical data of all users, and the region click preference feature is calculated from the historical data of all users.
10. A search method, applied to an electronic device, the method comprising:
the electronic equipment detects a first operation of inputting an information point by a user in a first interface;
the electronic equipment responds to the first operation and displays a second interface, the second interface comprises a first region display area corresponding to the information point, and the first region display area comprises a search result of the information point in a first city;
the electronic equipment detects a second operation of the user in the second interface;
and the electronic equipment responds to the second operation and displays a third interface, wherein the third interface comprises a second region display area corresponding to the information point, and the second region display area comprises search results of the information point in a plurality of target cities.
11. The method of claim 10, further comprising:
the electronic equipment detects a third operation of the user in the third interface;
and the electronic equipment responds to the third operation and displays a fourth interface, the fourth interface comprises a third map area display area corresponding to the information point, and the third map area display area comprises a search result of the information point in a second city.
12. The method of claim 10, wherein the information point has a plurality of search results in the first city.
13. The method of any of claims 10-12, wherein the second interface further comprises a first function button, and wherein the second operation is the user clicking on the first function control.
14. The method of any of claims 10-12, wherein the third interface further comprises profile information for search results for the information point in multiple cities.
15. An electronic device comprising one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs comprising instructions, which when executed by the one or more processors, cause the search method of any of claims 1-9 to be performed; or cause the search method of any one of claims 10-14 to be performed.
16. A chip, characterized in that it comprises a processor and a communication interface for receiving a signal and transmitting it to the processor, which processes it so that the search method according to any one of claims 1-9 is performed; or cause the search method of any one of claims 10-14 to be performed.
17. A computer-readable storage medium having stored therein computer instructions which, when run on a computer, cause the search method of any one of claims 1-9 to be performed; or cause the search method of any one of claims 10-14 to be performed.
CN202110153606.9A 2021-02-04 2021-02-04 Searching method and electronic equipment Pending CN114861032A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110153606.9A CN114861032A (en) 2021-02-04 2021-02-04 Searching method and electronic equipment
PCT/CN2021/138621 WO2022166421A1 (en) 2021-02-04 2021-12-16 Search method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110153606.9A CN114861032A (en) 2021-02-04 2021-02-04 Searching method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114861032A true CN114861032A (en) 2022-08-05

Family

ID=82622946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110153606.9A Pending CN114861032A (en) 2021-02-04 2021-02-04 Searching method and electronic equipment

Country Status (2)

Country Link
CN (1) CN114861032A (en)
WO (1) WO2022166421A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106611017B (en) * 2015-10-27 2021-06-29 北京嘀嘀无限科技发展有限公司 User identity identification method and device
US10642883B2 (en) * 2016-06-27 2020-05-05 Google Llc System and method for generating a geographic information card map
CN106919641B (en) * 2017-01-12 2020-04-17 北京三快在线科技有限公司 Interest point searching method and device and electronic equipment
CN110659409B (en) * 2018-12-29 2022-06-10 北京奇虎科技有限公司 Point of interest (POI) recommendation method and device

Also Published As

Publication number Publication date
WO2022166421A1 (en) 2022-08-11

Similar Documents

Publication Publication Date Title
CN109890067B (en) Method and electronic equipment for identifying specific position on specific route
US11892299B2 (en) Information prompt method and electronic device
CN110138959B (en) Method for displaying prompt of human-computer interaction instruction and electronic equipment
WO2020238356A1 (en) Interface display method and apparatus, terminal, and storage medium
WO2020151387A1 (en) Recommendation method based on user exercise state, and electronic device
CN111182145A (en) Display method and related product
WO2022052776A1 (en) Human-computer interaction method, and electronic device and system
CN112214636A (en) Audio file recommendation method and device, electronic equipment and readable storage medium
CN111970401B (en) Call content processing method, electronic equipment and storage medium
CN112130714B (en) Keyword search method capable of learning and electronic equipment
CN111669515A (en) Video generation method and related device
CN111881315A (en) Image information input method, electronic device, and computer-readable storage medium
CN111835904A (en) Method for starting application based on context awareness and user portrait and electronic equipment
CN112529645A (en) Picture layout method and electronic equipment
CN114330374A (en) Fusion scene perception machine translation method, storage medium and electronic equipment
WO2022022335A1 (en) Method and apparatus for displaying weather information, and electronic device
CN112740148A (en) Method for inputting information into input box and electronic equipment
CN114173184A (en) Screen projection method and electronic equipment
CN113742460A (en) Method and device for generating virtual role
CN112416984A (en) Data processing method and device
CN115525783B (en) Picture display method and electronic equipment
WO2021196980A1 (en) Multi-screen interaction method, electronic device, and computer-readable storage medium
CN115171073A (en) Vehicle searching method and device and electronic equipment
CN116861066A (en) Application recommendation method and electronic equipment
WO2022166421A1 (en) Search method and electronic device

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