CN114079642B - Mail processing method and electronic equipment - Google Patents

Mail processing method and electronic equipment Download PDF

Info

Publication number
CN114079642B
CN114079642B CN202010801055.8A CN202010801055A CN114079642B CN 114079642 B CN114079642 B CN 114079642B CN 202010801055 A CN202010801055 A CN 202010801055A CN 114079642 B CN114079642 B CN 114079642B
Authority
CN
China
Prior art keywords
mail
sender
sender information
historical
server
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.)
Active
Application number
CN202010801055.8A
Other languages
Chinese (zh)
Other versions
CN114079642A (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 the 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 of the sender information, the mail priority and the reading state of the historical mail. By adopting the embodiment of the application, the size of the received mail is dynamically adjusted, so that the flow is saved.

Description

Mail processing method and electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a mail processing method and an electronic device.
Background
When receiving new mail, the current electronic device generally performs mail receiving by means of a preset threshold (fixed size of the received mail). If the preset threshold 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 burden of the flow are increased. If the preset threshold is too small, when the user needs to read the whole content of the new mail, the part which is not downloaded before is reloaded from the server when the user opens the new mail, the mail processing efficiency is low, and the reading experience of the user is affected.
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 a reading state of a historical mail of a sender corresponding to sender information; and acquiring the text content of the new mail from the server according to at least one of the sender information, the mail priority and the reading state of the historical mail. And dynamically adjusting the size of the received mail according to the information of the sender, the mail priority and the reading state of the historical mail of the sender, and receiving the text content of the new mail according to the adjusted size of the received mail. Avoiding the need of reloading some important mails when users open, and improving the mail processing efficiency. Meanwhile, all the unnecessary mails are prevented from being loaded, and the flow and the power consumption are saved.
In one possible design, when the mail priority is highest, the entire body content of the new mail is obtained from the server. The text content of the new mail is received through the mail receiving size adjusted by the mail priority, so that some important mails are prevented from reloading the text content when the user opens the mail, and the mail processing efficiency is improved.
In another possible design, when no sender corresponding to the sender information is queried from the local sender information, the text content of the new mail is obtained from the server according to a preset threshold. By determining that the sender of the received new mail is the new sender, the text content of the new mail is received according to the fixed size of the received mail, so that missing of the new mail can be avoided.
In another possible design, when the mail priority is not the highest priority, determining whether the sender corresponding to the sender information is queried from the local sender information; when the sender corresponding to the sender information is not queried 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, it is determined whether the sender corresponding to the sender information is queried from the local sender information. When the sender corresponding to the sender information is queried from the local sender information, the text content of the new mail is acquired 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 status of the history mail is that the history mail of the sender is all read, all the text content of the new mail is obtained from the server. By determining that the mail sent by the sender needs to load all text contents when all the historical mails of the sender are read, the situation that some important mails need to be reloaded when a user opens is avoided, and 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, determining the reading proportion of all the historical mails of the sender within a preset time period; 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 received mail is adjusted.
In another possible design, a first number of read historical mails, a second number of unread historical mails, and a reading state of the last received historical mails in all the historical mails are obtained; and determining the reading proportion according to the first quantity, the second quantity and the reading state.
In a second aspect, an embodiment of the present application provides an electronic device configured to implement the method and the function performed by the first device in the first aspect, where the method and the function are implemented by hardware/software, and the hardware/software includes a module corresponding to the function.
In a third aspect, an embodiment of the present application provides an apparatus, where the apparatus is applied to an electronic device, and the apparatus may be the electronic device or a chip in the electronic device. The device comprises: the device comprises a processor, a memory and a communication bus, wherein the communication bus is used for realizing connection communication between the processor and the memory, and the processor executes a 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 instructions stored therein which, when run on a computer, cause the computer to perform the methods of the above 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, embodiments of the present application provide a chip including a processor configured to invoke from a memory and execute instructions stored in the memory, so that a communication device on which the chip is mounted performs the method of any of the above aspects.
In a seventh aspect, embodiments of the present application provide another chip, including: input interface, output interface and processor. Optionally, the system further comprises a memory, wherein the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing 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 a method in any one of the foregoing 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 describe the technical solutions in the embodiments or the background of the present application, the following description will describe the drawings that are required to be used in the embodiments or the background of the present application.
Fig. 1 (a) is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 1 (B) is a block diagram of a software architecture of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a mail processing method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of 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 present application;
FIG. 4 (B) is a schematic diagram of another UI interface provided by embodiments of the application;
FIG. 4 (C) is a schematic diagram of another UI interface provided by 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
Embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application.
Fig. 1 (a) shows a schematic configuration of an 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 (universal serial bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity 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 structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided, reducing the latency of the processor 110 and thus increasing the rate of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive 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 for connecting the battery 142, and the charge 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 configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge 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 may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into 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 for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. 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 provided 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 module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the 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, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize 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 the 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 onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, 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 other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
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: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including 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 storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. 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 (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. 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 a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to 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, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert 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 is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location but with different touch operation intensities may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being larger than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture 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 may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture 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 ambient light level.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J.
The touch sensor 180K, 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 for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects by the touch operation on different areas of the display 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. 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 Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. 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 realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: 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 involved in the embodiments of the present application may be a mobile phone, tablet computer, desktop, laptop, notebook, ultra mobile personal computer (Ultra-mobile Personal Computer, UMPC), handheld computer, netbook, personal digital assistant (Personal Digital Assistant, PDA), wearable electronic device, virtual reality device, etc.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 1 (B) is a software configuration block diagram of an electronic device 100 of an embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 1 (B), the application package may include applications such as a camera, gallery, calendar, talk, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs 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 acquire 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 such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, 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, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, 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, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The event manager may be configured to determine whether a touch coordinate of a touch operation of the user is within the first area when the first control mode has been turned on. If yes, reporting the event of the touch operation to an application program layer; if not, the touch operation is not processed.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of 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. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
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 flow chart of a mail processing method according to an embodiment of the present application. The steps in the embodiment of the application comprise:
s201, when detecting that the 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.
Specifically, the user may click on the option "collect" on the mail application software, send a request message to the server, or send a request message to the server at preset time intervals. The electronic device acquires mail data returned from the server, and then can acquire metadata from the mail data by a command (sync command), which can include sender information, mail priority, and the like. The mail priority may be the importance of the mail, for example, the mail is marked as important, generally important, or not important. The sender information may include a sender name, contact or email address, and so forth.
S202, determining the reading state of the historical mail of the sender corresponding to the sender information.
Specifically, the corresponding sender can be queried from the local sender information according to the sender information, then all the historical mails of the sender are searched, and the reading state of all the historical mails is determined. Alternatively, all the historical mails of the sender in the preset time period can be searched, and the reading state of all the historical mails in 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 text content, unread text content, mail has been opened or mail has not been opened, and so on.
S203, acquiring the text content of the new mail from the server according to at least one of the sender information, the mail priority and the reading state of the historical mail. Specifically, the following several optional modes can be included:
alternatively, the text content of the new mail may be obtained from the server according to the mail priority of the new mail. Further, when the mail priority is the highest priority, all the text contents of the new mail are obtained from the server, so that reloading of the text contents when a user opens the new mail is avoided. For example, when the new mail is marked as important, the size of the received mail may be adjusted to a larger value (e.g., 10M) so that the electronic device may obtain the entire text content of the new mail from the server. Alternatively, when the mail priority is the highest priority and the mail priority is the general priority, the new mail may be received according to a fixed mail size (e.g., 200KB size) set in advance.
Alternatively, whether the sender corresponding to the sender information is queried from the local sender information can be determined, and when the sender corresponding to the sender information is not queried from the local sender information, the text content of the new mail can be acquired from the server according to a preset threshold. The preset threshold may be a preset fixed mail size, which may be 100KB. For example, the user of the electronic device may collect the new mail in a pre-set fixed mail size (e.g., 100KB size) without regard to whether the entire body content of the new mail can be collected, since no mail has been received by the sender of the new mail before.
Alternatively, the text content of the new mail may be obtained from the server according to the reading status of the historical mail. Including the following:
first alternative: and when the reading state of the historical mail is that all the historical mails of the sender are read, acquiring all the text contents of the new mail from the server. For example, when all of a sender's historical mail has been read by a recipient, the size of the received mail may be adjusted to a larger value (e.g., 10M) for that sender so that the electronic device may obtain all of the text content of the new mail from the server, thereby avoiding reloading the text content when the user opens the new mail.
The second alternative: when the reading state of the historical mails is that the historical mail part of the sender is read, acquiring a first number of the historical mails read, a second number of the historical mails not read and the reading state of the historical mails which are received last time in all the historical mails of the sender within a preset time period; determining a reading proportion (also called a mail receiving size) of all the historical mails of the sender within 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 last received history mail has been read, the reading ratio calculation formula is as follows: m ((read history mail/all history mail) k1+k2). If the last received historical mail is not read, the reading proportion calculation formula is as follows: m (read history mail/all history mail). M is the size of the preset mail receiving, and K1 and K2 are weighting coefficients.
For example, a recipient receives 10 emails from a sender in half a month and has read 6 emails, wherein one of the last received emails has also been read and the other 4 emails have not been read. The charge mail size may be calculated according to the following formula: 200K (6/10 (10 emails have been read for 6 emails) 0.5+0.5 (a last received email has been read)) =160k, where K1 and K2 are both 0.5, but may be other values. Finally, the size of the received mail can be set to 160K, and the text content of the new mail can be received from the server according to the size of the received mail 160K. Alternatively, if a mail piece received last time was not read, the size of the received mail piece may be calculated according to the following formula: 200k×6/10 (10 emails have been read 6 emails) =120k. Finally, the size of the received mail can be set to 120K, and the text content of the new mail can be received from the server according to the size of the received mail 120K.
Third alternative: when the reading state of the historical mails is that all the historical mails of the sender are not read, the text content of the new mail can be obtained from the server according to a preset threshold, wherein the preset threshold can be the preset fixed receiving mail size and can be 100KB. The size of the received mail may also be set to 0, which indicates that only the header of the new mail sent by the sender is received later, and the body content of the mail of the sender is not received any more.
Alternatively, whether the mail priority of the new mail is the highest priority or not can be determined, and when the mail priority is not the highest priority, whether the sender corresponding to the sender information is inquired from the local sender information or not is then determined; 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 collection size.
For example, it is first determined whether the new mail is marked as important, if the new mail is marked as unimportant, it is determined whether a sender corresponding to the sender information exists in the sender history list of the mail application software, if the sender corresponding to the sender information does not exist in the sender history list, it is determined that the recipient 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 text content of the new mail can be collected.
Optionally, whether the mail priority of the new mail is the highest priority or not can be determined, and when the mail priority is not the highest priority, whether the sender corresponding to the sender information is inquired from the local sender information or not is determined; 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.
For example, first, whether the new mail is marked as important is determined, if the new mail is marked as unimportant, whether a sender corresponding to the sender information exists in a sender history list of mail application software is determined, and if the sender corresponding to the sender information exists in the sender history list, the reading states of all historical mails of the sender in a preset time period are obtained. As another example, a recipient receives 10 mails of a sender in half a month and has read 6 mails, wherein one mail received last time has also been read, and the other 4 mails are not read, the formula for calculating the size of the received mails is: 200K (6/10 (10 emails have been read for 6 emails) 0.5+0.5 (one last received email has been read)) =160k. Therefore, the mail collecting size can be set to 160K, and a new mail can be collected from the server in accordance with the mail collecting size 160K.
Alternatively, it may be determined first whether the sender corresponding to the sender information can be queried from the local sender information, if the sender corresponding to the sender information can be queried from the local sender information, then determining whether the mail priority of the new mail is the highest priority, and if the mail priority is the highest priority, acquiring all the text content of the new mail 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, a detailed 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 the next time to collect a new mail, updating the mail reading state of the user or the local sender information, and recalculating the size of the received mail. In addition, one or more of sender information, mail priority and reading state of historical mails can be judged, and the judging order is not sequential.
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 a new mail is received according to the adjusted size of the received mail. The method avoids the need of reloading some important mails when the user opens, and improves the mail processing efficiency. Meanwhile, all the unnecessary mails are prevented from being loaded, and the flow and the power consumption are saved.
As shown in fig. 3, fig. 3 is a schematic flow chart of another mail processing method according to an embodiment of the present application. The steps in the embodiment of the application comprise:
s301, when detecting that the electronic equipment receives new mail from the server, acquiring mail data from the server.
S302, acquiring metadata from the mail data.
S303, acquiring sender information and mail priority of new mails from the metadata.
S304, determining whether the mail priority of the new mail is the highest priority. If yes, S305 is executed. If not, S306 is performed.
S305, acquiring the whole text content of the new mail.
S306, determining whether the sender corresponding to the sender information is a new sender, if so, executing S307. If not, then S308 is performed.
S307, receiving new mail according to the fixed mail receiving size.
S308, determining whether the historical mail of the sender is completely read by the receiver within a preset time period. If yes, then S309 is performed. If not, S310 is performed.
S309, acquiring the whole text content of the new mail.
S310, determining whether the historical mail of the sender is partially read by the receiver in the preset time period, if not, executing S311. If yes, then S312 is performed.
S311, the size of the received mail is set to be 0, only the mail head of the new mail sent by the sender is received, and the text content of the mail of the sender is not received any more.
S312, it is determined whether the last received mail of the sender has been read by the recipient. If yes, S313 is executed, and if no, S314 is executed.
S313, the size of the received mail 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).
And S314, setting the size of the received mail to be M (read history mail/all history mail), and receiving the text content of the new mail according to the M (read history mail/all history mail).
Reference may be made to the foregoing embodiments for specific implementation manner in the embodiments of the present application, which are not repeated herein.
Several application scenarios and User Interface (UI) embodiments under each application scenario related to the embodiments of the present application are described below.
Under mobile business data, an "intelligent acquisition mail size" can be opened for an Email account that has been logged in. Comprising the following steps: as described in fig. 4 (a), the user may open the "inbox" interface of the mail application software, selecting the "set" option. As shown in fig. 4 (B), from the "inbox" interface, a jump is made to the "set" interface where multiple accounts are included, and an "add account" option may also be included where the user may select one of the accounts for setting, e.g., select "account 1". As shown in fig. 4 (C), jumping to the setting interface of "account 1", the user can open the "smart charge mail size" option. Thus, the size of the received mail can be adjusted in a specific manner according to the above embodiment, and a 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 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 exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor may also be a combination that performs the function of a computation, e.g., a combination comprising one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so forth. Communication bus 504 may be a peripheral component interconnect standard PCI bus or an extended industry standard architecture EISA bus or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus. Communication bus 504 is used to enable connected 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 volatile memory, such as nonvolatile dynamic random access memory (nonvolatile random access memory, NVRAM), phase change RAM (PRAM), magnetoresistive RAM (MRAM), etc., and may also include nonvolatile memory, such as at least one magnetic disk storage device, electrically erasable programmable read only memory (electrically erasable programmable read-only memory, EEPROM), flash memory device, such as flash memory (NOR flash memory) or flash memory (NAND flash memory), semiconductor device, such as Solid State Disk (SSD), etc. The memory 503 may optionally be at least one storage device located remotely from the aforementioned processor 501. Optionally, a set of program code may also be stored in the memory 503. The processor 501 may optionally also execute programs stored in the memory 503.
When detecting that the 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 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 queried 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 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 collection 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 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.
Optionally, the processor 501 is further configured to perform the following operation steps:
and when the reading state of the historical mail is that all the historical mails of the sender are read, acquiring all the text contents 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 mails 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 historical mails, a second number of unread historical mails and a reading state of the last received historical mails in all the historical mails;
and determining the reading proportion according to the first quantity, the second quantity and the reading state.
Further, the processor may also cooperate with the memory and the communication interface to perform the operations of the electronic device in the embodiments of the 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 application also provides a chip system, which comprises a processor and is used for supporting the electronic equipment to realize the functions related to any embodiment, such as generating or processing sender information, mail priority and historical mails of the sender, which are related to the method. In one possible design, the chip system may further include a memory for program instructions and data necessary for the electronic device. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
Embodiments of the present application also provide a processor, coupled to the memory, for performing any of the methods and functions of the electronic device described in any of the embodiments above.
Embodiments of the present application also provide a computer program comprising instructions which, when run on a computer, cause the computer to perform any of the methods and functions of any of the embodiments described above involving an electronic device.
The embodiment of the application also provides a device for executing any method and function related to the electronic equipment in any of the above embodiments.
In the above embodiments, it may be implemented in whole or in part 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, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more 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)), etc.
The above embodiments are further described in detail for the purposes, technical solutions and advantageous effects of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A mail processing method, characterized by comprising:
when detecting that the 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;
obtaining text content of the new mail from the server according to at least one of the sender information, the mail priority and the reading state of the historical mail, wherein the text content comprises the following steps: when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from the local sender information; when a sender corresponding to the sender information is inquired from the local sender information, if the reading state of the historical mails is that all the historical mails of the sender are read, acquiring all the text contents of the new mail from the server, and if the reading state of the historical mails is that all the historical mails of the sender are partially read, acquiring the first number of the read historical mails, the second number of the unread historical mails and the reading state of the last received historical mails in all the historical mails; determining a reading proportion according to the first quantity, the second quantity and the reading state; and setting the size of the received mail according to the reading proportion, and acquiring the text content of the new mail from the server.
2. The method of claim 1, wherein said obtaining text content of the new mail from the server based on at least one of the sender information, the mail priority, and the read status of the 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 text content of the new mail from the server based on at least one of the sender information, the mail priority, and the read status of the historical mail comprises:
and when the sender corresponding to the sender information is not queried 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 text content of the new mail from the server based on at least one of the sender information, the mail priority, and the read status of the historical mail comprises:
when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired 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 collection size.
5. 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 is used for storing computer program codes, the computer program codes comprise computer instructions, and the one or more processors execute the computer instructions to cause the electronic device to execute:
when detecting that the 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;
obtaining text content of the new mail from the server according to at least one of the sender information, the mail priority and the reading state of the historical mail, wherein the text content comprises the following steps: when the mail priority is not the highest priority, determining whether a sender corresponding to the sender information is inquired from the local sender information; when a sender corresponding to the sender information is inquired from the local sender information, if the reading state of the historical mails is that all the historical mails of the sender are read, acquiring all the text contents of the new mail from the server, and if the reading state of the historical mails is that all the historical mails of the sender are partially read, acquiring the first number of the read historical mails, the second number of the unread historical mails and the reading state of the last received historical mails in all the historical mails; determining a reading proportion according to the first quantity, the second quantity and the reading state; and setting the size of the received mail according to the reading proportion, and acquiring the text content of the new mail from the server.
6. The electronic device of claim 5, 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.
7. The electronic device of claim 5, wherein the electronic device further performs:
and when the sender corresponding to the sender information is not queried from the local sender information, acquiring the text content of the new mail from the server according to a preset threshold value.
8. The electronic device of claim 5, 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 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 collection size.
9. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-4.
10. A chip comprising a processor for calling from a memory and executing instructions stored in said memory, to cause a communication device on which said chip is mounted to perform the method of any of claims 1-4.
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 CN114079642A (en) 2022-02-22
CN114079642B true 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)

Families Citing this family (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 (4)

* 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
JP2006065454A (en) * 2004-08-25 2006-03-09 Kyocera Mita Corp E-mail sending apparatus and program
JP4247928B2 (en) * 1996-07-03 2009-04-02 京セラ株式会社 E-mail system
CN106022703A (en) * 2016-05-05 2016-10-12 青岛海信移动通信技术股份有限公司 Electronic mail processing method and device

Family Cites Families (12)

* 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
JP2004252635A (en) * 2003-02-19 2004-09-09 Nec Saitama Ltd Electronic mail device and significant mail notifying method
TWI228890B (en) * 2003-07-08 2005-03-01 Inventec Multimedia & Telecom System and method to send/receive email by personal video record
US20080005249A1 (en) * 2006-07-03 2008-01-03 Hart Matt E Method and apparatus for determining the importance of email messages
CN101667976B (en) * 2008-09-04 2012-04-25 中国移动通信集团公司 Method for determining mail push mode, pushing method, pushing device
CN101686535A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Mobile terminal and method for same to acquire new mails
CN102402741A (en) * 2010-09-17 2012-04-04 腾讯科技(深圳)有限公司 Letter management method and system
CN102026117A (en) * 2010-12-15 2011-04-20 中兴通讯股份有限公司 E-mail delivery equipment, method and system
CN102316051B (en) * 2011-09-14 2018-06-19 中兴通讯股份有限公司 A kind of method and system of off-line browsing history mail
CN105916124A (en) * 2015-10-27 2016-08-31 乐视移动智能信息技术(北京)有限公司 Mobile terminal mail main body display method and device
CN105959201A (en) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 E-mail downloading method and E-mail downloading 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

Patent Citations (4)

* 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
JP2006065454A (en) * 2004-08-25 2006-03-09 Kyocera Mita Corp E-mail sending apparatus and program
CN106022703A (en) * 2016-05-05 2016-10-12 青岛海信移动通信技术股份有限公司 Electronic mail processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李方亮 ; 谭云兰 ; 康永平 ; .基于SMPT的电子邮件发送系统设计与实现.井冈山学院学报.2007,(第04期),全文. *

Also Published As

Publication number Publication date
WO2022033355A1 (en) 2022-02-17
CN114079642A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN113704014B (en) Log acquisition system, method, electronic device and storage medium
CN111095723B (en) Wireless charging method and electronic equipment
CN114650363B (en) Image display method and electronic equipment
CN113254409B (en) File sharing method, system and related equipment
CN111602108B (en) Application icon display method and terminal
CN113641271B (en) Application window management method, terminal device and computer readable storage medium
CN114579389A (en) Application management method, device, equipment and storage medium
CN111031492B (en) Call demand response method and device and electronic equipment
CN111104209B (en) Task processing method and related equipment
CN115119048B (en) Video stream processing method and electronic equipment
CN114079642B (en) Mail processing method and electronic equipment
CN114995715B (en) Control method of floating ball and related device
CN113380240B (en) Voice interaction method and electronic equipment
CN114828098B (en) Data transmission method and electronic equipment
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN113590346A (en) Method and electronic equipment for processing service request
CN114911400A (en) Method for sharing pictures and electronic equipment
CN114430441A (en) Incoming call prompting method, system, electronic equipment and storage medium
CN116048831B (en) Target signal processing method and electronic equipment
CN116703689B (en) Method and device for generating shader program and electronic equipment
CN114006969B (en) Window starting method and electronic equipment
CN116048629B (en) System service switching method, control device, electronic equipment and storage medium
CN116703741B (en) Image contrast generation method and device and electronic equipment
CN114205318B (en) Head portrait display method and electronic equipment
CN116719376B (en) Voltage control method, device, equipment and storage medium

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