CN110191223A - A kind of method and electronic equipment for adding mail contact - Google Patents

A kind of method and electronic equipment for adding mail contact Download PDF

Info

Publication number
CN110191223A
CN110191223A CN201910346380.7A CN201910346380A CN110191223A CN 110191223 A CN110191223 A CN 110191223A CN 201910346380 A CN201910346380 A CN 201910346380A CN 110191223 A CN110191223 A CN 110191223A
Authority
CN
China
Prior art keywords
contact
application
contact person
electronic equipment
mail
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910346380.7A
Other languages
Chinese (zh)
Other versions
CN110191223B (en
Inventor
易婕
李辰淑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910346380.7A priority Critical patent/CN110191223B/en
Publication of CN110191223A publication Critical patent/CN110191223A/en
Priority to PCT/CN2020/085346 priority patent/WO2020216144A1/en
Application granted granted Critical
Publication of CN110191223B publication Critical patent/CN110191223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/27457Management thereof, e.g. manual editing of data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/37E-mail addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

This application provides it is a kind of add mail contact method and electronic equipment, this method comprises: electronic equipment obtain first application in one or more contact person and with the associated contact information of one or more contact person;The electronic equipment determines at least one contact person according to the contact information from one or more contact information, and determines the email address that each contact person at least one contact person is preserved in the first application;The email address of each contact person at least one contact person is automatically added in the first email address set in mail applications by the electronic equipment.The method of the addition mail contact of the embodiment of the present application, the email address of some important contact persons can be automatically added in the first email address set in mail applications by electronic equipment automatically, facilitate the operation complexity of reduction user, improve the operating efficiency of user, the intelligence degree of electronic equipment is improved, user experience is promoted.

Description

A kind of method and electronic equipment for adding mail contact
Technical field
This application involves field of electronic devices, and more particularly, to a kind of method and electricity for adding mail contact Sub- equipment.
Background technique
Many users check some important contact person's mails in some specific mail folder, need to be manually entered postal Case address enters addition in email contact list and needs the mail contact that pays close attention to honored guest (very important Person, VIP) in mail contact, these could be checked in the corresponding VIP mail folder of VIP mail contact in this way The mail of people.
During existing addition VIP mail contact, needs user to be manually entered or add, may bring in this way The problems such as complicated for operation, causes user experience bad.
Summary of the invention
The application provides a kind of method and electronic equipment for adding mail contact, facilitates the operating efficiency for promoting user With the intelligence degree of electronic equipment, and facilitate promoted user experience.
In a first aspect, providing a kind of method for adding mail contact, this method is applied to electronic equipment, this method packet Include: electronic equipment obtains the first contact person and the first contact person associated with first contact person letter in the first application Breath, first application are the application in the electronic equipment in addition to mail applications;Meet default item in first contact information Part, and in first application when preserving one or more email address of first contact person, the electronic equipment by this one A or multiple email addresses are automatically added in the first email address set in mail applications.
In the embodiment of the present application, electronic equipment can from addition to mail applications application in obtain the first contact person and The first contact information associated with the first contact person, by judging that the first contact information meets preset condition and first It is that people corresponds to one or more email address, which can be automatically added to mail by electronic equipment In the first email address set in, avoid user and be added manually, facilitate reduce user operation complexity, The operating efficiency of user is provided, the intelligence degree of electronic equipment is improved, promotes user experience.
With reference to first aspect, in certain implementations of first aspect, which is that phone or contact person answer With first contact information is the communicating data of first contact person saved in the phone or contact application, this is pre- If condition is to be more than or equal to first frequency threshold value with the voice frequency of first contact person in first time period.
The method of the addition mail contact of the embodiment of the present application, electronic equipment can connections that voice frequency is high automatically People is added in the first email address set of mail applications, avoids user and is added manually, helps to reduce user's Operation complexity provides the operating efficiency of user, improves the intelligence degree of electronic equipment, promotes user experience.
With reference to first aspect, in certain implementations of first aspect, which is that phone or contact person answer With first contact information is the short message data of first contact person saved in the phone or contact application, should Preset condition is to be more than or equal to second frequency threshold with the frequency of the first contact person intercommunication short message in second time period Value.
The method of the addition mail contact of the embodiment of the present application, electronic equipment can automatically by with user's intercommunication short message frequency The high contact person of rate is added in the first email address set of mail applications, avoids user and is added manually, facilitates It reduces the operation complexity of user, improve the operating efficiency of user, improve the intelligence degree of electronic equipment, promote user's body It tests.
With reference to first aspect, in certain implementations of first aspect, which is contact application, this first Contact information is whether first contact person saved in the contact application is the contact person collected, which is should The contact person that first connection is artificially collected.
The method of the addition mail contact of the embodiment of the present application, the contact person that electronic equipment can automatically collect user It is added in the first email address set of mail applications, avoids user and be added manually, facilitates the behaviour for reducing user The operating efficiency made complexity, improve user improves the intelligence degree of electronic equipment, promotes user experience.
In some possible implementations, which is social application, which is the social activity The frequency interacted in first contact person, the preset condition are that the frequency is more than or equal to preset frequency threshold.
Illustratively, which is the application such as Facebook, Twitter, QQ or MSN.
Illustratively, it should be interacted with the first contact person including communicating news with the first contact person, alternatively, (example of being conversed Such as, video calling or voice communication etc.) frequency.
With reference to first aspect, in certain implementations of first aspect, the electronic equipment is corresponding by first contact person One or more email address be automatically added in the first email address set in mail applications before, this method is also wrapped Include: the electronic equipment determines one or more email address not in the first email address set.
With reference to first aspect, in certain implementations of first aspect, which corresponds to multiple email addresses, One or more corresponding email address of first contact person is automatically added to the first email address in mail applications by this In set, comprising: the electronic equipment determines the first email address from multiple email address;The electronic equipment is by first postal Case address is automatically added in mail applications in the first email address set.
In some possible implementations, which determines the first email address from multiple email address, It include: that the email address that user saves recently in multiple email addresses is determined as the first email address by the electronic equipment;Alternatively, First email address that user in multiple email addresses saves is determined as the first email address by the electronic equipment.
With reference to first aspect, in certain implementations of first aspect, which is combined into mail applications Middle VIP mail contact.
Second aspect provides a kind of method for adding mail contact, answers this method comprises: electronic equipment obtains mail The first email address in, first email address is not in the VIP mail contact of mail applications;Electronic equipment determines Frequency in 4th period, with the first email address intercommunication mail;It is more than or equal to the 4th frequency threshold in the frequency In the case where, which is automatically added in VIP mail contact by electronic equipment.
The embodiment of the present application addition mail contact method, electronic equipment can automatically by mail applications with user The high mail contact of intercommunication mail frequency is added in the VIP mail contact of mail applications, avoids user and carries out manually Addition facilitates the operating efficiency for reducing the operation complexity of user, improving user, improves the intelligence degree of electronic equipment, Promote user experience.
In conjunction with second aspect, in certain implementations of second aspect, which is automatically added to VIP postal Before in part contact person, this method further include: determine that first email address is the outbox side address of non-spam email.
It, can be to first before the first email address is automatically added to VIP mail contact in the embodiment of the present application Email address is filtered screening, determines whether it is the outbox side address of spam, if it is can not by this first Email address is added in VIP mail contact, helps avoid being not intended to user the email address mistake of addition to add in this way It is added in VIP mail contact.
In conjunction with second aspect, in certain implementations of second aspect, which is automatically added to VIP postal Before in part contact person, this method further include: determine first email address not in VIP mail contact.
The third aspect, the technical program provide a kind of device for adding mail contact, which sets included in electronics In standby, which has the function of realizing electronic equipment behavior in the possibility implementation of above-mentioned aspect and above-mentioned aspect.Function Corresponding software realization can also be executed by hardware by hardware realization.Hardware or software include it is one or more with The corresponding module of above-mentioned function or unit.
Fourth aspect, the technical program provide a kind of electronic equipment, comprising: one or more processors;Memory;It is more A application program;And one or more computer programs.Wherein, one or more computer programs are stored in memory In, one or more computer programs include instruction.When instruction is executed by electronic equipment, so that electronic equipment executes above-mentioned On the one hand the method for the addition mail contact in the possible realization of any one.
5th aspect, the technical program provide a kind of electronic equipment, including one or more processors and one or more A memory.The one or more memory is coupled with one or more processors, and one or more memories are based on storing Calculation machine program code, computer program code include computer instruction, when one or more processors computer instructions, So that the method that electronic equipment executes the addition mail contact in the possible realization of any one of any of the above-described aspect.
6th aspect, the technical program provides a kind of computer storage medium, including computer instruction, when computer refers to When order is run on an electronic device, so that electronic equipment executes the addition mail in the possible realization of any one of any of the above-described aspect The method of contact person.
7th aspect, the technical program provides a kind of computer program product, when computer program product is set in electronics When standby upper operation, so that electronic equipment executes the side of the addition mail contact in the possible design of any one of any of the above-described aspect Method.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is the software architecture diagram of electronic equipment provided by the embodiments of the present application.
Fig. 3 is the schematic diagram that data access is carried out between application program A and application program B provided by the embodiments of the present application.
Fig. 4 is one group of GUI provided by the embodiments of the present application.
Fig. 5 is another group of GUI provided by the embodiments of the present application.
Fig. 6 is another group of GUI provided by the embodiments of the present application.
Fig. 7 is another group of GUI provided by the embodiments of the present application.
Fig. 8 is another group of GUI provided by the embodiments of the present application.
Fig. 9 is the schematic flow chart of the method for addition mail contact provided by the embodiments of the present application.
Figure 10 is the schematic block diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Term used in following embodiment is intended merely to for the purpose of describing particular embodiments, and is not intended as pair The limitation of the application.As the description of the present application and it is used in the attached claims, odd number expression form " one It is a ", "an", " described ", " above-mentioned ", "the" and " this " be intended to also include such as " one or more " this expression-form, Unless hereinafter clearly there is opposite instruction thereon.It is also understood that in the following embodiment of the application, "at least one", " one or more " refer to one, two or more.Term "and/or", for describing the incidence relation of affiliated partner, table Show that there may be three kinds of relationships;For example, A and/or B, can indicate: individualism A exists simultaneously A and B, the feelings of individualism B Condition, wherein A, B can be odd number or plural number.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The reference " one embodiment " described in the present specification or " some embodiments " etc. mean the one of the application It include special characteristic, structure or the feature in conjunction with embodiment description in a or multiple embodiments.As a result, in the present specification Difference occur sentence " in one embodiment ", " in some embodiments ", " in some other embodiment ", " In other embodiment " etc. it is uninevitable all referring to identical embodiment, mean " one or more but not all Embodiment ", only otherwise in addition especially emphasize.The terms "include", "comprise", " having " and their deformation are all Mean " including but not limited to ", only otherwise in addition especially emphasizes.
The following present electronic equipment provided by the embodiments of the present application, for such electronic equipment user interface and For using the embodiment of such electronic equipment.In some embodiments, electronic equipment can be also all comprising other functions Such as the portable electronic device of personal digital assistant and/or music player functionality, such as mobile phone, tablet computer have wirelessly The wearable electronic (such as smartwatch) of communication function.The exemplary embodiment of portable electronic device includes but unlimited In carryingOr the portable electronic device of other operating systems.It is above-mentioned portable Electronic equipment is also possible to other portable electronic devices, laptop computer (Laptop) etc..It is to be further understood that In some other embodiment, above-mentioned electronic equipment may not be portable electronic device, but desktop computer.
Illustratively, Fig. 1 shows the structural schematic diagram of electronic equipment 100.Electronic equipment 100 may include processor 110, external memory interface 120, internal storage 121, universal serial bus (universal serial bus, USB) connects Mouth 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, nothing Line communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensing Device module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195 etc..Wherein sensor module 180 may include pressure Force snesor 180A, gyro sensor 180B, baroceptor 180C, Magnetic Sensor 180D, acceleration transducer 180E, away from From sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K, ring Border optical sensor 180L, bone conduction sensor 180M etc..
It is understood that the structure of the embodiment of the present application signal does not constitute the specific restriction to electronic equipment 100.? In other embodiments of the application, electronic equipment 100 may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network Device (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, Also it can integrate in one or more processors.
Wherein, controller can be nerve center and the command centre of electronic equipment 100.Controller can be grasped according to instruction Make code and clock signal, generates operating control signal, the control completing instruction fetch and executing instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), universal input export (general-purpose Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface etc..
I2C interface is a kind of bi-directional synchronization universal serial bus, including serial data line (serial data line, SDA) He Yigen serial time clock line (derail clock line, SCL).In some embodiments, processor 110 may include Multiple groups I2C bus.Processor 110 can by different I2C bus interface distinguish coupled with touch sensors 180K, charger, Flash lamp, camera 193 etc..Such as: processor 110 can make processor by I2C interface coupled with touch sensors 180K 110 are communicated with touch sensor 180K by I2C bus interface, realize the touch function of electronic equipment 100.
I2S interface can be used for voice communication.In some embodiments, processor 110 may include multiple groups I2S bus. Processor 110 can be coupled by I2S bus with audio-frequency module 170, be realized logical between processor 110 and audio-frequency module 170 Letter.In some embodiments, audio-frequency module 170 can transmit audio signal to wireless communication module 160 by I2S interface, real The function of now being received calls by bluetooth headset.
Pcm interface can be used for voice communication, by analog signal sampling, quantization and coding.In some embodiments, sound Frequency module 170 can be coupled with wireless communication module 160 by pcm bus interface.In some embodiments, audio-frequency module 170 Audio signal can also be transmitted to wireless communication module 160 by pcm interface, realize the function to receive calls by bluetooth headset Energy.The I2S interface and the pcm interface may be used to voice communication.
UART interface is a kind of Universal Serial Bus, is used for asynchronous communication.The bus can be bidirectional communications bus. The data that it will be transmitted are converted between serial communication and parallel communications.In some embodiments, UART interface usually by with In connection processor 110 and wireless communication module 160.Such as: processor 110 passes through UART interface and wireless communication module 160 In bluetooth module communication, realize Bluetooth function.In some embodiments, audio-frequency module 170 can be by UART interface to nothing Line communication module 160 transmits audio signal, realizes the function that music is played by bluetooth headset.
MIPI interface can be used to connect the peripheral components such as processor 110 and display screen 194, camera 193.MIPI connects Mouth includes camera serial line interface (camera serial interface, CSI), display screen serial line interface (display Serial interface, DSI) etc..In some embodiments, processor 110 and camera 193 are communicated by CSI interface, real The shooting function of existing electronic equipment 100.Processor 110 and display screen 194 realize electronic equipment 100 by DSI interface communication Display function.
GPIO interface can pass through software configuration.GPIO interface can be configured as control signal, may be alternatively configured as counting It is believed that number.In some embodiments, GPIO interface can be used for connecting processor 110 and camera 193, display screen 194, wirelessly Communication module 160, audio-frequency module 170, sensor module 180 etc..GPIO interface can be additionally configured to I2C interface, and I2S connects Mouthful, UART interface, MIPI interface etc..
Usb 1 30 is the interface for meeting USB standard specification, specifically can be Mini USB interface, and Micro USB connects Mouthful, USB Type C interface etc..Usb 1 30 can be used for connecting charger for the charging of electronic equipment 100, can be used for Data are transmitted between electronic equipment 100 and peripheral equipment.It can be used for connection earphone, audio played by earphone.The interface It can be also used for connecting other electronic equipments, such as AR equipment etc..
It is understood that the interface connection relationship of each intermodule of the embodiment of the present application signal, only schematically illustrates, The structure qualification to electronic equipment 100 is not constituted.In other embodiments of the application, electronic equipment 100 can also be used The combination of different interface connection type or multiple interfaces connection type in above-described embodiment.
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can pass through usb 1 30 Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can pass through electronics The Wireless charging coil of equipment 100 receives wireless charging input.While charge management module 140 is that battery 142 charges, may be used also To be power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould Block 141 receives the input of battery 142 and/or charge management module 140, is processor 110, internal storage 121, external storage Device, display screen 194, the power supply such as camera 193 and wireless communication module 160.Power management module 141 can be also used for monitoring Battery capacity, circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power supply pipe Reason module 141 also can be set in processor 110.In further embodiments, power management module 141 and Charge Management mould Block 140 also can be set in the same device.
The wireless communication function of electronic equipment 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication Module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1 It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc. Solution.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electricity Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be right The modulated modulated signal amplification of demodulation processor, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, it moves At least partly functional module of dynamic communication module 150 can be arranged in processor 110.In some embodiments, mobile logical At least partly functional module of letter module 150 can be arranged in the same device at least partly module of processor 110.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 170A, receiver 170B etc.) Voice signal out, or image or video are shown by display screen 194.In some embodiments, modem processor can be Independent device.In further embodiments, modem processor can be independently of processor 110, with mobile communication module 150 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 100, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 160 can be integrated into few communication One or more devices of processing module.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation And filtering processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also connect from processor 110 Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 150 couple, antenna 2 and channel radio Believe that module 160 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described Wireless communication technique may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple Access, WCDMA), time division CDMA (time-division code division multiple access, TD- SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, electronic equipment 100 may include 1 or N number of display screen 194, N For the positive integer greater than 1.
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Camera 193 is for capturing still image or video.Object generates optical imagery by camera lens and projects photosensitive member Part.Photosensitive element can be charge-coupled device (charge coupled device, CCD) or complementary metal oxide is partly led Body (complementary metal-oxide-semiconductor, CMOS) phototransistor.Photosensitive element turns optical signal It changes electric signal into, electric signal is passed into ISP later and is converted into data image signal.Data image signal is output to DSP by ISP Working process.Data image signal is converted into the RGB of standard, the picture signal of the formats such as YUV by DSP.In some embodiments, Electronic equipment 100 may include 1 or N number of camera 193, and N is the positive integer greater than 1.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: dynamic image is special Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure, Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU The application such as intelligent cognition of electronic equipment 100 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding Deng.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.Processor 110 is stored in the instruction of internal storage 121 by operation, thereby executing the various functions of electronic equipment 100 Using and data processing.Internal storage 121 may include storing program area and storage data area.Wherein, storing program area Can storage program area, application program (such as sound-playing function, image player function etc.) needed at least one function etc.. Storage data area can store the data (such as audio data, phone directory etc.) etc. created in 100 use process of electronic equipment.This Outside, internal storage 121 may include high-speed random access memory, can also include nonvolatile memory, for example, at least One disk memory, flush memory device, generic flash memory (universal flash storage, UFS) etc..
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor In 110.
Loudspeaker 170A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 100 can be with Music is listened to by loudspeaker 170A, or listens to hand-free call.
Receiver 170B, also referred to as " earpiece ", for audio electrical signal to be converted into voice signal.When electronic equipment 100 connects It answers a call or when voice messaging, it can be by the way that receiver 170B be answered voice close to human ear.
Microphone 170C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 170C sounding by user 170C.At least one microphone 170C can be set in electronic equipment 100.In further embodiments, electronic equipment 100 can be set Two microphone 170C are set, in addition to collected sound signal, can also realize decrease of noise functions.In further embodiments, electronics is set Standby 100 can also be arranged three, four or more microphone 170C, realize that collected sound signal, noise reduction can also identify sound Directional recording function etc. is realized in source.
Earphone interface 170D is for connecting wired earphone.Earphone interface 170D can be usb 1 30, be also possible to Opening mobile electronic device platform (open mobile terminal platform, OMTP) standard interface of 3.5mm, the U.S. Cellular telecommunication industrial association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 180A.In some implementations In example, pressure sensor 180A be can be set in display screen 194.There are many type of pressure sensor 180A, such as resistive pressure Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two Parallel-plate with conductive material.When effectively acting on pressure sensor 180A, the capacitor between electrode changes.Electronic equipment 100 determine the intensity of pressure according to the variation of capacitor.When there is touch operation to act on display screen 194, electronic equipment 100 is according to pressure Force snesor 180A detects the touch operation intensity.Electronic equipment 100 can also be believed according to the detection of pressure sensor 180A Number calculate touch position.In some embodiments, identical touch location, but the touch behaviour of different touch operation intensity are acted on Make, different operational orders can be corresponded to.Such as: when the touch operation for having touch operation intensity to be less than first pressure threshold value acts on When short message application icon, the instruction for checking short message is executed.When have touch operation intensity be greater than or equal to first pressure threshold When the touch operation of value acts on short message application icon, the instruction of newly-built short message is executed.
Gyro sensor 180B is determined for the athletic posture of electronic equipment 100.It in some embodiments, can be with Determine that electronic equipment 100 surrounds the angular speed of three axis (that is, x, y and z-axis) by gyro sensor 180B.Gyro sensors Device 180B can be used for shooting stabilization.Illustratively, when pressing shutter, gyro sensor 180B detection electronic equipment 100 is trembled Dynamic angle goes out the distance that lens module needs to compensate according to angle calculation, camera lens is allowed to offset electronic equipment by counter motion Stabilization is realized in 100 shake.Gyro sensor 180B can be also used for navigating, somatic sensation television game scene.
Baroceptor 180C is for measuring air pressure.In some embodiments, electronic equipment 100 passes through baroceptor The atmospheric pressure value that 180C is measured calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 180D includes Hall sensor.Electronic equipment 100 can use Magnetic Sensor 180D flip cover skin The folding of set.In some embodiments, when electronic equipment 100 is liding machine, electronic equipment 100 can be according to Magnetic Sensor The folding of 180D flip cover.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, setting flip lid is certainly The characteristics such as dynamic unlock.
Acceleration transducer 180E can detect the big of (the generally three axis) acceleration in all directions of electronic equipment 100 It is small.It can detect that size and the direction of gravity when electronic equipment 100 is static.It can be also used for identification electronic equipment posture, answer Switch for horizontal/vertical screen, the application such as pedometer.
Range sensor 180F, for measuring distance.Electronic equipment 100 can pass through infrared or laser distance measuring.? In some embodiments, photographed scene, electronic equipment 100 can use range sensor 180F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector, such as photodiode close to optical sensor 180G. Light emitting diode can be infrared light-emitting diode.Electronic equipment 100 launches outward infrared light by light emitting diode.Electronics is set Standby 100 detect the infrared external reflection light from neighbouring object using photodiode.It, can be true when detecting sufficient reflected light Determining electronic equipment 100 nearby has object.When detecting insufficient reflected light, electronic equipment 100 can determine electronic equipment 100 do not have object nearby.Electronic equipment 100 can use to be pasted close to optical sensor 180G detection user's hand-hold electronic equipments 100 Nearly ear call, so that automatic distinguishing screen achievees the purpose that power saving.It can also be used for leather sheath mode, mouth close to optical sensor 180G Bag mode automatic unlocking and screen locking.
Ambient light sensor 180L is for perceiving environmental light brightness.Electronic equipment 100 can be according to the environment bright of perception Spend 194 brightness of automatic adjusument display screen.Automatic white balance adjustment when ambient light sensor 180L can also be used for taking pictures.Environment light Sensor 180L can also cooperate with close to optical sensor 180G, electronic equipment 100 be detected whether in pocket, with false-touch prevention.
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 180J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor The temperature of 180J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 180J temperature reported is more than threshold value, electronics Equipment 100 executes the performance for reducing the processor being located near temperature sensor 180J, implements Thermal protection to reduce power consumption.? In other embodiments, when temperature is lower than another threshold value, electronic equipment 100 heats battery 142, leads to electricity to avoid low temperature The abnormal shutdown of sub- equipment 100.In some other embodiment, when temperature is lower than another threshold value, electronic equipment 100 is to battery 142 output voltage executes boosting, to avoid shutting down extremely caused by low temperature.
Touch sensor 180K, also referred to as " touch panel ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of electronic equipment 100, different from the location of display screen 194.
The available vibration signal of bone conduction sensor 180M.In some embodiments, bone conduction sensor 180M can be with Obtain the vibration signal of human body part vibration bone block.Bone conduction sensor 180M can also contact human pulse, receive blood pressure and jump Dynamic signal.In some embodiments, bone conduction sensor 180M also can be set in earphone, be combined into bone conduction earphone.Sound Frequency module 170 can parse voice based on the vibration signal for the part vibration bone block that the bone conduction sensor 180M is obtained Signal realizes phonetic function.The blood pressure jitter solution that application processor can be obtained based on the bone conduction sensor 180M Heart rate information is analysed, realizes heart rate detecting function.
Key 190 includes power button, volume key etc..Key 190 can be mechanical key.It is also possible to touch-key. Electronic equipment 100 can receive key-press input, generate key letter related with the user setting of electronic equipment 100 and function control Number input.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.The touch operation of 194 different zones of display screen is acted on, motor 191 can also correspond to different vibrational feedback effects. Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with electronic equipment 100.Electronic equipment 100 can support 1 or N number of SIM card interface, N For the positive integer greater than 1.SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc..The same SIM Card interface 195 can be inserted into multiple cards simultaneously.The type of multiple cards may be the same or different.SIM card interface 195 Different types of SIM card can also be compatible with.SIM card interface 195 can also be with compatible external storage card.Electronic equipment 100 passes through SIM Card and network interaction realize the functions such as call and data communication.In some embodiments, electronic equipment 100 uses eSIM, That is: embedded SIM card.ESIM card can cannot separate in electronic equipment 100 with electronic equipment 100.
The software systems of electronic equipment 100 can use layer architecture, event-driven framework, micronucleus framework, micro services frame Structure or cloud framework.The embodiment of the present application by taking the android system of layer architecture as an example, exemplary illustration electronic equipment 100 it is soft Part structure.
Fig. 2 is the software architecture diagram of the electronic equipment 100 of the embodiment of the present application.Software is divided into several by layer architecture Layer, each layer have clearly role and the division of labor.It is communicated between layers by software interface.In some embodiments, will Android system is divided into four layers, from top to bottom respectively application layer, application framework layer, when Android is run (Android runtime) and system library and inner nuclear layer.Application layer may include a series of application packages.
As shown in Fig. 2, application package may include camera, and picture library, calendar, call, map, navigation, WLAN, bluetooth, Music, video, the application programs such as short message.
Application framework layer provides Application Programming Interface (application for the application program of application layer Programming interface, API) and programming framework.Application framework layer includes some functions predetermined.
As shown in Fig. 2, application framework layer may include Content Provider, access to content device, window manager, view System, telephone supervisor, resource manager, notification manager etc..
Content Provider (content provider) is used to store and obtains data, and applies these data Routine access.The data may include video, image, audio, the phone dialed and answered, browsing history and bookmark, phone Book, short message etc..
Access to content device (content resolver): application program A can pass through the content of application program A Resolver carrys out data provided by the content provider of access application B.
In order to which interaction data, Android provide content provider among applications, it is different application The standard API of data interaction is carried out between program.When an application program needs the data of oneself to be exposed to other application journey Sequence is in use, the application program can be realized by content provider.
And other applications are when needing using these data, whether the application program regardless of providing data starts, can be with The data of content provider exposure are operated by access to content device (content resolver).Operation data can be with Including inquiry data (query ()) etc..
It should be understood that operation data may include inquiry data in the embodiment of the present application, such as application program A can pass through The content provider that query interface in the content resolver of application program A carrys out access application B is mentioned The data of confession.Operation data can also include other, for example, increase data (insert ()), delete data (delete ()), More new data (updata ()) etc..
Illustratively, application program A can be by insert interface in the content resolver of application program A to answering Increase data with the content provider of program B.
Illustratively, application program A can be by delete interface in the content resolver of application program A from answering Data are deleted with the content provider of program B.
Illustratively, application program A can be updated by updata interface in the content resolver of application program A Data in the content provider of application program B.
Data provided by content provider may come from database, can be from file, can be with It is by the data (for example, from data that cloud side is got, alternatively, the data got from server) on network.
Illustratively, data provided by contact data provider may come from contact database, the contact person Database can be contact person's provider (contact provider) in application layer;Alternatively, contact data provides Data provided by device can be from some file that electronic equipment locally saves;Alternatively, contact data provides Data provided by device can also originate from cloud side.
Window manager is for managing window writing routine.The available display screen size of window manager, judges whether there is shape State column, lock-screen, screen printing etc..
View system includes visible controls, such as the control of display text, shows the control etc. of picture.View system is available In building application program.What display interface can be made of one or more views.E.g., including the display of short massage notice icon Interface may include the view for showing text and the view for showing picture.
Telephone supervisor is for providing the communication function of electronic equipment 100.Such as talking state management (including connect, It hangs up).
Resource manager provides various resources, such as localized strings for application program, icon, picture, topology file, Video file etc..
Notification manager allows application program to show notification information in status bar, can be used for conveying and informs type Message, can be to disappear, without user's interaction automatically after short stay.For example notification manager be used to inform that downloading is completed, and disappear Breath prompting etc..Notification manager, which can also be, appears in the logical of system head status bar with chart or scroll bar textual form Know, for example, running background application program notice, can also be occur notice on the screen in the form of dialog box.Such as Text information is prompted in status bar, issues prompt tone, vibration of electronic equipment, indicator light flashing etc..
Android runtime includes core library and virtual machine.Android runtime be responsible for Android system scheduling and Management.
Core library includes two parts: a part is the power function that java language needs to call, and another part is Android Core library.
Application layer and application framework layer operate in virtual machine.Virtual machine is by application layer and application program It is binary file that the java file of ccf layer, which executes,.Virtual machine is used to execute the management of Object Life Cycle, stack management, line Thread management, safety and the functions such as abnormal management and garbage reclamation.
System library may include multiple functional modules.Such as: surface manager (surface manager), media library (media libraries), three-dimensional graph process library (such as: OpenGL ES), 2D graphics engine (such as: SGL) etc..
Surface manager provides 2D and 3D figure layer for being managed to display subsystem for multiple application programs Fusion.
Media library supports a variety of common audios, video format playback and recording and static image file etc..Media library It can support a variety of audio/video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG etc..
Three-dimensional graph process library is for realizing 3-D graphic drawing, image rendering, synthesis and figure layer process etc..
2D graphics engine is the drawing engine that 2D draws.
Inner nuclear layer is the layer between hardware and software.Inner nuclear layer includes at least display driving, webcam driver, and audio is driven It is dynamic, sensor driving.
Fig. 3 shows the schematic diagram that data access is carried out between application program A and application program B.As shown in figure 3, using Program A (App A) is by the content resolver of application program A come the content to application program B (App B) Provider carries out data access.
When carrying out data access, the content resolver of application program A needs to use uniform resource identifier (uniform resource identifier, URI), URI are that the content resolver of application program A comes to using journey The content provider of sequence B carries out the mark of data interaction.
Illustratively, URI can be divided into four parts:
1. subject (schema): the URI prefix of content provider.Illustratively, content provider URI prefix can by Android defined be content: //;
2. authorization message (authority): due to unique identification this content provider, content Resolver can find corresponding content provider according to this mark.
Path 3. (path): some project (item) under URI, for judging that (which data is interviewed in the path of request It asks).Here it is popular by be exactly table in database name.
4. the mark (ID) of requested specific data: if the mark comprising the requested specific data of expression in URI, Then content provider can return to the corresponding specific data of the mark to content resolver;If the not quilt The mark of the specific data of request, then it represents that need to return to total data.
Illustratively, the record that ID is 10 in the contacts list of contact database is operated, can be constructed such Path: content: //contact provider/contact/10.
Illustratively, it is 10 record surnames that content resolver, which will operate ID in the contacts list of contact database, Name (name) field, can construct such path: content: //contact provider/contact/10/name.
Illustratively, content resolver will operate all collections in the contacts list of contact database Contact person record can construct such path: content: //contact provider/vip_contact.
In the embodiment of the present application, collection contact person can be user manually or electronic equipment adds automatically according to preset rules The contact person being added in contact person's collection.
Illustratively, content resolver will operate all connections in the contacts list of contact database The E-mail address of people can construct such path: content: //contact provider/contact/email_ adress。
Illustratively, content resolver will operate call all in the call record list of contact database Record, can construct such path: content: //contact provider/calls.
Illustratively, content resolver will operate short message all in the short message list in short message data library Record, can construct such path: content: //message_log/messages.
It should be understood that requested specific data is identified as optionally in URI.
It should also be understood that the content resolver data to be operated are also possible to come from other than from database Other storage modes such as file.Illustratively, to operate extensible markup language (extensible markup language, XML) the name node in file under contact person's node, can construct such path: content: //contact provide/contact/name。
The content resolver of application program A is described above how to the content of application program B (App B) Provider carries out data access, and number in the database in the content provider of application program B (App B) is described below According to.It is illustrated by taking the database (for example, contact person's provider (contact provider)) in contact application as an example.
Illustratively, table 1 shows contact person and its corresponding information list in contact application database.
1 contact person of table and its corresponding information list
ID Contact person Phone number 1 Phone number 2 Address Email address
1 User A 187×××× 151×××× Address 1 517310229@qq.com
2 User B 182×××× NULL Address 2 187××××@163.com
3 User C 186×××× 187×××× NULL NULL
4 User D 156×××× NULL NULL NULL
5 User E 177×××× NULL NULL NULL
6 User F 152×××× NULL NULL NULL
It should be understood that table 1 be only it is schematical, the corresponding information of each contact person may include less or more letters Breath.For example, the corresponding information of each contact person can also include business address information, nickname information, birthday by information etc..
Illustratively, when some application program needs contact person and its corresponding letter in inquiring contactor application database When breath, the corresponding content resolver of the application program can call query interface corresponding to contact application The query interface of content provider sends corresponding URI, which can be content: //contact provider/contact.The query interface of the content provider of contact application, can be with after receiving the URI Determine that the application program needs contact person and its corresponding information in the database of inquiring contactor application, from database After finding the information, the query interface of the content provider of contact application can be corresponding to application program The query interface of content resolver returns to the information inquired.
Illustratively, when some application program only needs contact person and contact person in inquiring contactor and its corresponding information When corresponding email address information, the corresponding content resolver of the application program can call query interface to connection People sends corresponding URI using the query interface of corresponding content provider, which can be content: // contact provider/contact/email_address.The query of the content provider of contact application connects Mouth can determine that the application program needs inquiring contactor and the corresponding email address information of contact person after receiving the URI, After the information is found in the database, the query interface of the content provider of contact application can be to using journey The query interface of the corresponding content resolver of sequence returns to the information inquired.
Illustratively, the query interface of the content provider of contact application can be corresponding to application program The query interface of content resolver returns to the information inquired can be as shown in table 2.
The information that the query interface of the content provider of 2 contact application of table returns
ID Contact person Email address
1 User A 517310229@qq.com
2 User B 187××××@163.com
3 User C NULL
4 User D NULL
5 User E NULL
6 User F NULL
Illustratively, table 3 shows the information list of the message registration of contact person in contact application database.
The information list of the message registration of 3 contact person of table
ID Contact person Total talk times This month talk times The last time air time
1 User A 100 20 2019/04/15 09:45:32
2 User B 85 15 2019/04/14 18:32:21
3 User C 30 0 2019/03/20 15:14:58
4 User D 65 5 2019/04/08 13:17:06
5 User E 77 2 2019/04/06 08:45:36
6 User F 32 1 2019/04/10 12:52:20
It should be understood that table 3 is only schematical, it may include less or more letters in the information list of message registration Breath.For example, can also include air time primary earliest, a nearest week in the corresponding message registration of each contact person Talk times etc..
Illustratively, when some application program needs the message registration in inquiring contactor application, the application program pair The content resolver answered can call query interface to the corresponding content provider's of contact application Query interface sends corresponding URI, which can be content: //contact provider/calls.Contact application Content provider query interface after receiving the URI, can determine that the application program needs inquiring contactor The information of message registration in the database of application, after the information is found in the database, the content of contact application The query interface of provider can be returned to the query interface of the corresponding content resolver of application program and be inquired Information.
Illustratively, when some application program needs total talk times in inquiring call history, the application program pair The content resolver answered can call query interface to the corresponding content provider's of contact application Query interface sends corresponding URI, which can be content: //contact provider/calls/total number of calls.The query interface of the content provider of contact application, can be true after receiving the URI The fixed application program needs the information of total talk times in inquiring call history, after the information is found in the database, connection The query interface of the content provider of people's application can be to the corresponding content resolver's of application program Query interface returns to the information inquired.
Illustratively, the query interface of the content provider of contact application can be corresponding to application program The query interface of content resolver returns to the information inquired can be as shown in table 4.
The information that the query interface of the content provider of 4 contact application of table returns
ID Contact person Total talk times
1 User A 100
2 User B 85
3 User C 30
4 User D 65
5 User E 77
6 User F 32
Illustratively, table 5 shows the information list that contact person is collected in contact application database.
The information list of the collection contact person of table 5
ID Contact person It whether is collection contact person
1 User A It is
2 User B It is
3 User C It is no
4 User D It is no
5 User E It is no
6 User F It is no
It is stored in the database of contact application it should be understood that above-mentioned table 1, table 3 and table 5 can be divided into multiple tables, it can also To be that wherein any two tables merge in a table, it can also be that table 1, table 3 and table 5 are independently stored in contact application Database in.
Illustratively, table 6 shows short message application database short message list information.
6 short message list information of table
It should be understood that table 6 is only schematical, it may include less or more information in short message list.For example, It can also include reception/sending time primary earliest, a nearest week in the corresponding short message record of each contact person Mutual number etc. of sending short messages.
Illustratively, when some application program needs to inquire the short message list in short message application, the application program Corresponding content resolver can call query interface to the corresponding content provider's of short message application Query interface sends corresponding URI, which can be content: //message_log/messages.Short message application The query interface of content provider can determine that the application program needs to inquire short message and answers after receiving the URI With the short message list information in database, after the information is found in the database, the content of contact application The query interface of provider can be returned to the query interface of the corresponding content resolver of application program and be inquired Information.
Illustratively, when some application program needs number of always mutually sending short messages in the short message list in inquiring call history When, the corresponding content resolver of the application program can call query interface to the corresponding content of contact application The query interface of provider sends corresponding URI, which can be content: //message_log/messages/ total number of messages.The query interface of the content provider of short message application is receiving the URI Afterwards, it can determine that the application program needs the information of total number of mutually sending short messages in inquiring call history, be found in the database After the information, the query interface of the content provider of contact application can be to the corresponding content of application program The query interface of resolver returns to the information inquired.
Illustratively, the query interface of the content provider of contact application can be corresponding to application program The query interface of content resolver returns to the information inquired can be as shown in table 7.
The information that the query interface of the content provider of 7 short message application of table returns
ID Contact person Total number of mutually sending short messages
1 User A 55
2 User B 30
3 User C 10
4 User D 3
5 User E 2
6 User F 5
In order to make it easy to understand, the application following embodiment is by by taking the mobile phone with structure shown in Fig. 1 and Fig. 2 as an example, in conjunction with The method of addition mail contact provided by the embodiments of the present application is specifically addressed in attached drawing.
Fig. 4 shows a block graphics user interface (graphical user interface, GUI) for mobile phone.
Shown in (a) in referring to fig. 4, which is the desktop 401 of mobile phone.When mobile phone detects that user clicks on desktop 401 Mail applications (application, APP) icon 402 operation after, can star mail applications, display is as in Fig. 4 (b) GUI shown in, the GUI are properly termed as mail applications interface.It include address list, inbox, outbox on the mail applications interface Case, draft, honored guest (very important person, VIP) mail contact etc., wherein include user in address list The information such as name, email address and the phone number of the addressee of record.Shown in (b) in referring to fig. 4, when mobile phone detects use After the operation of control 403 is clicked at family, the GUI as shown in (c) in Fig. 4 can be shown.
VIP mail contact refers to especially important mail contact, for the mail from VIP mail contact, system Special marking can be carried out to it to remind user, such as mark star symbol ☆ beside its name;Alternatively, being each VIP Mail contact adds a file, to facilitate user to check all mails of the VIP mail contact.
GUI shown in (c) in referring to fig. 4, the GUI are the address list interface of mail applications, the address list of mail applications In include 10 mail contacts.After mobile phone detects that user clicks the operation of the corresponding control 404 of mail contact, mobile phone Corresponding mail contact can be added in VIP mail contact.
GUI shown in (d) in referring to fig. 4, the GUI are the VIP mail contact interface of mail applications, when mobile phone detects After clicking the corresponding control 404 of Apple, Bob and Charles in mail contact to user, mobile phone can be by Apple, Bob It is added in VIP mail contact with Charles.User can click corresponding Apple in VIP mail contact, thus The e-mail messages interacted with Apple can be viewed.
GUI shown in (e) in referring to fig. 4, the GUI are the set interface of mail applications, when mobile phone detects user's point After hitting the operation of setting control 405, the GUI as shown in (e) in Fig. 4 can be shown.The GUI includes account setup, mail text The setting of word size, whether the always close setting for giving oneself and whether automatically setting etc. of addition VIP contact person.Work as mobile phone After detecting the operation that user opens the control 406 of the setting of automatic addition VIP contact person, it can show such as (f) institute in Fig. 4 The GUI shown.
GUI shown in (f) in referring to fig. 4, the GUI are another interface of mail applications, and mobile phone can be with display window 407, it include the function introduction to automatic addition VIP contact person in the window 407.Such as (f) in Fig. 4, include in the window 407 Text is reminded, such as " after opening the function, the contact person high with your voice frequency can be automatically added to VIP e-mail contact In people ".
GUI shown in (g) in referring to fig. 4, the GUI are the interface of phone application, can from the phone application interface Out, the user frequent contact person that converses recently includes Frank and Joe.
GUI shown in (h) in referring to fig. 4, the GUI are another interface of the VIP mail contact of mail applications, the boundary In face other than Apple, Bob and Charles for having before, it is added to Frank and Joe automatically, wherein Frank and Joe are equal For in contact application with highest two users of user's communication frequency.
In one embodiment, the high contact person with user's communication frequency it can be appreciated that in first time period, with The frequency of family call is more than or equal to the contact person of first frequency threshold value.
In one embodiment, mobile phone can determined in first time period, be greater than or waited with the frequency of user's communication Whether it is harassing call, intermediary's phone etc. in the contact person of first frequency threshold value, is if judging, mobile phone can not incites somebody to action These contact persons are added in VIP email contact list.
The method of the addition mail contact of the embodiment of the present application, mobile phone can automatically add the high contact person of voice frequency It is added in the VIP mail contact of mail applications, avoids user and be added manually, help to reduce the complicated for operation of user Degree provides the operating efficiency of user, improves the intelligence degree of electronic equipment, promotes user experience.
In one embodiment, mobile phone can will be with email address and the contact person high with user's communication frequency adds automatically Into the VIP mail contact of user, i.e., need to judge whether the contact person has when mobile phone adds VIP mail contact automatically Email address and whether be the contact person high with user's communication frequency.
In one embodiment, the email address for the contact person that mobile phone can automatically collect user in contact application is automatic It is added in the VIP mail contact of mail applications.
In one embodiment, mobile phone can also will be more than or equal in first time period with the frequency of user's communication The email address of the contact person of first frequency threshold value is automatically added in the other kinds of mail contact of mail applications, example Property, these email addresses are automatically added in the address list of mail applications, the address list can as shown in (c) in Fig. 4, All mail contacts of user can be saved in address list.
It should be understood that " contact person " and " mail contact " involved in each embodiment of the application are different general for two It reads, wherein contact person is the contact person in non-mail applications, can refer to the connection saved in phone or contact application People, user can search corresponding contact person in phone or contact application, thus he converses with contact person, send it is short The operation such as message;Alternatively, contact person can also refer to some social application (for example, Facebook, Twitter, wechat or QQ) In contact person, user can search corresponding contact person in social application, to send message to contact person, initiate video Call or voice communication etc. operation.And mail contact refers to that the contact person in mail applications, user can be in mail applications It is middle to search corresponding mail contact, the operation such as mail is sent with the mail of contact person's intercommunication, to the contact person to search.
Fig. 5 shows another group of GUI of mobile phone.
After mobile phone detects that user opens the operation of automatic addition VIP mail contact, it can show as in Fig. 5 (a) GUI shown in.
Referring to GUI shown in (a) in Fig. 5, mobile phone can include to automatic addition with display window 501, in the window 501 The function introduction of VIP contact person.Include such as (a) in Fig. 5, in the window 501 text remind " after opening the function, can will The contact person that you collect is automatically added in VIP mail contact ".
It is the connection collected in the contact application (address list application) of mobile phone referring to GUI shown in (b) in Fig. 5, the GUI It is people interface.As shown in (b) in Fig. 5, Frank and Joe are the contact person of user's collection.
The contact person of collection refers to that user has carried out the call contact person of collection operation, and user can be by one in contact person Or it multiple is stowed in the contact person of collection quickly to check.
In the VIP mail contact of mail applications other than mail Apple, Bob and Charles for having before, automatically It is added to Frank and Joe, wherein Frank and Joe is the connection for having email address in contact application and collecting for user It is people.
The method of the addition mail contact of the embodiment of the present application, mobile phone can be automatically by contact person's additions of user's collection It into the VIP mail contact of mail applications, avoids user and is added manually, help to reduce the complicated for operation of user Degree, the operating efficiency for improving user, improve the intelligence degree of electronic equipment, promote user experience.
In one embodiment, mobile phone can will add with email address in contact application and for the contact person of user's collection It is added in the VIP mail contact of mail applications, i.e., needs to judge that the contact person is when mobile phone adds VIP mail contact automatically It is no with email address and whether be user collection contact person.
In one embodiment, mobile phone can automatically by short message application within a preset period of time with the short letter that disappears of user's intercommunication Frequency be more than or equal to predeterminated frequency threshold value contact person email address be automatically added to mail applications VIP mail connection It is in people.
In one embodiment, mobile phone can also will, be greater than within a preset period of time with the frequency of the short letter that disappears of user's intercommunication or Person is equal to the email address of the contact person of predeterminated frequency threshold value, is automatically added to the other kinds of mail contact of mail applications In, illustratively, these email addresses are automatically added in the address list of mail applications.
Fig. 6 shows another group of GUI of mobile phone.
After mobile phone detects that user opens the operation of automatic addition VIP mail contact, it can show as in Fig. 6 (a) GUI shown in.
It is another interface of mail applications referring to GUI shown in (a) in Fig. 6, the GUI.Mobile phone can be with display window 601, it include the function introduction to automatic addition VIP contact person in the window 601.Such as (a) in Fig. 6, include in the window 601 Text prompting " after opening the function, can will be automatically added to VIP mail contact with your contact person of frequent intercommunication short message In ".
In the embodiment of the present application, it can refer to that user receives the short message of its transmission with the contact person of user's intercommunication short message Contact person, and/or, user is sent to it the contact person of short message.
It is the interface of short message application referring to GUI shown in (b) in Fig. 6, the GUI.
It is automatic to add in the VIP mail contact of mail applications other than Apple, Bob and Charles for having before Frank and Joe, wherein Frank and Joe be have in contact application email address and in short message application with The high contact person of user's intercommunication short message frequency.
It should be understood that the data between phone or contact application and short message application are intercommunications in the embodiment of the present application , i.e., the contact person saved in the phone of mobile phone or contact application is when sending short message to user, the short message of mobile phone The name and phone number of short message sender can be shown in.
In one embodiment, mobile phone can automatically will in short message application have email address and with user's intercommunication short message The high contact person of frequency is automatically added in the VIP mail contact of mail applications.
In one embodiment, mobile phone can by with email address and the contact person high with user's intercommunication short message frequency from It is dynamic to be added in the VIP mail contact of user, i.e., need to judge that the contact person is when mobile phone adds VIP mail contact automatically It is no that there is email address and whether be the contact person high with user's intercommunication short message frequency.
The method of the addition mail contact of the embodiment of the present application, mobile phone can automatically will be high with user's intercommunication message frequency Contact person be added in the VIP mail contact of mail applications, avoid user and be added manually, facilitate reduce user Operation complexity, improve the operating efficiency of user, improve the intelligence degree of electronic equipment, promote user experience.
In one embodiment, mobile phone will can be greater than within a preset period of time with the frequency of user's intercommunication mail automatically or Email address equal to the contact person of predeterminated frequency threshold value is automatically added in the VIP mail contact of mail applications.
In one embodiment, mobile phone can also will be more than or equal to predeterminated frequency threshold value with the frequency of user's intercommunication mail Contact person be automatically added in the other kinds of mail contact of mail applications, illustratively, by these email addresses from It is dynamic to be added in the address list of mail applications.
Fig. 7 shows another group of GUI of mobile phone.
After mobile phone detects that user opens the operation of automatic addition VIP mail contact, show such as (a) institute in Fig. 7 The GUI shown.
Referring to GUI shown in (a) in Fig. 7, which is another interface of mail applications, and mobile phone can be with display window 701, it include the function introduction to automatic addition VIP contact person in the window 701.Such as (a) in Fig. 7, include in the window 701 Text reminds " after opening the function, can be automatically added in VIP mail contact with your contact person of frequent intercommunication mail ".
It is the interface of the inbox of mail applications referring to GUI shown in (b) in Fig. 7, the GUI.It can from the GUI Out, mail Dendi and Emily is the mail contact high with user's intercommunication mail frequency.
It is another interface of VIP mail contact in mail applications referring to GUI shown in (c) in Fig. 7, the GU.Mail In the VIP mail contact of application other than Apple, Bob and Charles for having before, be added to automatically Dendi and Emily, wherein Dendi and Emily is contact person high with user's intercommunication mail frequency in mail applications.
In one embodiment, with user's intercommunication mail frequency high mail contact can within a preset period of time, with The frequency of user's intercommunication mail is more than or equal to the email address of the contact person of predeterminated frequency.
In one embodiment, mobile phone is more than or equal to contacting for predeterminated frequency in the determining frequency with user's intercommunication mail It, can be high to the mail in preset time period or to determining intercommunication mail frequency before or after the email address of people The mail of mail contact is filtered screening, judges which mail for spam, which mail is non-spam email.Mobile phone Judge whether mail is that the condition of spam includes but is not limited to:
(1) determined whether by the keyword in mail for spam
For example, mobile phone can be identified according to keyword, characteristic wordings some in spam are collected first (for example give a discount, is free, promoting etc.), a big database is formed, it will Auto-matching when an envelope mail issues Mail head, mail header will determine with the keyword feature in these libraries if there is similar wording in Mail Contents For spam.
(2) spam is judged whether it is by the rule of user setting
For example, the mail received in user setting 00:00 to 07:00 is spam.
In another example mail of the user setting mail size greater than 10Mb is spam.
(3) determined whether by the URL link for including in mail for spam
For example, the website that mobile phone can be directed toward according to URL link judges if in an envelope mail including URL link, if The website is advertiser website or is that other users are not intended to open website, then can determine that this envelope mail is to come and postal Part.
The mail received in preset time is filtered screening by mobile phone, so that it is determined that going out which mail is spam. Mobile phone can only judge the sender address for being identified as non-spam email, so that it is determined that whether it is VIP e-mail contact People.It should be understood that the name and email address of Dendi are saved if saving Dendi and Emily between in mail applications, And the name and email address of Emily, then the name of Dendi and Emily can be shown in VIP mail contact.If postal The email address that Dendi and Emily are only saved in part application, then can show Dendi and Emily in VIP mail contact Corresponding email address.
The embodiment of the present application addition mail contact method, mobile phone can automatically by mail applications with user's intercommunication The high mail contact of mail frequency is added in the VIP mail contact of mail applications, avoids user and is added manually, Facilitate the operation complexity for reducing user, the operating efficiency for improving user, improves the intelligence degree of electronic equipment, promoted and used Family experience.
In one embodiment, mobile phone can prompt user's selection to need to be automatically added to the connection in VIP mail contact Mankind's type.
Fig. 8 shows another group of GUI of mobile phone.
Referring to GUI shown in (a) in Fig. 8, which is another set interface of mail applications, which includes that account is set Set, mail text size setting, whether the always close setting for giving oneself and whether automatically addition VIP contact person setting. After mobile phone detects that user clicks the operation of the control of automatic addition VIP mail contact, it can show such as (b) in Fig. 8 Shown in GUI.
Referring to GUI shown in (b) in Fig. 8, which is another interface of mail applications, and mobile phone can be with display window 801, it include the selection to automatic addition VIP mail contact in the window 801.As shown in (b) in Fig. 8, the window 801 In, mobile phone may remind the user that the type for the contact person that selection needs to add automatically, wherein the contact person's for needing to add automatically Type includes " the high contact person with your voice frequency ", " contact person that you collect in contact application ", " with your intercommunication short message The high contact person of frequency " and " with your the high contact person of intercommunication mail frequency ".When mobile phone detects that user's selection " is conversed frequently with you The corresponding control 802 of the high contact person of rate " and detect user click control 803 operation after, will can lead to automatically with user The high contact person of voice frequency rate is automatically added in VIP mail contact.Illustratively, mobile phone can automatically will be in first time period The user that the interior frequency with user's communication is higher than first frequency threshold value is automatically added in VIP mail contact.
Illustratively, mobile phone can be more than or equal to 20 times automatically by within a week with the number of user's communication User be automatically added in VIP mail contact.
It is automatic to add in the VIP mail contact of mail applications other than Apple, Bob and Charles for having before Frank and Joe, wherein Frank and Joe be in contact application with user's communication frequency higher user.
In one embodiment, in the window 801, mobile phone may remind the user that the class for the contact person that selection needs to add automatically Type, wherein the type for the contact person for needing to add automatically includes " with email address and contact person high with your voice frequency ", " in contact application with email address and you collect contact person ", " have email address and with your intercommunication short message frequency High contact person " and " with your the high contact person of intercommunication mail frequency ".
Illustratively, mobile phone can be more than or equal to 20 times automatically by within a week with the number of user's communication And the user with email address is automatically added in VIP mail contact.
The method of the addition mail contact of the embodiment of the present application, mobile phone can allow user to select the contact person added automatically Type, avoid user and be added manually, facilitate reduce user operation complexity, improve user operating efficiency, The intelligence degree of electronic equipment is improved, user experience is promoted.
Fig. 4 to Fig. 8 is combined above, describes several groups of GUI provided by the embodiments of the present application, the embodiment of the present application is described below The method of the addition mail contact of offer.
Fig. 9 shows the schematic flow chart of the method 900 of addition contact person provided by the embodiments of the present application.Such as Fig. 9 institute Show, this method 900 includes:
S910, electronic equipment obtains one or more contact person in the first application and one or more joins with this It is the associated contact information of people.
Illustratively, after mobile phone detects that user clicks the operation of the control of automatic addition VIP mail contact, mail The content resolver of application can call query interface to phone or the content provider of contact application Corresponding query interface sends the first inquiry request information, and the first inquiry request information is for requesting inquiry at the first time Section in, in phone or contact application with one or more Affiliate sessions record information;Alternatively, first inquiry is asked Ask information for request inquiring contactor apply in one or more contact person whether be user collection contact information.
Phone or the content provider of contact application are after receiving the URI, by parsing the URI, so The information of message registration in inquiring contactor application database afterwards, and the information inquired is carried and is rung in the first inquiry request Answer the query interface for being sent to the content resolver of mail applications in information by query interface.Mail applications The data received are returned to the mail applications of application layer by content resolver.Mail applications can be according to return Data, from one or more contact person determine in first time period, be more than or equal to user's communication frequency The contact person of first frequency threshold value;Alternatively, from user's collection in contact application is determined in one or more contact person Contact person.
It illustratively, include URI in the first inquiry request information, which is used to indicate inquiring call history information, or Person is used to indicate the contact information of inquiry user's collection.
Illustratively, if the URI is used to indicate inquiring call history information, the content provider of contact application All message registrations of the user inquired can be sent to the content resolver of mail applications;Alternatively, contact person The content provider of application can also remember the call of a period of time (for example, one month or a week) interior user Record is sent to the content resolver of mail applications.
Mail applications can be determined after receiving the message registration information from one or more contact person Voice frequency is more than or equal to the contact person of first frequency threshold value in one period.Illustratively, mail applications can determine Message registration number of the user within a week is more than or equal to 20 contact persons;Illustratively, mail applications can determine Talk times of the user in one month are more than or equal to 200 contact persons.
Illustratively, if the URI is used to indicate the contact information of inquiry user's collection, the content of contact application The contact information that the user inquired collects can be sent to the content resolver of mail applications by provider.
Contact application can determine use after receiving the message registration information from one or more contact person The contact information of family collection.
Illustratively, after mobile phone detects that user clicks the operation of the control of automatic addition VIP mail contact, mail The content provider that the content resolver of application can call query interface to short message application is corresponding Query interface sends the second inquiry request information, and the second inquiry request information is short for requesting inquiry in second time period In messages application with the information of one or more contact person's intercommunication short message.
The content provider of short message application is after receiving URI, by parsing the URI, then inquires short disappear The information of the intercommunication short message in application database is ceased, and the information inquired is carried in the second inquiry request response message The query interface of the content resolver of mail applications is sent to by query interface.The content of mail applications The data received are returned to the mail applications of application layer by resolver.Mail applications can according to the data of return, It determines in second time period from one or more contact person, is more than or equal to the frequency of user's intercommunication short message The contact person of second frequency threshold value.
It should be understood that in the embodiment of the present application, phone or contact application can between short message application communicating data, The data saved in mail applications inquiry short message application, it is understood that inquire phone or contact application for mail applications The data of middle preservation.
Illustratively, mail applications can be inquired by mail applications database, be determined in the third period, with The number that mail is mutually sent out at family is more than or equal to the mail contact of default value.It should be understood that mutually sending out the number of mail with user The number of the mail of mail contact transmission can be received for user, and/or, user sends mail to the mail contact Number.
S920, for electronic equipment according to the contact information, determining from one or more contact application should be to A few contact person, and determine the email address that each contact person at least one contact person is preserved in the first application.
Illustratively, which is that perhaps the contact application contact information is the phone or connection to phone The communicating data of one or more contact person saved in people's application, each connection artificially exists at least one contact person In first time period, the frequency that user converses with it is more than or equal to the contact person of first frequency threshold value;Alternatively, at first Between in section, user and its talk times be more than or equal to default talk times (number including removing electricity to the first contact person, And/or receive the first contact person incoming call number) contact person.
Illustratively, which is that perhaps the contact application contact information is the phone or connection to phone The short message data of one or more contact person saved in people's application, each connection is artificial at least one contact person In second time period, the frequency of user and its intercommunication short message is more than or equal to the contact person of second frequency threshold value;Alternatively, In second time period, the number of user and its intercommunication short message, which is greater than, presets mutual short-message sending number (including to the first connection Human hair send the number of short message, and/or, receive the first contact person send short message number) contact person.
Illustratively, which is contact application, which should for what is saved in the contact application Whether one or more contact person is the contact person collected, each artificial user's collection of connection at least one contact person Contact person.
Illustratively, mail applications can continue through mail applications after determining at least one contact person Content resolver sends third inquiry request information, third inquiry to the content provider of contact application Solicited message is for inquiring whether at least one contact person has email address.The content provider of contact application is logical It, can be at least one postal of this in contact person's application database after crossing query interface to the third inquiry request information Case address is inquired, and the result inquired is carried and is sent to mail applications in third inquiry request response message content resolver。
Mail applications are after the information for the email address for receiving at least one contact person, if at least one connection Each contact person has corresponding email address in people, then electronic equipment can be by contact person's each at least one contact person Email address is added in the first mail contact set.
In one embodiment, the content provider of the content resolver of mail applications to contact application In the first inquiry request information sent, the message registration of contact person in inquiry phone or contact application can be carried The URI of the email address of URI and inquiring contactor.The content provider of contact application can receive this After one inquiry request information, the result inquired is carried and is sent to mail applications in the first inquiry request response message content resolver。
Mail applications can after receiving the query result, first judge in first time period voice frequency be greater than or Equal to the information of at least one contact person of first frequency threshold value, then determining has email address at least one contact person Contact person.
Alternatively, the mail applications can also first judge in all contact persons with email address contact person, then from Determine that voice frequency is more than or equal to first frequency threshold value in first time period in the contact person with email address Contact person.
The email address of contact person each at least one contact person is added in mail applications by S930, electronic equipment In first mail contact set.
It should be understood that the email address of at least one contact person is added to mail and answered by electronic equipment in the embodiment of the present application In the first mail contact set in, it is also understood that the email address of at least one contact person is added for electronic equipment In the first email address set into mail applications.
It should also be understood that the first email address set can be the VIP e-mail contact in mail applications in the embodiment of the present application The email address set of people, or the email address set of All Contacts in mail applications, the embodiment of the present application is to this It is not limited in any way.
In one embodiment, certain contact persons include multiple email addresses at least one contact person, then electronics is set Standby may remind the user that from multiple email addresses selects an email address to be added in the first email address set;Alternatively, Electronic equipment can default first email address of preservation and be added in the first email address set;Alternatively, electronic equipment can be with The email address of the newest preservation of user is added in the first email address set.
In one embodiment, electronic equipment can first determine the email address of each contact person at least one contact person Whether it is already contained in the first email address set.In the email address of at least one contact person not this first When in email address set, the email address of at least one contact person can be automatically added to first mailbox by electronic equipment In address set;At least partly email address of contact person is in the first email address collection at least one contact person When in conjunction, electronic equipment, which can be determined, is not added to the first email address set for the email address of at least partly contact person In, to avoid repeating to add identical email address.
Illustratively, first mail contact collection is combined into the VIP mail contact of mail applications.
The method of the addition mail contact of the embodiment of the present application, mobile phone can be automatically by some important contact persons Email address be added in the VIP mail contact of mail applications, wherein the mode of addition include but is not limited to will be with user The email address of the high contact person of voice frequency is automatically added in VIP mail contact, by the postal of the contact person of user's collection Case address is automatically added in VIP mail contact, certainly by the email address of the contact person high with user's intercommunication short message frequency It is dynamic to be added in VIP mail contact, the email address of the contact person high with user's intercommunication mail frequency is automatically added to VIP In mail contact, this avoid users to be added manually, helps to reduce the operation complexity of user, improves user's Operating efficiency improves the intelligence degree of electronic equipment, promotes user experience.
It, can be with it should be understood that the mode for adding contact person in the embodiment of the present application automatically is not limited to the above several ways There are other modes.Illustratively, mail applications can wherein save in the database of social application with social application communicating data The good friend and the corresponding email address information of each good friend, electronic equipment for having user can be according to the frequencies interacted with each good friend Rate, it is determined whether the email address of the good friend is added in the VIP email contact list of mail applications.If the social activity is answered Using white list mechanism in, then electronic equipment can not have to be filtered sieve in addition VIP mail contact automatically The operation of choosing, because the good friend of user is the good friend crossed by user authentication in social application.With the frequency of each good friend interacted Rate may include with the frequency of the mutual hair message of each good friend (for example, number that a week and the good friend mutually send out message), with Frequency (for example, the number for carrying out voice communication or video calling in a week with the good friend) of each good friend's call etc. Deng.
Illustratively, which is Facebook, Twitter, QQ, wechat, MSN etc..
It is understood that electronic equipment is in order to realize the above functions, it comprises execute each corresponding hardware of function And/or software module.Algorithm steps described in conjunction with the examples disclosed in the embodiments of the present disclosure, the application can be with hardware Or the combining form of hardware and computer software is realized.Some function drives hardware actually with hardware or computer software Mode executes, specific application and design constraint depending on technical solution.Those skilled in the art can be in conjunction with implementation Example uses different methods to achieve the described function each specific application, but this realization is it is not considered that beyond this The range of application.
The present embodiment can carry out the division of functional module according to above method example to electronic equipment, for example, can be right The each functional module of each function division is answered, two or more functions can also be integrated in a processing module. Above-mentioned integrated module can take the form of hardware realization.It should be noted that being to show to the division of module in the present embodiment Meaning property, only a kind of logical function partition, there may be another division manner in actual implementation.
In the case where each function division of use correspondence each functional module, Figure 10 is shown involved in above-described embodiment Electronic equipment 1000 a kind of possible composition schematic diagram, as shown in Figure 10, the electronic equipment 1000 may include: obtain it is single Member 1001, determination unit 1002 and adding unit 1003.
Wherein, acquiring unit 1001 can be used for that electronic equipment 1000 is supported to execute above-mentioned steps S910, and/or for holding Other processes of row techniques described herein.
Determination unit 1002 can be used for supporting electronic equipment 1000 to execute above-mentioned steps S920, and/or for executing sheet Other processes of technology described in text.
Adding unit 1002 can be used for supporting electronic equipment 1000 to execute above-mentioned steps S930, and/or for executing sheet Other processes of technology described in text.
It should be noted that all related contents for each step that above method embodiment is related to can quote correspondence The function of functional module describes, and details are not described herein.
Electronic equipment provided in this embodiment, the method for executing above-mentioned addition mail contact, therefore can achieve Effect identical with above-mentioned implementation method.
Using integrated unit, electronic equipment may include processing module, memory module and communication module. Wherein, processing module can be used for the movement to electronic equipment and carry out control management, for example, can be used for that electronic equipment is supported to hold The step of above-mentioned each unit of row executes.Memory module can be used for that electronic equipment is supported to execute storage program code and data Deng.Communication module can be used for supporting the communication of electronic equipment and other equipment.
Wherein, processing module can be processor or controller.It, which may be implemented or executes, combines present disclosure Described various illustrative logic blocks, module and circuit.Processor is also possible to realize the combination of computing function, such as It is combined comprising one or more microprocessors, Digital Signal Processing (digital signal processing, DSP) and micro- place Manage the combination etc. of device.Memory module can be memory.Communication module is specifically as follows radio circuit, Bluetooth chip, Wi-Fi The equipment that chip etc. is interacted with other electronic equipments.
In one embodiment, when processing module is processor, and memory module is memory, involved in the present embodiment Electronic equipment can be the equipment with structure shown in Fig. 1.
The present embodiment also provides a kind of computer storage medium, is stored with computer instruction in the computer storage medium, When the computer instruction is run on an electronic device, so that electronic equipment executes above-mentioned correlation technique step and realizes above-mentioned implementation The method of addition mail contact in example.
The present embodiment additionally provides a kind of computer program product, when the computer program product is run on computers When, so that computer executes above-mentioned correlation step, the method to realize the addition mail contact in above-described embodiment.
In addition, embodiments herein also provides a kind of device, this device specifically can be chip, component or module, The device may include connected processor and memory;Wherein, memory is for storing computer executed instructions, when device is run When, the computer executed instructions of memory storage can be performed in processor, so that chip executes adding in above-mentioned each method embodiment Add the method for mail contact.
Wherein, electronic equipment provided in this embodiment, computer storage medium, computer program product or chip are used to Execute corresponding method presented above, therefore, attainable beneficial effect can refer to it is presented above corresponding Beneficial effect in method, details are not described herein again.
By the description of embodiment of above, those skilled in the art is it can be appreciated that be the convenience and letter of description It is clean, only the example of the division of the above functional modules, in practical application, it can according to need and divide above-mentioned function With being completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete above description All or part of function.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another device, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component can be a physical unit or multiple physical units, it can and it is in one place, or may be distributed over multiple Different places.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that an equipment (can be monolithic Machine, chip etc.) or processor (processor) execute each embodiment method of the application all or part of the steps.And it is aforementioned Storage medium include: USB flash disk, mobile hard disk, read-only memory (read only memory, ROM), random access memory The various media that can store program code such as (random access memory, RAM), magnetic or disk.
The above content, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be subject to the protection scope in claims.

Claims (16)

1. a kind of method for adding mail contact, the method are applied to electronic equipment, which is characterized in that the method packet It includes:
The first contact person in the first application and the first contact information associated with first contact person are obtained, it is described First application is the application in the electronic equipment in addition to mail applications;
Meet preset condition in first contact information, and preserves the one of first contact person in first application When a or multiple email addresses, the first mailbox for one or more of email addresses being automatically added in mail applications In address set.
2. the method according to claim 1, wherein first application is phone or contact application, institute The communicating data that the first contact information is first contact person saved in the phone or contact application is stated, it is described Preset condition is to be more than or equal to first frequency threshold value with the voice frequency of first contact person in first time period.
3. the method according to claim 1, wherein first application is phone or contact application, institute State the short message data that the first contact information is first contact person saved in the phone or contact application, institute Stating preset condition is to be more than or equal to the second frequency with the frequency of the first contact person intercommunication short message in second time period Rate threshold value.
4. the method according to claim 1, wherein it is described first application be contact application, described first Be people's information be first contact person that is saved in the contact application whether be collection contact person information, it is described pre- If condition is the contact person that first connection is artificially collected.
5. method according to claim 1 to 4, which is characterized in that described that first contact person is corresponding One or more email address be automatically added in the first email address set in mail applications before, the method is also Include:
Determine one or more of email addresses not in the first email address set.
6. the method according to any one of claims 1 to 5, which is characterized in that first contact person corresponds to multiple postals Case address, one or more corresponding email address of first contact person is automatically added in mail applications In one email address set, comprising:
The first email address is determined from the multiple email address;
First email address is automatically added in mail applications in the first email address set.
7. method according to any one of claim 1 to 7, which is characterized in that the first email address collection is combined into postal Honored guest VIP mail contact in part application.
8. a kind of electronic equipment characterized by comprising one or more processors;One or more memories;Multiple applications Program;And one or more programs, wherein one or more of programs are stored in one or more of memories, When one or more of programs are executed by one or more of processors, so that the electronic equipment executes following step It is rapid:
The first contact person in the first application and the first contact information associated with first contact person are obtained, it is described First application is the application in the electronic equipment in addition to mail applications;
Meet preset condition in first contact information, and preserves the one of first contact person in first application When a or multiple email addresses, the first mailbox for one or more of email addresses being automatically added in mail applications In address set.
9. electronic equipment according to claim 8, which is characterized in that first application is that phone or contact person answer With first contact information is the call number of first contact person saved in the phone or contact application According to the preset condition is to be more than or equal to the first frequency with the voice frequency of first contact person in first time period Rate threshold value.
10. electronic equipment according to claim 8, which is characterized in that first application is that phone or contact person answer With first contact information is the short message number of first contact person saved in the phone or contact application According to the preset condition is to be more than or equal in second time period with the frequency of the first contact person intercommunication short message Second frequency threshold value.
11. electronic equipment according to claim 8, which is characterized in that first application is contact application, described the One contact information is whether first contact person saved in the contact application is the contact person collected, described default Condition is the contact person that first connection is artificially collected.
12. the electronic equipment according to any one of claim 8 to 11, which is characterized in that when one or more of When program is executed by the processor, so that the electronic equipment executes following steps:
One or more corresponding email address of first contact person is being automatically added to the first postal in mail applications Before in case address set, determine one or more of email addresses not in the first email address set.
13. the electronic equipment according to any one of claim 8 to 12, which is characterized in that when one or more of When program is executed by the processor, so that the electronic equipment executes following steps:
The first email address is determined from the multiple email address;
First email address is automatically added in mail applications in the first email address set.
14. the electronic equipment according to any one of claim 8 to 13, which is characterized in that the first email address collection It is combined into VIP mail contact in mail applications.
15. a kind of computer storage medium, which is characterized in that including computer instruction, when the computer instruction is set in electronics When standby upper operation, so that the electronic equipment executes the side such as addition mail contact of any of claims 1-7 Method.
16. a kind of computer program product, which is characterized in that when the computer program product is run on computers, make It obtains the computer and executes the method such as addition mail contact of any of claims 1-7.
CN201910346380.7A 2019-04-26 2019-04-26 Method for adding mail contact and electronic equipment Active CN110191223B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910346380.7A CN110191223B (en) 2019-04-26 2019-04-26 Method for adding mail contact and electronic equipment
PCT/CN2020/085346 WO2020216144A1 (en) 2019-04-26 2020-04-17 Method for adding mail contact, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910346380.7A CN110191223B (en) 2019-04-26 2019-04-26 Method for adding mail contact and electronic equipment

Publications (2)

Publication Number Publication Date
CN110191223A true CN110191223A (en) 2019-08-30
CN110191223B CN110191223B (en) 2021-07-16

Family

ID=67715130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910346380.7A Active CN110191223B (en) 2019-04-26 2019-04-26 Method for adding mail contact and electronic equipment

Country Status (2)

Country Link
CN (1) CN110191223B (en)
WO (1) WO2020216144A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020216144A1 (en) * 2019-04-26 2020-10-29 华为技术有限公司 Method for adding mail contact, and electronic device

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155018A (en) * 2006-09-28 2008-04-02 华为技术有限公司 Data synchronization method and its implementing device and system
CN101882264A (en) * 2009-11-27 2010-11-10 镇立新 Method for adding contacts
CN101916399A (en) * 2010-07-27 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for adding recipients
CN102611644A (en) * 2012-03-27 2012-07-25 上海量明科技发展有限公司 Method and client terminal for collecting instant communication messages
WO2012100409A1 (en) * 2011-01-25 2012-08-02 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for adding recipient information
CN103279858A (en) * 2013-04-23 2013-09-04 东莞宇龙通信科技有限公司 Method and terminal for adding addressee
CN103365892A (en) * 2012-03-31 2013-10-23 百度在线网络技术(北京)有限公司 Method and device for processing multiple contact objects
CN103986842A (en) * 2014-05-30 2014-08-13 深圳市中兴移动通信有限公司 Contact person data collecting method and device
CN104853022A (en) * 2015-04-23 2015-08-19 深圳市金立通信设备有限公司 Processing method for information of contact person
CN105100445A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Message reminding method and device, and terminal
CN105763425A (en) * 2016-03-28 2016-07-13 珠海格力电器股份有限公司 Mailbox processing method and device
CN106713576A (en) * 2015-07-23 2017-05-24 腾讯科技(深圳)有限公司 Method for distinguishing multiple numbers in contact person information and device thereof
US20170250969A1 (en) * 2016-02-29 2017-08-31 Dropbox, Inc. Techniques for invite enforcement and domain capture
CN107135141A (en) * 2017-03-13 2017-09-05 网易(杭州)网络有限公司 For the method and apparatus for the sender for setting Email automatically
CN108055404A (en) * 2017-12-25 2018-05-18 广东欧珀移动通信有限公司 Reminder announced method, apparatus, terminal and storage medium
CN108156303A (en) * 2017-12-25 2018-06-12 广东欧珀移动通信有限公司 Reminder announced method, apparatus, terminal and storage medium
CN108512992A (en) * 2018-02-28 2018-09-07 维沃移动通信有限公司 A kind of information processing method and device
CN109005275A (en) * 2018-08-31 2018-12-14 阿里巴巴集团控股有限公司 A kind of managing contact information system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932533B (en) * 2012-10-15 2014-08-06 广东欧珀移动通信有限公司 Method and device for third party application program to call contacts
CN103220389A (en) * 2013-03-25 2013-07-24 东莞宇龙通信科技有限公司 Intelligent interaction method and intelligent interaction system of communication application and contact list
CN110191223B (en) * 2019-04-26 2021-07-16 华为技术有限公司 Method for adding mail contact and electronic equipment

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155018A (en) * 2006-09-28 2008-04-02 华为技术有限公司 Data synchronization method and its implementing device and system
CN101882264A (en) * 2009-11-27 2010-11-10 镇立新 Method for adding contacts
CN101916399A (en) * 2010-07-27 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for adding recipients
WO2012100409A1 (en) * 2011-01-25 2012-08-02 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for adding recipient information
CN102611644A (en) * 2012-03-27 2012-07-25 上海量明科技发展有限公司 Method and client terminal for collecting instant communication messages
CN103365892A (en) * 2012-03-31 2013-10-23 百度在线网络技术(北京)有限公司 Method and device for processing multiple contact objects
CN103279858A (en) * 2013-04-23 2013-09-04 东莞宇龙通信科技有限公司 Method and terminal for adding addressee
CN103986842A (en) * 2014-05-30 2014-08-13 深圳市中兴移动通信有限公司 Contact person data collecting method and device
CN104853022A (en) * 2015-04-23 2015-08-19 深圳市金立通信设备有限公司 Processing method for information of contact person
CN105100445A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Message reminding method and device, and terminal
CN106713576A (en) * 2015-07-23 2017-05-24 腾讯科技(深圳)有限公司 Method for distinguishing multiple numbers in contact person information and device thereof
US20170250969A1 (en) * 2016-02-29 2017-08-31 Dropbox, Inc. Techniques for invite enforcement and domain capture
CN105763425A (en) * 2016-03-28 2016-07-13 珠海格力电器股份有限公司 Mailbox processing method and device
CN107135141A (en) * 2017-03-13 2017-09-05 网易(杭州)网络有限公司 For the method and apparatus for the sender for setting Email automatically
CN108055404A (en) * 2017-12-25 2018-05-18 广东欧珀移动通信有限公司 Reminder announced method, apparatus, terminal and storage medium
CN108156303A (en) * 2017-12-25 2018-06-12 广东欧珀移动通信有限公司 Reminder announced method, apparatus, terminal and storage medium
CN108512992A (en) * 2018-02-28 2018-09-07 维沃移动通信有限公司 A kind of information processing method and device
CN109005275A (en) * 2018-08-31 2018-12-14 阿里巴巴集团控股有限公司 A kind of managing contact information system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020216144A1 (en) * 2019-04-26 2020-10-29 华为技术有限公司 Method for adding mail contact, and electronic device

Also Published As

Publication number Publication date
CN110191223B (en) 2021-07-16
WO2020216144A1 (en) 2020-10-29

Similar Documents

Publication Publication Date Title
CN109271081B (en) Roll the method and electronic equipment of screenshotss
CN110381282A (en) A kind of display methods and relevant apparatus of the video calling applied to electronic equipment
CN109584879A (en) A kind of sound control method and electronic equipment
CN110231905A (en) A kind of screenshotss method and electronic equipment
CN110114747A (en) A kind of notifier processes method and electronic equipment
CN110138959A (en) Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN110111787A (en) A kind of semanteme analytic method and server
CN110489215A (en) The treating method and apparatus of scene is waited in a kind of application program
CN109889630A (en) Display methods and relevant apparatus
CN110286976A (en) Interface display method, device, terminal and storage medium
WO2020207326A1 (en) Dialogue message sending method and electronic device
CN112397062A (en) Voice interaction method, device, terminal and storage medium
EP3826280B1 (en) Method for generating speech control command, and terminal
CN110401767B (en) Information processing method and apparatus
EP4187891A1 (en) Method and system for replying to message, and electronic device
CN109981885A (en) The method and electronic equipment of video are presented in incoming call for a kind of electronic equipment
CN109976626A (en) A kind of switching method and electronic equipment of application icon
CN110032307A (en) A kind of moving method and electronic equipment of application icon
CN109274828A (en) A kind of method, control method and electronic equipment generating screenshot
CN110087012A (en) A kind of control method and electronic equipment of camera
CN110198362A (en) A kind of method and system for adding smart home device in contact person
CN113170019B (en) Incoming call display method and terminal equipment based on application
CN110471604A (en) A kind of more application switching methods and relevant apparatus
CN109857401A (en) Display methods, graphic user interface and the electronic equipment of electronic equipment
CN110096662A (en) Webpage display method and related device

Legal Events

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