WO2020211705A1 - Contact person recommendation method and electronic device - Google Patents

Contact person recommendation method and electronic device Download PDF

Info

Publication number
WO2020211705A1
WO2020211705A1 PCT/CN2020/084242 CN2020084242W WO2020211705A1 WO 2020211705 A1 WO2020211705 A1 WO 2020211705A1 CN 2020084242 W CN2020084242 W CN 2020084242W WO 2020211705 A1 WO2020211705 A1 WO 2020211705A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
contacts
user
call
contact
Prior art date
Application number
PCT/CN2020/084242
Other languages
French (fr)
Chinese (zh)
Inventor
于超
梁努希
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020211705A1 publication Critical patent/WO2020211705A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/2746Sorting, e.g. according to history or frequency of use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata

Definitions

  • This application relates to the field of terminal technology, and in particular to a contact recommendation method and electronic equipment.
  • the way that the mobile phone displays the calling number when a user makes a call is currently relatively simple. For example, after the user opens the call application in the mobile phone, the mobile phone can display a list of recent calls. The user can search the desired phone number or contact one by one in the recent call list, and then make a call to the corresponding phone number. It can be seen that it takes a long time for the user to search for a contact before making a call, and the search efficiency is low, resulting in a low user experience.
  • This application provides a method and electronic device for recommending contacts, which can help users quickly locate contacts to make calls, simplify the operation process of making calls between users and contacts, and improve the efficiency and user experience of users in finding contacts.
  • this application provides a method for recommending contacts, including: in response to a first operation input by the user, the electronic device can obtain the geographic location where the user is currently located; further, the electronic device can determine the X associated with the geographic location. (X ⁇ 1) contacts, these X contacts include the contacts the user has had call records in the first geographic area (the above geographic area belongs to the first geographic area); the electronic device can display the contact recommendation results and the The recommendation reason for the contact recommendation result, where the contact recommendation result includes the shortcut of each of the above X contacts; if it is detected that the user selects the shortcut of the first contact, the electronic device may display the call first In the call interface of a contact, the first contact is one of the above X contacts.
  • the electronic device can recommend the contact that the user has contacted near the current location to the user, so that the user can quickly find the contact who wants to make a call.
  • the user does not need to manually search for the corresponding contact in the lengthy call record list or contact list, thereby simplifying the operation process when the user talks with the contact and improving the user experience.
  • the above-mentioned first operation may be an operation for the user to open the call list; then, in response to the first operation input by the user, the electronic device may also display a call list interface, and the call list interface includes one or Multiple call records.
  • the electronic device displaying the contact recommendation result specifically includes: the electronic device may display the contact recommendation result in the call list interface.
  • the electronic device can rearrange the call records in the call list interface, and display the call records of the aforementioned X contacts on the top of the call list interface, which is convenient for the user to find and select.
  • the call list interface may include a recommendation button; at this time, the electronic device displays the contact recommendation result, which specifically includes: in response to the user's operation of selecting the recommendation button, the electronic device may display the contact recommendation result.
  • the electronic device before the electronic device obtains the user’s current geographic location, it further includes: the electronic device obtains the user’s N call records, and each call record includes the historical geographic location of the user during the call. N>1; further, the electronic device can use a preset clustering algorithm to perform cluster analysis on the historical geographic locations in the N call records to obtain M geographic regions, each of which includes one or more historical geographic regions position.
  • the electronic device determines the X contacts associated with the foregoing geographic location, it specifically includes: the electronic device determines the first geographic area that includes the current geographic location among the foregoing M geographic areas; further, the electronic device may place the user in the first geographic area.
  • One or more contacts who have call records in a geographic area are determined as the X contacts recommended for this time.
  • the above recommendation reason may be: recommendation based on geographic location.
  • the electronic device may also obtain current time information; at this time, the electronic device determines X contacts associated with the current geographic location, which specifically includes: electronic device Determine X contacts associated with both geographic location and time information.
  • the electronic device determines the X contacts associated with the foregoing geographic location and time information, it specifically includes: the electronic device determines M1 (M1 ⁇ 1) contacts associated with the current geographic location, and these M1 contacts Persons include contacts of the user who have had call records in the first geographic area; the electronic device determines M2 (M2 ⁇ 1) contacts associated with the current time information. These M2 contacts include the user’s contacts in the first time period (current The time information belongs to the contacts who have had call records in the first time period); further, the electronic device may determine the intersection or union of the above M1 contacts and M2 contacts as the X contacts recommended to the user this time .
  • the above-mentioned recommendation reason may be: recommendation based on geographic location and time information.
  • the method further includes: the electronic device can compare the X contacts with the call records between the user and the X contacts. Sorting; for example, the electronic device can sort the X contacts according to the call frequency and call duration recorded in the call log. At this time, the contact recommendation result displayed by the electronic device is a shortcut of each of the above X contacts after sorting.
  • this application provides an electronic device, including: a touch screen, one or more processors, one or more memories, and one or more computer programs; wherein the processor is coupled with the touch screen and the memory, and one or more of the above A plurality of computer programs are stored in the memory, and when the electronic device is running, the processor executes one or more computer programs stored in the memory, so that the electronic device executes any one of the contact recommendation methods described above.
  • the present application provides a computer storage medium including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the contact recommendation method described in any one of the first aspect.
  • the present application provides a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the contact recommendation method described in any one of the first aspect.
  • the electronic equipment described in the second aspect, the computer storage medium described in the third aspect, and the computer program product described in the fourth aspect provided above are all used to execute the corresponding methods provided above.
  • the beneficial effects that can be achieved please refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.
  • FIG. 1 is a first structural diagram of an electronic device according to an embodiment of the application
  • FIG. 2 is a schematic diagram of the architecture of an operating system in an electronic device provided by an embodiment of the application;
  • FIG. 3 is a schematic diagram of a call record table provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of a clustering result of geographic clustering provided by an embodiment of the application.
  • FIG. 5 is a schematic flowchart of a method for recommending contacts according to an embodiment of this application.
  • FIG. 6 is a schematic diagram 1 of a scene of a method for recommending contacts according to an embodiment of this application;
  • FIG. 7 is a second schematic diagram of a method for recommending contacts according to an embodiment of the application.
  • FIG. 8 is a schematic diagram 3 of a scene of a method for recommending contacts according to an embodiment of this application.
  • FIG. 9 is a fourth schematic diagram of a scene of a method for recommending contacts according to an embodiment of this application.
  • FIG. 10 is a schematic diagram five of a method for recommending contacts according to an embodiment of this application.
  • FIG. 11 is a sixth scenario diagram of a method for recommending contacts according to an embodiment of this application.
  • FIG. 12 is a schematic diagram 7 of a method for recommending contacts according to an embodiment of the application.
  • FIG. 13 is an eighth schematic diagram of a method for recommending contacts according to an embodiment of this application.
  • FIG. 14 is a schematic diagram 9 of a method for recommending contacts according to an embodiment of this application.
  • 15 is a schematic diagram ten of a method for recommending contacts according to an embodiment of this application.
  • 16 is a schematic diagram eleventh scene of a method for recommending contacts according to an embodiment of this application.
  • FIG. 17 is a second structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 18 is a third structural diagram of an electronic device provided by an embodiment of this application.
  • the method for recommending contacts provided by the embodiments of this application can be applied to mobile phones, tablet computers, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, and personal digital assistants.
  • Electronic devices such as (personal digital assistant, PDA), wearable electronic devices, virtual reality devices, etc., are not limited in the embodiments of the present application.
  • 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, and an antenna 2.
  • Mobile communication module 150 Wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, camera 193, display screen 194, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
  • 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 can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • 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 can receive input from the battery 142 and/or the charging management module 140, and supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering and amplifying the received electromagnetic waves, and then transmitting them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the 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 modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating one or more communication processing modules.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the mobile phone 100 may include 1 or N cameras, and N is a positive integer greater than 1.
  • the camera 193 may be a front camera or a rear camera.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • 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 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 110 can execute the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 100 to execute the method for intelligently recommending contacts provided in some embodiments of the present application, as well as various functional applications and data processing.
  • the internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more application programs (such as a gallery, contacts, etc.) and so on.
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash storage (UFS), etc.
  • the processor 110 executes the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor to cause the electronic device 100 to execute the contact provided in the embodiments of the present application. People recommend methods, as well as various functional applications and data processing.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called a “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can approach the microphone 170C through the mouth to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with one or more microphones 170C.
  • the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals.
  • the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association
  • the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc., in the embodiments of the present application There are no restrictions on this.
  • the electronic device 100 provided in the embodiment of the present application may also include one or more devices such as a button, a motor, an indicator, and a SIM card interface, and the embodiment of the present application does not impose any limitation on this.
  • the software system of the above electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes a layered Android system as an example to illustrate the software structure of the electronic device 100.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of applications.
  • application programs may include applications (application, APP) such as call, contact, camera, gallery, calendar, map, navigation, Bluetooth, music, video, short message, etc.
  • applications application, APP
  • the call APP also called dialing APP or phone APP
  • contact APP also called address book APP or phone book APP
  • Third-party applications for calling can be preset when the mobile phone leaves the factory, or can be used in the application market.
  • the application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include phone service and contact service.
  • the call service can be used to provide the call function of the electronic device 100.
  • the call service can manage the call status of the call APP (for example, initiate, connect, hang up, etc.). If it is detected that the user uses the call APP to make an incoming or outgoing call with a certain phone number, the call service can monitor the call status of this call. If a dialing failure event is detected, the call service can also obtain the reason for the dialing failure sent by the base station, such as network failure, rejection by the other party, failure to connect over time, or busy tone of the other party.
  • the reason for the dialing failure sent by the base station such as network failure, rejection by the other party, failure to connect over time, or busy tone of the other party.
  • the call service can record the basic information of the call record in each field of the call record table 301, for example, the ID of the call record (ID The value can increase with the number of call records), the contact (or phone number) of the call, the incoming/outgoing time, date, time, and duration of the call.
  • the call service may also record the location information of the user during each call in the call record table 301, for example, the latitude and longitude coordinates of the electronic device 100. In this way, the electronic device 100 can query the geographic location where the user is in each call with each contact through the call record table 301.
  • the above contact service can be used to manage the contact list in the contact APP, such as creating new contacts in the contact list, deleting contacts, or modifying various information in the contacts.
  • the contact APP detects the user's operation to create a contact, it can call the contact service to save one or more information such as the name, phone number, and address of the contact entered by the user.
  • the contact service can create a new contact in the contact database (contact.db), and add one or more of the obtained information to the newly created contact.
  • the application framework layer may also include a clustering algorithm module.
  • the clustering algorithm module can periodically obtain the call record of the user in the most recent period from the call service (for example, the call record table 301 mentioned above).
  • the clustering algorithm module can perform geographic cluster analysis on the location information recorded in each call record in the call record table 301 to obtain a clustering result based on geographic location. For example, as shown in Figure 4, through geographic clustering analysis, the clustering algorithm module can divide the N (N>1) location information in the call log table 301 into one or more geographic clusters (for example, geographic clusters 401 and 401). Geographic cluster 402).
  • Each geographic cluster covers a certain area of geographic area, and each geographic cluster can also be called a geographic area.
  • the similarity of location information in the same geographic cluster is as large as possible, and the difference of location information that is not in the same geographic cluster is also as large as possible.
  • each geographic location in the geographic cluster 401 belongs to the Xi'an area, and each geographic location in the geographic cluster 402 belongs to the Beijing area.
  • each geographic location (ie, location information) in FIG. 4 corresponds to a call record in the call record table 301.
  • the call service (or contact service) can obtain the location information of the current user (for example, location A), Furthermore, the clustering algorithm module is requested to determine one or more contacts associated with location A according to the above-mentioned geographic location-based clustering result.
  • the one or more contacts are contacts that the user has contacted in the vicinity of location A.
  • the electronic device may display one or more contacts that can be determined by the clustering algorithm module as a recommendation result in the call APP (or contact APP).
  • the electronic device can recommend the contact that the user has contacted near the current location to the user, so that the user can quickly find the contact who wants to make a call.
  • the user does not need to manually search for the corresponding contact in the lengthy call record list or contact list, thereby simplifying the operation process when the user talks with the contact and improving the user experience.
  • the application framework layer can also include window managers, content providers, view systems, resource managers, notification managers, etc.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text and controls that display pictures.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, a sensor driver, etc., which are not limited in the embodiment of the present application.
  • a mobile phone is used as an example of an electronic device, and a method for recommending a contact provided by an embodiment of the present application is described in detail with reference to the accompanying drawings.
  • a method for recommending contacts includes the following steps S501-S505.
  • the mobile phone obtains the user's current location information.
  • a user when using a mobile phone to call a contact, a user needs to open the call APP in the mobile phone to find the contact.
  • the mobile phone can obtain the location information of the current user.
  • the mobile phone can obtain the latitude and longitude coordinates of the current mobile phone through the GPS module, and the latitude and longitude coordinates are the location information of the current user.
  • the mobile phone is connected to the Wi-Fi network of a certain access point (AP)
  • the IP address (or MAC address) of the AP is generally fixed and the location of the AP is away from the location of the mobile phone. It is not very far away. Therefore, the mobile phone can query the location information of the AP by obtaining the IP address (or MAC address) of the AP, and further, the mobile phone can use the location information of the AP as the location information of the current user.
  • the mobile phone can also determine the current user's location information through the IP address (or MAC address) of the current Bluetooth connection.
  • the mobile phone may also request the base station to use the distance between the base station and the mobile phone to calculate the location of the mobile phone, that is, the location information of the current user, which is not limited in this embodiment of the application.
  • the mobile phone can obtain the user's current location information. As shown in FIG. 6, the mobile phone can also display the call list interface 601 of the call APP.
  • the call list interface 601 includes one or more call records. Among them, the basic information of each call record is recorded by the mobile phone in the call record table 301 shown in FIG. 3.
  • the mobile phone can update the aforementioned call log table 301 regularly. For example, a maximum of 100 call records can be stored in the call record table 301 in advance. Then, when the mobile phone generates the user's 101st call record, the basic information of the call record with the earliest record time in the call record table 301 can be deleted. For another example, the call record table 301 can be set to record the call records of the user in the last month. Then, when the incoming or outgoing time of the call record in the call record table 301 exceeds one month, the mobile phone can delete the basic information of the call record.
  • each call record in the call list interface 601 can also be used as a shortcut for calling a contact.
  • the user can select a corresponding call record in the call list interface 601 to perform a dialing operation.
  • the mobile phone detects that the user clicks on the call record 1 in the call list interface 601, the mobile phone can automatically call the contact Mike according to Mike's phone number recorded in the call record 1.
  • the mobile phone can also obtain the current location information of the user in response to other operations of the user.
  • the mobile phone may display the above-mentioned call list interface 601 after detecting that the user opens the call APP.
  • a preset gesture in the call list interface 601, such as a pressing operation, a tapping operation, or a sliding operation with a preset sliding track
  • the mobile phone can respond to the gesture to obtain the user's current location information.
  • the application embodiment does not impose any restriction on this.
  • the mobile phone determines X contacts associated with the current location information based on a preset clustering model, and X ⁇ 1.
  • the above X contacts are: one or more contacts in the call record (for example, the call record table 301) that the user has contacted near the location information.
  • a geographic clustering model can be set in the mobile phone in advance, such as K-Means (K-means clustering method) clustering model, DBSCAN (density-based Spatial clustering of applications with noise, density-based
  • K-Means K-means clustering method
  • DBSCAN dense-based Spatial clustering of applications with noise
  • the clustering algorithm model, the BIRCH (balanced iterative reducing and clustering using hierarchies, the balanced iteration protocol and clustering using the hierarchical method) model, the STING algorithm model, etc. are not limited in the embodiments of this application.
  • the mobile phone can input the location information recorded in each call record in the call record table 301 into the geographic clustering model.
  • the location information recorded in multiple call logs may be the same or different.
  • the geographic clustering model can perform geographic clustering analysis on all latitude and longitude coordinates in the call log table 301 through a preset clustering algorithm, and divide multiple latitude and longitude coordinates with similar locations into one geographic cluster .
  • the mobile phone can divide the multiple latitude and longitude coordinates recorded in the call log table 301 into three geographic clusters, that is, geographic cluster 701-geographic cluster 703 through cluster analysis.
  • one latitude and longitude coordinate in each geographic cluster corresponds to one or more contacts.
  • point A in the geographic cluster 701 if the user used to call contacts Sam and Jack at point A, then point A corresponds to both contact Sam and contact Jack.
  • the mobile phone can calculate the contact list corresponding to each geographic cluster according to information such as the number of calls and the duration of the call between the user and each contact in the call record table 301.
  • geographic cluster 701 includes 4 latitude and longitude coordinates. Among them, the user has talked with contact Sam twice at latitude and longitude coordinates A, the user has talked with contact Sam once at latitude and longitude coordinates B, and the user has talked with contact Jack twice at latitude and longitude coordinates. The coordinate point C has a call with the contact Amy once. Then, in the descending order of the number of calls, the mobile phone can determine that the contact list A corresponding to the geographic cluster 701 sequentially includes: contact Sam, contact Jack, and contact Amy.
  • step S502 after the mobile phone obtains the current location information of the user this time, taking the location information as the longitude and latitude coordinates as an example, the call service in the mobile phone can send the longitude and latitude coordinates of the Z point to the geographic clustering model.
  • the mobile phone can determine the X contacts that the user has frequently contacted near the location based on the user's location at this time. These X contacts are likely to be the contacts the user wants to call this time. people.
  • the mobile phone displays the shortcuts of the above X contacts in the call APP.
  • the mobile phone may display a recommendation notification 901 on the call list interface 601.
  • the recommendation notification 901 may include the shortcuts of the X contacts determined by the mobile phone in step S502. Since the contacts in the recommendation notification 901 are all contacts that the user frequently contacts at the current location, the user can quickly select the phone number of the contact who needs to call this time through the recommendation notification 901, thereby simplifying the operation of the user and the contact to make calls The process improves the efficiency and user experience for users to find contacts.
  • the mobile phone can rearrange the call records in the call list interface 601, and display the recent call records 1001 of the above X contacts in The top of the call list is convenient for users to find and choose.
  • the mobile phone can also mark the call record 1001 in the call list interface 601 as the recommended reason: friends contacted nearby, presenting a more intelligent call operation experience to the user.
  • the mobile phone can also set a smart recommendation menu 1101 in the call APP. If it is detected that the user opens the smart recommendation menu 1101, as shown in Figure 11 (b), the mobile phone can display a smart recommendation interface 1102, and the smart recommendation interface 1102 includes X contacts determined by the mobile phone for the user in step S502 Shortcuts. Taking the user's current location as Bantian as an example, the mobile phone can prompt the user in the smart recommendation interface 1102 with the contact list 1103 that the user has contacted near Bantian. For example, as shown in (b) of FIG. 11, the mobile phone can display the contacts that the user has contacted near Bantian in the order of the number of calls, and display the number of calls each contact has with the user. The user can select the relevant contact in the contact list 1103 to quickly complete the dialing operation.
  • mobile phones can also use Preference Learning (Preference Learning) sorting algorithm, LR (Logistic Regression) sorting algorithm, GBDT (Gradient Boosting Decision Tree, gradient boosting tree) sorting algorithm or MFU (Most Frequently Used, most commonly used) Sorting algorithms such as sorting algorithm sort the contacts whose mobile phone determines X in step S502.
  • the mobile phone can use the GBDT sorting algorithm to determine the call status in Figure 11(b) based on the call frequency, call duration, whether the headset is plugged in and out of the call, and the battery level of the mobile phone recorded in the related call records in the user call log table 301.
  • the order of people Sam, Jack, Amy, Peter and Sara is not limited in the embodiment of the application.
  • the mobile phone may also use time as the granularity to count the contact lists corresponding to different time periods.
  • the mobile phone can be divided into multiple time periods in advance. For example, 9 o'clock to 11 o'clock is regarded as the time zone 1201, 11 o'clock to 14 o'clock is regarded as the time zone 1202, and so on.
  • the mobile phone can determine one or more call records belonging to each time period according to the outgoing time or incoming time of each call record in the call record table 301. As shown in FIG. 12, the mobile phone can determine through statistics that the time period 1201 includes 15 call records, and the time period 1202 includes 10 call records. Because each call record corresponds to a contact. Therefore, the mobile phone can count the contact list corresponding to each time cluster.
  • the mobile phone can dynamically adjust the time periods divided above. For example, since the call record in the call record table 301 is updated in real time, the mobile phone can periodically re-divide the time period according to the outgoing time or incoming time of the call record in the call record table 301. For example, when it is detected that the user’s call frequency is high during the time period from 9:00 to 10:30, the mobile phone can modify the time interval of the above time period 1201 from 9:00 to 11 to 9:00 to 10:30 Minute.
  • the time period 1201 includes 15 call records. Among these 15 call records, 7 are call records with the contact Sam, 5 are call records with the contact Jack, and 3 Bar is the call log with the contact Tom. Then, according to the order of the number of calls, the mobile phone can determine that the contact list B corresponding to the time period 1201 includes: contact Sam, contact Jack, and contact Tom.
  • the mobile phone can obtain current time information in addition to the location information of the current user, for example, the current time is 9:48. Furthermore, the mobile phone can determine, based on the current time, that the call that the user needs to make this time belongs to the aforementioned time period 1201. At the same time, referring to the related description of step S502, based on the clustering result of the geographic clustering model, the mobile phone can determine that the call that the user needs to make this time belongs to the geographic cluster 701.
  • the contact list A corresponding to the geographic cluster 701 sequentially includes: contact Sam, contact Jack, and contact Amy.
  • the contact list B corresponding to the time period 1201 sequentially includes: contact Sam, contact Jack, and contact Tom.
  • the overlapping contacts in the contact list A and the contact list B are: Sam and Jack, indicating that the user often interacts with Sam in the time period from 9 am to 11 am at the current location (for example, point Z). Talk to Jack. Then, the mobile phone can determine the contacts Sam and Jack as the X contacts who currently need to be recommended to the user. As shown in (a) in Figure 13, the mobile phone can display shortcuts for contacts Sam and Jack in the smart recommendation interface 1301 of the call APP. At the same time, the mobile phone can display the recommendation reason 1302 of the contact recommended this time in the smart recommendation interface 1301: the recommendation result based on the location of the user and the current time is convenient for the user to quickly find the desired contact to make a call after opening the call APP.
  • the mobile phone may display the contacts in the contact list A and the contact list B as the recommendation results in the smart recommendation interface 1301.
  • the mobile phone can display the overlapping contacts in the contact list A and the contact list B (namely contacts Sam and Jack) on the top of the smart recommendation interface 1301, which is convenient for the user to quickly find the desired contact after opening the call APP Make a call.
  • the mobile phone can select the top X1 contacts in the contact list A, and select the top X2 contacts in the contact list B, and then the mobile phone can select the X1 contacts And X2 contacts are determined as contacts that need to be recommended to the user this time.
  • the mobile phone can display the recommendation list 1402 and the recommendation list 1403 in the smart recommendation interface 1401 of the call APP.
  • the recommendation list 1402 is based on the user's current location and recommends for the user one or more contacts who frequently call at the location.
  • the recommendation list 1403 is based on the one or more contacts recommended for the user who frequently talk in the current time period based on the current time.
  • the contacts in the recommendation list 1402 and the recommendation list 1403 may be the same or different.
  • the mobile phone can also integrate the contacts in the recommendation list 1402 and the recommendation list 1403 into one recommendation list and display it in the smart recommendation interface 1401, which is not limited in this application.
  • the mobile phone can display a call interface 1502 for calling contact Sam, and perform a dialing operation according to the phone number of contact Sam.
  • the mobile phone can intelligently recommend contacts that the user frequently contacts near the location based on the user's current location and other information. In this way, the user can quickly find the contact who needs to dial this time according to the contact recommended by the mobile phone before dialing, without manually searching for the corresponding contact in the lengthy call log list, thus simplifying the operation process when the user is talking with the contact , Improve the user experience.
  • the user uses the call APP to find a contact to make a call. It is understandable that if it is detected that the user opens the contact APP, the mobile phone can also perform the above steps S501-S504 in the contact
  • the APP recommends a list of contacts frequently contacted at the current location to the user, so that the user can quickly find the contact who needs to dial this time.
  • the embodiment of the application does not impose any restriction on this.
  • the mobile phone updates the clustering result in the clustering model.
  • step S505 the mobile phone may periodically update the clustering results of the geographic clustering model. It should be noted that the embodiment of the present application does not impose any restriction on the execution sequence between step S505 and the foregoing steps S501-S504.
  • the mobile phone can be set to automatically trigger the mobile phone to update the clustering result of the geographic clustering model after detecting every new N (N ⁇ 1) call records in the call record table 301.
  • the mobile phone can set an update cycle (for example, daily, weekly, or monthly), and the mobile phone can automatically update the clustering results of the geographic clustering model according to the update cycle.
  • the mobile phone updates the clustering results of the geographic clustering model every day, it can choose to update at night or during idle time such as when the mobile phone is charging, so as to avoid the update process of the clustering model occupying too much mobile phone resources and causing users to be unable to use the mobile phone normally.
  • the mobile phone can obtain the current call record table 1601 from the call service.
  • Each call record in the call record table 1601 stores corresponding location information.
  • the mobile phone can input the location information in each call record into the geographic clustering model for geographic cluster analysis, and divide multiple geographic locations with similar location information into a geographic cluster.
  • geographic cluster 1602 is newly added.
  • the geographic cluster 1602 includes multiple geographic locations, indicating that the user frequently talks with contacts within the coverage area of the geographic cluster 1602 recently.
  • the mobile phone can also update the coverage size and location of each geographic cluster according to each call record in the latest call record table.
  • the contact list corresponding to each geographic cluster is updated accordingly.
  • the mobile phone can determine the contact associated with the current user location based on the latest geographical clustering result, thereby improving the accuracy of the contact recommended by the mobile phone to the user.
  • an embodiment of the present application discloses an electronic device, which can be used to implement the methods described in each of the above method embodiments.
  • the electronic device may specifically include: an obtaining unit 1701, a determining unit 1702, a display unit 1703, a calling unit 1704, and an updating unit 1705.
  • the obtaining unit 1701 is used to support the electronic device to perform the process S501 in FIG. 5;
  • the determining unit 1702 is used to support the electronic device to perform the process S502 in FIG. 5;
  • the display unit 1703 is used to support the electronic device to perform the process S503 in FIG. 5;
  • the calling unit 1704 is used to support the electronic device to perform the process S504 in FIG.
  • the update unit 1705 is used to support the electronic device to perform the process S505 in FIG. 5.
  • the update unit 1705 is used to support the electronic device to perform the process S505 in FIG. 5.
  • an embodiment of the present application discloses an electronic device, including: a touch screen 1801, the touch screen 1801 includes a touch-sensitive surface 1806 and a display screen 1807; one or more processors 1802; a memory 1803; and one or Multiple computer programs 1804.
  • the above-mentioned devices may be connected through one or more communication buses 1805.
  • the aforementioned one or more computer programs 1804 are stored in the aforementioned memory 1803 and are configured to be executed by the one or more processors 1802.
  • the one or more computer programs 1804 include instructions, and the aforementioned instructions can be used to execute the aforementioned Each step in the embodiment should be implemented.
  • the foregoing processor 1802 may specifically be the processor 110 shown in FIG. 1
  • the foregoing memory 1803 may specifically be the internal memory 121 and/or the external memory 118 shown in FIG. 1
  • the foregoing display screen 1807 may specifically be FIG.
  • the above-mentioned touch-sensitive surface 1806 may specifically be a touch sensor in the sensor module 180 shown in FIG. 1, which is not limited in the embodiment of the present application.
  • the functional units in the various embodiments of 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 may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • a computer readable storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present application provides a contact person recommendation method and an electronic device, which can help a user quickly locate a contact person to make a call and simplify the operation process of making the call by the user to the contact person, thereby improving the efficiency of finding a contact person by the user and the user experience. The method comprises: in response to a first operation input by a user, the electronic device obtains the current geographic location of the user; the electronic device determines X contact persons associated with the geographic location, the X contact persons comprising contact persons for which the user has a call history in a first geographic area, and the geographic location belonging to the first geographic area; the electronic device displays a contact person recommendation result and a recommendation reason for the contact person recommendation result, the contact person recommendation result comprising a shortcut for each of the X contact persons; if it is detected that the user selects the shortcut for the first contact person, the electronic device displays a call interface for calling the first contact person.

Description

一种联系人的推荐方法及电子设备Contact recommendation method and electronic equipment
本申请要求在2019年4月17日提交中国国家知识产权局、申请号为201910310588.3、发明名称为“一种联系人的推荐方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China, the application number is 201910310588.3, and the invention title is "a method and electronic device recommended by a contact person" on April 17, 2019, the entire content of which is by reference Incorporated in this application.
技术领域Technical field
本申请涉及终端技术领域,尤其涉及一种联系人的推荐方法及电子设备。This application relates to the field of terminal technology, and in particular to a contact recommendation method and electronic equipment.
背景技术Background technique
随着通信技术的飞速发展,用户使用手机等电子设备与联系人拨打电话的通话方式也越来越普遍,用户在手机等电子设备中存储的联系人数目可以达到成千上百条。With the rapid development of communication technology, it is becoming more and more common for users to use mobile phones and other electronic devices to make calls with contacts. The number of contacts stored in mobile phones and other electronic devices can reach hundreds of contacts.
但是,目前用户拨打电话时手机显示呼叫号码的方式比较单一。例如,用户打开手机中的通话应用后手机可显示最近通话列表。用户可在最近通话列表中逐一进行查找所需的电话号码或联系人,进而向相应的电话号码拨打电话。可以看出,用户拨打电话前查找联系人所需的时间较长,查找效率较低,导致用户的体验不高。However, the way that the mobile phone displays the calling number when a user makes a call is currently relatively simple. For example, after the user opens the call application in the mobile phone, the mobile phone can display a list of recent calls. The user can search the desired phone number or contact one by one in the recent call list, and then make a call to the corresponding phone number. It can be seen that it takes a long time for the user to search for a contact before making a call, and the search efficiency is low, resulting in a low user experience.
发明内容Summary of the invention
本申请提供一种联系人的推荐方法及电子设备,可帮助用户快速定位联系人拨打电话,简化用户与联系人拨打电话的操作流程,从而提高用户查找联系人的效率和用户体验。This application provides a method and electronic device for recommending contacts, which can help users quickly locate contacts to make calls, simplify the operation process of making calls between users and contacts, and improve the efficiency and user experience of users in finding contacts.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above objectives, this application adopts the following technical solutions:
第一方面,本申请提供一种联系人的推荐方法,包括:响应于用户输入的第一操作,电子设备可获取用户当前所在的地理位置;进而,电子设备可确定与该地理位置关联的X(X≥1)个联系人,这X个联系人包括用户在第一地理区域(上述地理位置属于第一地理区域)内有过通话记录的联系人;电子设备可显示联系人推荐结果和该联系人推荐结果的推荐原因,其中,联系人推荐结果包括上述X个联系人中每个联系人的快捷方式;若检测到用户选中第一联系人的快捷方式,则电子设备可显示呼叫第一联系人的呼叫界面,第一联系人为上述X个联系人中的一个。In the first aspect, this application provides a method for recommending contacts, including: in response to a first operation input by the user, the electronic device can obtain the geographic location where the user is currently located; further, the electronic device can determine the X associated with the geographic location. (X≥1) contacts, these X contacts include the contacts the user has had call records in the first geographic area (the above geographic area belongs to the first geographic area); the electronic device can display the contact recommendation results and the The recommendation reason for the contact recommendation result, where the contact recommendation result includes the shortcut of each of the above X contacts; if it is detected that the user selects the shortcut of the first contact, the electronic device may display the call first In the call interface of a contact, the first contact is one of the above X contacts.
这样,用户在拨打电话前,电子设备便可将用户曾经在当前位置附近联系过的联系人推荐给用户,方便用户快速地找到希望拨打电话的联系人。用户无需在冗长的通话记录列表或联系人列表中手动查找相应的联系人,从而简化用户与联系人通话时的操作流程,提高了用户的使用体验。In this way, before the user makes a call, the electronic device can recommend the contact that the user has contacted near the current location to the user, so that the user can quickly find the contact who wants to make a call. The user does not need to manually search for the corresponding contact in the lengthy call record list or contact list, thereby simplifying the operation process when the user talks with the contact and improving the user experience.
在一种可能的实现方式中,上述第一操作可以为用户打开通话列表的操作;那么,响应于用户输入的第一操作,电子设备还可以显示通话列表界面,该通话列表界面中包括一条或多条通话记录。In a possible implementation, the above-mentioned first operation may be an operation for the user to open the call list; then, in response to the first operation input by the user, the electronic device may also display a call list interface, and the call list interface includes one or Multiple call records.
在一种可能的实现方式中,电子设备显示联系人推荐结果,具体包括:电子设备可在上述通话列表界面中显示联系人推荐结果。In a possible implementation manner, the electronic device displaying the contact recommendation result specifically includes: the electronic device may display the contact recommendation result in the call list interface.
示例性的,电子设备可重新排列通话列表界面中的通话记录,在通话列表界面中将上述X个联系人的通话记录置顶显示,方便用户查找选择。Exemplarily, the electronic device can rearrange the call records in the call list interface, and display the call records of the aforementioned X contacts on the top of the call list interface, which is convenient for the user to find and select.
又或者,上述通话列表界面中可以包括推荐按钮;此时,电子设备显示联系人推荐结果,具体包括:响应于用户选中该推荐按钮的操作,电子设备可显示联系人推荐结果。Or, the call list interface may include a recommendation button; at this time, the electronic device displays the contact recommendation result, which specifically includes: in response to the user's operation of selecting the recommendation button, the electronic device may display the contact recommendation result.
在一种可能的实现方式中,在电子设备获取用户当前所在的地理位置之前,还包括:电 子设备获取用户的N条通话记录,每条通话记录中均包括通话时用户所在的历史地理位置,N>1;进而,电子设备可使用预设的聚类算法对这N条通话记录中的历史地理位置进行聚类分析,得到M个地理区域,每个地理区域中包括一个或多个历史地理位置。In a possible implementation, before the electronic device obtains the user’s current geographic location, it further includes: the electronic device obtains the user’s N call records, and each call record includes the historical geographic location of the user during the call. N>1; further, the electronic device can use a preset clustering algorithm to perform cluster analysis on the historical geographic locations in the N call records to obtain M geographic regions, each of which includes one or more historical geographic regions position.
那么,电子设备在确定与上述地理位置关联的X个联系人时,具体包括:电子设备在上述M个地理区域中确定包含当前地理位置的第一地理区域;进而,电子设备可将用户在第一地理区域中有过通话记录的一个或多个联系人确定为本次推荐的X个联系人。Then, when the electronic device determines the X contacts associated with the foregoing geographic location, it specifically includes: the electronic device determines the first geographic area that includes the current geographic location among the foregoing M geographic areas; further, the electronic device may place the user in the first geographic area. One or more contacts who have call records in a geographic area are determined as the X contacts recommended for this time.
在一种可能的实现方式中,上述推荐原因可以为:基于地理位置的推荐。In a possible implementation manner, the above recommendation reason may be: recommendation based on geographic location.
在一种可能的实现方式中,响应于用户输入的第一操作,电子设备还可以获取当前的时间信息;此时,电子设备确定与当前地理位置关联的X个联系人,具体包括:电子设备确定与地理位置和时间信息均关联的X个联系人。In a possible implementation manner, in response to the first operation input by the user, the electronic device may also obtain current time information; at this time, the electronic device determines X contacts associated with the current geographic location, which specifically includes: electronic device Determine X contacts associated with both geographic location and time information.
示例性的,电子设备在确定与上述地理位置和时间信息均关联的X个联系人时,具体包括:电子设备确定与当前地理位置关联的M1(M1≥1)个联系人,这M1个联系人包括用户在第一地理区域内有过通话记录的联系人;电子设备确定与当前时间信息关联的M2(M2≥1)个联系人,这M2个联系人包括用户在第一时间段(当前时间信息属于第一时间段)内有过通话记录的联系人;进而,电子设备可将上述M1个联系人和M2个联系人的交集或并集确定为本次向用户推荐的X个联系人。Exemplarily, when the electronic device determines the X contacts associated with the foregoing geographic location and time information, it specifically includes: the electronic device determines M1 (M1≥1) contacts associated with the current geographic location, and these M1 contacts Persons include contacts of the user who have had call records in the first geographic area; the electronic device determines M2 (M2≥1) contacts associated with the current time information. These M2 contacts include the user’s contacts in the first time period (current The time information belongs to the contacts who have had call records in the first time period); further, the electronic device may determine the intersection or union of the above M1 contacts and M2 contacts as the X contacts recommended to the user this time .
在一种可能的实现方式中,上述推荐原因可以为:基于地理位置和时间信息的推荐。In a possible implementation manner, the above-mentioned recommendation reason may be: recommendation based on geographic location and time information.
在一种可能的实现方式中,在电子设备确定与当前地理位置关联的X个联系人之后,还包括:电子设备可以根据用户与这X个联系人之间的通话记录对这X个联系人进行排序;例如,电子设备可根据通话记录中记录的通话频率、通话时长等信息对这X个联系人进行排序。此时,电子设备显示的联系人推荐结果是经过排序后上述X个联系人中每个联系人的快捷方式。In a possible implementation manner, after the electronic device determines the X contacts associated with the current geographic location, the method further includes: the electronic device can compare the X contacts with the call records between the user and the X contacts. Sorting; for example, the electronic device can sort the X contacts according to the call frequency and call duration recorded in the call log. At this time, the contact recommendation result displayed by the electronic device is a shortcut of each of the above X contacts after sorting.
第二方面,本申请提供一种电子设备,包括:触摸屏、一个或多个处理器、一个或多个存储器以及一个或多个计算机程序;其中,处理器与触摸屏、存储器均耦合,上述一个或多个计算机程序被存储在存储器中,当电子设备运行时,该处理器执行该存储器存储的一个或多个计算机程序,以使电子设备执行上述任一项所述的联系人的推荐方法。In a second aspect, this application provides an electronic device, including: a touch screen, one or more processors, one or more memories, and one or more computer programs; wherein the processor is coupled with the touch screen and the memory, and one or more of the above A plurality of computer programs are stored in the memory, and when the electronic device is running, the processor executes one or more computer programs stored in the memory, so that the electronic device executes any one of the contact recommendation methods described above.
第三方面,本申请提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面中任一项所述的联系人的推荐方法。In a third aspect, the present application provides a computer storage medium including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the contact recommendation method described in any one of the first aspect.
第四方面,本申请提供一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行如第一方面中任一项所述的联系人的推荐方法。In a fourth aspect, the present application provides a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the contact recommendation method described in any one of the first aspect.
可以理解地,上述提供的第二方面所述的电子设备、第三方面所述的计算机存储介质,以及第四方面所述的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Understandably, the electronic equipment described in the second aspect, the computer storage medium described in the third aspect, and the computer program product described in the fourth aspect provided above are all used to execute the corresponding methods provided above. For the beneficial effects that can be achieved, please refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.
附图说明Description of the drawings
图1为本申请实施例提供的一种电子设备的结构示意图一;FIG. 1 is a first structural diagram of an electronic device according to an embodiment of the application;
图2为本申请实施例提供的一种电子设备内操作系统的架构示意图;2 is a schematic diagram of the architecture of an operating system in an electronic device provided by an embodiment of the application;
图3为本申请实施例提供的一种通话记录表的示意图;FIG. 3 is a schematic diagram of a call record table provided by an embodiment of the application;
图4为本申请实施例提供的一种地理聚类的聚类结果示意图;4 is a schematic diagram of a clustering result of geographic clustering provided by an embodiment of the application;
图5为本申请实施例提供的一种联系人的推荐方法的流程示意图;FIG. 5 is a schematic flowchart of a method for recommending contacts according to an embodiment of this application;
图6为本申请实施例提供的一种联系人的推荐方法的场景示意图一;FIG. 6 is a schematic diagram 1 of a scene of a method for recommending contacts according to an embodiment of this application;
图7为本申请实施例提供的一种联系人的推荐方法的场景示意图二;FIG. 7 is a second schematic diagram of a method for recommending contacts according to an embodiment of the application;
图8为本申请实施例提供的一种联系人的推荐方法的场景示意图三;FIG. 8 is a schematic diagram 3 of a scene of a method for recommending contacts according to an embodiment of this application;
图9为本申请实施例提供的一种联系人的推荐方法的场景示意图四;FIG. 9 is a fourth schematic diagram of a scene of a method for recommending contacts according to an embodiment of this application;
图10为本申请实施例提供的一种联系人的推荐方法的场景示意图五;10 is a schematic diagram five of a method for recommending contacts according to an embodiment of this application;
图11为本申请实施例提供的一种联系人的推荐方法的场景示意图六;FIG. 11 is a sixth scenario diagram of a method for recommending contacts according to an embodiment of this application;
图12为本申请实施例提供的一种联系人的推荐方法的场景示意图七;FIG. 12 is a schematic diagram 7 of a method for recommending contacts according to an embodiment of the application;
图13为本申请实施例提供的一种联系人的推荐方法的场景示意图八;FIG. 13 is an eighth schematic diagram of a method for recommending contacts according to an embodiment of this application;
图14为本申请实施例提供的一种联系人的推荐方法的场景示意图九;14 is a schematic diagram 9 of a method for recommending contacts according to an embodiment of this application;
图15为本申请实施例提供的一种联系人的推荐方法的场景示意图十;15 is a schematic diagram ten of a method for recommending contacts according to an embodiment of this application;
图16为本申请实施例提供的一种联系人的推荐方法的场景示意图十一;16 is a schematic diagram eleventh scene of a method for recommending contacts according to an embodiment of this application;
图17为本申请实施例提供的一种电子设备的结构示意图二;FIG. 17 is a second structural diagram of an electronic device provided by an embodiment of this application;
图18为本申请实施例提供的一种电子设备的结构示意图三。FIG. 18 is a third structural diagram of an electronic device provided by an embodiment of this application.
具体实施方式detailed description
下面将结合附图对本实施例的实施方式进行详细描述。The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.
示例性的,本申请实施例提供的一种联系人的推荐方法可应用于手机、平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴电子设备、虚拟现实设备等电子设备,本申请实施例对此不做任何限制。Exemplarily, the method for recommending contacts provided by the embodiments of this application can be applied to mobile phones, tablet computers, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, and personal digital assistants. Electronic devices such as (personal digital assistant, PDA), wearable electronic devices, virtual reality devices, etc., are not limited in the embodiments of the present application.
示例性的,图1示出了电子设备100的结构示意图。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device 100.
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,摄像头193,显示屏194等。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, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, camera 193, display screen 194, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on 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 can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141可接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。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 can receive input from the battery 142 and/or the charging management module 140, and supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括一个或多个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering and amplifying the received electromagnetic waves, and then transmitting them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the 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. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(Bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成一个或多个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating one or more communication processing modules. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信 模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。在一些实施例中,手机100可以包括1个或N个摄像头,N为大于1的正整数。摄像头193可以是前置摄像头也可以是后置摄像头。The camera 193 is used to capture still images or videos. In some embodiments, the mobile phone 100 may include 1 or N cameras, and N is a positive integer greater than 1. The camera 193 may be a front camera or a rear camera.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。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 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行本申请一些实施例中所提供的联系人智能推荐的方法,以及各种功能应用和数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电 子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。在另一些实施例中,处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,来使得电子设备100执行本申请实施例中所提供的联系人推荐方法,以及各种功能应用和数据处理。The internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions. The processor 110 can execute the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 100 to execute the method for intelligently recommending contacts provided in some embodiments of the present application, as well as various functional applications and data processing. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more application programs (such as a gallery, contacts, etc.) and so on. The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash storage (UFS), etc. In other embodiments, the processor 110 executes the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor to cause the electronic device 100 to execute the contact provided in the embodiments of the present application. People recommend methods, as well as various functional applications and data processing.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置一个或多个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can approach the microphone 170C through the mouth to make a sound, and input the sound signal to the microphone 170C. The electronic device 100 may be provided with one or more microphones 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等,本申请实施例对此不做任何限制。The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc., in the embodiments of the present application There are no restrictions on this.
当然,本申请实施例提供的电子设备100还可以包括按键、马达、指示器以及SIM卡接口等一项或多项器件,本申请实施例对此不做任何限制。Of course, the electronic device 100 provided in the embodiment of the present application may also include one or more devices such as a button, a motor, an indicator, and a SIM card interface, and the embodiment of the present application does not impose any limitation on this.
上述电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the above electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes a layered Android system as an example to illustrate the software structure of the electronic device 100.
图2是本申请实施例的电子设备100的软件结构框图。FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序。The application layer can include a series of applications.
如图2所示,应用程序可以包括通话,联系人,相机,图库,日历,地图,导航,蓝牙,音乐,视频,短信息等应用(application,APP)。其中,通话APP(也可称为拨号APP或电话APP)和联系人APP(也可称为通讯录APP或电话簿APP)可以是手机出厂时预先设置的,也可以是应用市场中提供的用于通话的第三方应用。As shown in Fig. 2, application programs may include applications (application, APP) such as call, contact, camera, gallery, calendar, map, navigation, Bluetooth, music, video, short message, etc. Among them, the call APP (also called dialing APP or phone APP) and contact APP (also called address book APP or phone book APP) can be preset when the mobile phone leaves the factory, or can be used in the application market. Third-party applications for calling.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括通话服务(phone service)和联系人服务(contact service)。As shown in Figure 2, the application framework layer may include phone service and contact service.
其中,通话服务可用于提供电子设备100的通话功能。例如,通话服务可管理通话APP的通话状态(例如发起,接通,挂断等)。如果检测到用户使用通话APP与某一电话号码进行呼入或呼出操作,通话服务可监测本次通话的通话状态。如果检测到拨号失败的事件,通话服务还可以获取基站发送的拨号失败的原因,例如网络故障、对方拒接、超时未接通或对方忙音等。Among them, the call service can be used to provide the call function of the electronic device 100. For example, the call service can manage the call status of the call APP (for example, initiate, connect, hang up, etc.). If it is detected that the user uses the call APP to make an incoming or outgoing call with a certain phone number, the call service can monitor the call status of this call. If a dialing failure event is detected, the call service can also obtain the reason for the dialing failure sent by the base station, such as network failure, rejection by the other party, failure to connect over time, or busy tone of the other party.
每次检测到用户使用通话APP拨打或接听电话后,如图3所示,通话服务可在通话记录表301的各个字段中记录本次通话记录的基本信息,例如,通话记录的ID(ID的取值可随通话记录的条数依次增长)、本次通话的联系人(或电话号码)、本次通话的呼入/呼出时间、日期、时间以及通话时长等。在本申请实施例中,通话服务还可以在通话记录表301中记录每次通话时用户所在的位置信息,例如,电子设备100的经纬度坐标。这样,电子设备100通过通话记录表301可查询到用户每次与各个联系人通话时所处的地理位置。Each time it is detected that the user uses the call APP to make or receive a call, as shown in Figure 3, the call service can record the basic information of the call record in each field of the call record table 301, for example, the ID of the call record (ID The value can increase with the number of call records), the contact (or phone number) of the call, the incoming/outgoing time, date, time, and duration of the call. In the embodiment of the present application, the call service may also record the location information of the user during each call in the call record table 301, for example, the latitude and longitude coordinates of the electronic device 100. In this way, the electronic device 100 can query the geographic location where the user is in each call with each contact through the call record table 301.
上述联系人服务可用于管理联系人APP中的通讯录,例如在通讯录中创建新的联系人、删除联系人或修改联系人中的各项信息等。联系人APP检测到用户创建联系人的操作后,可调用联系人服务保存用户输入的联系人的姓名、电话号码以及住址等一项或多项信息。进而,联系人服务可在联系人数据库(contact.db)中创建新的联系人,并将获取到的上述一项或多项信息添加至新创建的联系人中。The above contact service can be used to manage the contact list in the contact APP, such as creating new contacts in the contact list, deleting contacts, or modifying various information in the contacts. After the contact APP detects the user's operation to create a contact, it can call the contact service to save one or more information such as the name, phone number, and address of the contact entered by the user. Furthermore, the contact service can create a new contact in the contact database (contact.db), and add one or more of the obtained information to the newly created contact.
在本申请一些实施例中,仍如图2所示,应用程序框架层中还可以包括聚类算法模块。其中,聚类算法模块可定期从通话服务中获取最近一段时间用户的通话记录(例如上述通话记录表301)。进而,聚类算法模块可对通话记录表301中各条通话记录内记录的位置信息进行地理聚类分析,得到基于地理位置的聚类结果。例如,如图4所示,通过地理聚类分析,聚类算法模块可将通话记录表301中的N(N>1)个位置信息划分成一个或多个地理簇(例如,地理簇401和地理簇402)。每个地理簇覆盖了一定面积的地理区域,每个地理簇也可称为一个地理区域。同一个地理簇内的位置信息的相似性尽可能大,同时,不在同一个地理簇中的位置信息的差异性也尽可能地大。例如,地理簇401中的各个地理位置均属于西安地区,地理簇402中的各个地理位置均属于北京地区。其中,图4中的每个地理位置(即位置信息)均对应通话记录表301中的一条通话记录。In some embodiments of the present application, as shown in FIG. 2, the application framework layer may also include a clustering algorithm module. Among them, the clustering algorithm module can periodically obtain the call record of the user in the most recent period from the call service (for example, the call record table 301 mentioned above). Furthermore, the clustering algorithm module can perform geographic cluster analysis on the location information recorded in each call record in the call record table 301 to obtain a clustering result based on geographic location. For example, as shown in Figure 4, through geographic clustering analysis, the clustering algorithm module can divide the N (N>1) location information in the call log table 301 into one or more geographic clusters (for example, geographic clusters 401 and 401). Geographic cluster 402). Each geographic cluster covers a certain area of geographic area, and each geographic cluster can also be called a geographic area. The similarity of location information in the same geographic cluster is as large as possible, and the difference of location information that is not in the same geographic cluster is also as large as possible. For example, each geographic location in the geographic cluster 401 belongs to the Xi'an area, and each geographic location in the geographic cluster 402 belongs to the Beijing area. Among them, each geographic location (ie, location information) in FIG. 4 corresponds to a call record in the call record table 301.
那么,当检测到用户打开通话APP(或联系人APP)时,说明用户此时有拨打电话的意图,则上述通话服务(或联系人服务)可获取当前用户的位置信息(例如地点A),进而请求聚类算法模块根据上述基于地理位置的聚类结果,确定与地点A关联的一个或多个联系人。这一个或多个联系人为用户曾经在地点A附近联系过的联系人。进而,电子设备可将聚类算法模块可确定出的一个或多个联系人作为推荐结果显示在通话APP(或联系人APP)中。Then, when it is detected that the user opens the call APP (or contact APP), indicating that the user has the intention to make a call at this time, the call service (or contact service) can obtain the location information of the current user (for example, location A), Furthermore, the clustering algorithm module is requested to determine one or more contacts associated with location A according to the above-mentioned geographic location-based clustering result. The one or more contacts are contacts that the user has contacted in the vicinity of location A. Furthermore, the electronic device may display one or more contacts that can be determined by the clustering algorithm module as a recommendation result in the call APP (or contact APP).
这样,用户在拨打电话前,电子设备便可将用户曾经在当前位置附近联系过的联系人推荐给用户,方便用户快速地找到希望拨打电话的联系人。用户无需在冗长的通话记录列表或联系人列表中手动查找相应的联系人,从而简化用户与联系人通话时的操作流程,提高了用户的使用体验。In this way, before the user makes a call, the electronic device can recommend the contact that the user has contacted near the current location to the user, so that the user can quickly find the contact who wants to make a call. The user does not need to manually search for the corresponding contact in the lengthy call record list or contact list, thereby simplifying the operation process when the user talks with the contact and improving the user experience.
当然,应用程序框架层还可以包括窗口管理器,内容提供器,视图系统,资源管理器,通知管理器等。Of course, the application framework layer can also include window managers, content providers, view systems, resource managers, notification managers, etc.
其中,窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。Among them, the window manager is used to manage window programs. The window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc. The content provider is used to store and retrieve data and make these data accessible to applications. The data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc. The view system includes visual controls, such as controls that display text and controls that display pictures. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures. The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc. The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动等,本申请实施例对此不做任何限制。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, a sensor driver, etc., which are not limited in the embodiment of the present application.
以下将以手机作为电子设备举例,结合附图详细阐述本申请实施例提供的一种联系人的推荐方法。In the following, a mobile phone is used as an example of an electronic device, and a method for recommending a contact provided by an embodiment of the present application is described in detail with reference to the accompanying drawings.
如图5所示,本申请实施例提供的一种联系人的推荐方法包括下述步骤S501-S505。As shown in FIG. 5, a method for recommending contacts provided by an embodiment of the present application includes the following steps S501-S505.
S501、响应于用户打开通话APP的操作,手机获取用户当前的位置信息。S501. In response to the user's operation of opening the call APP, the mobile phone obtains the user's current location information.
一般,用户使用手机给某个联系人打电话时,需要先打开手机中的通话APP查找该联系人。当检测到用户打开通话APP的操作时,手机可获取当前用户的位置信息。Generally, when using a mobile phone to call a contact, a user needs to open the call APP in the mobile phone to find the contact. When the user's operation to open the call APP is detected, the mobile phone can obtain the location information of the current user.
例如,手机可通过GPS模块获取当前手机的经纬度坐标,该经纬度坐标即为当前用户的位置信息。又例如,如果手机接入了某一接入点(access point,AP)的Wi-Fi网络,由于AP的IP地址(或MAC地址)一般是固定不变的,且AP的位置距离手机的位置不会很远,因此,手机通过获取AP的IP地址(或MAC地址)可以查询到AP的位置信息,进而,手机可将AP的位置信息作为当前用户的位置信息。类似的,手机还可以通过当前蓝牙连接的IP地址(或MAC地址)确定当前用户的位置信息。或者,手机还可以请求基站利用基站与手机之间的距离的测算手机的位置,即当前用户的位置信息,本申请实施例对此不做任何限制。For example, the mobile phone can obtain the latitude and longitude coordinates of the current mobile phone through the GPS module, and the latitude and longitude coordinates are the location information of the current user. For another example, if the mobile phone is connected to the Wi-Fi network of a certain access point (AP), the IP address (or MAC address) of the AP is generally fixed and the location of the AP is away from the location of the mobile phone. It is not very far away. Therefore, the mobile phone can query the location information of the AP by obtaining the IP address (or MAC address) of the AP, and further, the mobile phone can use the location information of the AP as the location information of the current user. Similarly, the mobile phone can also determine the current user's location information through the IP address (or MAC address) of the current Bluetooth connection. Alternatively, the mobile phone may also request the base station to use the distance between the base station and the mobile phone to calculate the location of the mobile phone, that is, the location information of the current user, which is not limited in this embodiment of the application.
示例性的,检测到用户打开通话APP的操作后,手机除了可以获取用户当前的位置信息 外,如图6所示,手机还可以显示通话APP的通话列表界面601。通话列表界面601中包括一条或多条通话记录。其中,每一条通话记录的基本信息都被手机记录在图3所示的通话记录表301中。Exemplarily, after detecting the operation of the user to open the call APP, the mobile phone can obtain the user's current location information. As shown in FIG. 6, the mobile phone can also display the call list interface 601 of the call APP. The call list interface 601 includes one or more call records. Among them, the basic information of each call record is recorded by the mobile phone in the call record table 301 shown in FIG. 3.
当然,手机可以定期更新上述通话记录表301。例如,可预先设置通话记录表301中最多能够存储100条通话记录。那么,当手机生成用户的第101条通话记录时,可删除话记录表301中记录时间最早的通话记录的基本信息。又例如,可设置通话记录表301用于记录最近一个月内用户的通话记录。那么,当通话记录表301中的通话记录的呼入或呼出时间超过一个月时,手机可删除该通话记录的基本信息。Of course, the mobile phone can update the aforementioned call log table 301 regularly. For example, a maximum of 100 call records can be stored in the call record table 301 in advance. Then, when the mobile phone generates the user's 101st call record, the basic information of the call record with the earliest record time in the call record table 301 can be deleted. For another example, the call record table 301 can be set to record the call records of the user in the last month. Then, when the incoming or outgoing time of the call record in the call record table 301 exceeds one month, the mobile phone can delete the basic information of the call record.
另外,上述通话列表界面601中的每一条通话记录也可以作为呼叫联系人的快捷方式。用户可以在通话列表界面601中选择相应的通话记录进行拨号操作。仍如图6所示,如果手机检测到用户点击通话列表界面601中的通话记录1,则手机可根据通话记录1中记录的Mike的电话号码自动呼叫联系人Mike。In addition, each call record in the call list interface 601 can also be used as a shortcut for calling a contact. The user can select a corresponding call record in the call list interface 601 to perform a dialing operation. As still shown in FIG. 6, if the mobile phone detects that the user clicks on the call record 1 in the call list interface 601, the mobile phone can automatically call the contact Mike according to Mike's phone number recorded in the call record 1.
在一些实施例中,手机还可以响应用户的其他操作获取用户当前的位置信息。例如,手机检测到用户打开通话APP后可显示上述通话列表界面601。进而,如果检测到用户在通话列表界面601中执行了预设的手势,例如按压操作、敲击操作或预设滑动轨迹的滑动操作等,则手机可响应该手势获取用户当前的位置信息,本申请实施例对此不做任何限制。In some embodiments, the mobile phone can also obtain the current location information of the user in response to other operations of the user. For example, the mobile phone may display the above-mentioned call list interface 601 after detecting that the user opens the call APP. Furthermore, if it is detected that the user has performed a preset gesture in the call list interface 601, such as a pressing operation, a tapping operation, or a sliding operation with a preset sliding track, the mobile phone can respond to the gesture to obtain the user's current location information. The application embodiment does not impose any restriction on this.
S502、手机基于预设的聚类模型,确定与当前的位置信息关联的X个联系人,X≥1。S502. The mobile phone determines X contacts associated with the current location information based on a preset clustering model, and X≥1.
其中,上述X个联系人为:在通话记录(例如上述通话记录表301)中用户曾经在上述位置信息附近联系过的一个或多个联系人。Wherein, the above X contacts are: one or more contacts in the call record (for example, the call record table 301) that the user has contacted near the location information.
示例性的,可以预先在手机内设置一个地理聚类模型,例如K-Means(K-平均聚类方法)聚类模型、DBSCAN(density-based Spatial clustering of applications with noise,具有噪声的基于密度的聚类算法)模型、BIRCH(balanced iterative reducing and clustering using hierarchies,利用层次方法的平衡迭代规约和聚类)模型、STING算法模型等,本申请实施例对此不做任何限制。Exemplarily, a geographic clustering model can be set in the mobile phone in advance, such as K-Means (K-means clustering method) clustering model, DBSCAN (density-based Spatial clustering of applications with noise, density-based The clustering algorithm model, the BIRCH (balanced iterative reducing and clustering using hierarchies, the balanced iteration protocol and clustering using the hierarchical method) model, the STING algorithm model, etc., are not limited in the embodiments of this application.
如图7所示,手机可向上述地理聚类模型中输入上述通话记录表301内每一条通话记录中记录的位置信息。多条通话记录中记录的位置信息可能相同或不同。以经纬度坐标作为位置信息举例,地理聚类模型可通过预设的聚类算法对通话记录表301中的所有经纬度坐标进行地理聚类分析,把位置相近的多个经纬度坐标划分在一个地理簇内。仍如图7所示,手机通过聚类分析可将通话记录表301中记录的多个经纬度坐标划分为三个地理簇,即地理簇701-地理簇703。其中,每个地理簇内的一个经纬度坐标都对应了一个或多个联系人。以地理簇701中的经纬度坐标A点举例,如果用户曾经在A点分别与联系人Sam和Jack通过电话,则A点既与联系人Sam对应,并且与联系人Jack对应。As shown in FIG. 7, the mobile phone can input the location information recorded in each call record in the call record table 301 into the geographic clustering model. The location information recorded in multiple call logs may be the same or different. Taking latitude and longitude coordinates as an example of location information, the geographic clustering model can perform geographic clustering analysis on all latitude and longitude coordinates in the call log table 301 through a preset clustering algorithm, and divide multiple latitude and longitude coordinates with similar locations into one geographic cluster . As still shown in FIG. 7, the mobile phone can divide the multiple latitude and longitude coordinates recorded in the call log table 301 into three geographic clusters, that is, geographic cluster 701-geographic cluster 703 through cluster analysis. Among them, one latitude and longitude coordinate in each geographic cluster corresponds to one or more contacts. Taking the longitude and latitude coordinates of point A in the geographic cluster 701 as an example, if the user used to call contacts Sam and Jack at point A, then point A corresponds to both contact Sam and contact Jack.
手机可以根据通话记录表301中用户与各个联系人的通话次数、通话时长等信息统计出与每个地理簇对应的联系人列表。以地理簇701举例,地理簇701中包括4个经纬度坐标。其中,用户在经纬度坐标A点与联系人Sam通话过2次,用户在经纬度坐标B点与联系人Sam通话过1次,用户在经纬度坐标C点与联系人Jack通话过2次,用户在经纬度坐标C点与联系人Amy通话过1次。那么,按照通话次数由大到小的顺序,手机可确定与地理簇701对应的联系人列表A依次包括:联系人Sam、联系人Jack以及联系人Amy。The mobile phone can calculate the contact list corresponding to each geographic cluster according to information such as the number of calls and the duration of the call between the user and each contact in the call record table 301. Taking geographic cluster 701 as an example, geographic cluster 701 includes 4 latitude and longitude coordinates. Among them, the user has talked with contact Sam twice at latitude and longitude coordinates A, the user has talked with contact Sam once at latitude and longitude coordinates B, and the user has talked with contact Jack twice at latitude and longitude coordinates. The coordinate point C has a call with the contact Amy once. Then, in the descending order of the number of calls, the mobile phone can determine that the contact list A corresponding to the geographic cluster 701 sequentially includes: contact Sam, contact Jack, and contact Amy.
那么,在步骤S502中,手机本次获取到用户当前的位置信息后,以该位置信息为经纬度坐标Z点举例,手机中的通话服务可将Z点的经纬度坐标发送给上述地理聚类模型,请求地理聚类模型确定Z点所属的地理簇。例如,如图8所示,如果经纬度坐标Z点属于上述地理 簇701,则手机可确定与当前的位置信息(即Z点)关联的联系人为:与地理簇701对应的联系人列表A中的一个或多个联系人。或者,手机可将联系人列表A中排列靠前的X个联系人确定为与当前的位置信息(即Z点)关联的联系人。也就是说,用户每次拨打电话前,手机可基于此时用户的位置确定出用户曾经在该位置附近经常联系的X个联系人,这X个联系人很可能是用户本次希望通话的联系人。Then, in step S502, after the mobile phone obtains the current location information of the user this time, taking the location information as the longitude and latitude coordinates as an example, the call service in the mobile phone can send the longitude and latitude coordinates of the Z point to the geographic clustering model. Request the geographic clustering model to determine the geographic cluster to which point Z belongs. For example, as shown in FIG. 8, if the latitude and longitude coordinate Z point belongs to the geographic cluster 701, the mobile phone can determine that the contact associated with the current location information (ie Z point) is: the contact list A in the contact list A corresponding to the geographic cluster 701 One or more contacts. Alternatively, the mobile phone may determine the top X contacts in the contact list A as contacts associated with the current location information (ie, point Z). That is to say, each time the user makes a call, the mobile phone can determine the X contacts that the user has frequently contacted near the location based on the user's location at this time. These X contacts are likely to be the contacts the user wants to call this time. people.
S503、手机在通话APP中显示上述X个联系人的快捷方式。S503. The mobile phone displays the shortcuts of the above X contacts in the call APP.
示例性的,手机确定出与用户当前位置信息关联的X个联系人后,如图9所示,手机可在通话列表界面601中显示推荐通知901。推荐通知901中可包含手机在步骤S502中确定的X个联系人的快捷方式。由于推荐通知901中的联系人均为用户经常在当前位置联系的联系人,因此,用户通过推荐通知901可快速选中本次需要拨打的联系人的电话号码,从而简化用户与联系人拨打电话的操作流程,提高用户查找联系人的效率和用户体验。Exemplarily, after the mobile phone determines X contacts associated with the user's current location information, as shown in FIG. 9, the mobile phone may display a recommendation notification 901 on the call list interface 601. The recommendation notification 901 may include the shortcuts of the X contacts determined by the mobile phone in step S502. Since the contacts in the recommendation notification 901 are all contacts that the user frequently contacts at the current location, the user can quickly select the phone number of the contact who needs to call this time through the recommendation notification 901, thereby simplifying the operation of the user and the contact to make calls The process improves the efficiency and user experience for users to find contacts.
或者,手机确定出与用户当前位置信息关联的X个联系人后,如图10所示,手机可重新排列通话列表界面601中的通话记录,将上述X个联系人最近的通话记录1001显示在通话列表的顶端,方便用户查找选择。另外,仍如图10所示,手机还可以在通话列表界面601中标记通话记录1001的推荐原因为:在附近联系过的好友,给用户呈现更加智能的通话操作体验。Or, after the mobile phone determines X contacts associated with the user's current location information, as shown in FIG. 10, the mobile phone can rearrange the call records in the call list interface 601, and display the recent call records 1001 of the above X contacts in The top of the call list is convenient for users to find and choose. In addition, as shown in FIG. 10, the mobile phone can also mark the call record 1001 in the call list interface 601 as the recommended reason: friends contacted nearby, presenting a more intelligent call operation experience to the user.
又或者,如图11中的(a)所示,手机还可以在通话APP中设置智能推荐菜单1101。如果检测到用户打开该智能推荐菜单1101,则如图11中的(b)所示,手机可显示智能推荐界面1102,智能推荐界面1102中包括手机在步骤S502中为用户确定的X个联系人的快捷方式。以用户的当前位置为坂田举例,手机在智能推荐界面1102中可提示用户在坂田附近联系过的联系人列表1103。例如,如图11中的(b)所示,手机可按照通话次数从高到低的顺序显示用户在坂田附近联系过的联系人,并显示每个联系人与用户的通话次数。用户可在联系人列表1103中选择相关的联系人快速完成拨号操作。Or, as shown in (a) in FIG. 11, the mobile phone can also set a smart recommendation menu 1101 in the call APP. If it is detected that the user opens the smart recommendation menu 1101, as shown in Figure 11 (b), the mobile phone can display a smart recommendation interface 1102, and the smart recommendation interface 1102 includes X contacts determined by the mobile phone for the user in step S502 Shortcuts. Taking the user's current location as Bantian as an example, the mobile phone can prompt the user in the smart recommendation interface 1102 with the contact list 1103 that the user has contacted near Bantian. For example, as shown in (b) of FIG. 11, the mobile phone can display the contacts that the user has contacted near Bantian in the order of the number of calls, and display the number of calls each contact has with the user. The user can select the relevant contact in the contact list 1103 to quickly complete the dialing operation.
当然,手机还可以使用Preference Learning(偏好学习)排序算法、LR(Logistic Regression,逻辑回归)排序算法、GBDT(Gradient Boosting Decision Tree,梯度提升树)排序算法或MFU(Most Frequently Used,最常使用)排序算法等排序算法,对手机在步骤S502中确定出X的联系人进行排序。例如,手机可根据用户通话记录表301内相关通话记录中记录的通话频率、通话时长、通话时是否插拔耳机以及手机电量情况等通话状态,使用GBDT排序算法确定图11的(b)中联系人Sam、Jack、Amy、Peter和Sara之间的排序,本申请实施例对此不做任何限制。Of course, mobile phones can also use Preference Learning (Preference Learning) sorting algorithm, LR (Logistic Regression) sorting algorithm, GBDT (Gradient Boosting Decision Tree, gradient boosting tree) sorting algorithm or MFU (Most Frequently Used, most commonly used) Sorting algorithms such as sorting algorithm sort the contacts whose mobile phone determines X in step S502. For example, the mobile phone can use the GBDT sorting algorithm to determine the call status in Figure 11(b) based on the call frequency, call duration, whether the headset is plugged in and out of the call, and the battery level of the mobile phone recorded in the related call records in the user call log table 301. The order of people Sam, Jack, Amy, Peter and Sara is not limited in the embodiment of the application.
在本申请的另一些实施例中,手机还可以以时间为粒度统计与不同时间段对应的联系人列表。如图12所示,手机可预先划分出多个时间段。例如,将9点至11点作为时间段1201,将11点至14点作为时间段1202等。进而,手机可根据上述通话记录表301内每一条通话记录的呼出时间或呼入时间,确定属于每个时间段的一条或多条通话记录。仍如图12所示,手机通过统计可确定时间段1201中包括15条通话记录,时间段1202中包括10条通话记录。由于每条通话记录中都对应了一个联系人。因此,手机可统计出与每个时间簇对应的联系人列表。In some other embodiments of the present application, the mobile phone may also use time as the granularity to count the contact lists corresponding to different time periods. As shown in Figure 12, the mobile phone can be divided into multiple time periods in advance. For example, 9 o'clock to 11 o'clock is regarded as the time zone 1201, 11 o'clock to 14 o'clock is regarded as the time zone 1202, and so on. Furthermore, the mobile phone can determine one or more call records belonging to each time period according to the outgoing time or incoming time of each call record in the call record table 301. As shown in FIG. 12, the mobile phone can determine through statistics that the time period 1201 includes 15 call records, and the time period 1202 includes 10 call records. Because each call record corresponds to a contact. Therefore, the mobile phone can count the contact list corresponding to each time cluster.
另外,手机可以动态调整上述划分出的各个时间段。例如,由于通话记录表301中的通话记录是实时更新的,那么,手机可以定期根据通话记录表301内通话记录的呼出时间或呼入时间重新划分时间段。例如,当检测到用户在9点至10点30分这一时间段内的通话频率较高时,手机可将上述时间段1201的时间区间从9点至11点修改为9点至10点30分。In addition, the mobile phone can dynamically adjust the time periods divided above. For example, since the call record in the call record table 301 is updated in real time, the mobile phone can periodically re-divide the time period according to the outgoing time or incoming time of the call record in the call record table 301. For example, when it is detected that the user’s call frequency is high during the time period from 9:00 to 10:30, the mobile phone can modify the time interval of the above time period 1201 from 9:00 to 11 to 9:00 to 10:30 Minute.
仍以时间段1201举例,时间段1201中包括15条通话记录,这15条通话记录中有7条是与联系人Sam的通话记录,有5条是与联系人Jack的通话记录,还有3条是与联系人Tom的通话记录。那么,按照通话次数由大到小的顺序,手机可确定与时间段1201对应的联系人列表B依次包括:联系人Sam、联系人Jack以及联系人Tom。Still taking the time period 1201 as an example, the time period 1201 includes 15 call records. Among these 15 call records, 7 are call records with the contact Sam, 5 are call records with the contact Jack, and 3 Bar is the call log with the contact Tom. Then, according to the order of the number of calls, the mobile phone can determine that the contact list B corresponding to the time period 1201 includes: contact Sam, contact Jack, and contact Tom.
那么,检测到用户打开通话APP的操作后,手机除了获取当前用户的位置信息外,还可以获取当前的时间信息,例如,当前时间为9点48分。进而,手机可基于当前时间确定出用户本次需要进行的通话属于上述时间段1201。同时,参见步骤S502的相关描述,基于上述地理聚类模型的聚类结果,手机可确定出用户本次需要进行的通话属于上述地理簇701。与地理簇701对应的联系人列表A依次包括:联系人Sam、联系人Jack以及联系人Amy。与时间段1201对应的联系人列表B依次包括:联系人Sam、联系人Jack以及联系人Tom。Then, after detecting the operation of the user to open the call APP, the mobile phone can obtain current time information in addition to the location information of the current user, for example, the current time is 9:48. Furthermore, the mobile phone can determine, based on the current time, that the call that the user needs to make this time belongs to the aforementioned time period 1201. At the same time, referring to the related description of step S502, based on the clustering result of the geographic clustering model, the mobile phone can determine that the call that the user needs to make this time belongs to the geographic cluster 701. The contact list A corresponding to the geographic cluster 701 sequentially includes: contact Sam, contact Jack, and contact Amy. The contact list B corresponding to the time period 1201 sequentially includes: contact Sam, contact Jack, and contact Tom.
可以看出,上述联系人列表A与联系人列表B中重合的联系人为:Sam和Jack,说明用户经常在当前的位置(例如Z点)的早上9点至11点这一时间段内与Sam和Jack通话。那么,手机可将联系人Sam和Jack确定为与当前需要推荐给用户的X个联系人。如图13中的(a)所示,手机可在通话APP的智能推荐界面1301中显示联系人Sam和Jack的快捷方式。同时,手机可在智能推荐界面1301中显示本次推荐的联系人的推荐原因1302为:基于用户所在地以及当前时间的推荐结果,方便用户打开通话APP后快速查找到所需的联系人进行通话。或者,如图13中的(b)所示,手机可将上述联系人列表A和联系人列表B中的联系人均作为推荐结果显示在智能推荐界面1301中。并且,手机可将联系人列表A与联系人列表B中重合的联系人(即联系人Sam和Jack)置顶显示在智能推荐界面1301中,方便用户打开通话APP后快速查找到所需的联系人进行通话。It can be seen that the overlapping contacts in the contact list A and the contact list B are: Sam and Jack, indicating that the user often interacts with Sam in the time period from 9 am to 11 am at the current location (for example, point Z). Talk to Jack. Then, the mobile phone can determine the contacts Sam and Jack as the X contacts who currently need to be recommended to the user. As shown in (a) in Figure 13, the mobile phone can display shortcuts for contacts Sam and Jack in the smart recommendation interface 1301 of the call APP. At the same time, the mobile phone can display the recommendation reason 1302 of the contact recommended this time in the smart recommendation interface 1301: the recommendation result based on the location of the user and the current time is convenient for the user to quickly find the desired contact to make a call after opening the call APP. Or, as shown in (b) of FIG. 13, the mobile phone may display the contacts in the contact list A and the contact list B as the recommendation results in the smart recommendation interface 1301. In addition, the mobile phone can display the overlapping contacts in the contact list A and the contact list B (namely contacts Sam and Jack) on the top of the smart recommendation interface 1301, which is convenient for the user to quickly find the desired contact after opening the call APP Make a call.
又或者,手机可在上述联系人列表A中选择排列靠前的X1个联系人,并且,在联系人列表B中选择排列靠前的X2个联系人,进而,手机可将这X1个联系人和X2个联系人确定为本次需要推荐给用户的联系人。如图14所示,手机可在通话APP的智能推荐界面1401中显示推荐列表1402和推荐列表1403。其中,推荐列表1402是基于用户当前位置为用户推荐的经常在该位置通话的一个或多个联系人。推荐列表1403是基于当前时间为用户推荐的经常在当前时间段内通话的一个或多个联系人。推荐列表1402与推荐列表1403中的联系人可以相同或不同。当然,手机也可将推荐列表1402和推荐列表1403中的联系人融合为一个推荐列表显示在智能推荐界面1401中,本申请对此不做任何限制。Or, the mobile phone can select the top X1 contacts in the contact list A, and select the top X2 contacts in the contact list B, and then the mobile phone can select the X1 contacts And X2 contacts are determined as contacts that need to be recommended to the user this time. As shown in FIG. 14, the mobile phone can display the recommendation list 1402 and the recommendation list 1403 in the smart recommendation interface 1401 of the call APP. Wherein, the recommendation list 1402 is based on the user's current location and recommends for the user one or more contacts who frequently call at the location. The recommendation list 1403 is based on the one or more contacts recommended for the user who frequently talk in the current time period based on the current time. The contacts in the recommendation list 1402 and the recommendation list 1403 may be the same or different. Of course, the mobile phone can also integrate the contacts in the recommendation list 1402 and the recommendation list 1403 into one recommendation list and display it in the smart recommendation interface 1401, which is not limited in this application.
S504、若检测到用户选中第一联系人的快捷方式,则手机呼叫第一联系人的电话号码。S504: If it is detected that the user selects the shortcut of the first contact, the mobile phone calls the phone number of the first contact.
示例性的,如图15中的(a)所示,如果检测到用户选中手机在步骤S503中为用户推荐的某一联系人(例如Sam)的快捷方式1501,如图15中的(b)所示,手机可显示呼叫联系人Sam的呼叫界面1502,并根据联系人Sam的电话号码进行拨号操作。Exemplarily, as shown in (a) of FIG. 15, if it is detected that the user selects a shortcut 1501 of a contact (for example, Sam) recommended by the mobile phone for the user in step S503, as shown in (b) of FIG. 15 As shown, the mobile phone can display a call interface 1502 for calling contact Sam, and perform a dialing operation according to the phone number of contact Sam.
可以看出,用户在打开通话APP后,手机可智能的基于用户当前的位置等信息为用户推荐经常在该位置附近联系的联系人。这样,用户在拨号前可根据手机推荐的联系人快速查找到本次需要拨号的联系人,无需在冗长的通话记录列表中手动查找相应的联系人,从而简化用户与联系人通话时的操作流程,提高了用户的使用体验。It can be seen that after the user opens the call APP, the mobile phone can intelligently recommend contacts that the user frequently contacts near the location based on the user's current location and other information. In this way, the user can quickly find the contact who needs to dial this time according to the contact recommended by the mobile phone before dialing, without manually searching for the corresponding contact in the lengthy call log list, thus simplifying the operation process when the user is talking with the contact , Improve the user experience.
需要说明的是,上述实施例中是以用户使用通话APP查找联系人进行通话举例说明的,可以理解的是,如果检测到用户打开联系人APP,手机也可执行上述步骤S501-S504在联系人APP中向用户推荐在当前位置经常联系的联系人列表,方便用户快速查找到本次需要拨号的联系人,本申请实施例对此不做任何限制。It should be noted that in the above embodiment, the user uses the call APP to find a contact to make a call. It is understandable that if it is detected that the user opens the contact APP, the mobile phone can also perform the above steps S501-S504 in the contact The APP recommends a list of contacts frequently contacted at the current location to the user, so that the user can quickly find the contact who needs to dial this time. The embodiment of the application does not impose any restriction on this.
S505、手机更新上述聚类模型中的聚类结果。S505. The mobile phone updates the clustering result in the clustering model.
在步骤S505中,手机可定期更新上述地理聚类模型的聚类结果。需要说明的是,本申请实施例对步骤S505与上述步骤S501-S504之间的执行顺序不做任何限制。In step S505, the mobile phone may periodically update the clustering results of the geographic clustering model. It should be noted that the embodiment of the present application does not impose any restriction on the execution sequence between step S505 and the foregoing steps S501-S504.
示例性的,可以设置当检测到上述通话记录表301中每新增N(N≥1)条通话记录后,自动触发手机更新上述地理聚类模型的聚类结果。又例如,手机可设置一个更新周期(例如每天、每周或每月),手机可按照该更新周期自动更新上述地理聚类模型的聚类结果。例如,手机每天更新地理聚类模型的聚类结果时,可选择在晚上或手机正在充电等空闲时间内进行更新,避免聚类模型的更新过程占用过多的手机资源导致用户无法正常使用手机。Exemplarily, it can be set to automatically trigger the mobile phone to update the clustering result of the geographic clustering model after detecting every new N (N≥1) call records in the call record table 301. For another example, the mobile phone can set an update cycle (for example, daily, weekly, or monthly), and the mobile phone can automatically update the clustering results of the geographic clustering model according to the update cycle. For example, when the mobile phone updates the clustering results of the geographic clustering model every day, it can choose to update at night or during idle time such as when the mobile phone is charging, so as to avoid the update process of the clustering model occupying too much mobile phone resources and causing users to be unable to use the mobile phone normally.
以每周更新上述地理聚类模型的聚类结果举例,每次更新时,如图16所示,手机可从通话服务中获取当前最新的通话记录表1601。通话记录表1601的每一条通话记录内存储有对应的位置信息。进而,手机可将每一条通话记录中的位置信息输入至地理聚类模型中进行地理聚类分析,把多个位置信息相近的地理位置划分在一个地理簇内。如图16所示,与图7所示的聚类结果相比,更新后的地理聚类结果中除了地理簇701-地理簇703外,新增了地理簇1602。地理簇1602内包括多个地理位置,说明用户最近经常在地理簇1602的覆盖范围内与联系人通话。同时,手机还可以根据最新的通话记录表中的各条通话记录更新每个地理簇的覆盖范围大小和位置。与每个地理簇对应的联系人列表也相应更新。后续,检测到用户打开通话APP或联系人APP的操作后,手机可基于最新的地理聚类结果确定与当前用户位置相关联的联系人,从而提高后续手机向用户推荐的联系人的准确性。Taking the example of updating the clustering results of the above geographic clustering model every week, at each update, as shown in FIG. 16, the mobile phone can obtain the current call record table 1601 from the call service. Each call record in the call record table 1601 stores corresponding location information. Furthermore, the mobile phone can input the location information in each call record into the geographic clustering model for geographic cluster analysis, and divide multiple geographic locations with similar location information into a geographic cluster. As shown in FIG. 16, compared with the clustering result shown in FIG. 7, in the updated geographic clustering result, in addition to geographic cluster 701 to geographic cluster 703, geographic cluster 1602 is newly added. The geographic cluster 1602 includes multiple geographic locations, indicating that the user frequently talks with contacts within the coverage area of the geographic cluster 1602 recently. At the same time, the mobile phone can also update the coverage size and location of each geographic cluster according to each call record in the latest call record table. The contact list corresponding to each geographic cluster is updated accordingly. Subsequently, after detecting the operation of the user to open the call APP or the contact APP, the mobile phone can determine the contact associated with the current user location based on the latest geographical clustering result, thereby improving the accuracy of the contact recommended by the mobile phone to the user.
如图17所示,本申请实施例公开了一种电子设备,该电子设备可用于实现以上各个方法实施例中记载的方法。示例性的,该电子设备具体可以包括:获取单元1701、确定单元1702、显示单元1703、呼叫单元1704以及更新单元1705。其中,获取单元1701用于支持电子设备执行图5中的过程S501;确定单元1702用于支持电子设备执行图5中的过程S502;显示单元1703用于支持电子设备执行图5中的过程S503;呼叫单元1704用于支持电子设备执行图5中的过程S504;更新单元1705用于支持电子设备执行图5中的过程S505。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。As shown in FIG. 17, an embodiment of the present application discloses an electronic device, which can be used to implement the methods described in each of the above method embodiments. Exemplarily, the electronic device may specifically include: an obtaining unit 1701, a determining unit 1702, a display unit 1703, a calling unit 1704, and an updating unit 1705. Wherein, the obtaining unit 1701 is used to support the electronic device to perform the process S501 in FIG. 5; the determining unit 1702 is used to support the electronic device to perform the process S502 in FIG. 5; the display unit 1703 is used to support the electronic device to perform the process S503 in FIG. 5; The calling unit 1704 is used to support the electronic device to perform the process S504 in FIG. 5; the update unit 1705 is used to support the electronic device to perform the process S505 in FIG. 5. Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
如图18所示,本申请实施例公开了一种电子设备,包括:触摸屏1801,所述触摸屏1801包括触敏表面1806和显示屏1807;一个或多个处理器1802;存储器1803;以及一个或多个计算机程序1804。上述各器件可以通过一个或多个通信总线1805连接。其中,上述一个或多个计算机程序1804被存储在上述存储器1803中并被配置为被该一个或多个处理器1802执行,该一个或多个计算机程序1804包括指令,上述指令可以用于执行上述应实施例中的各个步骤。As shown in FIG. 18, an embodiment of the present application discloses an electronic device, including: a touch screen 1801, the touch screen 1801 includes a touch-sensitive surface 1806 and a display screen 1807; one or more processors 1802; a memory 1803; and one or Multiple computer programs 1804. The above-mentioned devices may be connected through one or more communication buses 1805. The aforementioned one or more computer programs 1804 are stored in the aforementioned memory 1803 and are configured to be executed by the one or more processors 1802. The one or more computer programs 1804 include instructions, and the aforementioned instructions can be used to execute the aforementioned Each step in the embodiment should be implemented.
示例性的,上述处理器1802具体可以为图1所示的处理器110,上述存储器1803具体可以为图1所示的内部存储器121和/或外部存储器118,上述显示屏1807具体可以为图1所示的显示屏194,上述触敏表面1806具体可以为图1所示的传感器模块180中的触摸传感器,本申请实施例对此不做任何限制。Exemplarily, the foregoing processor 1802 may specifically be the processor 110 shown in FIG. 1, the foregoing memory 1803 may specifically be the internal memory 121 and/or the external memory 118 shown in FIG. 1, and the foregoing display screen 1807 may specifically be FIG. As shown in the display screen 194, the above-mentioned touch-sensitive surface 1806 may specifically be a touch sensor in the sensor module 180 shown in FIG. 1, which is not limited in the embodiment of the present application.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated as needed. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, device, and unit described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个 单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The functional units in the various embodiments of 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 may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the part that contributes to the prior art or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited to this. Any changes or substitutions within the technical scope disclosed in the embodiments of the present application shall be covered by this Within the protection scope of the application embodiments. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.

Claims (15)

  1. 一种联系人的推荐方法,其特征在于,包括:A method for recommending contacts, which is characterized in that it includes:
    响应于用户输入的第一操作,电子设备获取用户当前所在的地理位置;In response to the first operation input by the user, the electronic device obtains the current geographic location of the user;
    所述电子设备确定与所述地理位置关联的X个联系人,所述X个联系人包括用户在第一地理区域内有过通话记录的联系人,所述地理位置属于所述第一地理区域,X≥1;The electronic device determines X contacts associated with the geographic location, and the X contacts include contacts for which the user has a call history in a first geographic area, and the geographic location belongs to the first geographic area , X≥1;
    所述电子设备显示联系人推荐结果和所述联系人推荐结果的推荐原因,所述联系人推荐结果包括所述X个联系人中每个联系人的快捷方式;The electronic device displays a contact recommendation result and a recommendation reason of the contact recommendation result, and the contact recommendation result includes a shortcut for each of the X contacts;
    若检测到用户选中第一联系人的快捷方式,则所述电子设备显示呼叫所述第一联系人的呼叫界面,所述第一联系人为所述X个联系人中的一个。If it is detected that the user selects the shortcut of the first contact, the electronic device displays a call interface for calling the first contact, and the first contact is one of the X contacts.
  2. 根据权利要求1所述的方法,其特征在于,所述第一操作为用户打开通话列表的操作;响应于用户输入的第一操作,所述方法还包括:The method according to claim 1, wherein the first operation is an operation for the user to open a call list; in response to the first operation input by the user, the method further comprises:
    所述电子设备显示通话列表界面,所述通话列表界面中包括一条或多条通话记录。The electronic device displays a call list interface, and the call list interface includes one or more call records.
  3. 根据权利要求2所述的方法,其特征在于,所述电子设备显示联系人推荐结果,包括:The method according to claim 2, wherein the electronic device displaying a contact recommendation result comprises:
    所述电子设备在所述通话列表界面中显示所述联系人推荐结果。The electronic device displays the contact recommendation result in the call list interface.
  4. 根据权利要求3所述的方法,其特征在于,所述电子设备在所述通话列表界面中显示所述联系人推荐结果,包括:The method according to claim 3, wherein the electronic device displaying the contact recommendation result in the call list interface comprises:
    所述电子设备在所述通话列表界面中将所述X个联系人的通话记录置顶显示。The electronic device displays the call records of the X contacts on top of the call list interface.
  5. 根据权利要求2所述的方法,其特征在于,所述通话列表界面中包括推荐按钮;The method according to claim 2, wherein the call list interface includes a recommendation button;
    其中,所述电子设备显示联系人推荐结果,包括:Wherein, the electronic device displaying the contact recommendation result includes:
    响应于用户选中所述推荐按钮的操作,所述电子设备显示所述联系人推荐结果。In response to the user's operation of selecting the recommendation button, the electronic device displays the contact recommendation result.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,在所述电子设备获取用户当前所在的地理位置之前,还包括:The method according to any one of claims 1-5, characterized in that, before the electronic device obtains the user's current geographic location, the method further comprises:
    所述电子设备获取用户的N条通话记录,每条通话记录中均包括通话时用户所在的历史地理位置,N>1;The electronic device obtains N call records of the user, and each call record includes the historical geographic location of the user at the time of the call, N>1;
    所述电子设备使用预设的聚类算法对所述N条通话记录中的历史地理位置进行聚类分析,得到M个地理区域,每个地理区域中包括一个或多个所述历史地理位置。The electronic device uses a preset clustering algorithm to perform cluster analysis on the historical geographic locations in the N call records to obtain M geographic regions, and each geographic region includes one or more of the historical geographic locations.
  7. 根据权利要求6所述的方法,其特征在于,所述电子设备确定与所述地理位置关联的X个联系人,包括:The method according to claim 6, wherein the electronic device determining X contacts associated with the geographic location comprises:
    所述电子设备在所述M个地理区域中确定包含所述地理位置的第一地理区域;Determining, by the electronic device, a first geographic area including the geographic location among the M geographic areas;
    所述电子设备将用户在所述第一地理区域有过通话记录的一个或多个联系人确定为所述X个联系人。The electronic device determines, as the X contacts, one or more contacts for which the user has a call history in the first geographic area.
  8. 根据权利要求7所述的方法,其特征在于,所述推荐原因为:基于所述地理位置的推荐。The method according to claim 7, wherein the recommendation reason is: recommendation based on the geographic location.
  9. 根据权利要求1-5中任一项所述的方法,其特征在于,响应于用户输入的第一操作,所述方法还包括:The method according to any one of claims 1-5, wherein, in response to the first operation input by the user, the method further comprises:
    所述电子设备获取当前的时间信息;The electronic device obtains current time information;
    其中,所述电子设备确定与所述地理位置关联的X个联系人,包括:Wherein, the electronic device determining X contacts associated with the geographic location includes:
    所述电子设备确定与所述地理位置和所述时间信息均关联的X个联系人。The electronic device determines X contacts associated with both the geographic location and the time information.
  10. 根据权利要求9所述的方法,其特征在于,所述电子设备确定与所述地理位置和所述时间信息均关联的X个联系人,包括:The method according to claim 9, wherein the electronic device determining X contacts associated with both the geographic location and the time information comprises:
    所述电子设备确定与所述地理位置关联的M1个联系人,所述M1个联系人包括用户在 所述第一地理区域内有过通话记录的联系人,所述地理位置属于所述第一地理区域,M1≥1;The electronic device determines M1 contacts associated with the geographic location, where the M1 contacts include contacts for which the user has a call history in the first geographic area, and the geographic location belongs to the first geographic area. Geographical area, M1≥1;
    所述电子设备确定与所述时间信息关联的M2个联系人,所述M2个联系人包括用户在第一时间段内有过通话记录的联系人,所述时间信息属于所述第一时间段,M2≥1;The electronic device determines M2 contacts associated with the time information, where the M2 contacts include contacts whose call history has been recorded by the user in a first time period, and the time information belongs to the first time period , M2≥1;
    所述电子设备将所述M1个联系人和所述M2个联系人的交集或并集确定为所述X个联系人。The electronic device determines the intersection or union of the M1 contacts and the M2 contacts as the X contacts.
  11. 根据权利要求9或10所述的方法,其特征在于,所述推荐原因为:基于所述地理位置和所述时间信息的推荐。The method according to claim 9 or 10, wherein the recommendation reason is: recommendation based on the geographic location and the time information.
  12. 根据权利要求1-11中任一项所述的方法,其特征在于,在所述电子设备确定与所述地理位置关联的X个联系人之后,还包括:The method according to any one of claims 1-11, wherein after the electronic device determines the X contacts associated with the geographic location, the method further comprises:
    所述电子设备根据用户与所述X个联系人之间的通话记录对所述X个联系人进行排序;The electronic device sorts the X contacts according to the call records between the user and the X contacts;
    其中,所述联系人推荐结果包括排序后所述X个联系人中每个联系人的快捷方式。Wherein, the contact recommendation result includes a shortcut of each of the X contacts after sorting.
  13. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    触摸屏,所述触摸屏包括显示屏和触摸传感器;A touch screen, the touch screen including a display screen and a touch sensor;
    一个或多个处理器;One or more processors;
    一个或多个存储器;One or more memories;
    以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述一个或多个存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行如权利要求1-12中任一项所述的联系人的推荐方法。And one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions, when the instructions are executed by the electronic device When the time, the electronic device is caused to execute the contact recommendation method according to any one of claims 1-12.
  14. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-12中任一项所述的联系人的推荐方法。A computer-readable storage medium having instructions stored in the computer-readable storage medium, wherein, when the instructions are executed on an electronic device, the electronic device is caused to execute any one of claims 1-12 The recommended method for the contact described in item.
  15. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1-12中任一项所述的联系人的推荐方法。A computer program product containing instructions, wherein when the computer program product runs on an electronic device, the electronic device is caused to execute the contact recommendation method according to any one of claims 1-12 .
PCT/CN2020/084242 2019-04-17 2020-04-10 Contact person recommendation method and electronic device WO2020211705A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910310588.3A CN110225176B (en) 2019-04-17 2019-04-17 Contact person recommendation method and electronic device
CN201910310588.3 2019-04-17

Publications (1)

Publication Number Publication Date
WO2020211705A1 true WO2020211705A1 (en) 2020-10-22

Family

ID=67822618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084242 WO2020211705A1 (en) 2019-04-17 2020-04-10 Contact person recommendation method and electronic device

Country Status (2)

Country Link
CN (2) CN113225423B (en)
WO (1) WO2020211705A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449103A (en) * 2020-10-30 2022-05-06 华为终端有限公司 Reminding method, graphical user interface and terminal
CN117135253A (en) * 2023-07-12 2023-11-28 荣耀终端有限公司 Contact searching method, terminal equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225423B (en) * 2019-04-17 2022-05-27 荣耀终端有限公司 Contact person recommendation method and electronic device
CN110909241B (en) * 2019-11-20 2023-04-07 腾讯科技(深圳)有限公司 Information recommendation method, user identification recommendation method, device and equipment
CN114466102B (en) * 2021-08-12 2022-11-25 荣耀终端有限公司 Method for displaying application interface, related device and traffic information display system
CN115016698A (en) * 2021-12-14 2022-09-06 荣耀终端有限公司 Display method of contact card and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729655A (en) * 2009-10-30 2010-06-09 深圳市戴文科技有限公司 Contact searching method, system and mobile terminal
US20110092227A1 (en) * 2009-10-19 2011-04-21 Prasenjit Phukan Modification of dynamic contact lists
CN102131144A (en) * 2011-01-27 2011-07-20 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for displaying contact
CN102202095A (en) * 2011-05-13 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Terminal contact person sequencing method, device and terminal
CN102957777A (en) * 2011-08-16 2013-03-06 飞图科技(北京)有限公司 Method for sequencing linkmen in phonebook according to contact frequency
US20130091156A1 (en) * 2011-10-06 2013-04-11 Samuel B. Raiche Time and location data appended to contact information
CN107370890A (en) * 2017-09-13 2017-11-21 深圳市金立通信设备有限公司 A kind of quick dial method, terminal and computer-readable recording medium
CN110225176A (en) * 2019-04-17 2019-09-10 华为技术有限公司 A kind of recommended method and electronic equipment of contact person

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100015976A1 (en) * 2008-07-17 2010-01-21 Domingo Enterprises, Llc System and method for sharing rights-enabled mobile profiles
CN102006552A (en) * 2010-11-22 2011-04-06 上海合合信息科技发展有限公司 Method for creating contact group based on geographical location information
CN103945053B (en) * 2014-01-16 2016-04-27 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105611022B (en) * 2015-09-23 2019-06-21 上海斐讯数据通信技术有限公司 The device and method that mobile terminal addressbook contact person is recommended in a kind of strange land
CN106506683A (en) * 2016-11-30 2017-03-15 深圳天珑无线科技有限公司 A kind of recommendation method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110092227A1 (en) * 2009-10-19 2011-04-21 Prasenjit Phukan Modification of dynamic contact lists
CN101729655A (en) * 2009-10-30 2010-06-09 深圳市戴文科技有限公司 Contact searching method, system and mobile terminal
CN102131144A (en) * 2011-01-27 2011-07-20 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for displaying contact
CN102202095A (en) * 2011-05-13 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Terminal contact person sequencing method, device and terminal
CN102957777A (en) * 2011-08-16 2013-03-06 飞图科技(北京)有限公司 Method for sequencing linkmen in phonebook according to contact frequency
US20130091156A1 (en) * 2011-10-06 2013-04-11 Samuel B. Raiche Time and location data appended to contact information
CN107370890A (en) * 2017-09-13 2017-11-21 深圳市金立通信设备有限公司 A kind of quick dial method, terminal and computer-readable recording medium
CN110225176A (en) * 2019-04-17 2019-09-10 华为技术有限公司 A kind of recommended method and electronic equipment of contact person

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449103A (en) * 2020-10-30 2022-05-06 华为终端有限公司 Reminding method, graphical user interface and terminal
CN114449103B (en) * 2020-10-30 2024-01-30 华为终端有限公司 Reminding method, graphical user interface and terminal
CN117135253A (en) * 2023-07-12 2023-11-28 荣耀终端有限公司 Contact searching method, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN110225176B (en) 2021-03-09
CN110225176A (en) 2019-09-10
CN113225423B (en) 2022-05-27
CN113225423A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
WO2020211705A1 (en) Contact person recommendation method and electronic device
WO2020244495A1 (en) Screen projection display method and electronic device
US11450322B2 (en) Speech control method and electronic device
WO2020244492A1 (en) Screen projection display method and electronic device
WO2020192456A1 (en) Voice interaction method and electronic device
WO2020119492A1 (en) Message processing method and related apparatus
WO2020155014A1 (en) Smart home device sharing system and method, and electronic device
WO2020207326A1 (en) Dialogue message sending method and electronic device
WO2020006711A1 (en) Message playing method and terminal
US20230418444A1 (en) Notification Message Management Method and Electronic Device
WO2020259554A1 (en) Learning-based keyword search method, and electronic device
US20230388407A1 (en) Device Recommendation Method and Electronic Device
CN113170019A (en) Caller identification method based on application and terminal equipment
WO2023197655A1 (en) Method and apparatus for selecting network
WO2022143883A1 (en) Photographing method and system, and electronic device
CN111835904A (en) Method for starting application based on context awareness and user portrait and electronic equipment
CN113391743B (en) Display method and electronic equipment
WO2020062014A1 (en) Method for inputting information into input box and electronic device
WO2021042881A1 (en) Message notification method and electronic device
WO2019183783A1 (en) Management method for peripheral device in terminal and terminal
CN112014866B (en) Motion trail recording method and related equipment
WO2022267786A1 (en) Shortcut icon display method and terminal device
WO2023142938A1 (en) Map query method and electronic device
CN116095230B (en) Application program recommendation method, terminal device and readable storage medium
CN116033333B (en) Method for determining position information, electronic device and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20791137

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20791137

Country of ref document: EP

Kind code of ref document: A1