CN114079642A - Mail processing method and electronic equipment - Google Patents

Mail processing method and electronic equipment Download PDF

Info

Publication number
CN114079642A
CN114079642A CN202010801055.8A CN202010801055A CN114079642A CN 114079642 A CN114079642 A CN 114079642A CN 202010801055 A CN202010801055 A CN 202010801055A CN 114079642 A CN114079642 A CN 114079642A
Authority
CN
China
Prior art keywords
mail
sender
sender information
electronic device
acquiring
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
CN202010801055.8A
Other languages
Chinese (zh)
Other versions
CN114079642B (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 CN202010801055.8A priority Critical patent/CN114079642B/en
Priority to PCT/CN2021/110318 priority patent/WO2022033355A1/en
Publication of CN114079642A publication Critical patent/CN114079642A/en
Application granted granted Critical
Publication of CN114079642B publication Critical patent/CN114079642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Abstract

The embodiment of the application discloses a mail processing method and related equipment. The method comprises the following steps: when detecting that electronic equipment receives a new mail from a server, acquiring mail data of the new mail from the server, wherein the mail data comprises sender information and mail priority; determining the reading state of the historical mail of the sender corresponding to the sender information; and acquiring the text content of the new mail from the server according to at least one item of the sender information, the mail priority and the reading state of the historical mail. By adopting the embodiment of the application, the flow is saved by dynamically adjusting the size of the received mails.

Description

Mail processing method and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for processing an email and an electronic device.
Background
When the current electronic device receives a new mail, the mail is generally received by a preset threshold (fixed mail receiving size). If the preset threshold value is too large, all the content can be collected for some mails which do not need to be read, so that the power consumption and the traffic load are increased. If the preset threshold value is too small, when the user needs to read all the contents of the received new mail, the part which is not downloaded before is reloaded from the server when the user opens the new mail, so that the mail processing efficiency is low, and the reading experience of the user is influenced.
Disclosure of Invention
The embodiment of the application provides a mail processing method and electronic equipment, which can save power consumption and flow and improve mail processing efficiency.
In a first aspect, an embodiment of the present application provides a mail processing method, including: when detecting that the electronic equipment receives a new mail from the server, acquiring mail data of the new mail from the server, wherein the mail data comprises sender information and mail priority; determining the reading state of the historical mail of the sender corresponding to the sender information; and acquiring the text content of the new mail from the server according to at least one item of the sender information, the mail priority and the reading state of the historical mail. The size of the received mail is dynamically adjusted according to the information of the sender, the priority of the mail and the reading state of the historical mail of the sender, and the text content of the new mail is received according to the adjusted size of the received mail. The method and the system avoid the situation that some important mails need to be reloaded when the user opens the mails, and improve the mail processing efficiency. Meanwhile, the method avoids loading some unimportant mails completely, and saves flow and power consumption.
In one possible design, when the mail priority is the highest priority, the full body content of the new mail is obtained from the server. The method and the device receive the text content of the new mail by adjusting the mail receiving size according to the mail priority, avoid reloading the text content of some important mails when a user opens the mails, and improve the mail processing efficiency.
In another possible design, when a sender corresponding to the sender information is not inquired from the local sender information, the text content of the new mail is acquired from the server according to a preset threshold value. By determining that the sender of the received new mail is the new sender and receiving the text content of the new mail according to the fixed size of the received mail, the missing of the new mail can be avoided.
In another possible design, when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is queried from the local sender information; and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to the preset receiving size.
In another possible design, when the mail priority is not the highest priority, a determination is made whether the sender corresponding to the sender information is queried from the local sender information. And when the sender corresponding to the sender information is inquired from the local sender information, acquiring the text content of the new mail from the server according to the reading state of the historical mail. And dynamically adjusting the size of the received mail to receive the text content of the new mail according to the reading state of the historical mail of the sender.
In another possible design, when the reading state of the history mail is that the history mail of the sender is read completely, the whole body content of the new mail is obtained from the server. By determining that the mail sent by the sender needs to load all the text content when the history mail of the sender is read completely, important mails are prevented from being reloaded when a user opens the mails, and the mail processing efficiency is improved.
In another possible design, when the reading state of the historical mail is that the historical mail part of the sender is read, the reading proportion of all the historical mails of the sender in a preset time period is determined; and acquiring the text content of the new mail from the server according to the reading proportion. The size of the received mail is adjusted by determining that the historical mail part of the sender is read, and the text content of the new mail is received according to the adjusted size.
In another possible design, acquiring a first number of read history mails, a second number of unread history mails and a reading state of a history mail which is received last time in all history mails; and determining the reading proportion according to the first quantity, the second quantity and the reading state.
In a second aspect, the present invention provides an electronic device configured to implement the method and the functions performed by the first device in the first aspect, where the electronic device is implemented by hardware/software, and the hardware/software includes modules corresponding to the functions.
In a third aspect, an apparatus is provided in an embodiment of the present application, where the apparatus is applied to an electronic device, and the apparatus may be an electronic device or a chip in the electronic device. The device comprises: a processor, a memory and a communication bus, wherein the communication bus is used for realizing the connection communication between the processor and the memory, and the processor executes the program stored in the memory for realizing the steps of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein instructions, which when executed on a computer, cause the computer to perform the method of the above-described aspects.
In a fifth aspect, the present application provides a computer program comprising instructions which, when run on a computer, cause the computer to perform the method of the above aspects.
In a sixth aspect, an embodiment of the present application provides a chip, which includes a processor, configured to call and execute instructions stored in a memory, so that a communication device in which the chip is installed performs the method of any one of the above aspects.
In a seventh aspect, an embodiment of the present application provides another chip, including: input interface, output interface and treater. Optionally, the apparatus further comprises a memory, the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is configured to execute codes in the memory, and when the codes are executed, the processor is configured to execute the method in any aspect.
In an eighth aspect, an embodiment of the present application provides a communication system, including a first device and a server, where the first device may perform the method in any one of the above aspects, and the server may be configured to receive a mail sent by an electronic device or send a mail to the electronic device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
Fig. 1(a) is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1(B) is a block diagram of a software structure of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a mail processing method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating another mail processing method according to an embodiment of the present application;
FIG. 4(A) is a schematic diagram of a UI interface provided by an embodiment of the application;
FIG. 4(B) is a schematic diagram of another UI interface provided by the embodiments of the application;
FIG. 4(C) is a schematic diagram of another UI interface provided by the embodiments of the application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings.
Fig. 1(a) shows a schematic structural diagram of the electronic apparatus 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the speed of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but have different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100.
The air pressure sensor 180C is used to measure air pressure.
The magnetic sensor 180D includes a hall sensor.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode.
The ambient light sensor 180L is used to sense the ambient light level.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine a touch event type. Visual output related to touch operations may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects when it is applied to touch operations in different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The electronic device related in the embodiment of the present application may be a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a virtual reality device, and the like.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 1(B) is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 1(B), the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 1(B), the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, an event manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The event manager can be used for judging whether the touch coordinate of the touch operation of the user is in the first area or not under the condition that the first control mode is started. If so, reporting the touch operation event to an application program layer; if not, no processing is carried out on the touch operation.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing. The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
As shown in fig. 2, fig. 2 is a schematic flowchart of a mail processing method according to an embodiment of the present application. The steps in the embodiments of the present application include:
s201, when detecting that the electronic device receives a new mail from a server, obtaining mail data of the new mail from the server, wherein the mail data comprises sender information and mail priority.
Specifically, the user may click on the option "collect" on the mail application, send a request message to the server, or send a request message to the server at a preset time interval. The electronic device acquires mail data returned from the server, and then can acquire metadata from the mail data by a command (sync command), the metadata may include sender information and mail priority, and the like. The mail priority can be the importance of the mail, such as mail marked as important, generally important, or not important. The sender information may include the name of the sender, contact address or mail address, etc.
S202, determining the reading state of the history mail of the sender corresponding to the sender information.
Specifically, the corresponding sender may be first queried from the local sender information according to the sender information, then all history mails of the sender are searched, and the reading states of all history mails are determined. Alternatively, all the historical mails of the sender within a preset time period can be searched, and the reading states of all the historical mails within the preset time period can be determined. Wherein the preset time period may be 1 month or half year, etc. The read status may be read body content, unread body content, mail opened or mail unopened, and so on.
S203, according to at least one item of the sender information, the mail priority and the reading state of the historical mails, the text content of the new mail is obtained from the server. Specifically, the following options may be included:
optionally, the text content of the new email may be acquired from the server according to the email priority of the new email. Further, when the priority of the mail is the highest priority, all the text content of the new mail is obtained from the server, so that the text content is prevented from being reloaded when a user opens the new mail. For example, when the new mail is marked as important, the size of the receiving mail can be adjusted to a large value (e.g., 10M), so that the electronic device can obtain the entire body content of the new mail from the server. Alternatively, when the mail priority is the highest priority and is a general priority, the new mail may be charged in a fixed mail size (e.g., 200KB size) set in advance.
Optionally, it may be determined whether a sender corresponding to the sender information is queried from the local sender information, and when a sender corresponding to the sender information is not queried from the local sender information, the text content of the new mail may be obtained from the server according to a preset threshold. The preset threshold may be a preset fixed receiving mail size, which may be 100 KB. For example, if the user of the electronic device has never received any mail from the sender of the new mail before, the new mail can be received in a fixed mail size (e.g., 100KB size) set in advance without considering whether the entire body content of the new mail can be received.
Optionally, the text content of the new mail may be acquired from the server according to the reading state of the historical mail. The method comprises the following conditions:
the first alternative is: and when the reading state of the history mail is that the history mail of the sender is read completely, acquiring all the text content of the new mail from the server. For example, when all the history mails of a certain sender are read by the receiver, the size of the collected mail can be adjusted to a large value (such as 10M) for the sender, so that the electronic device can obtain all the text contents of the new mail from the server, thereby avoiding reloading the text contents when the user opens the new mail.
The second alternative is: when the reading state of the history mails is that the history mail part of the sender is read, acquiring a first number of read history mails, a second number of unread history mails and the reading state of the last received history mails in all the history mails of the sender within a preset time period; determining the reading proportion (also called the mail receiving size) of all the historical mails of the sender in a preset time period according to the first quantity, the second quantity and the reading state; and acquiring the text content of the new mail from the server according to the reading proportion.
Further, if the historical mail received last time is already read, the reading ratio calculation formula is as follows: m ((read history mail/total history mail) × K1+ K2). If the historical mail received last time is not read, the reading proportion calculation formula is as follows: m (history mail read/history mail all). Where M is a preset receiving mail size, and K1 and K2 are weighting coefficients.
For example, a recipient has collected 10 mails from a sender within half a month and has read 6 mails, of which the last mail received has also been read, while the other 4 mails have not been read. The size of the mail to be received may be calculated according to the following formula: 200K (6/10(10 pieces of mail have been read 6 pieces of mail) 0.5+0.5 (one piece of mail received last time has been read)) -160K, where K1 and K2 are both 0.5, but may have other values. Finally, the receiving mail size may be set to 160K, and the body content of the new mail may be received from the server in accordance with the receiving mail size 160K. Alternatively, if a mail piece received last time is not read, the size of the mail to be received can be calculated according to the following formula: 200K 6/10(10 mails read 6 mails) is 120K. Finally, the receiving mail size may be set to 120K, and the body content of the new mail may be received from the server in accordance with the receiving mail size 120K.
A third alternative: when the reading state of the history mail is that all the history mails of the sender are not read, the text content of the new mail can be acquired from the server according to a preset threshold, wherein the preset threshold can be a preset fixed receiving mail size which can be 100 KB. The size of the receiving mail can be set to 0, which means that only the mail header of the new mail sent by the sender is received later, and the text content of the mail of the sender is not received any more.
Optionally, it may be determined whether the mail priority of the new mail is the highest priority, and when the mail priority is not the highest priority, then it is determined whether a sender corresponding to the sender information is queried from the local sender information; and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to a preset receiving size.
For example, it is first determined whether the new mail is marked as important, if the new mail is marked as not important, it is determined whether a sender corresponding to sender information exists in a sender history list of the mail application software, and if the sender corresponding to sender information does not exist in the sender history list, it is determined that the receiver never receives the mail of the sender, and the new mail can be collected according to a preset fixed mail size (for example, 200KB size) without considering whether the entire body content of the new mail can be collected.
Optionally, it may be determined whether the mail priority of the new mail is the highest priority, and when the mail priority is not the highest priority, it is determined whether a sender corresponding to the sender information is queried from local sender information; and when a sender corresponding to the sender information is inquired from the local sender information, acquiring the text content of the new mail from the server according to the reading state of the historical mail.
For example, it is first determined whether the new mail is marked as important, if the new mail is marked as not important, it is determined whether a sender corresponding to the sender information exists in a sender history list of the mail application software, and if the sender corresponding to the sender information exists in the sender history list, the read status of all history mails of the sender within a preset time period is acquired. As another example, if the receiver receives 10 mails from a sender within half a month and has read 6 mails, wherein the last received mail is also read and the other 4 mails are not read, the formula for calculating the size of the received mail is as follows: 200K (6/10(10 mails read 6 mails) 0.5+0.5 (a mail received last time has been read)) -160K. Therefore, it is possible to set the receiving mail size to 160K and receive a new mail from the server in accordance with the receiving mail size 160K.
Optionally, it may also be determined whether a sender corresponding to the sender information can be queried from the local sender information, if a sender corresponding to the sender information can be queried from the local sender information, then it is determined whether the mail priority of the new mail is the highest priority, and if the mail priority is the highest priority, then the entire text content of the new mail is obtained from the server. And if the mail priority is not the highest priority, acquiring the text content of the new mail from the server according to the reading state of the historical mail. Similar to the above, the description is omitted here.
It should be noted that, by judging the sender information, the mail priority and the reading status of the history mail, the corresponding size of the received mail is set, so that the new mail of the sender is received according to the set size of the received mail. And when waiting for receiving a new mail next time, updating the state of the mail read by the user or the information of the local sender, and recalculating the size of the received mail. In addition, one or more items of sender information, mail priority and reading state of the historical mails can be judged, and the judgment sequence is not in sequence.
In the embodiment of the application, the size of the received mail is dynamically adjusted through the sender information, the mail priority and the reading state of the historical mail of the sender, and the new mail is received according to the adjusted size of the received mail. The method and the system avoid the situation that some important mails need to be reloaded when the user opens the mails, and improve the mail processing efficiency. Meanwhile, the method avoids loading some unimportant mails completely, and saves flow and power consumption.
As shown in fig. 3, fig. 3 is a schematic flow chart of another mail processing method provided in the embodiment of the present application. The steps in the embodiments of the present application include:
s301, when detecting that the electronic equipment receives a new mail from the server, acquiring mail data from the server.
S302, obtaining metadata from the mail data.
S303, acquiring the sender information and the mail priority of the new mail from the metadata.
S304, determining whether the mail priority of the new mail is the highest priority. If yes, S305 is performed. If not, go to S306.
S305, acquiring all the text contents of the new mail.
S306, determining whether the sender corresponding to the sender information is a new sender, if so, executing S307. If not, go to S308.
S307, receiving the new mail according to the fixed mail receiving size.
S308, determining whether the history mail of the sender in the preset time period is completely read by the receiver. If yes, go to S309. If not, go to S310.
S309, acquiring all the text contents of the new mail.
S310, determining whether the historical mail of the sender is read by the receiver part in the preset time period, and if not, executing S311. If yes, go to S312.
S311, setting the size of the received mail to be 0, only receiving the mail head of the new mail sent by the sender, and not receiving the text content of the mail of the sender.
S312, it is determined whether the mail of the sender received last time has been read by the receiver. If so, S313 is executed, otherwise, S314 is executed.
S313, the mail receiving size is set to M ((read history mail/all history mail) K1+ K2), and the text content of the new mail is received according to M ((read history mail/all history mail) K1+ K2).
S314, setting the size of the received mail as M (the read history mail/all history mails), and receiving the text content of the new mail according to M (the read history mail/all history mails).
For specific implementation in the embodiment of the present application, reference may be made to the above-described embodiment, which is not described in detail herein.
Several application scenarios related to the embodiments of the present application and User Interface (UI) embodiments in each application scenario are described below.
Under the mobile service data, aiming at the logged Email account, the intelligent acquisition mail size can be opened. The method comprises the following steps: as shown in fig. 4(a), the user may open the "inbox" interface of the mail application software and select the "set up" option. As shown in fig. 4(B), the user jumps from the "inbox" interface to a "setup" interface, where the "setup" interface includes multiple accounts and may also include an "add account" option, where the user may select one of the accounts for setup, e.g., select "account 1". As shown in fig. 4(C), jumping to the setting interface of "account 1", the user may open the "smart collect mail size" option. Thus, the size of the received mail can be adjusted according to the specific mode of the above embodiment, and the new mail can be received according to the adjusted size of the received mail.
As shown in fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include: at least one processor 501, at least one communication interface 502, at least one memory 503, and at least one communication bus 504.
The processor 501 may be, for example, a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a digital signal processor and a microprocessor, or the like. The communication bus 504 may be a peripheral component interconnect standard PCI bus or an extended industry standard architecture EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus. A communication bus 504 is used to enable connection communications between these components. The communication interface 502 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 503 may include a volatile memory, such as a nonvolatile dynamic random access memory (NVRAM), a phase change random access memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and the like, and may further include a nonvolatile memory, such as at least one magnetic disk memory device, an electrically erasable programmable read-only memory (EEPROM), a flash memory device, such as a NOR flash memory (NOR flash memory) or a NAND flash memory (EEPROM), and a semiconductor device, such as a Solid State Disk (SSD). The memory 503 may optionally be at least one storage device located remotely from the processor 501. Optionally, a set of program codes may also be stored in the memory 503. The processor 501 may optionally also execute programs stored in the memory 503.
When detecting that electronic equipment receives a new mail from a server, acquiring mail data of the new mail from the server, wherein the mail data comprises sender information and mail priority;
determining the reading state of the historical mail of the sender corresponding to the sender information;
and acquiring the text content of the new mail from the server according to at least one item of the sender information, the mail priority and the reading state of the historical mail.
Optionally, the processor 501 is further configured to perform the following operation steps:
and when the mail priority is the highest priority, acquiring all text contents of the new mail from the server.
Optionally, the processor 501 is further configured to perform the following operation steps:
and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to a preset threshold value.
Optionally, the processor 501 is further configured to perform the following operation steps:
when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from local sender information;
and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to a preset receiving size.
Optionally, the processor 501 is further configured to perform the following operation steps:
when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from local sender information;
and when a sender corresponding to the sender information is inquired from the local sender information, acquiring the text content of the new mail from the server according to the reading state of the historical mail.
Optionally, the processor 501 is further configured to perform the following operation steps:
and when the reading state of the history mail is that the history mail of the sender is read completely, acquiring all the text content of the new mail from the server.
Optionally, the processor 501 is further configured to perform the following operation steps:
when the reading state of the historical mail is that the historical mail part of the sender is read, determining the reading proportion of all the historical mails of the sender in a preset time period;
and acquiring the text content of the new mail from the server according to the reading proportion.
Optionally, the processor 501 is further configured to perform the following operation steps:
acquiring a first number of read history mails, a second number of unread history mails and a reading state of a history mail which is received last time in all the history mails;
and determining the reading proportion according to the first number, the second number and the reading state.
Further, the processor may cooperate with the memory and the communication interface to perform the operations of the electronic device in the embodiments of the above application.
The electronic device related to the application can receive the mail sent by the server or send the mail to the server.
The embodiment of the present application further provides a chip system, which includes a processor, configured to support an electronic device to implement the functions involved in any of the foregoing embodiments, such as generating or processing sender information, mail priority, and historical mail of a sender involved in the foregoing method. In one possible design, the system-on-chip may further include a memory for program instructions and data necessary for the electronic device. The chip system may be constituted by a chip, or may include a chip and other discrete devices.
The embodiments of the present application further provide a processor, coupled to the memory, for performing any method and function related to the electronic device in any of the embodiments.
Embodiments of the present application further provide a computer program containing instructions, which when executed on a computer, cause the computer to perform any of the methods and functions related to the electronic device in any of the above embodiments.
The embodiments of the present application further provide an apparatus for performing any method and function related to the electronic device in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above-mentioned embodiments further explain the objects, technical solutions and advantages of the present application in detail. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (18)

1. A method for processing mail, comprising:
when detecting that electronic equipment receives a new mail from a server, acquiring mail data of the new mail from the server, wherein the mail data comprises sender information and mail priority;
determining the reading state of the historical mail of the sender corresponding to the sender information;
and acquiring the text content of the new mail from the server according to at least one item of the sender information, the mail priority and the reading state of the historical mail.
2. The method of claim 1 wherein said obtaining the body content of said new mail from said server based on at least one of said sender information, said mail priority, and said read status of said historical mail comprises:
and when the mail priority is the highest priority, acquiring all text contents of the new mail from the server.
3. The method of claim 1 wherein said obtaining the body content of said new mail from said server based on at least one of said sender information, said mail priority, and said read status of said historical mail comprises:
and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to a preset threshold value.
4. The method of claim 1 wherein said obtaining the body content of said new mail from said server based on at least one of said sender information, said mail priority, and said read status of said historical mail comprises:
when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from local sender information;
and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to a preset receiving size.
5. The method of claim 1 wherein said obtaining the body content of said new mail from said server based on at least one of said sender information, said mail priority, and said read status of said historical mail comprises:
when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from local sender information;
and when a sender corresponding to the sender information is inquired from the local sender information, acquiring the text content of the new mail from the server according to the reading state of the historical mail.
6. The method of claim 5, wherein the obtaining the body content of the new mail from the server according to the reading status of the historical mail comprises:
and when the reading state of the history mail is that the history mail of the sender is read completely, acquiring all the text content of the new mail from the server.
7. The method of claim 5, wherein the obtaining the body content of the new mail from the server according to the reading status of the historical mail comprises:
when the reading state of the historical mail is that the historical mail part of the sender is read, determining the reading proportion of all the historical mails of the sender in a preset time period;
and acquiring the text content of the new mail from the server according to the reading proportion.
8. The method of claim 7 wherein said determining a reading rate of all of said historical mail for said sender within a preset time period comprises:
acquiring a first number of read history mails, a second number of unread history mails and a reading state of a history mail which is received last time in all the history mails;
and determining the reading proportion according to the first number, the second number and the reading state.
9. An electronic device, comprising one or more processors, memory, a display screen, and a wireless communication module; the memory and the wireless communication module are coupled with the one or more processors, the memory to store computer program code, the computer program code comprising computer instructions, the one or more processors to execute the computer instructions to cause the electronic device to perform:
when detecting that electronic equipment receives a new mail from a server, acquiring mail data of the new mail from the server, wherein the mail data comprises sender information and mail priority;
determining the reading state of the historical mail of the sender corresponding to the sender information;
and acquiring the text content of the new mail from the server according to at least one item of the sender information, the mail priority and the reading state of the historical mail.
10. The electronic device of claim 9, wherein the electronic device further performs:
and when the mail priority is the highest priority, acquiring all text contents of the new mail from the server.
11. The electronic device of claim 9, wherein the electronic device further performs:
and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to a preset threshold value.
12. The electronic device of claim 9, wherein the electronic device further performs:
when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from local sender information;
and when the sender corresponding to the sender information is not inquired from the local sender information, acquiring the text content of the new mail from the server according to a preset receiving size.
13. The electronic device of claim 9, wherein the electronic device further performs:
when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from local sender information;
and when a sender corresponding to the sender information is inquired from the local sender information, acquiring the text content of the new mail from the server according to the reading state of the historical mail.
14. The electronic device of claim 13, wherein the electronic device further performs:
and when the reading state of the history mail is that the history mail of the sender is read completely, acquiring all the text content of the new mail from the server.
15. The electronic device of claim 13, wherein the electronic device further performs:
when the reading state of the historical mail is that the historical mail part of the sender is read, determining the reading proportion of all the historical mails of the sender in a preset time period;
and acquiring the text content of the new mail from the server according to the reading proportion.
16. The electronic device of claim 15, wherein the electronic device further performs:
acquiring a first number of read history mails, a second number of unread history mails and a reading state of a history mail which is received last time in all the history mails;
and determining the reading proportion according to the first number, the second number and the reading state.
17. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-8.
18. A chip comprising a processor for retrieving from a memory and executing instructions stored in the memory to cause a communication device in which the chip is installed to perform the method of any of claims 1-8.
CN202010801055.8A 2020-08-11 2020-08-11 Mail processing method and electronic equipment Active CN114079642B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010801055.8A CN114079642B (en) 2020-08-11 2020-08-11 Mail processing method and electronic equipment
PCT/CN2021/110318 WO2022033355A1 (en) 2020-08-11 2021-08-03 Mail processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010801055.8A CN114079642B (en) 2020-08-11 2020-08-11 Mail processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114079642A true CN114079642A (en) 2022-02-22
CN114079642B CN114079642B (en) 2023-05-23

Family

ID=80247674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010801055.8A Active CN114079642B (en) 2020-08-11 2020-08-11 Mail processing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN114079642B (en)
WO (1) WO2022033355A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589394A (en) * 2022-10-28 2023-01-10 北京字跳网络技术有限公司 Data processing method and device based on mailbox

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1083361A (en) * 1996-09-06 1998-03-31 Brother Ind Ltd Electronic mail system
JP2004252635A (en) * 2003-02-19 2004-09-09 Nec Saitama Ltd Electronic mail device and significant mail notifying method
JP2006065454A (en) * 2004-08-25 2006-03-09 Kyocera Mita Corp E-mail sending apparatus and program
US20080005249A1 (en) * 2006-07-03 2008-01-03 Hart Matt E Method and apparatus for determining the importance of email messages
JP4247928B2 (en) * 1996-07-03 2009-04-02 京セラ株式会社 E-mail system
CN101667976A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Method for determining mail push mode, pushing method, pushing device and pushing system
CN101686535A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Mobile terminal and method for same to acquire new mails
CN102026117A (en) * 2010-12-15 2011-04-20 中兴通讯股份有限公司 E-mail delivery equipment, method and system
CN102316051A (en) * 2011-09-14 2012-01-11 中兴通讯股份有限公司 Method for offline browsing history mail and system thereof
CN105959201A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 E-mail downloading method and E-mail downloading device
CN106022703A (en) * 2016-05-05 2016-10-12 青岛海信移动通信技术股份有限公司 Electronic mail processing method and device
WO2017071216A1 (en) * 2015-10-27 2017-05-04 乐视控股(北京)有限公司 Mail body display method and apparatus for mobile terminal
CN107949043A (en) * 2017-11-07 2018-04-20 深圳天珑无线科技有限公司 Terminal receives optimization method, terminal and the readable storage medium storing program for executing of mail

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056652A (en) * 2002-07-23 2004-02-19 Murata Mach Ltd Mail server and e-mail reception terminal
TWI228890B (en) * 2003-07-08 2005-03-01 Inventec Multimedia & Telecom System and method to send/receive email by personal video record
CN102402741A (en) * 2010-09-17 2012-04-04 腾讯科技(深圳)有限公司 Letter management method and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4247928B2 (en) * 1996-07-03 2009-04-02 京セラ株式会社 E-mail system
JPH1083361A (en) * 1996-09-06 1998-03-31 Brother Ind Ltd Electronic mail system
JP2004252635A (en) * 2003-02-19 2004-09-09 Nec Saitama Ltd Electronic mail device and significant mail notifying method
JP2006065454A (en) * 2004-08-25 2006-03-09 Kyocera Mita Corp E-mail sending apparatus and program
US20080005249A1 (en) * 2006-07-03 2008-01-03 Hart Matt E Method and apparatus for determining the importance of email messages
CN101667976A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Method for determining mail push mode, pushing method, pushing device and pushing system
CN101686535A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Mobile terminal and method for same to acquire new mails
CN102026117A (en) * 2010-12-15 2011-04-20 中兴通讯股份有限公司 E-mail delivery equipment, method and system
CN102316051A (en) * 2011-09-14 2012-01-11 中兴通讯股份有限公司 Method for offline browsing history mail and system thereof
WO2017071216A1 (en) * 2015-10-27 2017-05-04 乐视控股(北京)有限公司 Mail body display method and apparatus for mobile terminal
CN105959201A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 E-mail downloading method and E-mail downloading device
CN106022703A (en) * 2016-05-05 2016-10-12 青岛海信移动通信技术股份有限公司 Electronic mail processing method and device
CN107949043A (en) * 2017-11-07 2018-04-20 深圳天珑无线科技有限公司 Terminal receives optimization method, terminal and the readable storage medium storing program for executing of mail

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李方亮;谭云兰;康永平;: "基于SMPT的电子邮件发送系统设计与实现" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589394A (en) * 2022-10-28 2023-01-10 北京字跳网络技术有限公司 Data processing method and device based on mailbox

Also Published As

Publication number Publication date
CN114079642B (en) 2023-05-23
WO2022033355A1 (en) 2022-02-17

Similar Documents

Publication Publication Date Title
CN113794800B (en) Voice control method and electronic equipment
CN110114747B (en) Notification processing method and electronic equipment
CN113704014B (en) Log acquisition system, method, electronic device and storage medium
CN110825469A (en) Voice assistant display method and device
CN110910872A (en) Voice interaction method and device
CN111543042A (en) Notification message processing method and electronic equipment
WO2021258814A1 (en) Video synthesis method and apparatus, electronic device, and storage medium
WO2021159746A1 (en) File sharing method and system, and related device
CN114650363A (en) Image display method and electronic equipment
CN111602108A (en) Application icon display method and terminal
CN113805797A (en) Network resource processing method, electronic device and computer readable storage medium
CN113641271A (en) Application window management method, terminal device and computer readable storage medium
CN114116085A (en) Notification message management method and electronic equipment
CN114995715B (en) Control method of floating ball and related device
CN114079642B (en) Mail processing method and electronic equipment
CN113407300B (en) Application false killing evaluation method and related equipment
CN113380240B (en) Voice interaction method and electronic equipment
CN114489469B (en) Data reading method, electronic equipment and storage medium
CN115437601A (en) Image sorting method, electronic device, program product, and medium
CN114828098B (en) Data transmission method and electronic equipment
CN114911400A (en) Method for sharing pictures and electronic equipment
CN113590346A (en) Method and electronic equipment for processing service request
CN113741911A (en) Function package loading method and device, server and electronic equipment
CN112286596A (en) Message display method and electronic equipment
CN114006969B (en) Window starting method and electronic equipment

Legal Events

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