CN108055395A - Data processing method, mobile terminal and computer readable storage medium - Google Patents
Data processing method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108055395A CN108055395A CN201711248454.0A CN201711248454A CN108055395A CN 108055395 A CN108055395 A CN 108055395A CN 201711248454 A CN201711248454 A CN 201711248454A CN 108055395 A CN108055395 A CN 108055395A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- data
- network data
- processing method
- data processing
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of data processing method, data processing method comprises the following steps:Monitor the current state of mobile terminal;When the mobile terminal is in holding state, if the mobile terminal receives network data, the network data received is stored in the bottom firmware of the mobile terminal.The invention also discloses a kind of mobile terminal and computer readable storage mediums.The present invention can reduce the power consumption of mobile terminal, while during avoiding user's use, the push of various application messages is reminded, the puzzlement brought to user.
Description
Technical field
The present invention relates to network technique field more particularly to a kind of data processing method, mobile terminals and computer-readable
Storage medium.
Background technology
Mobile terminal quickly under popularization, largely run on mobile terminals by mobile terminal related application, networking request, data
A large amount of receptions of bag etc., become one of major function of current mobile terminal.
At present, mobile terminal can all be uploaded to system to the all-network data packet received in standby, so as to
During mobile terminal standby, the power consumption that mobile terminal is excessive is caused.
The content of the invention
It is a primary object of the present invention to provide a kind of data processing method, mobile terminal and computer-readable storage medium
Matter, it is intended to reduce the power consumption of mobile terminal.
To achieve the above object, the present invention provides a kind of data processing method, and the data processing method includes following step
Suddenly:
Monitor the current state of mobile terminal;
When the mobile terminal is in holding state, if the mobile terminal receives network data, will receive
Network data be stored in the bottom firmware of the mobile terminal.
Optionally, the data processing method further includes:
When the mobile terminal is in bright screen state, if the mobile terminal receives network data, institute will be passed through
State the system layer that the network data that bottom firmware receives reports to the mobile terminal.
Optionally, it is described by the network data received be stored in step in the bottom firmware of the mobile terminal it
Afterwards, further include:
When the mobile terminal is changed into bright screen state from holding state, the network number in the bottom firmware will be stored in
According to the system layer for reporting to the mobile terminal.
Optionally, data are provided in the bottom firmware and report service, network data in the bottom firmware is reported
Include to the step of system layer:
Report service that the network data is reported to the system layer by the data.
Optionally, the data processing method further includes:
It obtains the pre-set application message of user and reports rule;
Report rule that the network data in the system layer is reported to corresponding application program according to the application message;
When application program receives network data, establish and communicate to connect with corresponding server.
Optionally, the data processing method further includes:
The interface user for by data service being reported to provide reports application information the setting of rule to instruct;
According to the setting for reporting rule that instruction is set to complete corresponding application program.
Optionally, it is described when the mobile terminal is in bright screen state, if the mobile terminal receives network data,
The step of network data received by the bottom firmware then is reported to the system layer of the mobile terminal includes:
Monitor currently running application program;
It, will be in the network data of current operation application program if receiving the network data of current operation application program
It reports to the system layer.
Optionally, it is described when the mobile terminal is in bright screen state, if the mobile terminal receives network data,
The step of network data received by the bottom firmware then is reported to the system layer of the mobile terminal further includes:
Determine the pattern residing for currently running application program;
If currently running application program is in interruption-free pattern, the network data received is stored in the bottom
In firmware.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, mobile terminal includes:Memory, processing
Device and the data processor that can be run on the memory and on the processor is stored in, the data processor quilt
The step of processor realizes method as described above when performing.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Data processor is stored on storage medium, the data processor realizes data as described above when being executed by processor
The step of processing method.
A kind of data processing method, mobile terminal and the computer readable storage medium that the embodiment of the present invention proposes, pass through
Monitor the current state of mobile terminal;When the mobile terminal is in holding state, if the mobile terminal receives network
The network data received is then stored in the bottom firmware of the mobile terminal by data.By the above-mentioned means, the present invention is logical
Cross the current state of monitoring mobile terminal;When monitoring that the mobile terminal is in holding state, if the mobile terminal connects
Network data is received, then the network data received is stored in the bottom firmware of the mobile terminal, it is achieved thereby that
For mobile terminal in holding state, the network data that control bottom firmware receives is stored in bottom firmware, is moved without being reported to
The system layer of dynamic terminal, reducing mobile terminal report network data to system layer in holding state causes wake-up system and makes
Into power consumption, while during avoiding user's use, the push of various application messages is reminded, the puzzlement brought to user.
Description of the drawings
Fig. 1 is a kind of hardware architecture diagram of mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of data processing method first embodiment of the present invention;
Fig. 4 is the flow diagram of data processing method second embodiment of the present invention;
Fig. 5 is in the embodiment of the present invention when the mobile terminal is in bright screen state, if the mobile terminal receives
The network data received by the bottom firmware is then reported to the system layer step of the mobile terminal by network data
Refine flow diagram.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
The shiftings such as media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer
The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
For moving outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components,
Either combine some components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates
Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication
Standard or agreement include but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need
It to be omitted in the scope of essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
Formula, speech recognition mode, broadcast reception mode when under isotypes, by radio frequency unit 101 or WiFi module 102 it is receiving or
The voice data stored in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103
The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) data can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for the number for receiving input or character information and generation and the use of mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.It in addition, can
To realize touch panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc.
One or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) be connected with mobile terminal 100 can by interface.For example,
External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call
Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also be included to the power supply 111 (such as battery) of all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
It unites as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is business data flow and the strategy of IP bearing resources and charging control strategic decision-making
Point, it selects and provides available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
With reference to Fig. 3, Fig. 3 is the flow diagram of data processing method first embodiment of the present invention, the data processing method
Including:
Step S10 monitors the current state of mobile terminal;
The present invention is applied to mobile terminal, which includes bottom firmware, system layer and application layer, midsole
For layer firmware for communicating with base station or third-party server, system layer is system needed for running of mobile terminal, such as
Android, ISO etc., application layer are made of the various application programs that system layer is depended on to run.
Since mobile terminal is in holding state in the prior art, if receiving base station or third-party server push
Network data, for example receive the information of QQ push, specifically, mobile terminal receives base station or the by bottom firmware
The network data of tripartite's server push, base station or third-party server are pushed in a manner of electron waves, are connect in bottom firmware
The electron waves of base station or third-party server transmission are received, then the electron waves received can be carried out with processing and be converted to network number
According to network data includes:The corresponding TCP/UDP port informations of each network data, mobile terminal after network data is received,
Corresponding application program can be then pushed to, is reminded the user that.At present in the industry in order to avoid excessive information bothers user, user
The rule setting of notification information can be carried out, the lose interest in pushed information of software of user is arranged to not remind.It is but this
Mode still can when mobile terminal is in holding state, carry out information reminding, while if user according to application program compared with
When more, user can not quickly be configured all application programs, excessive so as to cause information reminding, and user is caused to be stranded
It disturbs, but also system needs frequent report network information when mobile terminal is in holding state, causes power consumption.
In order to reduce the power consumption of holding state and frequently remind the puzzlement caused by user in the present embodiment, in real time
The current state of mobile terminal is detected, determines that mobile terminal is in holding state or bright screen state.It can also in specific implementation
The current state of mobile terminal is not detected in real time, for example user can set the work(of certain a period of time startup the application
Can, such as the startup of sack time section, so it can then be carried out in user's nonstop period in the way of the prior art,
The period mode according to the invention of user's rest carries out, so as to can carrying into row information in time in the period do not rested
It wakes up, bothering for information is avoided in the period of rest.
Step S20, when the mobile terminal is in holding state, if the mobile terminal receives network data,
The network data received is stored in the bottom firmware of the mobile terminal.
The current state of mobile terminal is detected according to step S10, when mobile terminal is in holding state, is moved at this time
The system of terminal is not waken up, and mobile terminal is in breath screen state, judges whether bottom firmware receives base station in mobile terminal
If the network data that the network data that third-party server is sent receives base station or third-party server is sent,
Then the network data that bottom firmware receives is stored in bottom firmware by mobile terminal, there was only bottom in this process mobile terminal
Firmware works, and does not communicate with the system of mobile terminal, so as to avoid the system for waking up mobile terminal.If bottom firmware is not
The network data of base station or third-party server transmission is received, then without any processing.For example mobile terminal is in and treats
During machine state, if bottom firmware receives the data of wechat server transmission, at this time if user enables the place of the application
Processing function is managed, then will not wake up system, the data that wechat server is sent are reported to the system layer of mobile terminal, certainly
Wechat application program will not be reported to by system layer, of course for user is avoided to omit important information, will be received at this time
Wechat server send data be stored in bottom firmware.
Further, when the mobile terminal is changed into bright screen state from holding state, the bottom firmware will be stored in
In network data report to the system layer of the mobile terminal.
In the present embodiment in mobile terminal after holding state is changed into bright screen state, in order to avoid user miss it is important/
The network data stored in mobile terminal in standby state is reported to system layer in the present embodiment by necessary information again.
Further, data upload service is provided in the present embodiment in bottom firmware, service is reported by the data
The network data is reported into the system layer.
Data upload service can be set in a kind of bottom firmware of the present embodiment, which can provide relevant control operation
Network data, the system layer of mobile terminal can be reported in bottom firmware by interface by the service, which uploads
Service can also receive the arrange parameter instruction of user.
Step S30, when the mobile terminal is in bright screen state, if the mobile terminal receives network data,
The network data received by the bottom firmware is reported to the system layer of the mobile terminal.
The current state of mobile terminal is detected according to step S10, if mobile terminal is in bright screen state, is moved at this time
The system of terminal is waken up, when mobile terminal is in bright screen state, if receiving base station or third-party server transmission
Network data, then mobile terminal the network data that bottom firmware receives is reported to the system layer of mobile terminal.Such as
When mobile terminal is in bright screen state, if receiving the data of wechat server transmission, bottom firmware is by wechat server
The data of transmission report to the system layer of mobile terminal, and the data that wechat server is sent are included TCP/UDP by system layer again
Reporting port information is to wechat application program, this process when receiving a certain application program in the prior art with carrying out information reporting
Process it is similar.
A kind of data processing method, mobile terminal and the computer readable storage medium that the embodiment of the present invention proposes, pass through
Monitor the current state of mobile terminal;When the mobile terminal is in holding state, if the mobile terminal receives network
The network data received is then stored in the bottom firmware of the mobile terminal by data.By the above-mentioned means, the present invention is real
When monitor mobile terminal current state;When monitoring that the mobile terminal is in holding state, if the mobile terminal connects
Network data is received, then the network data received is stored in the bottom firmware of the mobile terminal, it is achieved thereby that
For mobile terminal in holding state, the network data that control bottom firmware receives is stored in bottom firmware, is moved without being reported to
The system layer of dynamic terminal, reducing mobile terminal report network data to system layer in holding state causes wake-up system and makes
Into power consumption, while during avoiding user's use, the push of various application messages is reminded, the puzzlement brought to user.
Further, with reference to Fig. 4, Fig. 4 is the flow diagram of data processing method second embodiment of the present invention, based on upper
Embodiment shown in Fig. 3 is stated, which further includes:
Step S40 obtains the pre-set application message of user and reports rule;
In order to which user is further avoided to be perplexed by excessive information, user can unify to each in use using journey
Sequence is configured or when installing each application program to being configured according to good application program, sets each application
Program reports rule, for example sets refusal QQ information alerts, when user setting is completed, preserves the good application letter of user setting
Breath reports rule.
Specifically, information-setting by user reports the process of rule that can include:
The interface user for by data service being reported to provide reports application information the setting of rule to instruct;
According to the setting for reporting rule that instruction is set to complete corresponding application program.
In the present embodiment mobile terminal can be reported by the data set in bottom firmware service provided interface with
System layer communicates, and user receives the setting instruction that user sets out, set according to what is received when being set to each application program
It puts instruction and completes the setting reported to corresponding application information, specifically, in a certain application program when receiving information,
Mobile terminal can notify the information received in Notifications page that current mobile terminal can all issue every information at this time
Show corresponding operation button, for example, refuse this using pushed information, buttons, the user such as ignore and can be led to information in mobile terminal
Know that the page is configured corresponding application program, also can also find application by setting menu in mobile terminal certainly
Program sets the page to be configured application program.
Step S50 reports rule that the network data in the system layer is reported to corresponding answer according to the application message
Use program;
TCP/UDP port informations determine the net received in the network data that system layer bottom firmware reports in mobile terminal
Network data correspond to the purpose application program uploaded, then report rule according to the step S40 application messages got, determine each mesh
Application program whether can be prompted, if a certain application program corresponding information reporting rule can to prompt, such as
Wechat, then the system layer of mobile terminal the network data that bottom firmware receives is reported into wechat application program.It is if a certain
The corresponding information reporting rule of application program is that cannot prompt, such as QQ, then the system layer of mobile terminal will not report to QQ
Application program, can be when user starts QQ application programs at this time in order to avoid user omits important QQ information, QQ application journeys
Sequence reads the network data that stores in mobile terminal, so as to avoid the omission of information, the net that can also will receive at this time certainly
Network data are deleted, and at this time in order to avoid user omits important information, then can be arranged on third-party server and be preserved the information,
It when user starts QQ application programs, establishes and communicates to connect with third-party server, reacquiring third-party server will promote
Network data.
Step S60 when application program receives network data, is established with corresponding server and communicated to connect.
According to the situation that step S50 is reported, when a certain application program receives network data, with corresponding third party's service
Device establishes communication connection, specifically, when wechat application program receives network data, establishes and communicates to connect with wechat server,
So as to fulfill normal communication function.
Further, when receiving the network data reported, the prompting that can also read user is set the application program
Information, and corresponding prompting is carried out according to the prompting configuration information read, for example the alerting pattern of user setting wechat is bell
Sound, then wechat application program is when receiving the network data reported, the corresponding the tinkle of bells of control mobile terminal playing.
Further, if currently running application program exits or corresponding process is killed, the application is disconnected
The connection of program and corresponding server.
Further, with reference to Fig. 5, Fig. 5 is in the embodiment of the present invention when the mobile terminal is in bright screen state, if institute
It states mobile terminal and receives network data, then report to the network data received by the bottom firmware described mobile whole
The refinement flow diagram of the system layer step at end, based on above-mentioned embodiment shown in Fig. 3, step S30 can include:
Step S31 monitors currently running application program;
Step S32, if receiving the network data of current operation application program, by the net of current operation application program
Network data report to the system layer.
Currently running application program can also be detected in the present embodiment in real time, if bottom firmware receives current operation
The network data of current application program is then reported to the system layer by the network data of application program, is reported by the system layer
To currently running application program.
Further, step S30 can also include:
Step S33 determines the pattern residing for currently running application program;
If currently running application program is in interruption-free pattern, the network data received is stored in by step S34
In the bottom firmware.
Further, during actual use, user is when using a certain application program, it may be undesirable to be pushed information
It bothers, for example in game, the information that other applications are promoted can block interface, cause user that can not see game circle clearly
Face, it has not been convenient to play, therefore the mould residing for the application program can be obtained in current operation program in the present embodiment
Formula, being determined whether in other words according to the regular and currently running application program of information reporting got will be in bottom firmware
Network data is reported.If currently running application program is in interruption-free pattern or according to the information reporting got
Regular and currently running application program determines that currently report network data, the then network data received are not stored in the bottom
In layer firmware, i.e., without reporting, naturally it is also possible to the network data directly ignored and received is not stored, for the purposes of avoiding losing
Important information is leaked, the information ignored can be stored in third-party server, so as to when other applications start, search
To the information ignored.
In addition, the embodiment of the present invention also proposes a kind of mobile terminal, the mobile terminal includes:Memory, processor and
The data processor that can be run on the memory and on the processor is stored in, the data processor is described
The step of processor realizes method as described below when performing:
Monitor the current state of mobile terminal;
When the mobile terminal is in holding state, if the mobile terminal receives network data, will receive
Network data be stored in the bottom firmware of the mobile terminal.
Further, the step of method as described below is realized when the data processor is performed by the processor:
When the mobile terminal is in bright screen state, if the mobile terminal receives network data, institute will be passed through
State the system layer that the network data that bottom firmware receives reports to the mobile terminal.
Further, the step of method as described below is realized when the data processor is performed by the processor:
When the mobile terminal is changed into bright screen state from holding state, the network number in the bottom firmware will be stored in
According to the system layer for reporting to the mobile terminal.
Further, the step of method as described below is realized when the data processor is performed by the processor:
Report service that the network data is reported to the system layer by the data.
Further, the step of method as described below is realized when the data processor is performed by the processor:
It obtains the pre-set application message of user and reports rule;
Report rule that the network data in the system layer is reported to corresponding application program according to the application message;
When application program receives network data, establish and communicate to connect with corresponding server.
Further, the step of method as described below is realized when the data processor is performed by the processor:
The interface user for by data service being reported to provide reports application information the setting of rule to instruct;
According to the setting for reporting rule that instruction is set to complete corresponding application program.
Further, the step of method as described below is realized when the data processor is performed by the processor:
Monitor currently running application program;
It, will be in the network data of current operation application program if receiving the network data of current operation application program
It reports to the system layer.
Further, the step of method as described below is realized when the data processor is performed by the processor:
Determine the pattern residing for currently running application program;
If currently running application program is in interruption-free pattern, the network data received is stored in the bottom
In firmware.
The specific embodiment of mobile terminal of the present invention and each embodiment of above application software security flaw detection method are basic
Identical, therefore not to repeat here.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with data processor, the step of as above data processing method is realized when the data processor is executed by processor
Suddenly.
The specific embodiment of computer readable storage medium of the present invention and above application software security flaw detection method are each
Embodiment is essentially identical, and therefore not to repeat here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes as this process, method, article or system institute inherently
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of data processing method, which is characterized in that the data processing method comprises the following steps:
Monitor the current state of mobile terminal;
When the mobile terminal is in holding state, if the mobile terminal receives network data, the net that will be received
Network data are stored in the bottom firmware of the mobile terminal.
2. data processing method as described in claim 1, which is characterized in that the data processing method further includes:
When the mobile terminal is in bright screen state, if the mobile terminal receives network data, the bottom will be passed through
The network data that layer firmware receives reports to the system layer of the mobile terminal.
3. data processing method as described in claim 1, which is characterized in that described that the network data received is stored in institute
After stating the step in the bottom firmware of mobile terminal, further include:
When the mobile terminal is changed into bright screen state from holding state, in the network data that will be stored in the bottom firmware
It reports to the system layer of the mobile terminal.
4. data processing method as claimed in claim 2 or claim 3, which is characterized in that be provided in the bottom firmware in data
Report service, the step of network data reports to the system layer in the bottom firmware, is included:
Report service that the network data is reported to the system layer by the data.
5. data processing method as claimed in claim 4, which is characterized in that the data processing method further includes:
It obtains the pre-set application message of user and reports rule;
Report rule that the network data in the system layer is reported to corresponding application program according to the application message;
When application program receives network data, establish and communicate to connect with corresponding server.
6. data processing method as claimed in claim 4, which is characterized in that the data processing method further includes:
The interface user for by data service being reported to provide reports application information the setting of rule to instruct;
According to the setting for reporting rule that instruction is set to complete corresponding application program.
7. data processing method as claimed in claim 4, which is characterized in that described to be in bright screen state in the mobile terminal
When, if the mobile terminal receives network data, the network data received by the bottom firmware is reported into institute
The step of system layer for stating mobile terminal, includes:
Monitor currently running application program;
If receiving the network data of current operation application program, the network data of current operation application program is reported to
The system layer.
8. data processing method as claimed in claim 7, which is characterized in that described to be in bright screen state in the mobile terminal
When, if the mobile terminal receives network data, the network data received by the bottom firmware is reported into institute
The step of system layer for stating mobile terminal, further includes:
Determine the pattern residing for currently running application program;
If currently running application program is in interruption-free pattern, the network data received is stored in the bottom firmware
In.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Memory, processor and it is stored in the storage
It is real when the data processor is performed by the processor on device and the data processor that can run on the processor
Now such as the step of method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium at data
Program is managed, such as data processing described in any item of the claim 1 to 8 is realized when the data processor is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711248454.0A CN108055395A (en) | 2017-11-30 | 2017-11-30 | Data processing method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711248454.0A CN108055395A (en) | 2017-11-30 | 2017-11-30 | Data processing method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108055395A true CN108055395A (en) | 2018-05-18 |
Family
ID=62121788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711248454.0A Pending CN108055395A (en) | 2017-11-30 | 2017-11-30 | Data processing method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108055395A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015154399A1 (en) * | 2014-09-03 | 2015-10-15 | 中兴通讯股份有限公司 | Blacklist processing method and device |
CN105848268A (en) * | 2016-05-25 | 2016-08-10 | 努比亚技术有限公司 | Method and terminal for reducing power consumption |
CN106162845A (en) * | 2016-06-21 | 2016-11-23 | 北京小米移动软件有限公司 | Data transmission method and device |
CN107231679A (en) * | 2017-06-20 | 2017-10-03 | 维沃移动通信有限公司 | A kind of data package processing method and mobile terminal |
-
2017
- 2017-11-30 CN CN201711248454.0A patent/CN108055395A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015154399A1 (en) * | 2014-09-03 | 2015-10-15 | 中兴通讯股份有限公司 | Blacklist processing method and device |
CN105848268A (en) * | 2016-05-25 | 2016-08-10 | 努比亚技术有限公司 | Method and terminal for reducing power consumption |
CN106162845A (en) * | 2016-06-21 | 2016-11-23 | 北京小米移动软件有限公司 | Data transmission method and device |
CN107231679A (en) * | 2017-06-20 | 2017-10-03 | 维沃移动通信有限公司 | A kind of data package processing method and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107995354A (en) | A kind of application control method, terminal and computer-readable recording medium | |
CN107105107A (en) | Message display method, mobile terminal and computer-readable recording medium | |
CN107395858A (en) | A kind of reminding method of notification message, terminal and computer-readable recording medium | |
CN107517494A (en) | A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium | |
CN108391190B (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN108512991A (en) | A kind of based reminding method, mobile terminal and computer readable storage medium | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN107360330A (en) | Method for early warning and mobile terminal | |
CN108965602A (en) | Application program display methods, mobile terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN108156325A (en) | A kind of double-sided screen Incoming-call control method, equipment and computer readable storage medium | |
CN107682541A (en) | Audio control method, mobile terminal and the storage medium of screen prjection | |
CN107493396A (en) | Button screen method, terminal and computer-readable recording medium | |
CN108227842A (en) | Wearable pattern switching based reminding method, mobile terminal and readable storage medium storing program for executing | |
CN108538203A (en) | Flexible screen abnormal curvatures alarm method, mobile terminal and readable storage medium storing program for executing | |
CN107911778A (en) | A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing | |
CN108259658A (en) | Flexible screen terminal and its electricity based reminding method, computer readable storage medium | |
CN110096173A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN110012155A (en) | A kind of call recording method, terminal and computer readable storage medium | |
CN109992156A (en) | A kind of false-touch prevention method, mobile terminal and computer readable storage medium | |
CN109151163A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109089258A (en) | ESIM card operating method, mobile terminal and eSIM card apparatus | |
CN108897451A (en) | The recognition methods of major-minor display screen, mobile terminal and computer readable storage medium | |
CN108762629A (en) | A kind of interface control method, mobile terminal and computer readable storage medium | |
CN107733862A (en) | A kind of network signal reminding method, terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |