CN105611983B - Email processing method and device - Google Patents

Email processing method and device Download PDF

Info

Publication number
CN105611983B
CN105611983B CN201480005411.8A CN201480005411A CN105611983B CN 105611983 B CN105611983 B CN 105611983B CN 201480005411 A CN201480005411 A CN 201480005411A CN 105611983 B CN105611983 B CN 105611983B
Authority
CN
China
Prior art keywords
modem
inquiry request
request command
mail
mail server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201480005411.8A
Other languages
Chinese (zh)
Other versions
CN105611983A (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 Device Co Ltd
Original Assignee
Huawei Device 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 Device Co Ltd filed Critical Huawei Device Co Ltd
Publication of CN105611983A publication Critical patent/CN105611983A/en
Application granted granted Critical
Publication of CN105611983B publication Critical patent/CN105611983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of email processing method and devices, are related to field of communication technology, are able to solve in the standby state, and AP is by frequent the problem of waking up to inquire and receive mail, cause power consumption to increase, shorten stand-by time.The method comprise the steps that modem sends the first inquiry request command to mail server when detecting that intelligent terminal is in the first preset state;It is received after the mail server receives the email message sent after the mail to the modem within the first time in modem, stores the email message to the buffer area of the modem.The present invention is suitable for modem.

Description

Email processing method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of email processing methods and device.
Background technique
With the fast development of Mobile business, send and receive e-mail on mobile intelligent terminal have become it is a kind of safety, just Prompt communication mode.After mobile intelligent terminal logs in mailbox, need to inquire the mail server on mobile Internet public network, it is mobile The AP (Application Processor, application processor) of intelligent terminal can periodically pass through modem to mail service Device sends query information, has checked whether mail arrival.When there is mail arrival, for needing the ability after sending querying command It is synchronized to the mailbox of mail, mail server sends email message to mobile intelligent terminal after receiving query information;For Can be desynchronized the mailbox of mail in real time, and mail server can send mail to mobile intelligent terminal when receiving mail and disappear Breath.AP carries out data parsing after receiving email message by modem.
At least there are the following problems in the prior art: in the standby state, the Email of the side AP in mobile intelligent terminal Email application periodically will send query information to mail server by modem and receive email message, mobile in this way AP and modem can frequently be waken up in intelligent terminal, cause the increase of standby current, power consumption is caused to increase, shorten to The machine time.
Summary of the invention
The embodiment of the present invention provides a kind of email processing method and device, is able to solve in the standby state, and AP is by frequency Numerous wake-up is come the problem of inquiring and receive mail, cause power consumption to increase, shorten stand-by time.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of email processing method, comprising:
When receiving intelligent terminal and being in the information of the first preset state, modem sends the to mail server One inquiry request command;Wherein, whether first inquiry request command is for inquiring the mail server at the first time Inscribed to get the mail, the first time asks once to send first inquiry to mail server before the modem At the time of asking order with the modem when it is preceding send first inquiry request command to mail server at the time of it Between interval;
It is received after the mail server receives the mail within the first time in the modem After the email message sent to the modem, the email message is stored to the buffer area of the modem, The email message notifies mail server described in the modem within the first time as the mail server Receive the mail.
With reference to first aspect, in the first possible implementation of the first aspect, it is in when receiving intelligent terminal When the information of the first preset state, before the modem sends the first inquiry request command to mail server, institute State method further include:
Second inquiry request command of the modem interception preset number, second inquiry request command are to answer It is sent with processor, the preset number is to preset;
The modem determines the application processor according to the second inquiry request command of the preset number of interception Send the rule of second inquiry request command;
When receiving intelligent terminal and being in the information of the first preset state, the modem is sent out to mail server The first inquiry request command is sent to include:
When receiving intelligent terminal and being in the information of the first preset state, the modem according to the rule to Mail server sends the first inquiry request command.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect In, the modem determines that the application processor is sent according to the second inquiry request command of the preset number of interception The rule of second inquiry request command includes:
Second inquiry request command of the preset number of the modem parsing interception;
The content and time interval of second inquiry request command of the preset number of the modem statistics interception, obtain The application processor sends the rule of second inquiry request command out.
The possible implementation of with reference to first aspect the first, in the third possible implementation of first aspect In, when receiving intelligent terminal and being in the information of the first preset state, the of modem interception preset number Before two inquiry request commands, the method also includes:
Modem setting Agent Markup position is the first preset value.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect In, after the storage email message to the buffer area of the modem, the method also includes:
When receiving intelligent terminal and being in the information of the second preset state, the modem judges agency's mark Whether will position is first preset value;
When the Agent Markup position is first preset value, the modem stops to the mail server Send first inquiry request command.
The 4th kind of possible implementation with reference to first aspect, in the 5th kind of possible implementation of first aspect In, when the Agent Markup position is first preset value, the modem stops to described in mail server transmission After first inquiry request command, the method also includes:
The modem is by the content transmission of the buffer area to the application processor;
The modem removes the buffer area;
It is the second preset value that the Agent Markup position, which is arranged, in the modem.
With reference to first aspect or any possible implementation of first aspect, the 6th kind in first aspect are possible In implementation, after the storage email message to the buffer area of the modem, the method also includes:
The modem obtains the mail from the mail server according to the e-mail messages;
The modem stores the mail to the buffer area.
Second aspect, the embodiment of the present invention provide a kind of modem, including transmitter, receiver and memory;
The transmitter, for when receiving intelligent terminal and being in the information of the first preset state, to mail server Send the first inquiry request command;Wherein, whether first inquiry request command is for inquiring the mail server the One time is inscribed to get the mail, and the first time is once to send described first to mail server before the modem First inquiry request command is sent to mail server when preceding with the modem at the time of inquiry request command Interval between moment;
The receiver, the email message sent for receiving the mail server;
The memory, it is inscribed in the first time for receiving the mail server in the modem After receiving the email message sent after the mail to the modem, the email message is stored to the modulatedemodulate The buffer area of device is adjusted, the email message notifies mail server described in the modem in institute as the mail server It states and receives the mail in first time.
In conjunction with second aspect, in the first possible implementation of the second aspect, further includes:
Processor, for intercepting the second inquiry request command of preset number, second inquiry request command is application What processor was sent, the preset number is to preset;And for the second inquiry request according to the preset number of interception Order, determines that the application processor sends the rule of second inquiry request command;And intelligent end is received for working as When end is in the information of the first preset state, the first inquiry request command is sent to mail server according to the rule.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect In, the processor is also used to parse the second inquiry request command of the preset number of interception;And for counting the pre- of interception If the content and time interval of the second inquiry request command of number, show that the application processor sends second inquiry and asks Seek the rule of order.
In conjunction with the first possible implementation of second aspect, in the third possible implementation of second aspect In, it is the first preset value that the processor, which is also used to be arranged Agent Markup position,.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect In, the processor is also used to judge the Agent Markup when receiving intelligent terminal and being in the information of the second preset state Whether position is first preset value;
The transmitter is also used to stop when the Agent Markup position is first preset value to the mail service Device sends first inquiry request command.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect In, the processor is also used to the content transmission of the buffer area to the application processor;And it is described slow for removing Rush area;And for the Agent Markup position to be arranged as the second preset value.
In conjunction with any possible implementation of second aspect or second aspect, the 6th kind in second aspect is possible In implementation, the processor is also used to obtain the mail from the mail server according to the e-mail messages;
The memory is also used to store the mail to the buffer area.
The third aspect, the embodiment of the present invention provide a kind of chipset, including the modem as described in second aspect And application processor;Wherein, when receiving intelligent terminal and being in the information of the first preset state, the modem to Before mail server sends the first inquiry request command, the second inquiry request life of the modem interception preset number It enables, second inquiry request command is what application processor was sent, and the preset number is to preset;It is whole in the intelligence After end switchs to the second preset state by the first preset state, the modem will be in the buffer area of the modem Appearance is transferred to the application processor.
Fourth aspect, the embodiment of the present invention provide a kind of terminal device, including the chipset as described in the third aspect.
The embodiment of the present invention provides a kind of email processing method and device, is in the first preset state in intelligent terminal When, modem sends the first inquiry request command to mail server;Mail server is being received within first time After receiving the email message sent after mail to modem, it is stored to the buffer area of modem.In this way, When intelligent terminal is in the first preset state, mail is inquired by modem alternate application processor and is received, It avoids waking up AP, reduces standby current, reduce power consumption, extend stand-by time.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the method flow diagram that one embodiment of the invention provides;
Fig. 2 is the method flow diagram that further embodiment of this invention provides;
Fig. 3, Fig. 4 are the apparatus structure schematic diagram that further embodiment of this invention provides;
Fig. 5, Fig. 6 are the modem structure schematic diagram that further embodiment of this invention provides;
Fig. 7 is the chipset feature schematic diagram that further embodiment of this invention provides;
Fig. 8 is the terminal device structural schematic diagram that further embodiment of this invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
One embodiment of the invention provides a kind of email processing method, and the method for the mail treatment can be by modem Modem is executed, as shown in Figure 1, which comprises
101, when receiving intelligent terminal and being in the information of the first preset state, modem is sent out to mail server Send the first inquiry request command.
Wherein, the first inquiry request command is used to inquire whether mail server to get the mail inscribed at the first time, the One time was to work as at the time of once sending the first inquiry request command to mail server before modem with modem Interval between at the time of forward direction mail server the first inquiry request command of transmission.
Optionally, when receiving intelligent terminal and being in the information of the first preset state, in the modem to postal Before part server sends the first inquiry request command, modem intercepts the second inquiry request command of preset number, in advance If number is to preset;Then modem determines application according to the second inquiry request command of the preset number of interception Processor sends the rule of the second inquiry request command, in order to which modem sends first to mail server according to rule Inquiry request command.
It should be noted that the second inquiry request command is what application processor was sent, it is for inquiring mail server No to receive mail within a preset time, preset time is the time interval that application processor sends the second inquiry request command.
Further, modem determines application processing according to the second inquiry request command of the preset number of interception The rule of device the second inquiry request command of transmission includes: the second inquiry request life of the preset number of modem parsing interception It enables;The content and time interval for counting the second inquiry request command of the preset number of interception show that application processor sends institute State the rule of the second inquiry request command.
For example, the content that application processor sends the second inquiry request command is 0, time interval is 5 minutes, then modulatedemodulate It adjusts device after the second inquiry request command of interception preset number, counts the second inquiry request command of the preset number of interception Content and time interval show that application processor sends the rule of the second inquiry request command are as follows: it sends within every 5 minutes once, it is interior Holding is 0, then sends the first inquiry request command according to this rule.
Further, pre- in modem interception when receiving intelligent terminal and being in the information of the first preset state If before the second inquiry request command of number, it is the first preset value that Agent Markup position, which is arranged, in modem, indicate intelligence eventually End equipment uses agent data business.For the mailbox for the mail that can desynchronize in real time, modem is applied in study After processor sends the rule of inquiry request command, alternate application processor sends the first inquiry request life to mail server It enables.
It should be noted that the first preset state of intelligent terminal includes the closing of intelligent terminal screen, intelligent terminal Equipment be conference model or battery saving mode etc., the second preset state of intelligent terminal include intelligent terminal screen opening, Intelligent terminal is AP wake-up states etc..Intelligent terminal is in the information of the first preset state or intelligent terminal is in the The information of two preset states, be application processor in sensor to the state-detection of intelligent terminal after, send it to modulation Demodulator.The content and time interval of second inquiry request command of the preset number of modem statistics interception, Ke Yitong It crosses the methods of to average and show that application processor sends the rule of second inquiry request command, this process can be modulation The process of demodulator self study.
102, modem receive mail server first time it is inscribed get the mail after to modem After the email message of transmission, storage email message to the buffer area of modem.
Wherein, email message is had received within first time by mail server notice modem mail server Mail.
Further, after storing the buffer area of the email message to modem, when receiving intelligent terminal When information in the second preset state, modem judges whether Agent Markup position is the first preset value.Work as Agent Markup When position is the first preset value, modem stops sending the first inquiry request command to mail server.
It should be noted that being indicated at modem alternate application useless when acting on behalf of flag bit is the second preset value It manages device and sends the first inquiry request command, if receiving email message at this time, by application processor processes email message.
Further, when acting on behalf of flag bit is the first preset value, modem stops sending the to mail server After one inquiry request command, by the content transmission of buffer area to application processor, then clear buffer, and by Agent Markup Position is set as the second preset value;In the follow-up process, if receiving email message, application processor processes email message.
It optionally, can be according to e-mail messages after the email message that modem receives mail server transmission Mail is obtained from mail server, and stores and arrives buffer area.
It should be noted that can only be deposited when modem obtains mail from mail server according to e-mail messages Mail is stored up, without storing email message.
In the prior art, AP periodically will send inquiry letter to mail server by modem in mobile intelligent terminal Breath and reception email message, synchronous mail AP are frequently waken up, cause the increase of standby current, power consumption is caused to increase, shortened Stand-by time.Compared with prior art, the embodiment of the present invention is when intelligent terminal is in the first preset state, modulation /demodulation Device sends the first inquiry request command to mail server;Receive mail server first time it is inscribed get the mail after After the email message sent to modem, modem is stored to the buffer area of modem.In this way, When intelligent terminal is in the first preset state, mail is inquired by modem alternate application processor and received, is kept away Exempt to wake up AP, solve in the prior art that AP by frequent wake up inquires and receive mail, causes power consumption to increase, shorten standby The problem of time.By solving above-mentioned technical problem, standby current can be reduced, power consumption is reduced, extends stand-by time.
Further embodiment of this invention provides a kind of email processing method, and the email processing method is held by modem Row, by taking the modem in mobile phone as an example, mobile phone be in the first preset state so that mobile phone screen is closed as an example, and mobile phone is in the Two preset states indicate that mobile phone uses agent data business, generation by taking mobile phone screen is opened as an example, with the value of Agent Markup position for 1 The value of reason flag bit is that 0 expression mobile phone does not use agent data business, as shown in Figure 2, which comprises
201, user setting mobile phone uses agent data business.
Wherein, user can set mobile phone when carrying out agent data business in the method using the embodiment of the present invention It sets, then executes following step.
202, modem receives the status information of mobile phone screen.
It should be noted that the case where embodiment of the present invention is in off state for mobile phone screen, the sensor in AP can To detect the state of intelligent terminal screen, then the state of intelligent terminal screen is sent to modem by AP.
203, when receiving the information of screen closing, it is 1 that Agent Markup position, which is arranged, in modem.
Wherein, after the information for receiving screen closing, modem first has to act on behalf of mark in setting modem The value of will position.Agent Markup position indicates that mobile phone executes agent data business.
For example, user has in step 201 been configured mobile phone, Yao Caiyong agent data business, modulatedemodulate at this time Adjusting Agent Markup position initial value in device is 0.After mobile phone closes screen, mobile phone executes agent data business, and modem is set The value for setting Agent Markup position is 1.
204, the inquiry request command that modem interception application processor AP is sent to mail server.
It should be noted that in the embodiment of the present invention when mobile phone screen is closed, modem alternate application processor The inquiry request command sent to mail server, then modem intercepts AP first and asks to the inquiry that mail server is sent Order is asked, the rule of inquiry request command is sent for learning AP to mail server.
For example, for the mailbox for the mail that can desynchronize in real time, the inquiry request command that AP is sent to mail server, Modem continuously intercepts the inquiry request command of 5 AP transmission, to learn the rule that AP sends inquiry request command.
205, modem sends the rule of inquiry request command according to the inquiry request command self study AP of interception.
For example, after the inquiry request command that modem continuously intercepts 5 AP transmission, to this 5 inquiry request lives Order is parsed, the transmission time interval of statistical query request command and the content of inquiry request command, by averaging The methods of it can be concluded that AP send inquiry request command rule, modem learn AP send inquiry request command rule Rule, adapter tube AP sends inquiry request command, and closes the original heartbeat of application.
206, modem sends inquiry request command to mail server, and AP stops sending inquiry request command.
Wherein, after modem study AP sends the rule of inquiry request command, substitution AP is sent to mail server Inquiry request command.AP stops sending inquiry request command, reduces standby current, reduces power consumption.
207, modem judges whether to receive email message, if modem receives email message, holds Row step 208;Otherwise, then current state is kept.
It should be noted that mail server can send email message, Lai Tongzhi user to mobile phone when mailbox has mail There are mail, the email message that modem receipt mail server is sent in mailbox.
Wherein, modem receives the email message of mail server transmission, indicates that mailbox has mail, executes step 208;Otherwise, indicate that mailbox does not have mail, modem is kept when the preceding shape for sending inquiry request command to mail server State.
208, modem obtains mail according to email message.
Wherein, after modem receives email message, it can further be sent to mail server and obtain postal Then the request of part obtains mail from mail server, to facilitate user to understand the content of mail.
209, the buffer area that modem will receive mail and be cached to modem.
Wherein, mail is cached to the buffer area of modem, mobile phone screen after getting mail by modem After unlatching, then it is transmitted to AP processing.AP is not waken up when screen is closed, reduces standby current, reduces power consumption.
Optionally, after modem receives email message, step 208 can not be executed, in step 209, only will Email message is cached to the buffer area of modem, when user wants to check the content of mail, then obtains mail.
210, modem judges whether to receive the information of screen opening, if receiving the information of screen opening, Execute step 211;It is no to then follow the steps 207.
Wherein, modem repeats step 207 to step in the case where being not received by the information of screen opening Rapid 209;When receiving the information of screen opening, step 211 is executed.
211, modem judges whether Agent Markup position is 1, if Agent Markup position is 1, executes step 212;Otherwise, Then follow the steps 216.
Wherein, modem judges whether Agent Markup position is 1, for judging whether mobile phone performs agent data industry Business.When acting on behalf of flag bit is 1, indicate that mobile phone performs agent data business before step 211, i.e. modem is to institute It states mail server and has sent the inquiry request command, at this moment execute step 212;When acting on behalf of flag bit not is 1, hand is indicated Machine has been not carried out agent data business, but the processing of E-mail inquiries and email message is carried out by AP, thens follow the steps 216.
212, AP sends inquiry request command to mail server, and modem stops sending inquiry request command.
Wherein, when mobile phone screen is opened, AP is waken up, then the processing of E-mail inquiries and email message is carried out by AP, is adjusted Modulator-demodulator stops sending inquiry request command.
213, modem is by the content transmission of buffer area to AP.
Wherein, after mobile phone screen unlatching, modem closes the content transmission of buffer area to AP in mobile phone screen When, the email message and mail of modem buffer are handled.
214, the content of modem clear buffer.
215, modem setting Agent Markup position is 0.
Wherein, 0 is set by Agent Markup position, it is made to restore initial value, when executing agent data business so as to next time, into Line flag.
It should be noted that not needing to execute step 216 and step 217 after executing step 215.
216, modem judges whether to receive email message, if receiving email message, thens follow the steps 217; Otherwise, then current state is kept.
Wherein, if modem receives email message, the message that gets the mail is not docked and is cached, execute step 217;If modem is not received by email message, the state that E-mail inquiries are currently carried out by AP is kept.
217, modem, which will receive email message and be transferred to AP, is handled.
Wherein, after mobile phone screen is opened, AP is in wake-up states, after modem receives email message, does not need It is cached, is transmitted to AP and is handled.
It should be noted that could be by the mail of mail server at the time point for sending the first querying command for needs Message synchronization can be sent in modem identical as the second inquiry request command that AP is sent to mailbox such case of mobile phone Order, the rule for not needing to send AP inquiry request command learns, so not needing to execute step 204 and step 205。
It should be noted that not distinguishing network formats in the embodiment of the present invention, and it can accomplish that Email mailbox is received in real time Hair, there is no need the case where logging in again.
In the prior art, AP periodically will send query information and reception to mail server by modem in mobile phone Email message, synchronous mail AP are frequently waken up, cause the increase of standby current, power consumption is caused to increase, and stand-by time is shortened. Compared with prior art, when the screen of mobile phone is closed, modem substitutes AP and sends out to mail server the embodiment of the present invention Send inquiry request command;It, can be further from postal after the email message that modem receives mail server transmission Obtain mail on part server, and by email message and email storage to the buffer area of modem;It is opened in the screen of mobile phone Qi Shi, modem handle email message and mail the content transmission of buffer area to AP, AP.In this way, in mobile phone When screen is closed, mail is inquired by modem alternate application processor and received, avoids waking up AP, solves existing skill AP is by frequent the problem of waking up to inquire and receive mail, cause power consumption to increase, shorten stand-by time in art.On solving Technical problem is stated, standby current can be reduced, reduces power consumption, extends stand-by time.
Further embodiment of this invention provides a kind of mail treatment device 30, as shown in figure 3, described device 30 includes:
Agent unit 301, for when receiving intelligent terminal and being in the information of the first preset state, to mail server Send the first inquiry request command;Wherein, whether first inquiry request command is for inquiring the mail server the One time is inscribed to get the mail, and the first time is once to send described first to mail server before the modem First inquiry request command is sent to mail server when preceding with the modem at the time of inquiry request command Interval between moment;
Storage unit 302, for receiving the mail server within the first time in the modem After receiving the email message sent after the mail to the modem, the email message is stored to the modulation The buffer area of demodulator, the email message notify mail server described in the modem to exist as the mail server The mail is had received in the first time.
Further, as shown in figure 4, described device 30 can also include:
Interception unit 303, for intercepting the second inquiry request command of preset number, second inquiry request command is What application processor was sent, the preset number is to preset;
Determination unit 304 determines the application processing for the second inquiry request command according to the preset number of interception Device sends the rule of second inquiry request command;
Then the agent unit 301 can also include:
Subelement 3011 is acted on behalf of, for when receiving intelligent terminal and being in the information of the first preset state, according to described Rule sends the first inquiry request command to mail server.
Further, as shown in figure 4, the determination unit 304 can also include:
Parsing subunit 3041, the second inquiry request command of the preset number for parsing interception;
Subelement 3042 is counted, for counting the content of the second inquiry request command of the preset number intercepted and between the time Every showing that the application processor sends the rule of second inquiry request command.
Further, as shown in figure 4, described device 30 can also include:
Setting unit 305 is the first preset value for Agent Markup position to be arranged.
Further, as shown in figure 4, described device 30 can also include:
Judging unit 306, for judging the agency when receiving intelligent terminal and being in the information of the second preset state Whether flag bit is first preset value;
Further, the agent unit 301 is also used to stop when the Agent Markup position is first preset value First inquiry request command is sent to mail server.
Further, as shown in figure 4, described device 30 can also include:
Transmission unit 307, for by the content transmission of the buffer area to the application processor;
Clearing cell 308, for removing the buffer area.
Further, it is the second preset value that the setting unit 303, which is also used to be arranged the Agent Markup position,.
Further, as shown in figure 4, described device 30 can also include:
Synchronization unit 309, for obtaining the mail from the mail server according to the e-mail messages.
Further, the storage unit 302 is also used to store the mail to the buffer area.
In the prior art, AP periodically will send inquiry letter to mail server by modem in mobile intelligent terminal Breath and reception email message, synchronous mail AP are frequently waken up, cause the increase of standby current, power consumption is caused to increase, shortened Stand-by time.Compared with prior art, the embodiment of the present invention is when intelligent terminal is in the first preset state, and device 30 is to mail Server sends inquiry request command;Device 30 receive mail server first time it is inscribed get the mail after to device After 30 email messages sent, device 30 is stored to the buffer area of modem.In this way, being in the in intelligent terminal When one preset state, mail is inquired by device 30 and received, does not need to wake up AP, it is frequent to solve AP in the prior art The problem of waking up to inquire and receive mail, power consumption caused to increase, shortening stand-by time.By solving above-mentioned technical problem, energy Standby current is enough reduced, power consumption is reduced, extends stand-by time.
Further embodiment of this invention provides a kind of modem 40, as shown in figure 5, the modem 40 includes: Transmitter 41, receiver 42 and memory 43.
The transmitter 41, for when receiving intelligent terminal and being in the information of the first preset state, to mail service Device sends the first inquiry request command;Wherein, first inquiry request command for inquire the mail server whether Inscribed at the first time to get the mail, the first time is once to send described the to mail server before the modem First inquiry request command is sent to mail server when preceding with the modem at the time of one inquiry request command At the time of between interval;
The receiver 42, the email message sent for receiving the mail server;
The memory 43, it is inscribed in the first time for receiving the mail server in the receiver 42 After receiving the email message sent after the mail to the modem, the email message is stored to the modulatedemodulate The buffer area of device is adjusted, the email message notifies mail server described in the modem in institute as the mail server It states and has received the mail in first time.
Further, as shown in fig. 6, can also include:
Processor 44, for intercepting the second inquiry request command of preset number, second inquiry request command is to answer It is sent with processor, the preset number is to preset;And the second inquiry for the preset number according to interception is asked Order is asked, determines that the application processor sends the rule of second inquiry request command;And intelligence is received for working as When terminal is in the information of the first preset state, the first inquiry request command is sent to mail server according to the rule.
Further, the processor 44 is also used to parse the second inquiry request command of the preset number of interception;And For counting the content and time interval of the second inquiry request command of the preset number of interception, the application processor hair is obtained Send the rule of second inquiry request command.
Further, it is the first preset value that the processor 44, which is also used to be arranged Agent Markup position,.
Further, the processor 44 is also used to when receiving intelligent terminal and being in the information of the second preset state, Judge whether the Agent Markup position is first preset value;
The transmitter 41 is also used to stop taking to the mail when the Agent Markup position is first preset value Business device sends first inquiry request command.
Further, the processor 44 is also used to the content transmission of the buffer area to the application processor;With And for removing the buffer area;And for the Agent Markup position to be arranged as the second preset value.
Further, the processor 44 is also used to obtain the postal from the mail server according to the e-mail messages Part;
The memory 43 is also used to store the mail to the buffer area.
In the prior art, AP periodically will send inquiry letter to mail server by modem in mobile intelligent terminal Breath and reception email message, synchronous mail AP are frequently waken up, cause the increase of standby current, power consumption is caused to increase, shortened Stand-by time.Compared with prior art, the embodiment of the present invention is when intelligent terminal is in the first preset state, modulatedemodulate Device 40 is adjusted to send the first inquiry request command to mail server;Postal is received within first time receiving mail server After the email message sent after part to modem 40, modem 40 is stored to buffer area.In this way, in intelligence When terminal device is in the first preset state, mail is inquired and received by 40 alternate application processor of modem, is avoided AP is waken up, solves in the prior art that AP by frequent wake up inquires and receive mail, causes power consumption to increase, when shortening standby Between the problem of.By solving above-mentioned technical problem, standby current can be reduced, power consumption is reduced, extends stand-by time.
Further embodiment of this invention provides a kind of chipset 50, as shown in fig. 7, the chipset 50 includes modem 40 and application processor 51;Wherein, when receiving intelligent terminal and being in the information of the first preset state, in the modulation /demodulation Before device 40 sends the first inquiry request command to mail server, the second of the interception of modem 40 preset number is looked into Request command is ask, second inquiry request command is what application processor 51 was sent, and the preset number is to preset;? After the intelligent terminal switchs to the second preset state by the first preset state, the modem 40 is by the modem The content transmission of 40 buffer area is to the application processor 51.Concrete function realization refers to saying in embodiment described in Fig. 2 Bright, details are not described herein.
Further embodiment of this invention provides a kind of terminal device 60, as shown in figure 8, the terminal device 60 includes chipset 50。
The embodiment of the method for above-mentioned offer may be implemented in mail treatment device provided in an embodiment of the present invention, and concrete function is real Referring now to the explanation in embodiment of the method, details are not described herein.Email processing method and device provided in an embodiment of the present invention It can be adapted for modem, but be not limited only to this.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for equipment reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (17)

1. a kind of email processing method characterized by comprising
When receiving intelligent terminal and being in the information of the first preset state, modem is according to the second inquiry request command Rule sends the first inquiry request command to mail server;Wherein, first inquiry request command is for inquiring the postal Whether part server is inscribed in first time gets the mail, and second inquiry request command is for inquiring the mail service Whether device receives the order of mail within a preset time, and second inquiry request command is application processor transmission, institute State at the first time be the modem before once to the mail server send first inquiry request command when Between between at the time of quarter and the modem send first inquiry request command to the mail server before Every;
The mail server is received in the modem to receive within the first time after the mail to institute After the email message for stating modem transmission, the email message is stored to the buffer area of the modem, it is described Email message notifies mail server described in the modem to receive within the first time as the mail server To the mail.
2. the method according to claim 1, wherein when receiving the letter that intelligent terminal is in the first preset state When breath, before the modem sends the first inquiry request command to mail server, the method also includes:
Second inquiry request command of the modem interception preset number, the preset number are to preset;
The modem determines that the application processor is sent according to the second inquiry request command of the preset number of interception The rule of second inquiry request command.
3. according to the method described in claim 2, it is characterized in that, the modem is according to the of the preset number of interception Two inquiry request commands determine that the application processor sends the rule of second inquiry request command and includes:
Second inquiry request command of the preset number of the modem parsing interception;
The content and time interval of second inquiry request command of the preset number of the modem statistics interception, obtain institute State the rule that application processor sends second inquiry request command.
4. according to the method described in claim 2, it is characterized in that, when receiving the letter that intelligent terminal is in the first preset state When breath, before the second inquiry request command of modem interception preset number, the method also includes:
Modem setting Agent Markup position is the first preset value.
5. according to the method described in claim 4, it is characterized in that, in the storage email message to the modulation /demodulation After the buffer area of device, the method also includes:
When receiving intelligent terminal and being in the information of the second preset state, the modem judges the Agent Markup position It whether is first preset value;
When the Agent Markup position is first preset value, the modem stops sending to the mail server First inquiry request command.
6. according to the method described in claim 5, it is characterized in that, when the Agent Markup position be first preset value when, The modem stops after sending first inquiry request command to mail server, the method also includes:
The modem is by the content transmission of the buffer area to the application processor;
The modem removes the buffer area;
It is the second preset value that the Agent Markup position, which is arranged, in the modem.
7. method according to claim 1-6, which is characterized in that in the storage email message to described After the buffer area of modem, the method also includes:
The modem obtains the mail from the mail server according to the e-mail messages;
The modem stores the mail to the buffer area.
8. a kind of modem, which is characterized in that including transmitter, receiver, processor and memory;
The transmitter, for being sent to mail server when receiving intelligent terminal and being in the information of the first preset state First inquiry request command;Wherein, first inquiry request command is for inquiring the mail server whether at first Between be inscribed get the mail, the first time be the modem before once to mail server send it is described first inquiry At the time of request command with the modem at the time of preceding transmission first inquiry request command to mail server Between interval;
The receiver, the email message sent for receiving the mail server;
The memory is received for receiving the mail server within the first time in the modem After the email message sent after the mail to the modem, the email message is stored to the modem Buffer area, the email message notifies mail server described in the modem described as the mail server One time was inscribed and receives the mail;
The processor, for when receiving intelligent terminal and being in the information of the first preset state, according to the second inquiry request The rule of order controls the transmitter and sends the first inquiry request command to mail server;Second inquiry request command For the order for whether receiving mail within a preset time for inquiring mail server, second inquiry request command is to answer It is sent with processor.
9. modem according to claim 8, which is characterized in that further include:
Processor, is also used to intercept the second inquiry request command of preset number, and the preset number is to preset;And For the second inquiry request command according to the preset number of interception, determine that the application processor sends second inquiry and asks Seek the rule of order.
10. modem according to claim 9, which is characterized in that the processor is also used to parse the pre- of interception If the second inquiry request command of number;And the content of the second inquiry request command of the preset number for counting interception And time interval, show that the application processor sends the rule of second inquiry request command.
11. modem according to claim 9, which is characterized in that the processor is also used to that Agent Markup is arranged Position is the first preset value.
12. modem according to claim 11, which is characterized in that the processor, which is also used to work as, receives intelligence When terminal is in the information of the second preset state, judge whether the Agent Markup position is first preset value;
The transmitter is also used to stop sending out to the mail server when the Agent Markup position is first preset value Send first inquiry request command.
13. modem according to claim 12, which is characterized in that the processor is also used to the buffer area Content transmission to the application processor;And for removing the buffer area;And for the Agent Markup to be arranged Position is the second preset value.
14. according to the described in any item modems of claim 8-13, which is characterized in that the processor is also used to basis The e-mail messages obtain the mail from the mail server;
The memory is also used to store the mail to the buffer area.
15. a kind of chipset, which is characterized in that at such as described in any item modems of claim 8-14 and application Manage device;Wherein, when receiving intelligent terminal and being in the information of the first preset state, in the modem to mail service Before device sends the first inquiry request command, the second inquiry request command of the modem interception preset number is described Second inquiry request command is what application processor was sent, and the preset number is to preset;In the intelligent terminal by After one preset state switchs to the second preset state, the modem is by the content transmission of the buffer area of the modem To the application processor.
16. a kind of readable storage medium storing program for executing, which is characterized in that including program or instruction, when described program or instruction are performed, such as Method described in any one of claims 1 to 7 is implemented.
17. a kind of terminal device, which is characterized in that including chipset as claimed in claim 15.
CN201480005411.8A 2014-03-25 2014-03-25 Email processing method and device Active CN105611983B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074004 WO2015143617A1 (en) 2014-03-25 2014-03-25 Mail processing method and apparatus

Publications (2)

Publication Number Publication Date
CN105611983A CN105611983A (en) 2016-05-25
CN105611983B true CN105611983B (en) 2019-06-21

Family

ID=54193860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480005411.8A Active CN105611983B (en) 2014-03-25 2014-03-25 Email processing method and device

Country Status (2)

Country Link
CN (1) CN105611983B (en)
WO (1) WO2015143617A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114172860B (en) * 2020-09-11 2023-06-20 华为技术有限公司 Mail processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990283A (en) * 2009-08-05 2011-03-23 宏碁股份有限公司 Wireless communication device and electricity saving method thereof
CN102541245A (en) * 2011-12-07 2012-07-04 中兴通讯股份有限公司 Flat computer with low power consumption and method for reducing power consumption of flat computer
CN103327585A (en) * 2013-05-27 2013-09-25 深圳市中兴移动通信有限公司 Communication terminal and communication method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686535A (en) * 2008-09-28 2010-03-31 联想(北京)有限公司 Mobile terminal and method for same to acquire new mails
US8810454B2 (en) * 2011-10-13 2014-08-19 Microsoft Corporation Power-aware tiered geofencing and beacon watchlists
CN103166835B (en) * 2013-01-31 2016-03-02 华为终端有限公司 A kind of management method and device inquiring about mail

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990283A (en) * 2009-08-05 2011-03-23 宏碁股份有限公司 Wireless communication device and electricity saving method thereof
CN102541245A (en) * 2011-12-07 2012-07-04 中兴通讯股份有限公司 Flat computer with low power consumption and method for reducing power consumption of flat computer
CN103327585A (en) * 2013-05-27 2013-09-25 深圳市中兴移动通信有限公司 Communication terminal and communication method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
High-performance Low-Power Application Processor Integrated with Modem Processor;Soo-Yong Kim等;《2013 International SoC Design Conference (ISOCC)》;20131119;全文

Also Published As

Publication number Publication date
CN105611983A (en) 2016-05-25
WO2015143617A1 (en) 2015-10-01

Similar Documents

Publication Publication Date Title
US9712632B2 (en) Method for receiving data, method for sending data, mobile terminal, and server
US8310969B2 (en) Mobile device and power saving method thereof
CN103561179B (en) The method and apparatus that intelligent terminal's wakeup time adjusts
CN105681160B (en) The method and device of conversation message random ordering is corrected in a kind of instantaneous communication system
CN106713126B (en) Method and system for one-way transmission of e-mail information between internal network and external network
EP3190771B1 (en) Method and device for managing instant communication application program, and mobile terminal thereof
CN103096271A (en) Information pushing system and information pushing method
JP2016536892A (en) Method for transmitting heartbeat message and portable terminal
WO2019024931A1 (en) Power-saving processing method and apparatus, terminal device and computer-readable storage medium
WO2008121965A3 (en) Methods and systems for performing server-based mobile chat
EP2723025A1 (en) File transfer method and device
CN103139047A (en) Method of pushing friend recommendation information, client and system
CN105812405B (en) A kind of method, apparatus and system handling message
CN101990283A (en) Wireless communication device and electricity saving method thereof
CN101964810A (en) Real-time information synchronization method based on browser
CN103118387B (en) A kind of thin AP redundancy connection control method of active-standby mode
CN105611983B (en) Email processing method and device
CN103297937A (en) Method, system and device for achieving short message notification
CN103402246A (en) Method for reducing energy consumption of mobile communications terminal
CN102571376A (en) Method and system for implementing multi-window chat
CN101754112A (en) Method and device for processing mobile electronic mail service
CN105471719A (en) Method for solving communication problems of chatting software under weak signals via cloud server storage technology
WO2014048129A1 (en) Indicating message sending method, indicating message receiving method, device and system
WO2019023972A1 (en) Multi-terminal message synchronization method and system, server and computer processing device
CN103166835B (en) A kind of management method and device inquiring about mail

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171109

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: HUAWEI terminal (Dongguan) Co., Ltd.

GR01 Patent grant
GR01 Patent grant