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.