CN114172860B - Mail processing method and device - Google Patents

Mail processing method and device Download PDF

Info

Publication number
CN114172860B
CN114172860B CN202010956554.4A CN202010956554A CN114172860B CN 114172860 B CN114172860 B CN 114172860B CN 202010956554 A CN202010956554 A CN 202010956554A CN 114172860 B CN114172860 B CN 114172860B
Authority
CN
China
Prior art keywords
mail
modem
server
request
terminal device
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
CN202010956554.4A
Other languages
Chinese (zh)
Other versions
CN114172860A (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 CN202010956554.4A priority Critical patent/CN114172860B/en
Publication of CN114172860A publication Critical patent/CN114172860A/en
Application granted granted Critical
Publication of CN114172860B publication Critical patent/CN114172860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides a mail processing method and device, which relate to the field of communication and comprise the following steps: the terminal equipment sends a first request to the modem, wherein the first request is used for indicating the modem to detect the mail condition in the server; in the case where the terminal device receives a notification for prompting the presence of a new mail by the modem, the mail processing application of the terminal device acquires the target mail from the server. According to the embodiment of the invention, the modem detects the mail condition in the server, and when the modem detects that the server has a new mail, the modem sends a notification prompting the new mail to the mail processing application of the terminal equipment, so that continuous power consumption caused by always waking up the terminal equipment to execute synchronous operation can be avoided.

Description

Mail processing method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a mail processing method and apparatus.
Background
With the development of terminal technology, the functions of the mobile terminal are more improved. For example, the receiving and sending of e-mails may be implemented in a mobile terminal.
In general, a mobile terminal may communicate with a server based on a mailbox application, and obtain mail from the server. For example, the mailbox application may periodically obtain a mail set on the server, compare the mail set received by the mailbox application with the mail set received by the mailbox application, obtain a difference portion mail, and download the difference portion mail from the server.
However, in this general mail acquisition method, the power consumption of the mobile terminal is large.
Disclosure of Invention
The embodiment of the application provides a mail processing method, a device and electronic equipment, wherein a terminal device sends a first request to a modem, the modem executes a step of detecting mail conditions on a server according to the first request, and mail processing application of the terminal device acquires target mails from the server under the condition that the terminal device receives a notification that the modem is used for prompting the existence of new mails, so that frequent awakening of the terminal device can be avoided, and power consumption of the terminal device is reduced.
In a first aspect, an embodiment of the present application provides a mail processing method, including: the terminal equipment sends a first request to the modem, wherein the first request is used for indicating the modem to detect the mail condition in the server; in the case where the terminal device receives a notification for prompting the presence of a new mail by the modem, the mail processing application of the terminal device acquires the target mail from the server. In this way, when the modem detects that a new mail exists on the server, the modem can send a notification for prompting the existence of the new mail to the terminal equipment, so that the situation that the power consumption of the terminal equipment is overlarge due to the fact that the terminal equipment is always awakened can be avoided.
In one possible implementation, the first request may include one or more of the following: the account number and password of the mailbox, the identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information. In this way, the subsequent modem may communicate with the terminal device or server based on the information contained in the first request.
In one possible implementation manner, in an embodiment of the present application, the sending, by the terminal device, a first request to the modem includes: in case the terminal device receives the target operation, the terminal device sends a first request to the modem. Therefore, the step of detecting the mail condition on the server can be flexibly triggered by the user to instruct the modem to execute, and the user experience is improved.
In one possible implementation manner, in the case where the mail processing application of the terminal device uses the synchronization protocol EAS to communicate with the modem, the sending, by the terminal device, the first request to the modem includes: the terminal equipment encapsulates the data packet in the first request according to the HTTP and the wireless binary extensible markup language (WBXML) protocol; the terminal device sends a data packet contained in the encapsulated first request to the modem. Thus, the terminal equipment can realize the grouping flow according to the first request of the synchronous protocol EAS grouping, thereby avoiding the problem that the modem cannot group the first request.
In a second aspect, an embodiment of the present application provides a mail processing method, including: the modem receives a first request from the terminal device, the first request being used to instruct the modem to detect mail conditions in the server; the modem detects mail conditions in the server according to the first request; in the case where the modem detects the presence of a new mail in the server, the modem sends a notification to a mail processing application in the terminal device for prompting the presence of the new mail. In this way, the modem can detect the mail condition in the server according to the first request, and when detecting that a new mail exists on the server, the modem can send a notification for prompting the existence of the new mail to the terminal equipment, so that the condition that the power consumption of the terminal equipment is overlarge due to the fact that the terminal equipment is always awakened can be avoided.
In one possible implementation, the modem detects a mail condition in the server according to the first request, including: under the condition that the modem detects that the network state meets the requirement, the modem detects the mail condition in the server according to the detection period; or, in the case that the modem detects that the network state does not satisfy the demand, the modem stops detecting the mail condition in the server, and in the case that the modem detects that the network state satisfies the demand again, the modem detects the mail condition in the server according to the detection period. Therefore, the modem can dynamically determine whether to execute the step of detecting the mail condition in the server according to the network signal quality, thereby ensuring that the detection period is not lost and improving the detection efficiency.
In one possible implementation, the modem detects a mail condition in the server according to the first request, including: the modem establishes a radio resource control connection; in the case where the period of detecting the mail condition in the server is close to the detection period of the modem itself, the modem detects the mail condition in the server. Thus, the timeliness of checking whether the new mail exists in the server can be improved.
In one possible implementation, the first request includes one or more of the following: the account number and password of the mailbox, the first identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information. In this way, the subsequent modem may communicate with the terminal device or server based on the information contained in the first request.
In one possible implementation, the modem detects a mail condition in the server according to the first request, including: the modem reads the number and/or total byte number of the mails related to the mailbox in the server; for the primary reading step, under the condition that the number and/or total bytes of the mails in the server read in the reading step are different from the number and/or total bytes of the mails in the server read last time, acquiring second identification information of the last mail in the server; in the case where the second identification information is different from the first identification information, the modem determines that a new mail exists in the server. Thus, the modem can conveniently detect whether a new mail exists on the server by combining the number of mails and/or the total byte number and/or the identification information.
In one possible implementation, the modem detects a mail condition in the server according to the first request, including: the modem sends a second request to the server, wherein the second request is used for requesting the server to return an indication whether a new mail is received or not; in the event that the modem receives a reply message from the server, the modem determines that a new mail exists in the server. In this way, the modem can determine whether new mail exists on the server based on the indication of the server, so that resources can be saved.
In a possible implementation manner, in a case where the mail processing application of the terminal device communicates with the modem using the interactive post office access protocol IMAP or the post office protocol POP, the method further includes: the modem packs the data group in the first request according to IMAP or POP; the modem detects mail conditions in the server according to the first request, including: the modem detects the mail condition in the server according to the first requested data packet after the grouping. In this way, the modem can package the first request according to the interactive post office access protocol IMAP or post office protocol POP, so that the terminal device can not execute the package step, and resources of the terminal device are saved.
In a third aspect, an embodiment of the present application provides a mail processing apparatus, where the mail processing apparatus may be a terminal device, or may be a chip or a chip system in the terminal device. The mail processing device may include a transceiver module and a processing module. When the mail processing device is a terminal device, the processing module may be a processor and the transceiver module may be a transceiver. The mail processing device may further comprise a memory module, which may be a memory. The storage module is configured to store instructions, and the processing module executes the instructions stored by the storage module, so that the terminal device implements a mail processing method described in the first aspect or any one of possible implementation manners of the first aspect. When the mail processing means is a chip or a system of chips within the terminal device, the processing module may be a processor. The processing module executes the instructions stored by the storage module to cause the terminal device to implement a mail processing method as described in the first aspect or any one of the possible implementation manners of the first aspect. The memory module may be a memory module (e.g., register, cache, etc.) within the chip, or a memory module (e.g., read-only memory, random access memory, etc.) within the terminal device that is external to the chip.
The transceiver module is for sending a first request to the modem, wherein the first request is for instructing the modem to detect a mail condition in the server. And the processing module is used for acquiring the target mail from the server under the condition that the terminal equipment receives the notification of the modem for prompting the existence of the new mail.
In one possible implementation, the first request may include one or more of the following: the account number and password of the mailbox, the identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information.
In one possible implementation, the transceiver module is specifically configured to send the first request to the modem when the terminal device receives the target operation.
In one possible implementation, the processing module is specifically configured to encapsulate the data packet in the first request according to the HTTP and the wireless binary extensible markup language WBXML protocol; the transceiver module is specifically further configured to send a data packet included in the encapsulated first request to the modem.
In a fourth aspect, embodiments of the present application provide a mail processing apparatus that may be a modem or a component (e.g., an integrated circuit, a chip, etc.) of a modem. The mail processing device may include a transceiver module and a processing module. When the mail processing device is a modem, the processing module may be a processor and the transceiver module may be a transceiver. The mail processing device may further comprise a memory module, which may be a memory. The storage module is configured to store instructions, and the processing module executes the instructions stored by the storage module, so that the terminal device implements a mail processing method described in the second aspect or any one of possible implementation manners of the second aspect. When the mail processing device is a chip or system of chips within a modem, the processing module may be a processor. The processing module executes the instructions stored by the storage module to cause the terminal device to implement a mail processing method as described in the second aspect or any one of the possible implementations of the second aspect. The memory module may be a memory module (e.g., register, cache, etc.) within the chip, or a memory module (e.g., read-only memory, random access memory, etc.) within the terminal device that is external to the chip.
Illustratively, the transceiver module is configured to receive a first request from the terminal device, where the first request is configured to instruct the modem to detect a mail condition in the server; the processing module is used for detecting mail conditions in the server according to the first request; and the receiving and transmitting module is also used for sending a notification for prompting the existence of the new mail to a mail processing application in the terminal equipment when the modem detects that the new mail exists in the server.
In one possible implementation, the first request includes one or more of the following: the account number and password of the mailbox, the first identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information.
In a possible implementation manner, the processing module is specifically configured to detect, when the modem detects that the network state meets a requirement, a mail condition in the server according to a detection period; or the processing module is specifically configured to stop detecting the mail condition in the server when the modem detects that the network state does not meet the requirement, and is specifically configured to detect the mail condition in the server according to the detection period when the modem detects that the network state meets the requirement again.
In a possible implementation manner, the processing module is specifically configured to establish a radio resource control connection; the processing module is specifically configured to detect the mail condition in the server when the period of detecting the mail condition in the server is close to the detection period of the modem itself.
In one possible implementation manner, the processing module is specifically configured to read the number and/or total byte number of the mails related to the mailbox in the server; the processing module is specifically configured to, for the step of reading once, obtain, when the number and/or total bytes of the mails in the server read in the step of reading are different from the number and/or total bytes of the mails in the server read last time, second identification information of the last mail in the server; the processing module is specifically further configured to determine that a new mail exists in the server when the second identification information is different from the first identification information.
In a possible implementation manner, the transceiver module is specifically configured to send a second request to the server, where the second request is used to request the server to return an indication whether a new mail is received; the transceiver module is specifically configured to determine that a new mail exists in the server when the modem receives a reply message from the server.
In a possible implementation manner, the processing module is specifically configured to package the data set in the first request according to IMAP or POP; the processing module is specifically configured to detect a mail condition in the server according to the first requested data packet after the grouping.
In a fifth aspect, embodiments of the present application provide an electronic device, including: means for performing the first aspect or any of the possible implementations of the first aspect, or means for performing the second aspect or any of the possible implementations of the second aspect.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: a processor and interface circuitry for communicating with other devices; the processor is configured to execute code instructions to implement the first aspect or any of the possible implementations of the first aspect, or to implement the second aspect or any of the possible implementations of the second aspect.
In a seventh aspect, embodiments of the present application provide a computer readable storage medium storing instructions that, when executed, implement the first aspect or any of the possible implementations of the first aspect, or implement the second aspect or any of the possible implementations of the second aspect.
In an eighth aspect, embodiments of the present application provide a communication system, including the first aspect or any of the possible apparatuses of the first aspect, and the second aspect or any of the possible apparatuses of the second aspect.
It should be understood that the third aspect to the eighth aspect of the present application correspond to the technical solutions of the first aspect and the second aspect of the present application, and the advantages obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
Fig. 1 is a schematic diagram of a communication scenario of a communication system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a terminal device 100 according to an embodiment of the present application;
fig. 3 is a schematic diagram of a software system of the terminal device 100 according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a mail processing framework according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a mail processing framework according to an embodiment of the present disclosure;
fig. 6 is an interface schematic diagram for starting an intelligent agent in a terminal device according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a modem configuration intelligent agent processing logic according to an embodiment of the present application;
fig. 8 is a schematic diagram of a packet flow provided in an embodiment of the present application;
Fig. 9 is a schematic flow chart of mail processing according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an interface for displaying notification of new mail presence according to an embodiment of the present application;
FIG. 11 is a schematic diagram of advanced scheduling according to an embodiment of the present disclosure;
fig. 12 is a schematic diagram of a modem scheduling detection server according to an embodiment of the present application;
fig. 13 is a schematic flow chart of detecting a new mail by a modem according to an embodiment of the present application;
fig. 14 is a schematic flow chart of detecting a new mail by a modem according to an embodiment of the present application;
FIG. 15 is a schematic flow chart of another mail processing according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a mail processing apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of another mail processing apparatus according to the embodiment of the present application;
fig. 18 is a schematic hardware structure of a mail processing device according to an embodiment of the present application.
Detailed Description
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first request and the second request are merely for distinguishing between different indications, and are not limited in their order of precedence. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In this application, the terms "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The method of the embodiment of the application can be applied to a communication system, and an exemplary schematic diagram of the communication system is shown in fig. 1.
As shown in fig. 1, the communication system may include: a terminal device 100, a modem (modem) 101, and a server 102. The terminal device 100 and the server 102 may communicate through the modem 101. For example, the terminal device 100 may transmit data to the modem 101, and the modem 101 may forward the data transmitted by the terminal device 100 to the server 102; the server 102 may send data to the modem 101, which may forward the data sent by the server 102 to the terminal device 100.
For example, modem 101 may be used to modulate digital signals onto analog signals for transmission and demodulate received analog signals to obtain digital signals. Modem 101 may include: modulators, demodulators, and the like. The modulator may be used to convert the digital signal to an analog signal and the demodulator may be used to recover the analog signal to a digital signal.
In connection with the above communication scenario, the terminal device 100 may be a smart phone, a computer, a tablet computer, a wearable device, etc. Fig. 2 shows a schematic structural diagram of a terminal device. By way of example, the terminal device 100 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a charge management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a subscriber identity module (subscriberidentification module, SIM) card interface 295, and the like. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, a barometric sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, and the like.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, terminal device 100 may include more or less components than illustrated, 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.
Processor 210 may include one or more processing units such as, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processingunit, GPU), an image signal processor (image signal processor, ISP), a controller, 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 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 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
In some embodiments, processor 210 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 circuitsound, 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.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 210 may contain multiple sets of I2C buses. The processor 210 may be coupled to the touch sensor 280K, charger, flash, camera 293, etc., respectively, through different I2C bus interfaces. For example: the processor 210 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 210 and the touch sensor 280K communicate through an I2C bus interface to implement a touch function of the terminal device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 210 may contain multiple sets of I2S buses. The processor 210 may be coupled to the audio module 270 via an I2S bus to enable communication between the processor 210 and the audio module 270. In some embodiments, the audio module 270 may communicate audio signals to the wireless communication module 260 through the I2S interface to implement a function of answering a call through a bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 270 and the wireless communication module 260 may be coupled by a PCM bus interface. In some embodiments, the audio module 270 may also transmit audio signals to the wireless communication module 260 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 210 with the wireless communication module 260. For example: the processor 210 communicates with a bluetooth module in the wireless communication module 260 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 270 may transmit an audio signal to the wireless communication module 260 through a UART interface, implementing a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 210 to peripheral devices such as the display 294, the camera 293, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (displayserial interface, DSI), and the like. In some embodiments, processor 210 and camera 293 communicate through a CSI interface to implement the photographing function of terminal device 100. The processor 210 and the display 294 communicate through a DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 210 with the camera 293, display 294, wireless communication module 260, audio module 270, sensor module 280, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 230 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 230 may be used to connect a charger to charge the terminal device 100, or may be used to transfer data between the terminal device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
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 constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 240 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 240 may receive a charging input of a wired charger through the USB interface 230. In some wireless charging embodiments, the charge management module 240 may receive wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 240 may also supply power to the terminal device through the power management module 241 while charging the battery 242.
The power management module 241 is used for connecting the battery 242, and the charge management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charge management module 240 and provides power to the processor 210, the internal memory 221, the display 294, the camera 293, the wireless communication module 260, and the like. The power management module 241 may also be configured to monitor battery capacity, battery cycle times, battery health (leakage, impedance), and other parameters. In other embodiments, the power management module 241 may also be disposed in the processor 210. In other embodiments, the power management module 241 and the charge management module 240 may be disposed in the same device.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, 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 terminal 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 250 may provide a solution including 2G/3G/4G/5G wireless communication applied on the terminal device 100. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 250 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 250 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 250 may be disposed in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be provided in the same device as at least some of the modules of the processor 210.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 270A, receiver 270B, etc.), or displays images or video through display screen 294. 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 250 or other functional module, independent of the processor 210.
The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wirelesslocal 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. applied on the terminal device 100. The wireless communication module 260 may be one or more devices that integrate at least one communication processing module. The wireless communication module 260 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 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, 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 250 of terminal device 100 are coupled, and antenna 2 and wireless communication module 260 are coupled, such that terminal device 100 may communicate with a network and other devices via 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 (codedivision multiple access, CDMA), wideband code division multiple access (wideband code division multipleaccess, 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 (beidounavigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellitesystem, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal device 100 implements display functions through a GPU, a display screen 294, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
The display 294 is used to display images, videos, and the like. The display 294 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 (matrixorganic 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 lightemitting diodes, QLED), or the like. In some embodiments, the terminal device 100 may include 1 or N displays 294, N being a positive integer greater than 1.
The terminal device 100 may implement a photographing function through an ISP, a camera 293, a video codec, a GPU, a display 294, an application processor, and the like.
The ISP is used to process the data fed back by the camera 293. 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 293.
The camera 293 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, terminal device 100 may include 1 or N cameras 293, 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 terminal 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 terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in various encoding formats, for example: 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 terminal device 100 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 210 through an external memory interface 220 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
Internal memory 221 may be used to store computer executable program code that includes instructions. The internal memory 221 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 (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 221 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 processor 210 performs various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 270 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 270 may also be used to encode and decode audio signals. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 210.
Speaker 270A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or to handsfree calls through the speaker 270A.
A receiver 270B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device 100 receives a call or voice message, it can receive voice by approaching the receiver 270B to the human ear.
Microphone 270C, 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 270C through the mouth, inputting a sound signal to the microphone 270C. The terminal device 100 may be provided with at least one microphone 270C. In other embodiments, the terminal device 100 may be provided with two microphones 270C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may be further provided with three, four or more microphones 270C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 270D is for connecting a wired earphone. Earphone interface 270D may be USB interface 230 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 280A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 280A may be disposed on display 294. The pressure sensor 280A 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. When a force is applied to the pressure sensor 280A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change of the capacitance. When a touch operation is applied to the display screen 294, the terminal apparatus 100 detects the touch operation intensity from the pressure sensor 280A. The terminal device 100 may also calculate the position of the touch from the detection signal of the pressure sensor 280A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, 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 greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 280B may be used to determine a motion gesture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 280B. The gyro sensor 280B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 280B detects the shake angle of the terminal device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the terminal device 100 through the reverse motion, thereby realizing anti-shake. The gyro sensor 280B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 280C is used to measure air pressure. In some embodiments, the terminal device 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 280C, aiding in positioning and navigation.
The magnetic sensor 280D includes a hall sensor. The terminal device 100 can detect the opening and closing of the flip cover using the magnetic sensor 280D. In some embodiments, when the terminal device 100 is a folder, the terminal device 100 may detect opening and closing of the folder according to the magnetic sensor 280D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 280E may detect the magnitude of acceleration of the terminal device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal device 100 is stationary. The method can also be used for identifying the gesture of the terminal equipment, and is applied to the applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 280F for measuring distance. The terminal device 100 may measure the distance by infrared or laser. In some embodiments, the terminal device 100 may range using the distance sensor 280F to achieve fast focusing.
Proximity light sensor 280G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the terminal device 100. When insufficient reflected light is detected, the terminal device 100 may determine that there is no object in the vicinity of the terminal device 100. The terminal device 100 can detect that the user holds the terminal device 100 close to the ear to talk by using the proximity light sensor 280G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 280G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 280L is used to sense ambient light level. The terminal device 100 may adaptively adjust the brightness of the display 294 according to the perceived ambient light level. The ambient light sensor 280L may also be used to automatically adjust white balance during photographing. The ambient light sensor 280L may also cooperate with the proximity light sensor 280G to detect whether the terminal device 100 is in a pocket to prevent false touches.
The fingerprint sensor 280H is used to collect a fingerprint. The terminal device 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 280J is used to detect temperature. In some embodiments, the terminal device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 280J. For example, when the temperature reported by the temperature sensor 280J exceeds a threshold, the terminal device 100 performs a reduction in the performance of a processor located in the vicinity of the temperature sensor 280J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the terminal device 100 heats the battery 242 to avoid the low temperature causing the terminal device 100 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the terminal device 100 performs boosting of the output voltage of the battery 242 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 280K, also referred to as a "touch device". The touch sensor 280K may be disposed on the display screen 294, and the touch sensor 280K and the display screen 294 form a touch screen, which is also referred to as a "touch screen". The touch sensor 280K is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 294. In other embodiments, the touch sensor 280K may also be disposed on a surface of the terminal device 100 at a different location than the display 294.
Bone conduction sensor 280M may acquire a vibration signal. In some embodiments, bone conduction sensor 280M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 280M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 280M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 270 may analyze the voice signal based on the vibration signal of the sound portion vibration bone piece obtained by the bone conduction sensor 280M, so as to implement the voice function. The application processor can analyze heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 280M, so as to realize a heart rate detection function.
Keys 290 include a power on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be a touch key. The terminal device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal device 100.
The motor 291 may generate a vibration alert. The motor 291 may be used for incoming call vibration alerting or 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 291 may also correspond to different vibration feedback effects by touch operations applied to different areas of the display 294. 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 292 may be an indicator light, which may be used to indicate a state of charge, a change in power, a message indicating a missed call, a notification, etc.
The SIM card interface 295 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 295 or withdrawn from the SIM card interface 295 to enable contact and separation with the terminal apparatus 100. The terminal device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 295 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 295 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 295 may also be compatible with different types of SIM cards. The SIM card interface 295 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture, etc. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the terminal device 100 is illustrated.
Fig. 3 shows a software block diagram of the terminal device 100 according to the 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 five layers, from top to bottom, an application layer, an application framework layer, a system runtime layer, a hardware abstraction layer (hardware abstraction layer, HAL), and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in FIG. 3, the application package may include mail, phone call, text message, contact, calendar, music, navigation, video, social, etc. applications.
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. 3, the application framework layers may include an activity manager (activity manager), a window manager (window manager), a content provider (content providers), a view system (view system), a telephony manager (telephony manager), a resource manager (resource manager), a notification manager (notification manager), a location manager (location manager), a package manager (package manager), and extensible communication and presentation protocol (extensible messaging and presence protocol, XMPP) servers.
The activity manager is used for managing the life cycle of the application program and judging whether the application program is running or not and whether restarting is needed or not.
The window manager is used for managing window programs. The window manager may obtain the display screen size, determine if there is a status bar, lock the screen, intercept the screen, etc.
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 arranged to provide communication functions for the terminal device. 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 terminal equipment vibrates, and an indicator light blinks.
The location manager is used for providing a location function of the terminal device. Such as the implementation of map navigation functions.
The package manager obtains an application package installed on the terminal device and manages the package. For example, the packet manager may install and/or uninstall application packages on the application layer of the terminal device, clear data, cache, code segments, and the like.
The XMPP server is based on an extensible markup language (extensiible markup language, XML) protocol and realizes operations such as verification, communication, inquiry and the like. XML refers to an extensible markup language used to tag data into information symbols that a computer can understand for data transmission.
The system runtime layer includes An Zhuoyun rows (Android run) and native libraries.
Android runtimes include core libraries 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 native libraries are also called native C/C++ libraries, and may be based on some native components of the C/C++ implementation. The native library may include a plurality of functional modules. For example: browser engines, three-dimensional graphics processing libraries, multimedia frameworks (media frames), lightweight databases, flat graphics engines, secure sockets layer (secure sockets layer, SSL), etc.
The built-in browser engine is based on the browser engine, supports single column and adaptive view rendering 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.
Multimedia frameworks are used to support a variety of commonly used audio, video format recordings and playback. The multimedia framework may support a variety of audio and video coding formats, such as dynamic picture experts group (moving pictures experts group, MPEG 4), advanced audio coding (advanced audio coding, AAC), still image coding (joint photo graphic experts group, JPG), portable network graphics (protable network graphic, PNG), and the like.
The lightweight database is a lightweight relational database engine.
The plane graphic engine is a drawing engine for plane drawing.
SSL is a security protocol that provides security and data integrity for network communications.
The hardware abstraction layer is completed by placing actions of controlling hardware in the hardware abstraction layer.
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.
The following describes an exemplary process of processing mail by interaction between the terminal device and the server, in conjunction with the terminal device, the software structure of the terminal device, and the communication scenario described in fig. 1-3.
In a possible implementation manner, the terminal device communicates with the server through the modem according to a transmission control protocol (transmission control protocol, TCP) or a network protocol (internet protocol, IP), the mail set on the server is acquired by the terminal device, the terminal device compares the mail set acquired from the server with the mail set received on the terminal device, and if there is a difference mail, the terminal device downloads the difference mail from the server to implement receiving of a new mail.
In a possible implementation manner, in the receiving process of the new mail of the terminal device, a synchronization frame may be provided on a software system of the terminal device to set a synchronization period, wake up the terminal device to send a synchronization request to the server, and when the synchronization period arrives, the terminal device performs a process of communicating with the server to receive the new mail. The step of setting the synchronization period may be performed between an application layer and an application framework layer on the terminal device software system.
For example, an application layer and an application frame layer may be included in a synchronization frame in the terminal device software system, where the application frame layer includes a synchronization manager (SyncManager) and a task scheduler (JobScheduler), and the like. The application program layer sends a request for registering a synchronization period to the synchronization manager, the synchronization manager sets the synchronization period, the synchronization manager sends the set synchronization period to the task scheduler, the task scheduler sends information of arrival of the synchronization period to the synchronization manager after receiving the set synchronization period, the synchronization manager returns period callback information to the terminal equipment, and the terminal equipment is awakened to send a request for acquiring a server mail set.
Figure 4 shows a schematic diagram of the framework of one possible mail processing.
When the synchronization period arrives, the application program layer of the terminal equipment initiates a request for acquiring the mail set to the modem, the request of the terminal equipment is sent to the server through the modem, the server returns the mail set to the terminal equipment through the modem, the terminal equipment compares the acquired mail set with the mail set received on the terminal equipment, and if the mail with difference exists, the terminal equipment downloads the mail with difference from the server so as to realize the receiving of new mail.
However, in the receiving process of the new mail, when the synchronization period arrives, no matter whether the server receives the new mail or not, the mail processing application of the terminal device is awakened to execute the step of requesting the new mail, which causes the background of the terminal device to consume power continuously.
Based on this, the embodiment of the application provides a communication method, in which a modem detects a mail condition in a server, and when the modem detects that a new mail exists in the server, the modem sends a notification for prompting the new mail to a mail processing application of a terminal device, so that continuous power consumption caused by always waking up the terminal device to execute a synchronization operation can be avoided.
Fig. 5 is a schematic diagram of a frame of mail processing according to an embodiment of the present application.
As shown in fig. 5, the mail processing framework includes a terminal device and a modem.
The software framework of the terminal device may include an application layer, an application framework layer, and a native library. By way of example, the application layer may include a mail processing application and the application framework layer may include a mail manager, a first interface service, and an interface manager; the native library may include a second interface service and a main logic module. In a possible understanding manner, the first interface service may be an interface service provided in an application framework layer for supporting mail processing of the embodiment of the present application. The second interface service may be in a native library for implementing the interface service.
The modem may include an application layer, a service layer, a core library, and a static library. By way of example, the application layer may include a mail service that may be used to exchange data with a main logic module of the terminal device; the service layer may include an application server service and an event service (event service), where the application server service may be used to provide an application service, and the event service may be used to release a one-to-one relationship between the user side and the server, where the one-to-one relationship is changed into a many-to-many relationship; the core library may include task schedulers, periodic tasks and network tasks, etc.; the static library may include TCP/IP protocol, SSL protocol, and Comm (common) commands for comparison between two files, which may be used to adjust the output to perform intersection, differencing, and difference set operations.
In a possible implementation manner, the mail processing application of the application program layer of the terminal device sends first indication information to the mail interface manager, the mail interface manager sends the first indication information to the first interface service, the first interface service sends the first indication information to the second interface service of the primary repository, the first interface service and the second interface service realize data transmission through an interface, the second interface service sends the first indication information to the main logic module, the main logic module sends the first indication information to the mail service of the modem side, and after the modem receives the first indication information, the modem detects the mail condition in the server.
The first indication information is used for indicating the condition that the modem detects the mail in the server. The first interface service and the second interface service are used for realizing data transmission between the application framework layer and the native library, specific naming of the first interface service and the second interface service is not limited, and in addition, the first interface service and the second interface service can be realized by software logic or hardware interface, and the embodiment of the application is not limited in detail.
When the modem detects that the server has a new mail, the modem side may send the second indication information to the main logic module, the main logic module sends the second indication information to the second interface service, the second interface service sends the second indication information to the first interface service, the first interface service sends a broadcast to a mail processing application of the terminal device, the broadcast is used to inform the mail processing application of the terminal device that the new mail is available, the mail processing application of the terminal device receives the second indication information, and the mail processing application of the terminal device obtains the target mail from the server.
The second indication information is used for prompting that a new mail exists on the terminal equipment server.
In implementations where a modem proxy terminal device is employed to perform detection of whether a new mail is on the server (also possibly referred to as an intelligent proxy, and both are described hereinafter as an intelligent proxy), a user interface may be provided in the terminal device so that a user may initiate the function of the intelligent proxy in the user interface, and fig. 6 is an exemplary interface diagram for initiating the intelligent proxy in the terminal device. The operation in which the user initiates the intelligent agent in the interface of the terminal device may also be referred to as a target operation.
Fig. 6 a is a schematic diagram of a first interface of a terminal device according to an embodiment of the present application. As shown in a of fig. 6, the first interface of the terminal device may include an application program such as mail, map, camera, phone, sms, calculator, setting, etc., and the embodiment of the present application is not limited to a specific application program.
When the user clicks, touches, etc. in the first interface shown in fig. 6 a to trigger the setting application 601, the terminal device receives an operation of the user setting application, and the terminal device enters the second interface shown in fig. 6 b. The second interface may include one or more of the following: general settings, important (very important person, VIP) contacts, one-touch translations or accounts, etc., wherein an account may be used to receive a user's operations to add a mailbox account, a user may add multiple mailbox accounts to the account, and the added mailbox accounts shown in fig. 6 b include a first mailbox, a second mailbox, a third mailbox, etc., for example.
Illustratively, as shown in b in fig. 6, the user may select the first mailbox as a mailbox account that needs the modem to detect a new mail condition, in the setting interface shown in b in fig. 6, the user may click, touch, etc. to trigger the selected first mailbox 602, and the terminal device enters the third interface shown in c in fig. 6. The third interface may include synchronization and data, advanced settings, etc., where the synchronization and data may include one or more of the following: synchronization period, number of days to synchronize mail, setting calendar synchronization scope, folder synchronization settings, synchronizing email, synchronizing contacts, synchronizing calendar, downloading attachments or intelligent agents, etc., the advanced settings may include mail encryption or other types of functional items. It can be understood that b in fig. 6 is illustrated by taking the example that the user triggers the first mailbox, and the user may trigger the second mailbox or the third mailbox, etc., and in this embodiment of the present application, the mailbox account selected by the user is not limited.
When the user turns on the function key intelligent agent switch 603 by clicking, touching, or the like in the third interface shown in fig. 6 c, the terminal device receives a target operation for the user to set the intelligent agent.
It can be understood that the display content of the interface b in fig. 6 and the interface c in fig. 6 may also be set according to the actual application scenario, which is not specifically limited in the embodiment of the present application.
In a possible implementation, the modem may set the processing logic of the first mailbox to be the processing logic of the intelligent agent upon receiving the first request, and fig. 7 is an exemplary schematic diagram of the processing logic of the intelligent agent set by the modem.
As shown in fig. 7, the mail processing application of the terminal device may send a first request to the modem, where in a possible implementation, the first request may include control information, and after the modem receives the first request, the modem sets processing logic in the main logic to processing logic of the intelligent agent according to the control information.
Illustratively, in the processing logic of the intelligent agent, the modem may process the data packet according to the light network protocol stack and the third generation partnership project (3rd generation partnership project,3GPP) protocol stack, the modem may encrypt the processed data packet (e.g., secure socket layer (secure sockets layer, SSL) encryption protocol, etc.), the modem may read the configuration information according to the post office (post office protocol version, pop 3) protocol or the interactive mail access protocol (internet mail access protocol, IMAP) protocol or Exchange, the configuration information may be sent to the modem by the terminal device (e.g., the first request may also include the control information and the configuration information), or may be pre-stored on the modem, the modem may interact with the server according to the read configuration information, and if the modem detects that a new mail exists on the server, the modem reports the new mail information to the mail processing application of the terminal device.
Wherein the lightweight network protocol stack may be used to encapsulate the data. The 3GPP protocol stack may be used to provide technical specifications. The POP3 protocol is a mail receiving protocol for supporting the remote management of e-mail on a server using a client. The IMAP protocol is a mail acquisition protocol by which a mail client can acquire information of a mail from a mail server, download the mail, and the like. Exchange provides commonly required mail service functions such as e-mail access, storage, forwarding, voice and collaborative filtering, etc.
In a possible implementation, if the modem does not receive the first request, the modem communicates with the terminal device according to the processing logic before the intelligent agent is set (or it may be understood that the processing logic without the intelligent agent is used to communicate with the terminal device in general).
Some of the words of the embodiments of the present application are explained below, and it is understood that the explanation is for clearer understanding of the embodiments of the present application and does not constitute a necessary limitation to the embodiments of the present application.
The first request described in the embodiments of the present application is used to instruct the modem to detect the mail condition in the server, where the first request may be in the form of a character or a number, and after the modem receives the first request, the modem may detect the mail condition in the server according to the first request.
In a possible implementation, the first request may include one or more of the following: the account number and password of the mailbox, the identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information.
By way of example, the account number and password for the mailbox may generally be in the form of a mailbox account number and password, e.g., the mailbox account number may include a user name and characters @ and a mailbox service suffix, and the password may be a combination of one or more of digits, characters, etc. When the first request contains an account number and a password for the mailbox, the modem may implement an intelligent agent for the mailbox.
For example, the identification information of the mail may be information that the mailbox uses to identify the mail, for example, the identification information of one mail may be used to uniquely identify one mail. When the first request includes the identification information, in a possible implementation manner, when the modem performs the step of detecting the mail condition in the server, the modem may acquire the identification information of the latest mail from the server, the modem compares the identification information with the identification information of the latest received mail in the mail processing application, and the modem determines whether a new mail exists on the server according to the comparison result, for example, if the identification information of the latest mail acquired from the server is different from the identification information of the latest received mail in the terminal device, it may determine that a new mail exists on the server; if the identification information of the latest mail acquired from the server is the same as the identification information of the latest received mail in the terminal device, it can be determined that no new mail exists on the server.
For example, the address information of the server may be an IP address of the server, etc., and the modem may perform connection communication with the corresponding server according to the IP address. When the first request contains address information of the server, the modem may select a server with which a new mail needs to be interactively detected according to the address information of the server providing the mail service, the modem interacts with the server, and the modem performs the step of detecting the new mail.
The detection period information may be, for example, a period in which the terminal device instructs the modem to detect a mail server mail condition. When the first request contains the detection period information, the modem may periodically detect mail conditions in the server according to the detection period indicated by the terminal device.
By way of example, the communication protocol may include: POP3 protocol, IMAP protocol, EAS protocol, SSL protocol, etc. When the first request includes communication protocol information, the terminal device may request the modem to subsequently use the communication protocol information for communication.
By way of example, the communication security protocol may include: SSL protocols or secure transport layer protocols (transport layer security, TLS), etc., wherein SSL protocols may be used to provide security and data integrity protocols for network communications, TLS protocols are used to provide confidentiality and data integrity between two communication applications. When the first request contains the communication security type information, the terminal equipment requests the modem to subsequently use the communication security type information for communication.
In a possible implementation, the account number and password of the mailbox, the identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information, and one or more of the above information may also be referred to as configuration information. In the subsequent communication process, the modem can select an adaptive communication protocol or communication security type for communication according to the configuration information of the mailbox.
When the mail processing application of the terminal device sends the first request to the modem, the content included in the first request may be further packetized, and fig. 8 shows a packetizing flow chart.
As shown in fig. 8, the mail processing application of the terminal device may communicate with the modem using IMAP or POP3 protocol or EAS protocol.
Wherein EAS protocols may be used to accomplish real-time synchronization of emails, contacts, calendars, tasks, and the like.
As an alternative embodiment, in case the mail processing application of the terminal device communicates with the modem using the synchronization protocol EAS, the process of grouping packets may comprise: the terminal device may compose the first request into a data packet according to an Exchange protocol, encapsulate the data packet of the first request according to a hypertext transfer protocol (hypertext transfer protocol, HTTP) and a wireless binary extensible markup language (wireless binary extensible markup language, WBXML) protocol, and send the first request containing the encapsulated data packet to the modem.
The WBXML protocol may be used, among other things, to transport and store data. HTPP may communicate data, such as picture files, etc., based on a TCP/IP communication protocol.
As another alternative embodiment, in the case where the mail processing application of the terminal device communicates with the modem using IMAP or POP3 protocol, the mail processing application of the terminal device sends a first request to the modem, and after the modem receives the first request, the modem packages the data in the first request according to IMAP or POP3 protocol.
In this embodiment of the present application, the modem may perform encrypted communication according to the first requested data packet, and the modem may also use a common socket to communicate with the server.
Fig. 9 is a schematic flow chart of mail processing according to an embodiment of the present application. The term "at … …" in the embodiment of the present application may be instantaneous when a certain situation occurs, or may be a period of time after a certain situation occurs, which is not particularly limited in the embodiment of the present application. As shown in fig. 9, the method may include, but is not limited to, the steps of:
s901: the terminal device sends a first request to the modem, the first request being for instructing the modem to detect a mail situation in the server.
In this embodiment of the present application, the terminal device may send the first request to the modem by itself, or the terminal device may send the first request to the modem based on a trigger of the user.
For example, the terminal device may send a first request to the modem upon receiving a target operation of the user.
The target operation may be used to trigger the modem proxy to detect whether a new mail exists in the server, for example, the target operation may be an operation of a user on a setting application program in the terminal device, and implementation of the target operation may refer to description of the corresponding embodiment in fig. 6, which is not repeated herein.
In a possible implementation manner, the terminal device may send a first request to the modem through the application framework layer, where the modem may send a response to the terminal device, where the response is used to inform the terminal device that the modem agrees to detect the mail condition in the server by proxy, and after the terminal device receives the response, the terminal device may not perform a step of interacting with the server to detect a new mail, and the modem detects the mail condition in the server.
In a possible implementation, the terminal device may perform the steps shown in fig. 5, and by way of example, the application framework layer of the terminal device may send the first request to the native library through the first interface service, the native library receives the first request through the second interface service, the native library sends the first request to the modem, the modem receives the first request, the modem sends a response to the terminal device, and the terminal device may know that the mail in the server is detected by the modem proxy. The first interface service and the second interface service are already described in fig. 5, and are not described herein.
S902: the modem detects a mail condition in the server based on the first request.
In this embodiment of the present application, the modem may periodically detect the mail condition in the server, or may randomly detect the mail condition in the server, or may detect the mail condition in the server in a manner combining periodic detection and random detection, which is not specifically limited in this embodiment of the present application.
For example, the modem may be provided with a detection period, and the modem may periodically detect the condition of mail in the server according to the detection period.
For example, the modem may periodically detect the condition of mail in the server based on a detection period indicated by the terminal device or other device.
S903: in case the modem detects that a new mail is present in the server, the modem sends a notification to a mail handling application in the terminal device prompting the presence of the new mail.
In a possible implementation, the modem has established a connection with the terminal device, and the modem sends a notification to the terminal device over the established link to indicate the presence of a new mail.
In a possible implementation manner, if the modem does not establish a connection with the terminal device, the modem may establish a handshake connection with the terminal device, and the modem may send a data packet requesting to establish a connection to the terminal device, where after the terminal device receives the data packet, the terminal device sends a confirmation data packet to the modem, and after the modem receives the confirmation data packet, the modem sends a confirmation data packet to the terminal device again, so as to implement the handshake connection between the modem and the terminal device, and the modem sends a notification to the terminal device according to the established handshake connection.
In this embodiment of the present application, if the modem does not detect that a new mail exists in the server, the modem may not send a notification to the terminal device, that is, S903 is optional, and in this embodiment of the present application, whether the terminal device is notified that a new mail is detected is not specifically limited.
In summary, in the embodiment of the present application, when the modem detects that a new mail exists on the server, the modem may send a notification to the terminal device to indicate that the new mail exists, so that the situation that the power consumption of the terminal device is too large due to the fact that the terminal device is always awakened can be avoided.
It will be appreciated that because the modem is running on a separate central processing unit (central processing unit, CPU) CPU and is in a normal operating state, adding proxy functionality to the mail processing application to the modem does not impose additional power consumption expense on the modem.
On the basis of S901-S903, in a possible implementation manner, S904 may further include: after the terminal device receives the notification that the modem is used to prompt that the new mail exists, the mail processing application of the terminal device may obtain the target mail from the server.
S904: the terminal equipment receives a notification that the modem is used for prompting the existence of a new mail, and a mail processing application of the terminal equipment acquires a target mail from the server.
In this embodiment of the present application, the terminal device receives a notification sent by the modem and prompting that a new mail exists, where the notification may be displayed on the user interface or may not be displayed on the user interface.
In a possible implementation, the notification prompting the existence of the new mail may be displayed on a user interface in the terminal device, and fig. 10 is an exemplary interface diagram showing the notification of the existence of the new mail.
As shown in fig. 10, when the terminal device receives a notification from the modem, the terminal device may display the notification at the upper boundary of the user interface, the user may trigger the notification 1001, and illustratively, after the user triggers the notification 1001, the terminal device may enter a mailbox application interface as shown in b in fig. 10, the terminal device performs a step of receiving new mail from the server, or the user may close the notification (e.g., the user swipes the notification 1002).
In a possible implementation, after the user closes the notification, the terminal device may not perform the step of receiving the new mail from the server.
In a possible implementation manner, after the user closes the notification, the terminal device does not temporarily perform the step of receiving the new mail from the server, and when the user triggers the notification again at a later certain time point or triggers the mailbox application, the terminal device may perform the step of acquiring the new mail from the server.
In a possible implementation manner, the notification prompting the existence of the new mail may not be displayed on the user interface, the terminal device receives the notification sent by the modem and used for prompting the existence of the new mail, and the terminal device automatically performs the step of acquiring the new mail from the server.
In a possible implementation, if the modem detects that the terminal device has not performed the step of obtaining the new mail from the server for a long time, the modem may send a notification to the terminal device again indicating that the new mail is present.
In a possible implementation manner, the specific implementation of obtaining the new mail by the terminal device from the server may include: the mail processing application of the terminal equipment initiates a request for acquiring a mail set to the server, the server sends the mail set to the terminal equipment after receiving the request, the terminal equipment acquires the mail set on the server, the terminal equipment compares the acquired mail set with the mail set received on the terminal equipment, and if the mail set has a difference mail, the terminal equipment downloads the difference mail from the server to realize the receiving of a new mail.
In one possible implementation of S902, based on the corresponding embodiment of fig. 9, the modem may periodically detect mail in the server.
In one possible implementation, the modem may periodically detect mail conditions in the server based on a first detection period, which may be the detection period of the modem itself. For example, the modem may interact with the server each time the first detection period arrives, detecting mail conditions in the server.
In a possible implementation manner, in a case that the first request sent by the terminal device to the modem includes the detection period information, the modem may detect the mail condition in the server according to the detection period information in the first request, and the detection period sent by the terminal device to the modem may be referred to as a second detection period. For example, the modem may interact with the server each time a second detection period arrives, detecting mail conditions in the server.
It will be appreciated that the operational period of the modem itself (e.g., the first detection period) may not be consistent with the second detection period, and that the modem may combine the first detection period with the second detection period to detect mail conditions in the server either early or late when the second detection period arrives.
Illustratively, the modem may establish a radio resource control connection with the server upon arrival of the first detection period, and in the event that the modem detects that the second detection period is close to the first detection period, the modem schedules in advance of the arrival of the second detection period, the step of detecting the mail condition in the server being performed in advance.
For example, fig. 11 shows a schematic diagram of advanced scheduling, and as shown in fig. 11, assuming that the first detection period is 3 minutes and the second detection period is 10 minutes, in the first detection period of the modem, the modem is closer to 10 minutes of the second scheduling period at 9 minutes, and then the modem may perform the step of detecting the mail condition in the server at 9 minutes. Thus, because the modem performs the step of detecting the mail condition in the server in advance, it is possible to detect whether there is a new mail in the server in time.
In a possible implementation, as in the schematic diagram shown in fig. 11, the modem may also detect the mail condition in the server at 12 minutes, and the manner in which the modem periodically detects the mail in the server is not limited in the embodiment of the present application.
In a possible implementation manner of S902, based on the corresponding embodiment of fig. 9, in a case that the modem detects that the network status meets the requirement, the modem detects the mail condition in the server according to the detection period; or, in the case that the modem detects that the network state does not satisfy the demand, the modem stops detecting the mail condition in the server, and in the case that the modem detects that the network state satisfies the demand again, the modem detects the mail condition in the server according to the detection period.
Illustratively, when the first detection period arrives, the modem may detect the network status, and in the case that the modem detects that the network status meets the requirement, the modem may detect the mail condition in the server in any of the above manners.
In the case where the modem detects that the network status does not meet the requirement, such as a network outage or a network instability, the modem may not be able to implement the step of detecting the mail in the server, and the modem may decide to temporarily not perform the step of detecting the mail condition in the server. In the event that the modem detects that the network status re-meets the demand, the modem may detect the mail condition in the server in any of the ways described above.
In this way, the modem can dynamically determine whether to perform the step of detecting the mail in the server according to the network signal quality, or can understand that if the current network state does not meet the requirement, the modem reserves the detection period, and when the network state meets the requirement, the modem can perform the step of detecting the mail in the server as soon as possible (because the modem knows that the step of detecting the mail in the server is not performed when the network state does not meet the requirement), so that the modem can avoid that when the network state does not meet the requirement, the modem performs the step of detecting the mail in the server, and subsequently continues to perform the lag caused by the step of detecting the mail in the server according to the detection period (for example, the modem performs the step of detecting the mail in the server when the first detection period arrives, but actually because the network state is poor, and no detection is successful, and for the modem, because the step of detecting the mail in the server is performed again when the next detection period, the step of detecting the mail in the server is not performed, and possibly the network does not recover after the first detection period, so that the detection period is not recovered after the first detection period, and thus the service period is not lost, and the service period can be applied for detecting the mail condition in time.
In a possible implementation manner, the manner of detecting the mail condition in the server in combination with the network state and the manner of scheduling in advance may have an association. For example, fig. 12 shows a schematic diagram of a modem schedule detecting mail conditions in a server.
As shown in fig. 12, the event type may be that a first detection period arrives.
In a possible implementation manner, when the first detection period arrives, the modem may detect the network state, and in the case that the modem detects that the network state meets the requirement, the modem may normally schedule according to any manner in the foregoing embodiment, so as to implement detection of the mail condition in the server. In the case where the modem detects that the network status does not meet the demand, the modem may prohibit scheduling, temporarily not perform the step of detecting the mail condition in the server, and when the network status meets the demand again, the modem immediately performs the step of detecting the mail condition in the server.
In one possible implementation, the modem may establish a radio resource control connection with the server upon arrival of the first detection period, the modem detecting whether the second detection period is close to the first detection period. When the modem detects that the second detection period is close to the first detection period, the modem may perform advanced scheduling, and the modem performs the step of detecting the mail condition in the server in advance, and the advanced scheduling process may refer to the description of the corresponding embodiment of fig. 11, which is not repeated herein.
In one possible implementation, the modem may check the network state at the arrival of the first detection period, and in the case where the network state meets the requirement, or the network state does not meet the requirement until the requirement is met again, the modem may establish a radio resource control connection with the server, so as to implement advanced scheduling as described above.
In summary, the modem can detect the network state, and when the network state meets the requirement, the modem can dynamically adjust the detection period to detect whether a new mail exists on the server, so that on one hand, the situation that the effective synchronization rate is low due to the fact that the network condition cannot meet the requirement can be avoided, and on the other hand, the timeliness of checking whether the new mail exists in the server can be improved.
On the basis of the corresponding embodiment of fig. 9, a possible implementation manner of S904 includes: the modem reads the number and/or total bytes of the mails related to the mailbox in the server, and for one reading step, the modem determines that a new mail exists in the server when the number and/or total bytes of the mails in the server read in the reading step are different from the number and/or total bytes of the mails in the server read last time.
In one possible implementation, taking the first mailbox as an example, the modem may read the number of mails related to the first mailbox in the server, and for one reading step, the modem may compare the number of mails read from the server with the number of mails read from the server last time. For example, in the case where the number of mails is the same, the modem determines that there is no new mail on the server. In the case that the number of mails is different, the modem determines that a new mail exists on the server.
In one possible implementation, taking the first mailbox as an example, the modem may read the total number of bytes of the mail in the server that is related to the first mailbox, and for one reading step, the modem may compare the total number of bytes of the mail that was read from the server this time with the total number of bytes of the mail that was read from the server last time. For example, in the case where the total number of bytes of mail is the same, the modem determines that there is no new mail on the server. In the case where the total number of bytes of mail is different, the modem determines that a new mail exists on the server.
In one possible implementation, taking the first mailbox as an example, the modem may read the number of mails and the total number of bytes related to the first mailbox in the server, for the step of reading, the modem may compare the number of mails read from the server at this time with the number of mails read from the server at last time, and compare the total number of bytes of mails read from the server at this time with the total number of bytes of mails read from the server at last time. For example, in the case where the number of mails is the same and the total number of bytes is the same, the modem determines that there is no new mail on the server. Under the condition that the number of mails is different and the total byte number is different, the modem determines that a new mail exists on the server; or in the case of different numbers of mail or different total bytes, the modem determines that a new mail exists on the server.
In the embodiment of the application, the modem can conveniently detect whether the new mail exists on the server by combining the number of mails and/or the total byte number.
On the basis of the corresponding embodiment of fig. 9, a possible implementation manner of S904 includes: the modem acquires second identification information of the last mail in the server; in the case that the second identification information is different from the first identification information, the modem determines that a new mail exists in the server, wherein the first identification information is identification information of a mail of a newly received first mailbox in the mail processing application. Thus, the modem can conveniently detect whether a new mail exists on the server by combining the identification information of the mail.
On the basis of the corresponding embodiment of fig. 9, a possible implementation manner of S904 includes: the modem reads the number and/or total byte number of the mails related to the mailbox in the server; for the primary reading step, under the condition that the number and/or total bytes of the mails in the server read in the reading step are different from the number and/or total bytes of the mails in the server read last time, acquiring second identification information of the last mail in the server; in the case that the second identification information is different from the first identification information, the modem determines that a new mail exists in the server, wherein the first identification information is identification information of a mail of a newly received first mailbox in the mail processing application.
In a possible implementation manner, in a case that the number of the mails is different, the modem may further obtain second identification information of the last mail in the server, and the modem compares the second identification information with the first identification information. For example, in the case where the second identification information is the same as the first identification information, the modem determines that there is no new mail in the server; alternatively, in the case where the second identification information is different from the first identification information, the modem determines that a new mail exists in the server.
In a possible implementation manner, in a case that the total bytes of the mails are different, the modem may further obtain second identification information of the last mail in the server, and the modem compares the second identification information with the first identification information. For example, in the case where the second identification information is the same as the first identification information, the modem determines that there is no new mail in the server; alternatively, in the case where the second identification information is different from the first identification information, the modem determines that a new mail exists in the server.
In one possible implementation manner, the modem may further obtain the second identification information of the last mail in the server when the number of mails is different and the total number of bytes is different, and the modem compares the second identification information with the first identification information. For example, in the case where the second identification information is the same as the first identification information, the modem determines that there is no new mail in the server; alternatively, in the event that the second identification information is different from the first identification information, the modem determines that a new mail exists in the server
For example, fig. 13 shows a schematic diagram of a situation in which the modem detects the mail in the server, and as shown in fig. 13, taking the first mailbox as an example, the modem may read the number of mails and the total number of bytes related to the first mailbox in the server, and for one reading step, the modem compares the number of mails and the total number of bytes read from the server in this reading step with the number of mails and the total number of bytes read from the server last time.
When the number and total bytes of the mails in the server read in the reading step are the same as the number and total bytes of the mails in the server read last time, the modem determines that no new mails exist on the server.
And under the condition that the number and the total bytes of the mails in the server read in the reading step are different from those of the mails in the server read last time, the modem acquires the second identification information of the last mail in the server, and the modem compares the second identification information with the first identification information.
The modem determines that there is no new mail in the server in the case where the second identification information is the same as the first identification information, or determines that there is new mail in the server in the case where the second identification information is different from the first identification information.
In the embodiment of the application, the modem can conveniently detect whether the new mail exists on the server by combining the number of mails, the total byte number and/or the identification information.
On the basis of the corresponding embodiment of fig. 9, a possible implementation manner of S904 includes: the modem sends a second request to the server, wherein the second request is used for requesting the server to return an indication whether a new mail is received or not; in the event that the modem receives a reply message from the server, the modem determines that a new mail exists in the server.
In this embodiment of the present application, the server may detect whether a new mail is received by using any possible manner, for example, the server may detect whether a new mail exists in combination with the number of mails, the total number of bytes, and/or the identification information, and if a new mail exists in the server, the server may send a reply message to the modem, where the modem determines that a new mail exists in the server. If there is no new mail in the server, the server may not send a reply message to the modem. By way of example, fig. 14 shows a schematic flow diagram of a modem detecting new mail. In this implementation, the second request may be an internet packet explorer command (packet internet groper, PING).
As shown in fig. 14, the modem may establish an HTTP connection with the server, and based on the HTTP connection, the modem sends PING to the server, and the modem determines whether a new mail exists on the server according to whether the server returns a response.
For example, in the case where the server returns a response to the modem, the modem considers that a new mail exists on the server. In the case where the server does not return a response to the modem, the modem may disconnect the current connection with the server, and wait until the next detection period arrives, and the modem repeatedly performs the steps of establishing an HTTP connection with the server and sending a PING command to the server.
In the embodiment of the application, the server can detect whether a new mail exists, and when the new mail exists, the server can send a reply message to the modem, and the modem can determine whether the new mail exists based on the indication of the server, so that the computing resource of the modem can be saved.
As another alternative embodiment, in a possible implementation manner, a proxy server (which may include a cloud server or other type of server) may proxy to detect whether a new mail exists on the mail server, and an exemplary flowchart of mail processing provided in an embodiment of the present application is shown in fig. 15.
S1501: the terminal device sends a first request to the proxy server, the first request being used to instruct the proxy server to detect mail conditions in the server.
S1502: the proxy server detects the mail condition in the mail server according to the first request.
S1503: in the case where the proxy server detects that a new mail exists in the mail server, the proxy server transmits a notification for prompting the existence of the new mail to a mail processing application in the terminal device.
S1504: the terminal device receives a notification for prompting the existence of a new mail by the proxy server, and the mail processing application of the terminal device acquires the target mail from the server providing the mail service.
Unlike the embodiment corresponding to fig. 9, in the embodiment corresponding to fig. 15, the terminal device sends a first request to the proxy server, where the first request is used to instruct the proxy server to detect a mail condition on the mail server, and when the proxy server detects that a new mail exists on the mail server, the proxy server sends a notification to the terminal device, where the notification is used to prompt that the new mail exists, and the terminal device obtains the new mail from the mail server.
It will be appreciated that, in all possible implementations of the embodiment corresponding to fig. 9, the steps performed by the modem may be performed instead of being performed by a proxy server, which is not described herein.
In the embodiment of the application, the function of detecting whether the new mail exists is put into the proxy server from the terminal equipment side, and the proxy server and the server are used for interactively detecting the condition of the new mail on the server, so that the problems of increased power consumption of the terminal equipment and low effective synchronization rate caused by always waking up the terminal equipment can be avoided.
The mail processing method according to the embodiment of the present application has been described above, and the device of the mail processing method according to the embodiment of the present application is described below. It will be appreciated by those skilled in the art that the methods and apparatus may be combined and referenced with each other, and that the mail processing apparatus provided in the embodiments of the present application may perform the steps in the mail processing method described above.
As shown in fig. 16, fig. 16 shows a schematic structural diagram of a mail processing apparatus according to an embodiment of the present application, where the mail processing apparatus may be a terminal device or may be a component (for example, an integrated circuit, a chip, or the like) of the terminal device. The mail processing apparatus 1600 of the present embodiment includes: a transceiver module 1601 and a processing module 1603. Wherein the transceiver module 1601 is configured to send a first request to the modem, where the first request is configured to instruct the modem to detect a mail condition in the server. The processing module 1603 is configured to obtain the target mail from the server when the terminal device receives a notification from the modem to prompt the presence of a new mail.
Illustratively, taking the mail processing apparatus as a terminal device or a component applied to the terminal device as an example, the transceiver module 1601 may be used to support the mail processing apparatus to perform S901 and/or S903 and the like in the above-described embodiments.
In one possible implementation manner, the mail processing apparatus may further include: and a storage module 1602. The memory module 1602 may include one or more memories, which may be one or more devices, circuits, or devices for storing programs or data.
The memory module 1602 may exist separately and be coupled to the processing module 1603 via a communication bus. The memory module 1602 may also be integrated with the processing module 1601.
Taking the example that the mail processing apparatus may be a chip or a chip system of the terminal device in the embodiment of the present application, the storage module 1602 may store computer-executed instructions of the apparatus of the terminal device, so that the processing module 1603 executes the apparatus of the terminal device in the embodiment described above. The memory module 1602 may be a register, a cache or random access memory (random access memory, RAM) or the like, and the memory module 1602 may be integrated with the processing module 1601. The memory module 1602 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the memory module 1602 may be independent of the processing module 1601.
In one possible implementation, the first request may include one or more of the following: the account number and password of the mailbox, the identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information.
In one possible implementation, the transceiver module is specifically configured to send the first request to the modem when the terminal device receives the target operation.
In one possible implementation, the processing module is specifically configured to encapsulate the data packet in the first request according to the HTTP and the wireless binary extensible markup language WBXML protocol; the transceiver module is specifically further configured to send a data packet included in the encapsulated first request to the modem.
Fig. 17 is a schematic structural diagram of a mail processing device according to another embodiment of the present application, and as shown in fig. 17, the mail processing device may be a modem, or may be a component (for example, an integrated circuit, a chip, etc.) of the modem. The mail processing apparatus 1700 of the present embodiment includes: a transceiver module 1701 and a processing module 1703. The receiving and transmitting module is used for receiving a first request from the terminal equipment, wherein the first request is used for indicating the modem to detect the mail condition in the server; the processing module is used for detecting mail conditions in the server according to the first request; and the receiving and transmitting module is also used for sending a notification for prompting the existence of the new mail to a mail processing application in the terminal equipment when the modem detects that the new mail exists in the server.
In one possible implementation manner, the mail processing apparatus may further include: and a storage module 1702. In one possible implementation, the memory module 1702 may include one or more memories, which may be one or more devices, circuits, or means for storing programs or data.
The memory module 1702 may be separate and coupled to the processing module 1703 via a communications bus. The memory module 1702 may also be integrated with the processing module 1701.
Taking the example that the mail processing device may be a chip or a chip system of a modem in the embodiment of the present application, the storage module 1702 may store computer-executed instructions of the device of the modem, so that the processing module 1703 executes the device of the modem in the above embodiment. The memory module 1702 may be a register, a cache or random access memory (random access memory, RAM), etc., and the memory module 1702 may be integrated with the processing module 1701. The memory module 1702 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the memory module 1702 may be independent of the processing module 1701.
In one possible implementation, the first request includes one or more of the following: the account number and password of the mailbox, the first identification information of the mail of the mailbox newly received in the mail processing application, the address information of the server, the detection period information, the communication security type information or the communication protocol information.
In a possible implementation manner, the processing module is specifically configured to detect, when the modem detects that the network state meets a requirement, a mail condition in the server according to a detection period; or the processing module is specifically configured to stop detecting the mail condition in the server when the modem detects that the network state does not meet the requirement, and is specifically configured to detect the mail condition in the server according to the detection period when the modem detects that the network state meets the requirement again.
In a possible implementation manner, the processing module is specifically configured to establish a radio resource control connection; the processing module is specifically configured to detect the mail condition in the server when the period of detecting the mail condition in the server is close to the detection period of the modem itself.
In one possible implementation manner, the processing module is specifically configured to read the number and/or total byte number of the mails related to the mailbox in the server; the processing module is specifically configured to, for the step of reading once, obtain, when the number and/or total bytes of the mails in the server read in the step of reading are different from the number and/or total bytes of the mails in the server read last time, second identification information of the last mail in the server; the processing module is specifically further configured to determine that a new mail exists in the server when the second identification information is different from the first identification information.
In a possible implementation manner, the transceiver module is specifically configured to send a second request to the server, where the second request is used to request the server to return an indication whether a new mail is received; the transceiver module is specifically configured to determine that a new mail exists in the server when the modem receives a reply message from the server.
In a possible implementation manner, the processing module is specifically configured to package the data set in the first request according to IMAP or POP; the processing module is specifically configured to detect a mail condition in the server according to the first requested data packet after the grouping.
Fig. 18 is a schematic hardware structure of a mail processing device according to an embodiment of the present application. Referring to fig. 18, the network management apparatus includes: memory 1801, and processor 1802. The communication device may also include interface circuitry 1803, wherein the memory 1801, the processor 1802, and the interface circuitry 1803 may communicate; the memory 1801, the processor 1802, and the interface circuit 1803 may communicate through a communication bus, and the memory 1801 is used to store computer-executable instructions and control the execution by the processor 1802, thereby realizing the means for mail processing provided in the embodiments described below.
In a possible implementation manner, the computer-executed instructions in the embodiments of the present application may also be referred to as application program code, which is not specifically limited in this embodiment of the present application.
Optionally, the interface circuit 1803 may also include a transmitter and/or a receiver.
Alternatively, the processor 1802 may include one or more CPUs, but may be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of an apparatus disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of hardware and software modules in a processor.
Embodiments of the present application also provide a computer-readable storage medium. The apparatus described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
In one possible implementation, the computer readable medium may include RAM, ROM, compact disk-read only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium targeted for carrying or storing the desired program code in the form of instructions or data structures and accessible by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (Digital Subscriber Line, DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes optical disc, laser disc, optical disc, digital versatile disc (Digital Versatile Disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of apparatus, devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing module of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing module of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing detailed description of the invention has been presented for purposes of illustration and description, and it should be understood that the foregoing is by way of illustration and description only, and is not intended to limit the scope of the invention.
It should be noted that, the abnormal access behavior described in the present application may also use other definitions or names in a specific application, and the abnormal access behavior may be referred to as an abnormal attack behavior, an abnormal access, or the like by way of example. Or the abnormal access behavior may define other names according to the actual application scenario, which is not specifically limited in the embodiment of the present application.

Claims (22)

1. A mail processing method, characterized by comprising:
the terminal equipment sends a first request to the modem; the first request comprises a second detection period, the first request is used for indicating the modem to periodically detect mail conditions in a server, the modem periodically detects mail conditions related to the second detection period and a first detection period, and the first detection period is a self detection period of the modem; under the condition that a second detection period for detecting the mail condition in the server is close to the self detection period, the modem detects the mail condition in the server in advance or in a backward manner;
and under the condition that the terminal equipment receives the notification for prompting the existence of the new mail by the modem, the mail processing application of the terminal equipment acquires the target mail from the server.
2. The method of claim 1, wherein the first request further comprises one or more of: the account number and the password of the mailbox, the identification information of the mail of the mailbox which is latest received in the mail processing application, the address information of the server, the communication security type information or the communication protocol information.
3. The method according to claim 1 or 2, wherein the terminal device sends a first request to a modem, comprising:
and in the case that the terminal equipment receives the target operation, the terminal equipment sends a first request to the modem.
4. A method according to any of claims 1-3, characterized in that in case the mail processing application of the terminal device communicates with the modem using a synchronization protocol EAS, the terminal device sends a first request to the modem comprising:
the terminal equipment encapsulates the data packet in the first request according to a hypertext transfer protocol (HTTP) and a wireless binary extensible markup language (WBXML) protocol;
the terminal device sends a data packet contained in the encapsulated first request to a modem.
5. A mail processing method, characterized by comprising:
the modem receives a first request from the terminal equipment, wherein the first request comprises a second detection period, and the first request is used for indicating the modem to periodically detect mail conditions in a server;
the modem periodically detects mail conditions in the server according to the first request;
in the case that the modem detects that a new mail exists in the server, the modem sends a notification for prompting the existence of the new mail to a mail processing application in the terminal device;
the modem periodically detects mail conditions in the server according to the first request, including:
the modem establishes a radio resource control connection;
in the case that the second detection period for detecting the mail condition in the server is close to the self detection period, the modem detects the mail condition in the server in advance or in a backward direction.
6. The method of claim 5, wherein the modem detecting mail conditions in the server based on the first request comprises:
Under the condition that the modem detects that the network state meets the requirement, the modem detects the mail condition in the server according to the detection period;
or, in the case that the modem detects that the network state does not meet the requirement, the modem stops detecting the mail condition in the server, and in the case that the modem detects that the network state meets the requirement again, the modem detects the mail condition in the server according to the detection period.
7. The method of claim 5 or 6, wherein the first request further comprises one or more of: the account number and the password of the mailbox, the first identification information of the mail of the mailbox which is received latest in the mail processing application, the address information of the server, the communication security type information or the communication protocol information.
8. The method of claim 7, wherein the modem detecting mail conditions in the server based on the first request comprises:
the modem reads the number of mails and/or the total byte number related to the mailbox in the server;
For the reading step, acquiring second identification information of the last mail in the server under the condition that the number and/or total bytes of the mails in the server read in the reading step are different from the number and/or total bytes of the mails in the server read last time;
in the case where the second identification information is different from the first identification information, the modem determines that a new mail exists in the server.
9. The method of any of claims 5-7, wherein the modem detecting mail conditions in the server based on the first request comprises:
the modem sends a second request to the server, wherein the second request is used for requesting the server to return an indication whether new mail is received or not;
in the event that the modem receives a reply message from the server, the modem determines that a new mail exists in the server.
10. The method according to any of claims 5-9, wherein in case the mail processing application of the terminal device communicates with the modem using an interactive post office access protocol, IMAP, or post office protocol, POP, the method further comprises:
The modem packs the data group in the first request according to IMAP or POP;
the modem detects the mail condition in the server according to the first request, and the method comprises the following steps:
and the modem detects the mail condition in the server according to the first requested data packet after the grouping.
11. A mail processing apparatus, characterized by comprising:
a transceiver module configured to send a first request to a modem, where the first request includes a second detection period, and the first request is used to instruct the modem to periodically detect a mail condition in a server, where the modem periodic detection is related to the second detection period and a first detection period, and the first detection period is a self detection period of the modem; under the condition that a second detection period for detecting the mail condition in the server is close to the self detection period, the modem detects the mail condition in the server in advance or in a backward manner;
and the processing module is used for acquiring the target mail from the server under the condition that the terminal equipment receives the notification of the modem for prompting the existence of the new mail.
12. The apparatus of claim 11, wherein the first request further comprises one or more of: the account number and the password of the mailbox, the identification information of the mail of the mailbox which is latest received in the mail processing application, the address information of the server, the communication security type information or the communication protocol information.
13. The apparatus according to claim 11 or 12, wherein the transceiver module is configured to send a first request to the modem, in particular in case the terminal device receives a target operation.
14. The apparatus according to any of claims 11-13, wherein the processing module is configured to encapsulate the data packets in the first request in accordance with the hypertext transfer protocol HTTP and the wireless binary extensible markup language, WBXML, protocol;
the transceiver module is specifically configured to send a data packet including the encapsulated first request to a modem.
15. A mail processing apparatus, characterized by comprising:
a transceiver module, configured to receive a first request from a terminal device, where the first request includes a second detection period, and the first request is used to instruct a modem to periodically detect a mail condition in a server;
The processing module is used for periodically detecting mail conditions in the server according to the first request;
a transceiver module, configured to send a notification for prompting the existence of a new mail to a mail processing application in the terminal device when the modem detects that the new mail exists in the server;
the processing module is specifically configured to establish a radio resource control connection;
the processing module is further configured to detect the mail condition in the server in advance or in a backward direction when the period for detecting the mail condition in the server is close to the detection period of the modem itself.
16. The apparatus according to claim 15, wherein the processing module is specifically configured to detect, in a case where the modem detects that the network status meets the requirement, a mail condition in the server according to a detection period;
or, the processing module is configured to stop detecting the mail condition in the server when the modem detects that the network state does not meet the requirement, and is further configured to detect the mail condition in the server according to a detection period when the modem detects that the network state meets the requirement again.
17. The apparatus of claim 15 or 16, wherein the first request further comprises one or more of: the account number and the password of the mailbox, the first identification information of the mail of the mailbox which is received latest in the mail processing application, the address information of the server, the communication security type information or the communication protocol information.
18. The apparatus according to claim 17, wherein the processing module is configured to specifically read the number of mails and/or the total number of bytes associated with the mailbox in the server;
the processing module is further configured to, for the reading step at one time, obtain, when the number and/or total number of bytes of the mail in the server read in the reading step is different from the number and/or total number of bytes of the mail in the server read last time, second identification information of the last mail in the server;
the processing module is further configured to determine that a new mail exists in the server when the second identification information is different from the first identification information.
19. The apparatus according to any of the claims 15-17, wherein the transceiver module is configured to send a second request to the server, the second request being configured to request the server to return an indication whether a new mail is received;
And the receiving and transmitting module is also used for determining that a new mail exists in the server under the condition that the modem receives the reply message of the server.
20. The apparatus according to any one of claims 15-19, wherein the processing module is configured to, in particular, package the data group in the first request according to IMAP or POP;
the processing module is further configured to detect a mail condition in the server according to the packetized data packet of the first request.
21. A mail processing apparatus, characterized by comprising: memory, processor, and transceiver;
the memory is used for storing program instructions;
the processor being configured to invoke program instructions in the memory to perform the mail processing apparatus of any of claims 1-4; alternatively, a mail processing apparatus as claimed in any one of claims 5 to 10.
22. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-4; alternatively, a method according to any one of claims 5-10.
CN202010956554.4A 2020-09-11 2020-09-11 Mail processing method and device Active CN114172860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010956554.4A CN114172860B (en) 2020-09-11 2020-09-11 Mail processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010956554.4A CN114172860B (en) 2020-09-11 2020-09-11 Mail processing method and device

Publications (2)

Publication Number Publication Date
CN114172860A CN114172860A (en) 2022-03-11
CN114172860B true CN114172860B (en) 2023-06-20

Family

ID=80476196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010956554.4A Active CN114172860B (en) 2020-09-11 2020-09-11 Mail processing method and device

Country Status (1)

Country Link
CN (1) CN114172860B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6430691B1 (en) * 1999-06-21 2002-08-06 Copytele, Inc. Stand-alone telecommunications security device
US7260606B1 (en) * 2000-04-12 2007-08-21 Time Warner Cable, Inc. Attenuation, delay, queuing, and message caching processes for use in e-mail protocols in order to reduce network server loading
CN101167065A (en) * 2004-02-17 2008-04-23 蒂蒙系统公司 System and method of retrieving electronic mail
CN101252499A (en) * 2008-03-28 2008-08-27 程凯征 Mail server dynamic state polling method for checking whether mail server has new mail arrive or not
CN101753469A (en) * 2008-11-28 2010-06-23 爱思开电讯投资(中国)有限公司 Mail device and method

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1207675C (en) * 2000-08-31 2005-06-22 国际商业机器公司 E-mail distribution system and method
CN1741506A (en) * 2004-08-25 2006-03-01 英华达(上海)电子有限公司 Realizing method for automatic receiving mobile phone mail
CN1722711A (en) * 2005-07-27 2006-01-18 北京立通无限科技有限公司 Method for implementing mail forwarding by mail proxy server
US7869795B2 (en) * 2006-03-20 2011-01-11 Kamfu Wong System and method for informing a user of the arrival of an email at an email server via mobile phone
US7805489B2 (en) * 2006-06-27 2010-09-28 Research In Motion Limited Electronic mail communications system with client email internet service provider (ISP) polling application and related methods
CN101764764B (en) * 2008-12-24 2012-06-06 中国移动通信集团公司 E-mail proxy gateway and e-mail pushing method thereof
CN101800974A (en) * 2009-02-11 2010-08-11 朗讯科技公司 Method for processing task request of mobile equipment and user agent application server
CN101483835A (en) * 2009-02-24 2009-07-15 诚迈科技(南京)有限公司 Implementing method and system for novel mobile mail
CN101990283A (en) * 2009-08-05 2011-03-23 宏碁股份有限公司 Wireless communication device and electricity saving method thereof
CN102404698A (en) * 2010-09-15 2012-04-04 中国移动通信集团公司 Wireless mail pushing method, device and system
CN102769703A (en) * 2012-07-17 2012-11-07 青岛海信移动通信技术股份有限公司 Mobile phone terminal and firewall monitoring method
KR101785483B1 (en) * 2013-10-29 2017-10-20 후아웨이 디바이스 (둥관) 컴퍼니 리미티드 Method for acting as service agent, modem and terminal
CN105611983B (en) * 2014-03-25 2019-06-21 华为终端有限公司 Email processing method and device
CN104980469A (en) * 2014-04-10 2015-10-14 阿里巴巴集团控股有限公司 E-mail extraction method and system
US20170195275A1 (en) * 2015-12-30 2017-07-06 Dell Products L.P. Delivery of email to a mobile device
CN106603869A (en) * 2017-01-09 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Mail processing method and device
CN111010334A (en) * 2019-12-06 2020-04-14 紫光云(南京)数字技术有限公司 Mail information system based on combination of mail and BSS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6430691B1 (en) * 1999-06-21 2002-08-06 Copytele, Inc. Stand-alone telecommunications security device
US7260606B1 (en) * 2000-04-12 2007-08-21 Time Warner Cable, Inc. Attenuation, delay, queuing, and message caching processes for use in e-mail protocols in order to reduce network server loading
CN101167065A (en) * 2004-02-17 2008-04-23 蒂蒙系统公司 System and method of retrieving electronic mail
CN101252499A (en) * 2008-03-28 2008-08-27 程凯征 Mail server dynamic state polling method for checking whether mail server has new mail arrive or not
CN101753469A (en) * 2008-11-28 2010-06-23 爱思开电讯投资(中国)有限公司 Mail device and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Siva Kumar a/l Subramaniam ; Siti Huzaimah binti Husin ; Yusmarnita binti Yusop ; Abdul Hamid bin Hamidon.Real time mailbox alert system via SMS or email.《2007 Asia-Pacific Conference on Applied Electromagnetics》.2007,全文. *
王媛媛 ; 谭献海 ; .移动代理系统――IBM的Aglets.微计算机信息.2006,(第09期),全文. *

Also Published As

Publication number Publication date
CN114172860A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US20220163932A1 (en) Device control page display method, related apparatus, and system
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
WO2021000807A1 (en) Processing method and apparatus for waiting scenario in application
CN111404802A (en) Notification processing system and method and electronic equipment
US20230021994A1 (en) Cross-Device Content Projection Method and Electronic Device
WO2020238890A1 (en) Information processing method and device
WO2020150917A1 (en) Application permission management method and electronic device
CN114173000B (en) Method, electronic equipment and system for replying message and storage medium
CN116360725B (en) Display interaction system, display method and device
CN110751503B (en) Advertisement processing method and electronic equipment
WO2020150894A1 (en) Application-based incoming call display method and terminal device
US20230297414A1 (en) Task Processing Method and Related Apparatus
US11949805B2 (en) Call method and apparatus
US20230070358A1 (en) File Sharing Method, System, and Related Device
US11412437B2 (en) Data transmission method and electronic device
WO2022042637A1 (en) Bluetooth-based data transmission method and related apparatus
KR102524305B1 (en) Connection establishment method and terminal device
CN114157756A (en) Task processing method and related electronic equipment
CN114338913B (en) Fault diagnosis method, electronic device and readable storage medium
CN114064160A (en) Application icon layout method and related device
CN114006712A (en) Method, electronic equipment and system for acquiring verification code
EP4293997A1 (en) Display method, electronic device, and system
CN116486500B (en) Mail sending method and electronic equipment
CN114006698B (en) token refreshing method and device, electronic equipment and readable storage medium
CN114828098B (en) Data transmission 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