CN106102142B - terminal data processing method and device - Google Patents

terminal data processing method and device Download PDF

Info

Publication number
CN106102142B
CN106102142B CN201610379924.6A CN201610379924A CN106102142B CN 106102142 B CN106102142 B CN 106102142B CN 201610379924 A CN201610379924 A CN 201610379924A CN 106102142 B CN106102142 B CN 106102142B
Authority
CN
China
Prior art keywords
terminal
wake
application process
data
address
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.)
Expired - Fee Related
Application number
CN201610379924.6A
Other languages
Chinese (zh)
Other versions
CN106102142A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610379924.6A priority Critical patent/CN106102142B/en
Publication of CN106102142A publication Critical patent/CN106102142A/en
Priority to PCT/CN2017/086477 priority patent/WO2017206880A1/en
Application granted granted Critical
Publication of CN106102142B publication Critical patent/CN106102142B/en
Expired - Fee Related 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
    • 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
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • H04W52/0232Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal according to average transmission signal activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal 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)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of terminal data processing method and device, its method includes obtaining the wake-up data that the modulation /demodulation module of terminal is sent, and is used to wake up terminal wherein waking up data;Obtain and wake up transmission frequency corresponding to data;Judge whether transmission frequency is more than predetermined threshold value;Such as larger than predetermined threshold value, then forbid waking up data wake-up terminal.The terminal data processing method and device of the present invention is by monitoring modulation /demodulation module to the transmission frequency of terminal transmission wake-up data, when the transmission frequency is more than predetermined threshold value, no thoroughfare, and the wake-up data wake up the terminal system, so as to significantly reduce power consumption of terminal.

Description

Terminal data processing method and device
Technical field
The present invention relates to the communications field, more particularly to a kind of terminal data processing method and device.
Background technology
With the development of internet and the development of mobile communications network, at the same also along with mobile terminal disposal ability and The fast development of storage capacity, the application program of magnanimity have obtained rapid propagation and use.By taking smart mobile phone as an example, smart mobile phone Some can be installed before shipment to apply substantially, to meet the primary demand of people, audio player is such as provided and listens music for user, carry For video player video etc. is watched for people.User can also install some third-party applications to meet its particular demands simultaneously, As user thinks shopping online, then shopping application is installed, wants to play the game of certain money, then oneself corresponding game application is installed.
Although these third-party applications meet the demand of people significantly, puzzlement is also brought.Specifically, these the 3rd Fang Yingyong can also keep long connection, such as advertisement, notice when running background for the ease of activating business with server Etc. information to user.Packet can be sent by modem (modem) during this and frequently wake up FTP client FTP.So FTP client FTP can be awakened as frequently as those utilized in conventional solutions, so as to cause the consumption of resource.
From the foregoing, it will be observed that the larger technical problem of resource consumption of the application program to mobile terminal in the prior art be present.
The content of the invention
The embodiment of the present invention provides a kind of terminal data processing method and device, can solve in the prior art because can not be right The behavior for frequently waking up terminal is handled, and causes the technical problem that power consumption of terminal is big.
The embodiment of the present invention provides a kind of terminal data processing method, including:
The wake-up data that the modulation /demodulation module of terminal is sent are obtained, are used to wake up terminal wherein waking up data;
Obtain and wake up transmission frequency corresponding to data;
Judge whether transmission frequency is more than predetermined threshold value;
Such as larger than predetermined threshold value, then forbid waking up data wake-up terminal.
Correspondingly, the embodiments of the invention provide a kind of terminal data processing device, including:
Data acquisition module, the wake-up data that the modulation /demodulation module for obtaining terminal is sent, is used wherein waking up data In wake-up terminal;
Frequency acquisition module, transmission frequency corresponding to data is waken up for obtaining;
Frequency judge module, for judging whether transmission frequency is more than predetermined threshold value;
Forbid wake module, for when more than predetermined threshold value, forbidding waking up data wake-up terminal.
The embodiments of the invention provide a kind of terminal data processing method and device, the terminal data processing method is used and obtained The wake-up data for taking the modulation /demodulation module of terminal to send, obtain and wake up transmission frequency corresponding to data and judge that transmission frequency is It is no to be more than predetermined threshold value, such as larger than predetermined threshold value, then forbid waking up the technical scheme that data wake up terminal;The program can monitor The transmission frequency of the wake-up data, when the transmission frequency is more than predetermined threshold value, no thoroughfare, and the wake-up data wake up the terminal System, in terms of existing technologies, the situation that terminal system is awakened as frequently as those utilized in conventional solutions is avoided, so as to effectively reduce terminal Power consumption.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the flow chart of the first preferred embodiment of the terminal data processing method of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of the terminal data processing method of the present invention;
Fig. 3 is the structure chart of the preferred embodiment of the terminal data processing device of the present invention;
Fig. 4 is the flow chart of the specific embodiment of the terminal data processing method and device of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of terminal data processing method and device.It will be described in detail respectively below.
It will be understood by those skilled in the art that present embodiment can apply to be mounted with Andriod systems, IOS systems, The smart machine of any of Symbian system, Windows Phone systems, BlackBerryOS systems operating system, fit For several operation systems, it is widely used.
Embodiment one,
The present embodiment will be described from the angle of terminal data processing device, and the terminal data processing device specifically can be with Integrate in the terminal, the terminal can be the equipment such as smart mobile phone, tablet personal computer.
Fig. 1 is refer to, Fig. 1 is the flow chart of the first preferred embodiment of the terminal data processing method of the present invention, specifically Flow is as follows:
Step S101, the wake-up data that the modulation /demodulation module of terminal is sent are obtained, be used to wake up end wherein waking up data End;
Step S102, obtain and wake up transmission frequency corresponding to data;
Step S103, judges whether transmission frequency is more than predetermined threshold value;
Step S104, such as larger than predetermined threshold value, then forbid waking up data wake-up terminal.
The following detailed description of the idiographic flow of each step of the terminal data processing method of this preferred embodiment.
In step S101, terminal obtains the wake-up data that the modulation /demodulation module of terminal is sent, and is used wherein waking up data In wake-up terminal.It should be noted that the modulation /demodulation module is used for, be converted into binary digital information can be by common The analog signal of public information system transmission, or the analog signal of reception is converted into data signal.Specifically, can be by special The modem of door realizes above-mentioned function.
Connected using falling back on after running background, it is necessary to keep long with server, to carry out message push.Message is carried out to push away When sending, it need to be sent by modulation /demodulation module and wake up data to wake up terminal.Wherein, the wake-up data carry Internet protocol Address (Internet Protocol Address, abbreviation IP address) and port information, can help to obtain terminal to be waken up Application process.
Modulation /demodulation module in this preferred embodiment terminal big equivalent to one, will when it is desirable that waking up terminal Sent to the modulation /demodulation module and wake up data, terminal is relayed to after modulated demodulation, so as to realize the purpose for waking up terminal. It can be seen that modulation /demodulation module will handle considerable wake-up data, due to carrying unique IP in these wake-up data Address and port information, therefore can be using IP address and port information as the mark for waking up data is distinguished, i.e., with identical IP The wake-up data of address and port information are same class.Then continue at step S102.
In step s 102, terminal, which obtains, wakes up transmission frequency corresponding to data.Wherein, the transmission frequency is modulation /demodulation The number for waking up data is sent in the module unit interval to terminal.Transmission frequency is bigger, illustrates to apply corresponding to the wake-up data Process more frequently asks to wake up terminal, and now terminal power consumes also bigger.
The number that data are sent is waken up specifically, can be recorded by way of establishing concordance list, the concordance list includes calling out Data IP address of waking up and port numbers, transmission times two.Within the unit interval, when terminal, which receives, wakes up data, according to this Wake up the IP address of data and port numbers search on concordance list whether have identical IP address and port numbers, if any then will be original Transmission times add 1, if it has not, then increasing the IP address and port numbers on concordance list, and transmission times is set to 1.As surpassed The unit interval has been spent, then has emptied concordance list.
Then, when terminal, which receives, wakes up data, transmission times can quickly be searched according to IP address and port numbers, with After be transferred to step S103.
In step s 103, terminal judges whether transmission frequency is more than predetermined threshold value.Wherein, specifically, the predetermined threshold value Can be one that terminal is stored in when dispatching from the factory in terminal respective memory regions (built-in storage region or external storage region) Numerical value or user are arranged and stored in a numerical value of terminal respective memory regions.
Judge the transmission frequency whether be more than predetermined threshold value mode have it is a variety of, for example, after the transmission frequency is obtained, from The predetermined threshold value is called in the respective memory regions of terminal, the difference between the transmission frequency and the predetermined threshold value is calculated, when this When difference is more than zero, it is judged as that the transmission frequency is more than the predetermined threshold value, is otherwise judged as that the transmission frequency is default no more than this Threshold value.Then continue at step S104.
In step S104, such as larger than predetermined threshold value illustrates excessively frequent using the frequency for waking up terminal, therefore terminal is prohibited Only the wake-up data wake up terminal.
It is the process that the terminal data processing method of this preferred embodiment is handled waking up terminal behavior above.
The terminal data processing method of the preferred embodiment of the present invention, called out using what the modulation /demodulation module for obtaining terminal was sent Awake data, acquisition wake up transmission frequency corresponding to data and simultaneously judge whether transmission frequency is more than predetermined threshold value, such as larger than default threshold Value, then forbid waking up the technical scheme that data wake up terminal;The program can monitor the transmission frequency of the wake-up data, when the hair When sending the frequency to be more than predetermined threshold value, no thoroughfare, and the wake-up data wake up the terminal system, in terms of existing technologies, avoid The situation that terminal system is awakened as frequently as those utilized in conventional solutions, so as to effectively reducing the power consumption of terminal.
Embodiment two,
The present embodiment will be described from the angle of terminal data processing device, and the terminal data processing device specifically can be with Integrate in the terminal, the terminal can be the equipment such as smart mobile phone, tablet personal computer.
Fig. 2 is refer to, Fig. 2 is the flow chart of the second preferred embodiment of the terminal data processing method of the present invention, specifically Flow is as follows:
Step S201, the wake-up data that the modulation /demodulation module of terminal is sent are obtained, be used to wake up end wherein waking up data End;
Step S202, obtain and wake up transmission frequency corresponding to data;
Step S203, judges whether transmission frequency is more than predetermined threshold value;
Step S204, such as larger than predetermined threshold value, obtain and wake up intended application process corresponding to data;
Step S205, judge to whether there is and intended application process identical application process in default application process set;
Step S206, if in the presence of with intended application process identical application process, close intended application process, to forbid calling out Data of waking up wake up terminal.
The following detailed description of the idiographic flow of each step of the terminal data processing method of this preferred embodiment.
In step s 201, terminal obtains the wake-up data that the modulation /demodulation module of terminal is sent, and is used wherein waking up data In wake-up terminal.It should be noted that the modulation /demodulation module is used for, be converted into binary digital information can be by common The analog signal of public information system transmission, or the analog signal of reception is converted into data signal.Specifically, can be by special The modem of door realizes above-mentioned function.
Connected using falling back on after running background, it is necessary to keep long with server, to carry out message push.Message is carried out to push away When sending, it need to be sent by modulation /demodulation module and wake up data to wake up terminal.Wherein, the wake-up data carry Internet protocol Address (Internet Protocol Address, abbreviation IP address) and port information, can help to obtain terminal to be waken up Application process.
Modulation /demodulation module in this preferred embodiment terminal big equivalent to one, will when it is desirable that waking up terminal Sent to the modulation /demodulation module and wake up data, terminal is relayed to after modulated demodulation, so as to realize the purpose for waking up terminal. It can be seen that modulation /demodulation module will handle considerable wake-up data, due to carrying unique IP in these wake-up data Address and port information, therefore can be using IP address and port information as the mark for waking up data is distinguished, i.e., with identical IP The wake-up data of address and port information are same class.Then continue at step S202.
In step S202, terminal, which obtains, wakes up transmission frequency corresponding to data.Wherein, the transmission frequency is modulation /demodulation The number for waking up data is sent in the module unit interval to terminal.Transmission frequency is bigger, illustrates to apply corresponding to the wake-up data Process more frequently asks to wake up terminal, and now terminal power consumes also bigger.
The number that data are sent is waken up specifically, can be recorded by way of establishing concordance list, the concordance list includes calling out Data IP address of waking up and port numbers, transmission times two.Within the unit interval, when terminal, which receives, wakes up data, according to this Wake up the IP address of data and port numbers search on concordance list whether have identical IP address and port numbers, if any then will be original Transmission times add 1, if it has not, then increasing the IP address and port numbers on concordance list, and transmission times is set to 1.As surpassed The unit interval has been spent, then has emptied concordance list.
Then, when terminal, which receives, wakes up data, transmission times can quickly be searched according to IP address and port numbers, with After be transferred to step S203.
In step S203, terminal judges whether transmission frequency is more than predetermined threshold value.Wherein, specifically, the predetermined threshold value Can be one that terminal is stored in when dispatching from the factory in terminal respective memory regions (built-in storage region or external storage region) Numerical value or user are arranged and stored in a numerical value of terminal respective memory regions.
Judge the transmission frequency whether be more than predetermined threshold value mode have it is a variety of, for example, after the transmission frequency is obtained, from The predetermined threshold value is called in the respective memory regions of terminal, the difference between the transmission frequency and the predetermined threshold value is calculated, when this When difference is more than zero, it is judged as that the transmission frequency is more than the predetermined threshold value, is otherwise judged as that the transmission frequency is default no more than this Threshold value.Then continue at step S204.
In step S204, such as larger than predetermined threshold value, terminal obtain intended application process corresponding to wake-up data.Specifically , due to waking up IP address and the user of the port information and application process mark (User that data carry Identification, UID) there is incidence relation, therefore first the user according to corresponding to wake-up data acquisition can identify;Connect , similarly application process can identify (Process identification, PID) according to corresponding to being obtained UID;Due to PID The unique mark of application process, thus can according to application process identify obtain corresponding to intended application process.
Such as less than or equal to predetermined threshold value, then the concordance list in step S203 can be updated, by transmission times plus 1.Then continue at step S205.
In step S205, terminal judges to whether there is in default application process set answers with intended application process identical Use process.Wherein the default application process set to establish process as follows:The application process in terminal is obtained first;Then according to The attribute information of application process chooses intended application process from application process, to establish default application process set.
Wherein, attribute information can be authorization message, such as the application process that terminal is handled will be allowed to select, built It is vertical to authorize application process set;Attribute information can be application function classification information, such as will not be to realize mobile phone communication, take pictures The application process of basic function, which selects, to be come, and establishes default application process set.Certainly other category of application process be can also be Property information, is not especially limited herein.So can effectively it be chosen according to user's request or according to the importance of application process Select the application process that can carry out forbidding wake operation.
After terminal gets intended application process, it will preset in application process set and find and intended application process from this Identical application process, it can decide whether identical application process be present according to specific lookup result, then continue at step S206。
In step S206, if terminal is present and intended application process identical application process, terminal pass in step S206 Intended application process is closed, to forbid the intended application process to wake up terminal by waking up data.
Preferably, due to operational network application program (application program that can be communicated with server) in terminal When, it is necessary to establish network connection between the application program and server to carry out data exchange.Such as made by establishing long connection Application program is always maintained at connection status with server, after long connection is established between application program and server, in order to ensure The link of length connection is constantly in upstate, and server regularly can send packet by network to the application program.Therefore And can be by obtaining the intended application process corresponding to data that wakes up, and forbid intended application process to connect network, prohibit to realize Only wake up data and wake up terminal.
It is the process that the terminal data processing method of this preferred embodiment is handled waking up terminal behavior above.
On the basis of first preferred embodiment, the terminal data processing method of this preferred embodiment is by determining whether Whether there is in default application process set with intended application process identical application process, to determine whether to forbid to wake up data Wake up terminal.Power consumption of terminal is so not only reduced, and can avoid the occurrence of and prohibit important application process wake-up terminal Situation, so as to improve the correctness for forbidding waking up data wake-up terminal behavior.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides a kind of terminal data processing device, the terminal Data processing equipment can integrate in the terminal, and the terminal can specifically include mobile phone, tablet personal computer, notebook computer or individual Calculate equipment such as (PC, Personal Computer).Fig. 3 is refer to, Fig. 3 is the knot of the terminal data processing device of the present invention Composition, the terminal data processing device can include data acquisition module 301, frequency acquisition module 302, frequency judge module 303rd, wake module 304, application process acquisition module 305 and set is forbidden to establish module 306, wherein data acquisition module 301 The wake-up data that modulation /demodulation module for obtaining terminal is sent, it is used to wake up terminal wherein waking up data;Frequency acquisition mould Block 302, which is used to obtain, wakes up transmission frequency corresponding to data;Frequency judge module 303 is used to judge whether transmission frequency is more than in advance If threshold value;Forbid wake module 304 to be used for when more than predetermined threshold value, forbid waking up data wake-up terminal;Application process obtains Module 305 is used to obtain the application process in terminal;Set is established module 306 and is used for according to the attribute information of application process from should With intended application process is chosen in process, to establish default application process set.
Preferably, this forbids wake module 304 to specifically include:Acquisition submodule 3041, close submodule 3042 and forbid Connect submodule 3043.Wherein acquisition submodule 3041, which is used to obtain, wakes up intended application process corresponding to data;Close submodule Block 3042 is used to close intended application process, and terminal is waken up to forbid waking up data;Forbid connecting submodule 3043 for forbidding Intended application process connects network, and terminal is waken up to forbid waking up data.
It is further preferred that the acquisition submodule 3041 is specifically used for user's mark according to corresponding to waking up data acquisition; Process identification (PID) corresponding to obtaining is identified according to user;The intended application process according to corresponding to obtaining process identification (PID).
It is further preferred that the closing submodule 3042 be specifically used for judging whether there is in default application process set with Intended application process identical application process;If enter in the presence of with intended application process identical application process, closing intended application Journey, terminal is waken up to forbid waking up data.
This terminal data processing device in use, call the modulatedemodulate mode transfer of the acquisition terminal of data acquisition module 301 first The wake-up data that block is sent, it is used to wake up terminal wherein waking up data.It should be noted that the modulation /demodulation module is used for two Binary digits information is converted into the analog signal that can be transmitted by common public information system, or the analog signal of reception is turned Change data signal into.Specifically, above-mentioned function can be realized by special modem.
Connected using falling back on after running background, it is necessary to keep long with server, to carry out message push.Message is carried out to push away When sending, it need to be sent by modulation /demodulation module and wake up data to wake up terminal.Wherein, the wake-up data carry Internet protocol Address (Internet Protocol Address, abbreviation IP address) and port information, can help to obtain terminal to be waken up Application process.
Modulation /demodulation module in this preferred embodiment terminal big equivalent to one, will when it is desirable that waking up terminal Sent to the modulation /demodulation module and wake up data, terminal is relayed to after modulated demodulation, so as to realize the purpose for waking up terminal. It can be seen that modulation /demodulation module will handle considerable wake-up data, due to carrying unique IP in these wake-up data Address and port information, therefore can be using IP address and port information as the mark for waking up data is distinguished, i.e., with identical IP The wake-up data of address and port information are same class.Then call frequency acquisition module 302.
Then, frequency acquisition module 302, which obtains, wakes up transmission frequency corresponding to data.Wherein, the transmission frequency is modulation The number for waking up data is sent in the demodulation module unit interval to terminal.Transmission frequency is bigger, illustrates corresponding to the wake-up data Application process more frequently asks to wake up terminal, and now terminal power consumes also bigger.
The number that data are sent is waken up specifically, can be recorded by way of establishing concordance list, the concordance list includes calling out Data IP address of waking up and port numbers, transmission times two.Within the unit interval, when terminal, which receives, wakes up data, according to this Wake up the IP address of data and port numbers search on concordance list whether have identical IP address and port numbers, if any then will be original Transmission times add 1, if it has not, then increasing the IP address and port numbers on concordance list, and transmission times is set to 1.As surpassed The unit interval has been spent, then has emptied concordance list.
Then, when receiving wake-up data, transmission times can quickly be searched according to IP address and port numbers, then adjusted With frequency judge module 303.
And then, frequency judge module 303 judges whether transmission frequency is more than predetermined threshold value.Wherein, specifically, this is default Threshold value can be that terminal is stored in when dispatching from the factory in terminal respective memory regions (built-in storage region or external storage region) One numerical value or user are arranged and stored in a numerical value of terminal respective memory regions.
Frequency judge module 303 judge the transmission frequency whether be more than predetermined threshold value mode have it is a variety of, for example, obtaining After the transmission frequency, the predetermined threshold value is called from the respective memory regions of terminal, calculates the transmission frequency and the predetermined threshold value Between difference, when the difference be more than zero when, frequency judge module 303 is judged as that the transmission frequency is more than the predetermined threshold value, no Then it is judged as that the transmission frequency is not more than the predetermined threshold value.Then call the acquisition submodule 3041 forbidden in wake module 304.
As frequency judge module 303 judges to be more than predetermined threshold value, mesh corresponding to the acquisition wake-up data of acquisition submodule 3041 Mark application process.Specifically, due to waking up IP address and the user of the port information and application process mark (User that data carry Identification, UID) there is incidence relation, therefore frequency judge module 303 can be first corresponding according to data acquisition is waken up User mark;Then, similarly can according to corresponding to being obtained UID application process mark (Process identification, PID);Because PID is the unique mark of application process, thus can according to application process identify obtain corresponding to intended application enter Journey.
Such as less than or equal to predetermined threshold value, then concordance list can be updated, by transmission times plus 1.Then forbid calling out Closing submodule 3042 in module 304 of waking up.
First judge to whether there is and intended application process phase in default application process set specifically, closing submodule 3042 Same application process.Wherein the default application process set to establish process as follows:Application process acquisition module 305 is called first Obtain the application process in terminal;Then set is called to establish module 306 according to the attribute information of application process from application process Middle selection intended application process, to establish default application process set.
Wherein, attribute information can be authorization message, such as the application process that terminal is handled will be allowed to select, built It is vertical to authorize application process set;Attribute information can be application function classification information, such as will not be to realize mobile phone communication, take pictures The application process of basic function, which selects, to be come, and establishes default application process set.Certainly other category of application process be can also be Property information, is not especially limited herein.So can effectively it be chosen according to user's request or according to the importance of application process Select the application process that can carry out forbidding wake operation.
After terminal gets intended application process, it will preset in application process set and find and intended application process from this Identical application process, it can decide whether identical application process be present according to specific lookup result.
Then when terminal is present with intended application process identical application process, closing the closing target of submodule 3042 should With process, to forbid the intended application process to wake up terminal by waking up data.
Preferably, due to operational network application program (application program that can be communicated with server) in terminal When, it is necessary to establish network connection between the application program and server to carry out data exchange.Such as made by establishing long connection Application program is always maintained at connection status with server, after long connection is established between application program and server, in order to ensure The link of length connection is constantly in upstate, and server regularly can send packet by network to the application program.Therefore And intended application corresponding to the acquisition wake-up data of acquisition submodule 3041 in wake module 304 can be forbidden to enter by calling Journey, and call and forbid forbidding connecting submodule 3043 in wake module 304 to forbid intended application process to connect network, come real Now forbid waking up data wake-up terminal.
It is the process that the terminal data processing device of this preferred embodiment is handled waking up terminal behavior above.
The terminal data processing device of the preferred embodiment of the present invention, what the modulation /demodulation module by obtaining terminal was sent calls out Awake data, acquisition wake up transmission frequency corresponding to data and simultaneously judge whether transmission frequency is more than predetermined threshold value, such as larger than default threshold Value, then forbid waking up data wake-up terminal;The program can monitor the transmission frequency of the wake-up data, when the transmission frequency is more than During predetermined threshold value, no thoroughfare, and the wake-up data wake up the terminal system, in terms of existing technologies, avoid terminal system Situation about being awakened as frequently as those utilized in conventional solutions, so as to effectively reduce the power consumption of terminal.
Example IV,
Fig. 4 is refer to, Fig. 4 is the flow chart of the specific embodiment of the terminal data processing method and device of the present invention.
In step S401, after smart mobile phone receives the wake-up data of modem transmission, searched in concordance list Transmission times to the wake-up data is 10 times, then gets the time as 50 seconds, and it is per second for 1/5 time that transmission frequency is calculated.
In step S402, smart mobile phone by transmission frequency 1/5 time it is per second with predetermined threshold value 1/6 time it is per second compare, send out Existing transmission frequency is that the wake-up data are frequently sent to smart mobile phone more than predetermined threshold value, and intelligent hand is frequently waken up to reach The purpose of machine.
In step S403, smart mobile phone is according to corresponding to being got the IP address and port numbers that are carried in the wake-up data UID, corresponding PID is obtained further according to UID, intended application process is finally obtained according to PID.
In step s 404, due to have in default application process set with the intended application process identical application, therefore Smart mobile phone closes the intended application process, to forbid being waken up by the wake-up data.
The terminal data processing method and device of the preferred embodiment of the present invention, sent out by the modulation /demodulation module for obtaining terminal The wake-up data sent, obtain and wake up transmission frequency corresponding to data and judge whether transmission frequency is more than predetermined threshold value, such as larger than Predetermined threshold value, then forbid waking up data wake-up terminal;The program can monitor the transmission frequency of the wake-up data, when transmission frequency When rate is more than predetermined threshold value, no thoroughfare, and the wake-up data wake up the terminal system, in terms of existing technologies, avoid end The situation that end system is awakened as frequently as those utilized in conventional solutions, so as to effectively reduce the power consumption of terminal.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of terminal data processing method and device provided above the embodiment of the present invention is described in detail, this Application program specific case is set forth to the principle and embodiment of the present invention in text, and the explanation of above example is It is used to help understand the method and its core concept of the present invention;Meanwhile for those skilled in the art, the think of according to the present invention Think, the there will be changes in embodiment and range of applications, in summary, this specification content should not be understood For limitation of the present invention.

Claims (9)

  1. A kind of 1. terminal data processing method, it is characterised in that including:
    Concordance list is established, the concordance list includes waking up the IP address and port numbers of data, wakes up the transmission times of data;
    Within the unit interval, the wake-up data that the modulation /demodulation module of terminal is sent are obtained, wherein the wake-up data are used to call out The awake terminal, the wakeup packet include IP address and port numbers;
    According to the IP address and the port numbers, determine whether have in the concordance list and the IP address and the port numbers Identical IP address and port numbers;
    If any identical IP address and port numbers, increase transmission times corresponding to the IP address and the port numbers;
    There is no identical IP address and port numbers such as, increase the IP address and the port numbers on the concordance list, and set Put transmission times corresponding to the IP address and the port numbers;
    Obtain the transmission times corresponding to the IP address and the port numbers;
    The transmission frequency according to corresponding to the transmission times calculates the wake-up data;
    Judge whether the transmission frequency is more than predetermined threshold value;
    Such as larger than predetermined threshold value, then user's mark according to corresponding to obtaining the IP address and the port numbers;
    Application process mark corresponding to obtaining is identified according to the user;
    The intended application process according to corresponding to obtaining application process mark;
    According to the intended application process, the wake-up data are forbidden to wake up the terminal.
  2. 2. terminal data processing method according to claim 1, it is characterised in that described to forbid the wake-up data to wake up The step of terminal, specifically includes:
    The intended application process is closed, to forbid the wake-up data to wake up the terminal.
  3. 3. terminal data processing method according to claim 2, it is characterised in that described to close the intended application process The step of specifically include:
    Judge to whether there is and the intended application process identical application process in default application process set;
    If in the presence of with the intended application process identical application process, the intended application process is closed, to forbid described call out Data of waking up wake up the terminal.
  4. 4. terminal data processing method according to claim 3, it is characterised in that described to judge default application process set In whether there is with the step of the intended application process identical application process before also include:
    Obtain the application process in the terminal;
    Intended application process is chosen from the application process according to the attribute information of the application process, to establish default application Process collection.
  5. 5. terminal data processing method according to claim 1, it is characterised in that described to forbid the wake-up data to wake up The step of terminal, specifically includes:
    Forbid the intended application process connection network, to forbid the wake-up data to wake up the terminal.
  6. A kind of 6. terminal data processing device, it is characterised in that including:
    Module is established, for establishing concordance list, the concordance list includes waking up the IP address and port numbers of data, wakes up data Transmission times;
    Data acquisition module, wherein the wake-up data that the modulation /demodulation module within the unit interval, obtaining terminal is sent, institute State and wake up data for waking up the terminal, the wakeup packet includes IP address and port numbers;
    Determining module, for according to the IP address and the port numbers, determining whether have in the concordance list with the IP Location and the port numbers identical IP address and port numbers;
    Add module, for if any identical IP address and port numbers, increasing and being sent corresponding to the IP address and the port numbers Number;
    Setup module, for there is no identical IP address and port numbers such as, increase the IP address and institute on the concordance list Port numbers are stated, and transmission times corresponding to the IP address and the port numbers is set;
    Acquisition module, for obtaining the transmission times corresponding to the IP address and the port numbers;
    Frequency acquisition module, for the transmission frequency according to corresponding to the transmission times calculating wake-up data;
    Frequency judge module, for judging whether the transmission frequency is more than predetermined threshold value;
    Identifier acquisition module, for when more than predetermined threshold value, being used according to corresponding to obtaining the IP address and the port numbers Family identifies;
    Process identification (PID) acquisition module, for the application process mark according to corresponding to user mark acquisition;
    Process acquisition module, for the intended application process according to corresponding to application process mark acquisition;
    Forbid wake module, for according to the intended application process, forbidding the wake-up data to wake up the terminal.
  7. 7. terminal data processing device according to claim 6, it is characterised in that described to forbid wake module also to include:
    Submodule is closed, for closing the intended application process, to forbid the wake-up data to wake up the terminal.
  8. 8. terminal data processing device according to claim 7, it is characterised in that the closing submodule is specifically used for:
    Judge to whether there is and the intended application process identical application process in default application process set;
    If in the presence of with the intended application process identical application process, the intended application process is closed, to forbid described call out Data of waking up wake up the terminal.
  9. 9. a kind of computer-readable recording medium, it is stored with computer program, it is characterised in that the computer program causes Computer performs the method as described in claim 1.
CN201610379924.6A 2016-05-31 2016-05-31 terminal data processing method and device Expired - Fee Related CN106102142B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610379924.6A CN106102142B (en) 2016-05-31 2016-05-31 terminal data processing method and device
PCT/CN2017/086477 WO2017206880A1 (en) 2016-05-31 2017-05-29 Terminal data processing method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610379924.6A CN106102142B (en) 2016-05-31 2016-05-31 terminal data processing method and device

Publications (2)

Publication Number Publication Date
CN106102142A CN106102142A (en) 2016-11-09
CN106102142B true CN106102142B (en) 2017-11-17

Family

ID=57230693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610379924.6A Expired - Fee Related CN106102142B (en) 2016-05-31 2016-05-31 terminal data processing method and device

Country Status (2)

Country Link
CN (1) CN106102142B (en)
WO (1) WO2017206880A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102141B (en) * 2016-05-31 2017-10-17 广东欧珀移动通信有限公司 A kind of processing method and processing device based on packet
CN106102142B (en) * 2016-05-31 2017-11-17 广东欧珀移动通信有限公司 terminal data processing method and device
CN109413726B (en) * 2018-12-24 2021-05-07 维沃移动通信有限公司 Power consumption control method and mobile terminal
CN112540666A (en) * 2019-09-20 2021-03-23 中兴通讯股份有限公司 Application unfreezing method, terminal device, computer device and computer readable medium
CN111182617B (en) * 2019-12-30 2023-03-10 上海创功通讯技术有限公司 Low-power-consumption control method, electronic equipment and storage medium
CN112615726B (en) * 2020-12-31 2022-08-23 广州技象科技有限公司 Low-power-consumption processing method and device with variable wake-up time

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902804A (en) * 2009-05-27 2010-12-01 宏碁股份有限公司 Wireless communication device and power saving method thereof and encapsulation packet filter method
CN103971050A (en) * 2014-05-21 2014-08-06 深圳市中兴移动通信有限公司 Mobile terminal awakening control method and device and mobile terminal
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8806378B2 (en) * 2008-05-08 2014-08-12 Humana Innovations Enterprises, Inc. Mobile client application for managing display of messages to users
CN102932757A (en) * 2012-09-25 2013-02-13 百度在线网络技术(北京)有限公司 Heartbeat message sending method of mobile terminal, mobile terminal and information pushing system
US9203906B2 (en) * 2013-06-30 2015-12-01 Vonage Network, Llc Systems and methods for enabling data communications to a telephony device
EP2876945B1 (en) * 2013-10-11 2018-09-19 Huawei Device (Dongguan) Co., Ltd. Method for processing data, modem and terminal
CN103970255B (en) * 2014-04-01 2018-02-27 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104486823A (en) * 2014-12-09 2015-04-01 锤子科技(北京)有限公司 Method, device and system for controlling data service awakening source
CN106102141B (en) * 2016-05-31 2017-10-17 广东欧珀移动通信有限公司 A kind of processing method and processing device based on packet
CN106102142B (en) * 2016-05-31 2017-11-17 广东欧珀移动通信有限公司 terminal data processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902804A (en) * 2009-05-27 2010-12-01 宏碁股份有限公司 Wireless communication device and power saving method thereof and encapsulation packet filter method
CN104221445A (en) * 2013-11-15 2014-12-17 华为终端有限公司 Method for waking up terminal system and terminal
CN103971050A (en) * 2014-05-21 2014-08-06 深圳市中兴移动通信有限公司 Mobile terminal awakening control method and device and mobile terminal

Also Published As

Publication number Publication date
WO2017206880A1 (en) 2017-12-07
CN106102142A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106102142B (en) terminal data processing method and device
CN106102141B (en) A kind of processing method and processing device based on packet
Alam et al. Interoperability of security-enabled internet of things
EP3782356B1 (en) Data synchronization across multiple devices
CN107889092B (en) Bluetooth device communication control method, device, terminal device and storage medium
CN103167185B (en) Battery energy-saving method and system
US20060075269A1 (en) Distributed link-layer wake-up agent system, method, and device for universal plug and play function with low power proxy
CN103634770B (en) A key based on smart mobile phone is sought help and information management platform and its implementation
WO2017000247A1 (en) Method for terminal and network device interaction and terminal
CN108768870B (en) Flow control methods, device and mobile terminal
CN105549718A (en) Method and device for optimizing power consumption of application program and electronic equipment
CN109816830B (en) Unlocking method and device
CN106095051B (en) A kind of processing method of application program for mobile terminal, device and mobile terminal
CN106101077A (en) A kind of method and device limiting application online
CN106664652A (en) Method for awakening wireless-fidelity network and terminal
CN102265702A (en) Stand-by method for access point and access point
CN105704758A (en) Method and device of closing social applications based on flow monitoring
CN105072570A (en) Method for saving electricity of Bluetooth connection
CN106851642A (en) Wireless networking authorization method and device
CN104270720A (en) Method and device for accessing wireless local area network, and mobile terminal
CN107396364A (en) A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
US20100290380A1 (en) Wireless Communication Device, Power Saving Method Thereof, and Packet Filtering Method Therefor
CN115407864A (en) Data processing method, data processing apparatus, electronic device, and readable storage medium
CN109600765A (en) A kind of suspend mode, wake-up control method, device, DU, CU and storage medium
CN110536389A (en) Method and device for reducing power consumption of terminal equipment and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171117