CN105867583A - Information processing method and electronic device - Google Patents
Information processing method and electronic device Download PDFInfo
- Publication number
- CN105867583A CN105867583A CN201610159067.9A CN201610159067A CN105867583A CN 105867583 A CN105867583 A CN 105867583A CN 201610159067 A CN201610159067 A CN 201610159067A CN 105867583 A CN105867583 A CN 105867583A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- state
- testing result
- instruction
- network
- 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
-
- 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
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Abstract
Embodiments of the invention disclose an information processing method and an electronic device. The method includes: the electronic device detects the network connection state of the electronic device, and a first detection result is obtained; when the first detection result indicates that the electronic device is in a network connection unavailable state, a first instruction is generated; and the first instruction is executed in order to control an application in a first operation state to terminate a corresponding task process.
Description
Technical field
The present invention relates to the information processing technology, be specifically related to a kind of information processing method and electronic equipment.
Background technology
Along with the continuous progress of electronic technology, portable electric appts (such as smart mobile phone, panel computer etc.)
Function the most day by day promote.Due to the characteristic of electronic equipment self operating system, the application journey in electronic equipment
Sequence (APP) can be at running background, and APP can take the resource of electronic equipment (in such as when running background
Deposit, the resource such as CPU), no matter whether network state that also can be current can be with carrying out data syn-chronization, heart beating etc.
Operation.The most both add the consumption of system resource, add again the power consumption of electronic equipment.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention provides a kind of information processing method and electronics
Equipment, it is possible to reduce the consumption of system resource, reduces electric quantity consumption.
For reaching above-mentioned purpose, the technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide a kind of information processing method, be applied in electronic equipment;Described method bag
Include:
The network connection state of electronic equipment detection self, it is thus achieved that the first testing result;
When described first testing result be described electronic equipment be in network connect down state time, generate the
One instruction;
Perform described first instruction to control to be in the application program of the first running status and terminate the task of correspondence and enter
Journey.
In such scheme, before the network connection state of described electronic equipment detection self, described method is also wrapped
Include:
The display state of the display unit of described electronic equipment detection self, it is thus achieved that the second testing result;
When described second testing result be described display unit be closed time, generate second instruction;
Perform described second instruction to control to be in the application program of the first running status and terminate the task of correspondence and enter
Journey.
In such scheme, the network connection state of described electronic equipment detection self, it is thus achieved that the first testing result,
Including:
The data transmission scenarios of the Transmit Receive Unit of described electronic equipment detection self;Penetrate described in detecting
Frequently Transmit-Receive Unit in preset time range no data transmission time, it is thus achieved that described electronic equipment be in network connect
First testing result of down state.
In such scheme, the network connection state of described electronic equipment detection self, it is thus achieved that the first testing result,
Including:
Described electronic equipment self operational mode of detection, when detect be in the first operational mode time, it is thus achieved that
Described electronic equipment is in network and connects the first testing result of down state.
In such scheme, when described first testing result be described network connection state be in network connect can not
When using state, generate the first instruction, including:
When described first testing result is that described network connection state is in network connection down state and institute
State network and connect the persistent period of down state when reaching predetermined threshold value, generate the first instruction.
In such scheme, described first running status is the application program state at running background.
The embodiment of the present invention additionally provides a kind of electronic equipment, and described electronic equipment includes: detector unit and holding
Row unit;Wherein,
Described detector unit, for detecting the network connection state of self, it is thus achieved that the first testing result;
Described performance element, connects for being in network for the first testing result obtained when described detector unit
During down state, generate the first instruction;Perform described first instruction to control to be in answering of the first running status
With task process corresponding to EP (end of program).
In such scheme, described electronic equipment also includes display unit;
Described detector unit, before being additionally operable to detect the network connection state of self, detects described display unit
Display state, it is thus achieved that the second testing result;
Described performance element, is additionally operable to when the second testing result that described detector unit obtains is that described display is single
When unit is closed, generate the second instruction;Perform described second instruction control and be in the first running status
Application program terminate correspondence task process.
In such scheme, described electronic equipment also includes Transmit Receive Unit;
Described detector unit, for detecting the data transmission scenarios of described Transmit Receive Unit;When detecting
State Transmit Receive Unit in preset time range no data transmission time, it is thus achieved that be in network connect unavailable shape
First testing result of state.
In such scheme, described detector unit, it is used for detecting operational mode, is in the first operation when detecting
During pattern, it is thus achieved that be in network and connect the first testing result of down state.
In such scheme, described performance element, it is used for when described first testing result is that described network connects shape
State is in network and connects down state and described network and connect persistent period of down state and reach default
During threshold value, generate the first instruction.
In such scheme, described first running status is the application program state at running background.
The information processing method of embodiment of the present invention offer and electronic equipment, described method includes: electronic equipment
Detect the network connection state of self, it is thus achieved that the first testing result;When described first testing result is described electricity
When subset is in network connection down state, generate the first instruction;Perform at described first instruction control
Application program in the first running status terminates the task process of correspondence.So, the embodiment of the present invention is used
Technical scheme, detects that electronic equipment is in when network connects down state and terminates to be in the first running status
The application program of (for instance in background operation state) terminates the task process of correspondence, i.e. closes and is in backstage
The application program of running status, greatly reduces the consumption of system resource, and the consumption of reduction electricity, prolongs
Grow the use duration of electronic equipment internal battery, improve the experience of user.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the information processing method of the embodiment of the present invention three;
Fig. 4 is the schematic flow sheet of the information processing method of the embodiment of the present invention four;
Fig. 5 is the composition structural representation one of the electronic equipment of the embodiment of the present invention;
Fig. 6 is the composition structural representation two of the electronic equipment of the embodiment of the present invention;
Fig. 7 is the composition structural representation three of the electronic equipment of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further detailed explanation.
Embodiment one
Embodiments providing a kind of information processing method, described information processing method is applied to electronics and sets
In Bei.Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one;As it is shown in figure 1, institute
The method of stating includes:
Step 101: the network connection state of electronic equipment detection self, it is thus achieved that the first testing result.
Step 102: when described first testing result is that described electronic equipment is in network connection down state
Time, generate the first instruction.
Step 103: perform described first instruction and control to be in the application program of the first running status and terminate correspondence
Task process.
The information processing method of the embodiment of the present invention is applied in electronic equipment, and described electronic equipment is specially just
Take formula electronic equipment, such as mobile phone, panel computer etc..
In the present embodiment step 101, the network connection state of described electronic equipment detection self, described network
Connection status can include that network connects upstate and network connects down state.In the present embodiment, institute
State network connection down state and represent that described electronic equipment is not supported by wireless network logical with other equipment
Letter;Accordingly, described network connects upstate and represents that described electronic equipment support is wireless by least one
Network communicates with other equipment;Wherein, described wireless network can be based on G mobile communication
(3G) or the wireless network of forth generation mobile communication technology (4G), described wireless network can also be based on
The wireless network of Wireless Fidelity (WiFi) technology;Certainly, described wireless network is not limited to the above-mentioned type, institute
The wireless network type supported in electronic equipment is had to belong to the protection domain of the embodiment of the present invention.
Under normal circumstances, described electronic equipment is all that the Transmit Receive Unit by self (receive by specially radio frequency
Send out antenna) transmission data, reach the purpose communicated by wireless network with other equipment.Based on this, at this
In embodiment, as a kind of embodiment, the network connection state of described electronic equipment detection self, can lead to
Cross the data transmission scenarios of the Transmit Receive Unit detecting self;When detecting that described Transmit Receive Unit is in advance
If in time range during no data transmission, described electronic equipment can be obtained and be in network connection down state
First testing result.
In the present embodiment, when described electronic equipment detects that being currently at network connects down state, raw
Becoming the first instruction, described first instruction is for closing the application program being in the first running status.Wherein, institute
Stating the first running status is the application program state at running background;The meeting when running background of described application program
Take the resource (the such as resource such as internal memory, CPU) of electronic equipment, no matter also can current network state be
No can use carries out the operation such as data syn-chronization, heart beating.Based on this, in step 103, perform described first instruction
The application program being in the first running status with control terminates corresponding task process, thus reduces electronics and set
Standby system resources consumption, can reduce again the power consumption of electronic equipment.
Use the technical scheme of the embodiment of the present invention, detect that electronic equipment is in network and connects down state
Time terminate to be in the application program of the first running status (for instance in background operation state) and terminate appointing of correspondence
Business process, i.e. closes the application program being in background operation state, greatly reduces the consumption of system resource,
And the consumption of reduction electricity, extend the use duration of electronic equipment internal battery, improve the body of user
Test.
Embodiment two
Embodiments providing a kind of information processing method, described information processing method is applied to electronics and sets
In Bei.Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two;As in figure 2 it is shown, institute
The method of stating includes:
Step 201: the data transmission scenarios of the Transmit Receive Unit of electronic equipment detection self.
Step 202: when the no data transmission in preset time range of described Transmit Receive Unit being detected,
Obtain described electronic equipment and be in the first testing result of network connection down state.
Step 203: generate the first instruction, performs described first instruction and controls to be in answering of the first running status
With task process corresponding to EP (end of program).
The information processing method of the embodiment of the present invention is applied in electronic equipment, and described electronic equipment is specially just
Take formula electronic equipment, such as mobile phone, panel computer etc..
In the present embodiment step 201, Transmit Receive Unit (the i.e. radio-frequency receiving-transmitting sky of described electronic equipment self
Line) include that described electronic equipment self is for all subelements (i.e. sub antenna) that data are transmitted.Normal conditions
Under, described electronic equipment is all Transmit Receive Unit (the specially radio-frequency receiving-transmitting antenna) transmission by self
Data, reach to connect, by wireless network, the purpose communicated with other equipment.
In the present embodiment, described network connection state can include that network connects upstate and network connection can not
Use state.In the present embodiment, described network connects down state and represents that described electronic equipment is not supported to lead to
Cross wireless network to communicate with other equipment;Accordingly, described network connects upstate and represents that described electronics sets
Standby support is communicated with other equipment by least one wireless network;Wherein, described wireless network can be base
In G mobile communication (3G) or the wireless network of forth generation mobile communication technology (4G), described
Wireless network can also be wireless network based on Wireless Fidelity (WiFi) technology;Certainly, described wireless network
Network is not limited to the above-mentioned type, and the wireless network type supported in all electronic equipments belongs to the embodiment of the present invention
Protection domain, such as bluetooth, global positioning system (GPS) etc..Based on this, the embodiment of the present invention
Described Transmit Receive Unit includes for transmitting the first radio-frequency receiving-transmitting subelement of data, use by 3G/4G
The second radio-frequency receiving-transmitting subelement and other the 3rd radio frequencies being used for transmitting data in WiFi transmission data are received
Send out subelement etc..In the present embodiment, described electronic equipment detects that described Transmit Receive Unit is when one section
During interior (such as in preset time range) no data transmission, it may be determined that described electronic equipment is in network even
Connect down state.
In the present embodiment, when described electronic equipment detects that being currently at network connects down state, raw
Becoming the first instruction, described first instruction is for closing the application program being in the first running status.Wherein, institute
Stating the first running status is the application program state at running background;The meeting when running background of described application program
Take the resource (the such as resource such as internal memory, CPU) of electronic equipment, no matter also can current network state be
No can use carries out the operation such as data syn-chronization, heart beating.Based on this, in step 203, perform described first instruction
The application program being in the first running status with control terminates corresponding task process, thus reduces electronics and set
Standby system resources consumption, can reduce again the power consumption of electronic equipment.
Use the technical scheme of the embodiment of the present invention, detect that electronic equipment is in network and connects down state
Time terminate to be in the application program of the first running status (for instance in background operation state) and terminate appointing of correspondence
Business process, i.e. closes the application program being in background operation state, greatly reduces the consumption of system resource,
And the consumption of reduction electricity, extend the use duration of electronic equipment internal battery, improve the body of user
Test.
Embodiment three
Embodiments providing a kind of information processing method, described information processing method is applied to electronics and sets
In Bei.Fig. 3 is the schematic flow sheet of the information processing method of the embodiment of the present invention three;As it is shown on figure 3, institute
The method of stating includes:
Step 301: the operational mode of electronic equipment detection self.
Step 302: when detect be in the first operational mode time, it is thus achieved that described electronic equipment is in network even
Connect the first testing result of down state.
Step 303: generate the first instruction, performs described first instruction and controls to be in answering of the first running status
With task process corresponding to EP (end of program).
The information processing method of the embodiment of the present invention is applied in electronic equipment, and described electronic equipment is specially just
Take formula electronic equipment, such as mobile phone, panel computer etc..
In the present embodiment, the network connection state of described electronic equipment self can include that network connects upstate
Down state is connected with network.In the present embodiment, described network connects down state and represents described electricity
Subset is not supported by wireless network and other equipment communications;Accordingly, described network connects upstate
Represent that described electronic equipment support is by least one wireless network and other equipment communications;Wherein, described nothing
Gauze network can be based on G mobile communication (3G) or forth generation mobile communication technology (4G)
Wireless network, described wireless network can also be wireless network based on Wireless Fidelity (WiFi) technology;When
So, described wireless network is not limited to the above-mentioned type, and the wireless network type supported in all electronic equipments all belongs to
Protection domain in the embodiment of the present invention.
Under normal circumstances, described electronic equipment is all that the Transmit Receive Unit by self (receive by specially radio frequency
Send out antenna) transmission data, reach the purpose communicated by wireless network with other equipment.Under normal circumstances,
Being pre-configured with function button in described electronic equipment, on the one hand described function button can control described radio frequency and receive
Bill unit is in opening or is closed;Accordingly, in the running of described electronic equipment,
The state of described Transmit Receive Unit can the operational mode of corresponding described electronic equipment, the most described function button is another
On the one hand the switching of the operational mode of described electronic equipment can be controlled.
Based on this, in the present embodiment, described electronic equipment can be by detecting the input for specific function button
Operation determines the operational mode of self;Described first operational mode such as " offline mode " or " aviation pattern ".
When detecting that described electronic equipment is in " offline mode " or " aviation pattern ", it may be determined that described electronics
Equipment is in network and connects down state.
In the present embodiment, when described electronic equipment detects that being currently at network connects down state, raw
Becoming the first instruction, described first instruction is for closing the application program being in the first running status.Wherein, institute
Stating the first running status is the application program state at running background;The meeting when running background of described application program
Take the resource (the such as resource such as internal memory, CPU) of electronic equipment, no matter also can current network state be
No can use carries out the operation such as data syn-chronization, heart beating.Based on this, in step 303, perform described first instruction
The application program being in the first running status with control terminates corresponding task process, thus reduces electronics and set
Standby system resources consumption, can reduce again the power consumption of electronic equipment.
Use the technical scheme of the embodiment of the present invention, detect that electronic equipment is in network and connects down state
Time terminate to be in the application program of the first running status (for instance in background operation state) and terminate appointing of correspondence
Business process, i.e. closes the application program being in background operation state, greatly reduces the consumption of system resource,
And the consumption of reduction electricity, extend the use duration of electronic equipment internal battery, improve the body of user
Test.
Embodiment four
The embodiment of the present invention additionally provides a kind of information processing method, and described information processing method is applied to electronics
In equipment.Fig. 4 is the schematic flow sheet of the information processing method of the embodiment of the present invention four;As shown in Figure 4,
Described method includes:
Step 401: the display state of the display unit of electronic equipment detection self, it is thus achieved that the second testing result.
Step 402: when described second testing result be described display unit be closed time, generate the
Two instructions.
Step 403: perform described second instruction and control to be in the application program of the first running status and terminate correspondence
Task process.
The information processing method of the embodiment of the present invention is applied in electronic equipment, and described electronic equipment is specially just
Take formula electronic equipment, such as mobile phone, panel computer etc..
Under normal circumstances, when the display unit (such as display screen) of electronic equipment, to be in opening (the most aobvious
Display screen is lighted) time, electronic equipment just can be operated by user, such as, activate various program etc..Work as institute
State the display unit (such as display screen) of electronic equipment when being closed (i.e. display screen extinguishing), use
Family generally will not, also inconvenience to the task in electronic equipment, (task here can be understood as being in foreground fortune
The application program gone and the application program being in running background) operate.Based on this, the present embodiment walks
Rapid 401 and step 402 in, the display state of display unit of described electronic equipment detection self, determine institute
State display state when being closed, generate the second instruction;Described second instruction is in first for closedown
The application program of running status.Wherein, described first running status is the application program state at running background;
Described application program can take the resource (the such as resource such as internal memory, CPU) of electronic equipment when running background,
No matter whether network state that also can be current can be with carrying out the operation such as data syn-chronization, heart beating.Based on this, step
In 403, perform described second instruction and terminate appointing of correspondence with the application program controlling to be in the first running status
Business process, thus reduce the system resources consumption of electronic equipment, the power consumption of electronic equipment can be reduced again.
Use the technical scheme of the embodiment of the present invention, electronic equipment volume display unit (i.e. display screen) detected
Terminate to be in the application program of the first running status (for instance in background operation state) when being closed
Terminate corresponding task process, i.e. close the application program being in background operation state, greatly reduce system
The consumption of resource, and reduce the consumption of electricity, extend the use duration of electronic equipment internal battery, carry
Rise the experience of user.
Embodiment five
The embodiment of the present invention additionally provides in a kind of electronic equipment.Fig. 5 is the electronic equipment of the embodiment of the present invention
Composition structural representation one;As it is shown in figure 5, described electronic equipment includes: detector unit 51 and perform list
Unit 52;Wherein,
Described detector unit 51, for detecting the network connection state of self, it is thus achieved that the first testing result;
Described performance element 52, for the first testing result when the acquisition of described detector unit 51 for being in net
When network connects down state, generate the first instruction;Perform described first instruction control and be in the first operation shape
The application program of state terminates the task process of correspondence.
In the present embodiment, described detector unit 51 detects the network connection state of self, and described network connects shape
State can include that network connects upstate and network connects down state.In the present embodiment, described network
Connect down state and represent that described electronic equipment is not supported by wireless network and other equipment communications;Accordingly
, described network connect upstate represent described electronic equipment support by least one wireless network and its
He communicates by equipment;Wherein, described wireless network can be based on G mobile communication (3G) or
The wireless network of four third-generation mobile communication technology (4G), described wireless network can also be based on Wireless Fidelity
(WiFi) wireless network of technology;Certainly, described wireless network is not limited to the above-mentioned type, and all electronics set
The wireless network type of standby middle support belongs to the protection domain of the embodiment of the present invention.
Under normal circumstances, described electronic equipment is all Transmit Receive Unit 53 (the specially radio frequency by self
Dual-mode antenna) transmission data, reach the purpose communicated by wireless network with other equipment.Based on this,
In the present embodiment, as a kind of embodiment, described detector unit 51 detects the network connection state of self,
Can be by detecting the data transmission scenarios of Transmit Receive Unit 53;When described Transmit Receive Unit 53 being detected
In preset time range during no data transmission, the first detection being in network connection down state can be obtained
Result.
In the present embodiment, when described detector unit 51 detects that being currently at network connects down state,
Generating the first instruction, described first instruction is for closing the application program being in the first running status.Wherein,
Described first running status is the application program state at running background;Described application program is when running background
The resource (the such as resource such as internal memory, CPU) of electronic equipment can be taken, no matter network state that also can be current
Whether can be with carrying out the operation such as data syn-chronization, heart beating.Based on this, described performance element 52 performs described first
Instruct the task process terminating correspondence with the application program controlling to be in the first running status, thus reduce electricity
The system resources consumption of subset, can reduce again the power consumption of electronic equipment.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention,
Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere
Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through
Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
Embodiment six
The embodiment of the present invention additionally provides in a kind of electronic equipment.As it is shown in figure 5, described electronic equipment includes:
Detector unit 51 and performance element 52;Wherein,
Described detector unit 51, is used for detecting operational mode, when detect be in the first operational mode time, obtain
Network must be in and connect the first testing result of down state;
Described performance element 52, for the first testing result when the acquisition of described detector unit 51 for being in net
When network connects down state, generate the first instruction;Perform described first instruction control and be in the first operation shape
The application program of state terminates the task process of correspondence.
In the present embodiment, the network connection state of described electronic equipment self can include that network connects upstate
Down state is connected with network.In the present embodiment, described network connects down state and represents described electricity
Subset is not supported by wireless network and other equipment communications;Accordingly, described network connects upstate
Represent that described electronic equipment support is by least one wireless network and other equipment communications;Wherein, described nothing
Gauze network can be based on G mobile communication (3G) or forth generation mobile communication technology (4G)
Wireless network, described wireless network can also be wireless network based on Wireless Fidelity (WiFi) technology;When
So, described wireless network is not limited to the above-mentioned type, and the wireless network type supported in all electronic equipments all belongs to
Protection domain in the embodiment of the present invention.
Under normal circumstances, described electronic equipment is all Transmit Receive Unit 53 (the specially radio frequency by self
Dual-mode antenna) transmission data, reach the purpose communicated by wireless network with other equipment.Under normal circumstances,
Being pre-configured with function button in described electronic equipment, on the one hand described function button can control described radio frequency and receive
Bill unit 53 is in opening or is closed;Accordingly, at the running of described electronic equipment
In, the state of described Transmit Receive Unit 53 can the operational mode of corresponding described electronic equipment, the most described function
On the other hand button can control the switching of the operational mode of described electronic equipment.
Based on this, in the present embodiment, described detector unit 51 can be by defeated for specific function button of detection
Enter operation and determine the operational mode of self;Described first operational mode such as " offline mode " or " aviation mould
Formula ".When detecting that described electronic equipment is in " offline mode " or " aviation pattern ", it may be determined that described
Electronic equipment is in network and connects down state.
In the present embodiment, when described detector unit 51 detects that being currently at network connects down state,
Described performance element 52 generates the first instruction, and described first instruction is in answering of the first running status for closing
Use program.Wherein, described first running status is the application program state at running background;Described application journey
Sequence can take the resource (the such as resource such as internal memory, CPU) of electronic equipment when running background, no matter also can
Whether current network state can be with carrying out the operation such as data syn-chronization, heart beating.Based on this, described performance element
52 perform described first instruction terminates the task of correspondence and enters controlling to be in the application program of the first running status
Journey, thus reduce the system resources consumption of electronic equipment, the power consumption of electronic equipment can be reduced again.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention,
Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere
Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through
Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
Embodiment seven
The embodiment of the present invention additionally provides in a kind of electronic equipment.Fig. 6 is the electronic equipment of the embodiment of the present invention
Composition structural representation two;As shown in Figure 6, described electronic equipment includes: Transmit Receive Unit 53, inspection
Survey unit 51 and performance element 52;Wherein,
Described detector unit 51, for detecting the data transmission scenarios of described Transmit Receive Unit 53;Work as inspection
Measure described Transmit Receive Unit 53 in preset time range no data transmission time, it is thus achieved that be in network connect
First testing result of down state;
Described performance element 52, for the first testing result when the acquisition of described detector unit 51 for being in net
When network connects down state, generate the first instruction;Perform described first instruction control and be in the first operation shape
The application program of state terminates the task process of correspondence.
In the present embodiment, Transmit Receive Unit 53 (the i.e. radio-frequency receiving-transmitting antenna) bag of described electronic equipment self
Include described electronic equipment self for all subelements (i.e. sub antenna) that data are transmitted.Under normal circumstances, institute
Stating electronic equipment is all to transmit data by the Transmit Receive Unit 53 (specially radio-frequency receiving-transmitting antenna) of self,
Reach to connect, by wireless network, the purpose communicated with other equipment.
In the present embodiment, described network connection state can include that network connects upstate and network connection can not
Use state.In the present embodiment, described network connects down state and represents that described electronic equipment is not supported to lead to
Cross wireless network to communicate with other equipment;Accordingly, described network connects upstate and represents that described electronics sets
Standby support is communicated with other equipment by least one wireless network;Wherein, described wireless network can be base
In G mobile communication (3G) or the wireless network of forth generation mobile communication technology (4G), described
Wireless network can also be wireless network based on Wireless Fidelity (WiFi) technology;Certainly, described wireless network
Network is not limited to the above-mentioned type, and the wireless network type supported in all electronic equipments belongs to the embodiment of the present invention
Protection domain, such as bluetooth, global positioning system (GPS) etc..Based on this, the embodiment of the present invention
Described Transmit Receive Unit 53 include for by 3G/4G transmission data the first radio-frequency receiving-transmitting subelement,
The second radio-frequency receiving-transmitting subelement and other the 3rd radio frequencies being used for transmitting data for WiFi transmission data
Transmitting-receiving subelement etc..In the present embodiment, described detector unit 51 detects described Transmit Receive Unit 53
Within a period of time (such as in preset time range) during no data transmission, it may be determined that be in network and connect not
Upstate.
In the present embodiment, when described detector unit 51 detects that being currently at network connects down state,
Described performance element 52 generates the first instruction, and described first instruction is in answering of the first running status for closing
Use program.Wherein, described first running status is the application program state at running background;Described application journey
Sequence can take the resource (the such as resource such as internal memory, CPU) of electronic equipment when running background, no matter also can
Whether current network state can be with carrying out the operation such as data syn-chronization, heart beating.Based on this, described performance element
52 perform described first instruction terminates the task of correspondence and enters controlling to be in the application program of the first running status
Journey, thus reduce the system resources consumption of electronic equipment, the power consumption of electronic equipment can be reduced again.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention,
Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere
Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through
Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
Embodiment eight
The embodiment of the present invention additionally provides in a kind of electronic equipment.Fig. 7 is the electronic equipment of the embodiment of the present invention
Composition structural representation three;As it is shown in fig. 7, described electronic equipment includes: display unit 54, detection list
Unit 51 and performance element 52;Wherein,
Described detector unit 51, before detecting the network connection state of self, detects described display unit
The display state of 54, it is thus achieved that the second testing result;
Described performance element 52, the second testing result for obtaining when described detector unit 51 is described aobvious
Show when unit 54 is closed, generate the second instruction;Perform described second instruction control and be in the first fortune
The application program of row state terminates the task process of correspondence.
Under normal circumstances, it is in opening (i.e. when the display unit 54 (such as display screen) of electronic equipment
Display screen is lighted) time, electronic equipment just can be operated by user, such as, activate various program etc..When
When the display unit 54 (such as display screen) of described electronic equipment is closed (i.e. display screen extinguishing),
User generally will not, also inconvenience to the task in electronic equipment, (task here can be understood as being in foreground
The application program run and the application program being in running background) operate.Based on this, described detection
Unit 51 detects the display state of the display unit 54 of self, determines that described display state is closed
Time, described performance element 52 generates the second instruction;Described second instruction is in the first running status for closedown
Application program.Wherein, described first running status is the application program state at running background;Described should
The resource (the such as resource such as internal memory, CPU) of electronic equipment can be taken by program when running background, also can
No matter whether current network state can be with carrying out the operation such as data syn-chronization, heart beating.Based on this, described execution
Unit 52 performs described second instruction and terminates appointing of correspondence with the application program controlling to be in the first running status
Business process, thus reduce the system resources consumption of electronic equipment, the power consumption of electronic equipment can be reduced again.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention,
Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere
Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through
Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
In the embodiment of the present invention five to embodiment eight, described electronic equipment is specially portable electric appts,
Such as mobile phone, panel computer etc..Detector unit 51 in described electronic equipment and performance element 52, in reality
Border application in all can by the central processing unit (CPU, Central Processing Unit) in described electronic equipment,
Digital signal processor (DSP, Digital Signal Processor) or programmable gate array (FPGA, Field
-Programmable Gate Array) realize;Transmit Receive Unit 53 in described electronic equipment, in reality
Border application can be realized by the dual-mode antenna in described electronic equipment;Display unit in described electronic equipment
54, can be realized by the display screen of described electronic equipment or display in actual applications.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can
To realize by another way.Apparatus embodiments described above is only schematically, such as, and institute
Stating the division of unit, be only a kind of logic function and divide, actual can have other dividing mode when realizing,
As: multiple unit or assembly can be in conjunction with, or it is desirably integrated into another system, or some features can be neglected
Slightly, or do not perform.It addition, the coupling each other of shown or discussed each ingredient or directly coupling
Close or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit or communication connection, can
Be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, as
The parts that unit shows can be or may not be physical location, i.e. may be located at a place, it is possible to
To be distributed on multiple NE;Part or all of unit therein can be selected according to the actual needs
Realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit,
Can also be that each unit is individually as a unit, it is also possible to two or more unit are integrated in one
In individual unit;Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds soft
The form of part functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can
Completing with the hardware relevant by programmed instruction, aforesaid program can be stored in an embodied on computer readable and deposit
In storage media, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage
Medium includes: movable storage device, read only memory (ROM, Read-Only Memory), deposit at random
Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent
Production marketing or use time, it is also possible to be stored in a computer read/write memory medium.Based on so
Understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention the most in other words can
Embodying with the form with software product, this computer software product is stored in a storage medium, bag
Include some instructions with so that a computer equipment (can be personal computer, server or network
Equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium bag
Include: movable storage device, ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in
Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should
It is as the criterion with described scope of the claims.
Claims (12)
1. an information processing method, is applied in electronic equipment;Described method includes:
The network connection state of electronic equipment detection self, it is thus achieved that the first testing result;
When described first testing result be described electronic equipment be in network connect down state time, generate the
One instruction;
Perform described first instruction to control to be in the application program of the first running status and terminate the task of correspondence and enter
Journey.
Method the most according to claim 1, it is characterised in that the net of described electronic equipment detection self
Before network connection status, described method also includes:
The display state of the display unit of described electronic equipment detection self, it is thus achieved that the second testing result;
When described second testing result be described display unit be closed time, generate second instruction;
Perform described second instruction to control to be in the application program of the first running status and terminate the task of correspondence and enter
Journey.
Method the most according to claim 1, it is characterised in that the net of described electronic equipment detection self
Network connection status, it is thus achieved that the first testing result, including:
The data transmission scenarios of the Transmit Receive Unit of described electronic equipment detection self;Penetrate described in detecting
Frequently Transmit-Receive Unit in preset time range no data transmission time, it is thus achieved that described electronic equipment be in network connect
First testing result of down state.
Method the most according to claim 1, it is characterised in that the net of described electronic equipment detection self
Network connection status, it is thus achieved that the first testing result, including:
Described electronic equipment self operational mode of detection, when detect be in the first operational mode time, it is thus achieved that
Described electronic equipment is in network and connects the first testing result of down state.
Method the most according to claim 1, it is characterised in that when described first testing result is described
When network connection state is in network connection down state, generate the first instruction, including:
When described first testing result is that described network connection state is in network connection down state and institute
State network and connect the persistent period of down state when reaching predetermined threshold value, generate the first instruction.
Method the most according to claim 1, it is characterised in that described first running status is application journey
Sequence is in the state of running background.
7. an electronic equipment, it is characterised in that described electronic equipment includes: detector unit and performance element;
Wherein,
Described detector unit, for detecting the network connection state of self, it is thus achieved that the first testing result;
Described performance element, connects for being in network for the first testing result obtained when described detector unit
During down state, generate the first instruction;Perform described first instruction to control to be in answering of the first running status
With task process corresponding to EP (end of program).
Electronic equipment the most according to claim 7, it is characterised in that described electronic equipment also includes showing
Show unit;
Described detector unit, before being additionally operable to detect the network connection state of self, detects described display unit
Display state, it is thus achieved that the second testing result;
Described performance element, is additionally operable to when the second testing result that described detector unit obtains is that described display is single
When unit is closed, generate the second instruction;Perform described second instruction control and be in the first running status
Application program terminate correspondence task process.
Electronic equipment the most according to claim 7, it is characterised in that described electronic equipment also includes penetrating
Frequently Transmit-Receive Unit;
Described detector unit, for detecting the data transmission scenarios of described Transmit Receive Unit;When detecting
State Transmit Receive Unit in preset time range no data transmission time, it is thus achieved that be in network connect unavailable shape
First testing result of state.
Electronic equipment the most according to claim 7, it is characterised in that described detector unit, is used for
Detection operational mode, when detect be in the first operational mode time, it is thus achieved that be in network connect down state
The first testing result.
11. electronic equipments according to claim 7, it is characterised in that described performance element, are used for
When described first testing result is that described network connection state is in network connection down state and described net
When the persistent period of network connection down state reaches predetermined threshold value, generate the first instruction.
12. electronic equipments according to claim 7, it is characterised in that described first running status is
Application program is in the state of running background.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610159067.9A CN105867583A (en) | 2016-03-18 | 2016-03-18 | Information processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610159067.9A CN105867583A (en) | 2016-03-18 | 2016-03-18 | Information processing method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105867583A true CN105867583A (en) | 2016-08-17 |
Family
ID=56624691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610159067.9A Pending CN105867583A (en) | 2016-03-18 | 2016-03-18 | Information processing method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105867583A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381376A (en) * | 2019-07-09 | 2019-10-25 | 青岛海信传媒网络技术有限公司 | Application processing method, device and terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060005240A1 (en) * | 2004-06-30 | 2006-01-05 | Prabakar Sundarrajan | System and method for establishing a virtual private network |
CN103902011A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Electronic device controlling method and electronic device |
CN104657163A (en) * | 2013-11-22 | 2015-05-27 | 上海斐讯数据通信技术有限公司 | Method for opening and closing networking application program and electronic equipment |
-
2016
- 2016-03-18 CN CN201610159067.9A patent/CN105867583A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060005240A1 (en) * | 2004-06-30 | 2006-01-05 | Prabakar Sundarrajan | System and method for establishing a virtual private network |
CN103902011A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Electronic device controlling method and electronic device |
CN104657163A (en) * | 2013-11-22 | 2015-05-27 | 上海斐讯数据通信技术有限公司 | Method for opening and closing networking application program and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381376A (en) * | 2019-07-09 | 2019-10-25 | 青岛海信传媒网络技术有限公司 | Application processing method, device and terminal |
CN110381376B (en) * | 2019-07-09 | 2022-08-02 | 青岛海信传媒网络技术有限公司 | Application processing method and device and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3911027B1 (en) | Turning off an antenna panel of a terminal | |
CN110166871B (en) | Earphone charging box, TWS earphone, working state switching method and storage medium | |
EP2667520B1 (en) | Apparatus and method for displaying state of terminal | |
CN106230492B (en) | Terminal antenna switching method and device and mobile terminal | |
CN110049559B (en) | Interception indication method, terminal and network equipment | |
CN108649658B (en) | Multi-battery switching method, power supply device and electronic equipment | |
CN112911556A (en) | Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device | |
CN108347277A (en) | Method of controlling antenna, device, storage medium and electronic equipment | |
CN107147450B (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN108491061A (en) | Processing method, device, storage medium and the electronic equipment of radio-frequency antenna | |
CN105657656B (en) | A kind of transmission power adjustment method and user equipment | |
CN108540152A (en) | Processing method, device, storage medium and the electronic equipment of radio frequency interference | |
CN107566015A (en) | Method of controlling antenna, device, storage medium and electronic equipment | |
US11138041B2 (en) | Method for automatically releasing resource occupied by process in background of terminal, storage medium and terminal | |
CN107171412A (en) | Method, device, mobile terminal and the storage medium of dynamic adjustment charging current | |
US20200373948A1 (en) | Antenna of mobile terminal and switching method thereof and the mobile terminal | |
CN107425568A (en) | Prevent battery from crossing the method, apparatus put, mobile terminal and storage medium | |
CN110191215B (en) | Terminal and processing method | |
CN111008090A (en) | Battery electric quantity control method and device, storage medium and terminal equipment | |
CN107277873A (en) | Method for switching network, device, mobile terminal and computer-readable recording medium | |
CN110290564A (en) | Interference control method and Related product | |
CN105867583A (en) | Information processing method and electronic device | |
JP7278397B2 (en) | Transmission resource indication method, transmission method, network equipment and terminal | |
CN111432387B (en) | Many-to-many switching module, multi-machine wireless communication system and communication method thereof | |
CN105812008B (en) | Information processing method and electronic 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160817 |