CN104918235A - Method for controlling mobile terminal network connection and device thereof - Google Patents

Method for controlling mobile terminal network connection and device thereof Download PDF

Info

Publication number
CN104918235A
CN104918235A CN201510359448.7A CN201510359448A CN104918235A CN 104918235 A CN104918235 A CN 104918235A CN 201510359448 A CN201510359448 A CN 201510359448A CN 104918235 A CN104918235 A CN 104918235A
Authority
CN
China
Prior art keywords
mobile terminal
state
networking
time period
suspension
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.)
Granted
Application number
CN201510359448.7A
Other languages
Chinese (zh)
Other versions
CN104918235B (en
Inventor
张世民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hongxiang Technical Service Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510359448.7A priority Critical patent/CN104918235B/en
Publication of CN104918235A publication Critical patent/CN104918235A/en
Application granted granted Critical
Publication of CN104918235B publication Critical patent/CN104918235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention provides a method for controlling mobile terminal network connection and a device thereof. The method comprises a step of obtaining a current time point and the current network state of a mobile terminal when the control event of mobile terminal network connection is monitored, a step of determining the expected network state which should appear of the mobile terminal at a present time point according to a preset time setting rule, a step of controlling the mobile terminal to switch to an expected networking state when the current time point is in a networking time period and the current network state of the mobile terminal is a network off state, and a step of controlling the mobile terminal to switch to an expected network off state when the current time point is in a network off time period and the current network state of the mobile terminal is a networking state. According to the method and the device, the mobile terminal is controlled to be in the networking state in the networking time period and in the network off state in the network off time period, and the problem of resource and flow waste caused by that the mobile terminal is always in the networking state at present is solved, and the consumption of power can be saved.

Description

The control method that mobile terminal network connects and device
Technical field
The present invention relates to mobile communication technology field, the control method of particularly a kind of mobile terminal network connection and device.
Background technology
Along with the development of the communication technology, people use the data service of mobile terminal to carry out obtaining information more and more, and the data traffic that operator generally produces when obtaining information according to mobile terminal is collected the charges.
In actual applications, conveniently use, the data service of mobile terminal can be in opening always, and user understands timing or sporadically receives the information of network equipment propelling movement.But for some users and uninterested information, the data traffic that these information produce just causes waste for user, thus this problem urgently to be resolved hurrily.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of the overcoming control method and device that the problems referred to above or the mobile terminal network that solves the problem at least in part connect.
According to an aspect of of the present present invention, provide the control method that a kind of mobile terminal network connects, comprising:
When listening to the control event that mobile terminal network connects, obtain current point in time and the current network state of described mobile terminal;
According to Preset Time setting rule, determine the expected network state that described mobile terminal should occur when described current point in time, wherein, described Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to described mobile terminal, and each networking time period is adjacent with each suspension time period;
If described current point in time was in a networking time period and the current network state of described mobile terminal is suspension state, then control the networking state that described mobile terminal switches to expectation;
If described current point in time was in a suspension time period and the current network state of described mobile terminal is networking state, then control the suspension state that described mobile terminal switches to expectation.
Alternatively, the control event that described network connects comprise following one of at least:
Backstage starts the service of network connection control, opening network connection control switch, amendment system time.
Alternatively, if described current point in time is in a networking time period and the current network state of described mobile terminal is suspension state, then control after described mobile terminal switches to the networking state of expectation, also to comprise:
When described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
Alternatively, described method also comprises:
If described current point in time was in a networking time period and the current network state of described mobile terminal is networking state, when then waiting for that described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
Alternatively, if described current point in time is in a suspension time period and the current network state of described mobile terminal is networking state, then control after described mobile terminal switches to the suspension operation of expectation, also to comprise:
When described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
Alternatively, described method also comprises:
If described current point in time was in a suspension time period and the current network state of described mobile terminal is suspension state, when then waiting for that described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
Alternatively, described method also comprises:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is networking state, then when described current point in time arrives the suspension time period, control the suspension state that described mobile terminal switches to expectation.
Alternatively, described method also comprises:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is suspension state, then when described current point in time arrives the networking time period, control the networking state that described mobile terminal switches to expectation.
Alternatively, control the networking state that described mobile terminal switches to expectation, comprising:
Initiated the broadcast of networking operation by AlarmManager, notify that described mobile terminal switches to the networking state of expectation.
Alternatively, control the suspension state that described mobile terminal switches to expectation, comprising:
Initiated the broadcast of suspension operation by AlarmManager, notify that described mobile terminal switches to the suspension state of expectation.
According to another aspect of the present invention, additionally provide the control device that a kind of mobile terminal network connects, comprising:
Acquisition module, when being suitable for listening to the control event that mobile terminal network connects, obtains current point in time and the current network state of described mobile terminal;
Determination module, be suitable for according to Preset Time setting rule, determine the expected network state that described mobile terminal should occur when described current point in time, wherein, described Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to described mobile terminal, and each networking time period is adjacent with each suspension time period;
Networking control module, to be in a networking time period and the current network state of described mobile terminal is suspension state if be suitable for described current point in time, then to control the networking state that described mobile terminal switches to expectation;
Suspension control module, to be in a suspension time period and the current network state of described mobile terminal is networking state if be suitable for described current point in time, then to control the suspension state that described mobile terminal switches to expectation.
Alternatively, the control event that described network connects comprise following one of at least:
Backstage starts the service of network connection control, opening network connection control switch, amendment system time.
Alternatively, described suspension control module is also suitable for:
After mobile terminal switches to the networking state of expectation described in described networking control module controls, when described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
Alternatively, described suspension control module is also suitable for:
If described current point in time was in a networking time period and the current network state of described mobile terminal is networking state, when then waiting for that described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
Alternatively, described networking control module is also suitable for:
Control after described mobile terminal switches to the suspension state of expectation in described suspension control module, when described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
Alternatively, described networking control module is also suitable for:
If described current point in time was in a suspension time period and the current network state of described mobile terminal is suspension state, when then waiting for that described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
Alternatively, described suspension control module is also suitable for:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is networking state, then when described current point in time arrives the suspension time period, control the suspension state that described mobile terminal switches to expectation.
Alternatively, described networking control module is also suitable for:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is suspension state, then when described current point in time arrives the networking time period, control the networking state that described mobile terminal switches to expectation.
Alternatively, described networking control module is also suitable for:
Initiated the broadcast of networking operation by AlarmManager, notify that described mobile terminal switches to the networking state of expectation.
Alternatively, described suspension control module is also suitable for:
Initiated the broadcast of suspension operation by AlarmManager, notify that described mobile terminal switches to the suspension state of expectation.
In the embodiment of the present invention, the network of mobile terminal is connected and controls, namely, when listening to the control event that mobile terminal network connects, obtain current point in time and the current network state of mobile terminal, and then according to Preset Time setting rule, determine the expected network state that mobile terminal should occur when current point in time.If current point in time was in a networking time period and the current network state of mobile terminal is suspension state, then control the networking state that mobile terminal switches to expectation; If current point in time was in a suspension time period and the current network state of mobile terminal is networking state, then control the suspension state that mobile terminal switches to expectation.Thus, present invention achieves control mobile terminal and be in networking state within the networking time period, within the suspension time period, be in suspension state, solve current mobile terminal and be in the problem that networking state causes resource, flow to be wasted always, and the consumption of electricity can be saved.Further, the corresponding time period is set at least one networking time period and at least one suspension time period according to the network state of mobile terminal by the present invention in advance, and each networking time period is adjacent with each suspension time period, make mobile terminal can arrive the networking time period after the suspension time period, when networking the time period, mobile terminal can obtain the information that the network equipment pushes in time, ensure that the ageing of information.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the flow chart of the control method that mobile terminal network according to an embodiment of the invention connects;
Fig. 2 shows according to an embodiment of the invention to the flow chart of the method that the application program of power consumption is marked; And
Fig. 3 shows the structural representation of the control device that mobile terminal network according to an embodiment of the invention connects.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For solving the problems of the technologies described above, embodiments provide the control method that a kind of mobile terminal network connects.Fig. 1 shows the flow chart of the control method that mobile terminal network according to an embodiment of the invention connects.See Fig. 1, the method at least comprises step S102 to step S106.
Step S102, when listening to the control event that mobile terminal network connects, obtains current point in time and the current network state of mobile terminal.
Step S104, according to Preset Time setting rule, determine the expected network state that mobile terminal should occur when current point in time, wherein, Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to mobile terminal, and each networking time period is adjacent with each suspension time period.
Step S106, if current point in time is in a networking time period and the current network state of mobile terminal is suspension state, then controls the networking state that mobile terminal switches to expectation; If current point in time was in a suspension time period and the current network state of mobile terminal is networking state, then control the suspension state that mobile terminal switches to expectation.
In the embodiment of the present invention, the network of mobile terminal is connected and controls, namely, when listening to the control event that mobile terminal network connects, obtain current point in time and the current network state of mobile terminal, and then according to Preset Time setting rule, determine the expected network state that mobile terminal should occur when current point in time.If current point in time was in a networking time period and the current network state of mobile terminal is suspension state, then control the networking state that mobile terminal switches to expectation; If current point in time was in a suspension time period and the current network state of mobile terminal is networking state, then control the suspension state that mobile terminal switches to expectation.Thus, present invention achieves control mobile terminal and be in networking state within the networking time period, within the suspension time period, be in suspension state, solve current mobile terminal and be in the problem that networking state causes resource, flow to be wasted always, and the consumption of electricity can be saved.Further, the corresponding time period is set at least one networking time period and at least one suspension time period according to the network state of mobile terminal by the present invention in advance, and each networking time period is adjacent with each suspension time period, make mobile terminal can arrive the networking time period after the suspension time period, when networking the time period, mobile terminal can obtain the information that the network equipment pushes in time, ensure that the ageing of information.
The control method that the mobile terminal network that the embodiment of the present invention provides connects, the mobile terminal communicated with remote server or high in the clouds can be applied in, this mobile terminal can be provided with Android (Android) operating system, this system is in without ROOT mandate or the state having obtained ROOT authority, the general called after ROOT of power user.
The control event that the network mentioned in step S102 above connects comprises backstage and starts the service of network connection control, opening network connection control switch, amendment system time etc., the present invention is not limited thereto.
In step S104, the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to mobile terminal, and each networking time period is adjacent with each suspension time period.Such as, in the 0:00-7:59 of every day, arranging 0:00-0:05 is a networking time period, 0:06-0:59 is a suspension time period, 1:00-1:05 is a networking time period, and 1:06-1:59 is a suspension time period, and 2:00-2:05 is a networking time period, 2:06-2:59 is a suspension time period, by that analogy.It should be noted that, it is only schematic for enumerating herein, does not limit the present invention.
In step s 106, if current point in time was in a networking time period and the current network state of mobile terminal is suspension state, after then control mobile terminal switches to the networking state of expectation, when current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that mobile terminal switches to expectation.For the time period of above-mentioned setting, current point in time is 7:01, this current point in time is in networking time period 7:00-7:05, if the current networking state of mobile terminal is suspension state, then control the networking state that mobile terminal switches to expectation, as wifi (Wireless Fidelity) WLAN or mobile data network etc.Afterwards, when current point in time arrives this networking time period (7:00-7:05) next adjacent suspension time period (i.e. 7:06), control the suspension state that mobile terminal switches to expectation, and keep suspension state always in suspension time period 7:06-7:59.
If current point in time was in a suspension time period and the current network state of mobile terminal is networking state, after then control mobile terminal switches to the suspension operation of expectation, when current point in time arrives next adjacent networking time period this suspension time period, control the networking state that mobile terminal switches to expectation.Still for the time period of above-mentioned setting, current point in time is 6:50, and this current point in time is in suspension time period 6:06-6:59, if the current networking state of mobile terminal is networking state, then controls the suspension state that mobile terminal switches to expectation.Afterwards, when current point in time arrives this suspension time period (6:06-6:59) next adjacent networking time period (i.e. 7:00), control the networking state that mobile terminal switches to expectation, and keep networking state always in networking time period 7:00-7:05.
Further, if current point in time was in a networking time period and the current network state of mobile terminal is networking state, when then waiting for that current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that mobile terminal switches to expectation.Still for the time period of above-mentioned setting, current point in time is 7:01, this current point in time is in networking time period 7:00-7:05, if the current networking state of mobile terminal is networking state, when then waiting for that current point in time arrives this networking time period (7:00-7:05) next adjacent suspension time period (i.e. 7:06), control the suspension state that mobile terminal switches to expectation, and keep suspension state always in suspension time period 7:06-7:59.
In addition, if current point in time was in a suspension time period and the current network state of mobile terminal is suspension state, when then waiting for that current point in time arrives next adjacent networking time period this suspension time period, control the networking state that mobile terminal switches to expectation.Still for the time period of above-mentioned setting, current point in time is 6:50, this current point in time is in suspension time period 6:06-6:59, if the current networking state of mobile terminal is suspension state, when then waiting for that current point in time arrives this suspension time period (6:06-6:59) next adjacent networking time period (i.e. 7:00), control the networking state that mobile terminal switches to expectation, and keep networking state always in networking time period 7:00-7:05.
In addition, if current point in time is not in arbitrary networking time period or suspension time period and the current network state of mobile terminal is networking state, then, when waiting for that current point in time arrives the suspension time period, the suspension state that mobile terminal switches to expectation is controlled.Still for the time period of above-mentioned setting, current point in time is 12:00, this current point in time is not in arbitrary networking time period or suspension time period, if the current networking state of mobile terminal is networking state, when then waiting for that current point in time arrives suspension time period (i.e. 0:06), control the suspension state that mobile terminal switches to expectation, and keep suspension state always in suspension time period 0:06-0:59.
If current point in time is not in arbitrary networking time period or the suspension time period is interior and mobile terminal is current network state is suspension state, then, when waiting for that current point in time arrives the networking time period, control the networking state that mobile terminal switches to expectation.Still for the time period of above-mentioned setting, current point in time is 12:00, this current point in time is not in arbitrary networking time period or suspension time period, if the current networking state of mobile terminal is suspension state, when then waiting for that current point in time arrives networking time period (i.e. 0:00), control the networking state that mobile terminal switches to expectation, and keep networking state always in networking time period 0:00-0:05.
In an embodiment of the present invention, the networking state that control mobile terminal switches to expectation may be embodied as the broadcast being initiated networking operation by AlarmManager (prompting), and notice mobile terminal switches to the networking state of expectation.
In an alternative embodiment of the invention, the suspension state that control mobile terminal switches to expectation may be embodied as the broadcast being initiated suspension operation by AlarmManager (prompting), and notice mobile terminal switches to the suspension state of expectation.
In another embodiment of the invention, in order to save the consumption of mobile terminal electricity further, can be optimized the application program of some power consumptions.
Application program is carried for system, different type of machines carry application program difference, and the application program that these carry may be important, may affect user and use after being closed.The model of mobile terminal, system type etc. are uploaded to high in the clouds by the application program performing the inventive method, system in the terminal of often kind of model that the provider preserving power consumption application program of the present invention in cloud database runs out carries Optimizing Suggestions value or the optimisation strategy of application program, particularly, the installation kit title that closable system carries application program is preserved in cloud database, as apk title, and corresponding Optimizing Suggestions value.Such as, or receive the optimisation strategy to this terminal models that high in the clouds pushes, the recommended value of the exclusive optimisation strategy of Samsung Galaxy 3 of propelling movement is also buffered in this locality, after application queries local cache, is optimized power consumption application program.
For the application program of power consumption, the situation that the first and second application programs are called mutually can be detected, can arrange the blacklist of the second application program be blocked for Service assembly in the list of application program authorization privilege, namely, if this second application program is by the self-starting of Service mode, as long as the bag mark of the bag mark of the first application program and the second application program is present in the list of application program authorization privilege, be all blocked.Such as, only no thoroughfare the Service mode self-starting of some second application program, if this second application program is by other mode self-startings such as Broadcast modes, does not then forbid.
Equally, only no thoroughfare the Service mode self-starting of some application program, if this application program is by the self-starting of Broadcast mode, does not then forbid.Above-mentioned different set-up mode can application program in different application scenarios.
In addition, in the application program authorization privilege list storehouse pre-set, some application program is to there being an application program authorization privilege list, and the list of application program authorization privilege is mark with application program identification (that is, aforesaid bag mark).In each application program authorization privilege list, storing user is the behavior authority of this application program mandate in advance.If there is no the behavior authority corresponding to this application program in this list, then do not have concrete power limit to advise, but user still to all permission grant or can forbid.
Fig. 2 shows according to an embodiment of the invention to the flow chart of the method that the application program of power consumption is marked.See Fig. 2, the method at least comprises step S202 to step S204.
Step S202, detects the state information of every power consumption service in mobile terminal.
In the embodiment of the present invention, it is one or more that the state information of every power consumption service comprises in the state information of following power consumption service: power consumption application information, screen intensity information, screen locking temporal information, hardware status information and system service information.
Wherein power consumption application information is the unlatching quantity of power consumption application program.Particularly, power consumption application program can be the background application of power consumption higher than predetermined threshold value; Or CPU usage, memory usage etc. exceed the background application of threshold value; Or, power consumption is installed to the application program in terminal equipment and ranks, using application program forward for rank as power consumption application program.Screen intensity information is the size (also claiming screen brightness value) of screen intensity.Screen locking temporal information is the length of screen locking time.Hardware status information is the working method of hardware.System service information is the unlatching quantity of system service.
Step S204, according to the score value logic pre-set, determines according to the state information that every power consumption is served the first scoring that every power consumption is served respectively.
Such as, in the present embodiment, for each above-mentioned power consumption service pre-sets score value logic, according to the power consumption ratio setting of every power consumption service.Such as, arranging total score value is 100 points; Wherein, through statistics, power consumption application program and screen intensity maximum to terminal equipment electric quantity consumption, can arrange score range is respectively that 0-25 divides; Next is system service and screen locking time, and the score value taken respectively is that 0-15 divides, and hardware effort state takies 10 points, marks respectively in above-mentioned score range to every power consumption service, obtains the first scoring of every power consumption service.
Particularly, to power consumption application program, according to the first scoring of the unlatching quantity determination power consumption application program of power consumption application program.When quantity with power consumption application program increases, first scoring presents reduction trend, such as, when power consumption application program is below 5, first scoring of power consumption application program is 25 points, and when power consumption application program is more than 5, often increases by 2 power consumption application programs, first scoring reduction by 1 point, is minimumly divided into 10 points.Marking to first of system service is also reduce with the unlatching quantity increase of system service, repeats no more.Be provided with identical weight for every power consumption application program in this example, only determine the first scoring of power consumption application program according to the quantity of power consumption application program.Those skilled in the art can also according to the power consumption of every power consumption application program or system service, process number etc., for each power consumption application program or system service arrange different weights, determines with this first scoring that power consumption is served.
For the screen locking time, according to first scoring of the length determination screen locking time of screen locking time.Concrete score value logic can be set to: the screen locking time, first scoring of screen locking time was 15 points when below 15s; When the screen locking time increases, first scoring of screen locking time reduces.Such as, in 15s-30s, the first scoring is 10 points, is 5 points more than 30s.
For screen intensity, according to the first scoring of the size determination screen intensity of screen intensity.Concrete score value logic can be set to: screen brightness value is less than 25% or screen intensity when being automatic, and the first scoring of screen intensity is 15 points; When screen brightness value raises, the first scoring of screen intensity reduces.
For hardware state, according to the first scoring of the working method determination hardware state of hardware.Concrete score value logic can be set to: when CPU is operated under frequency modulation state, and the first scoring of hardware state is 10 points; When CPU is operated under non-frequency modulation state, the first scoring of hardware state is 5 points.
It should be noted that, in practical application, above-mentioned all Alternate embodiments can adopt the mode combination in any of combination, and form optional embodiment of the present invention, this is no longer going to repeat them.
Based on same inventive concept, the embodiment of the present invention additionally provides the control device that a kind of mobile terminal network connects.Fig. 3 shows the structural representation of the control device that mobile terminal network according to an embodiment of the invention connects.As shown in Figure 3, this device at least can comprise: acquisition module 310, determination module 320, networking control module 330 and suspension control module 340.
Each composition of control device that the mobile terminal network now introducing the embodiment of the present invention connects or the annexation between the function of device and each several part:
Acquisition module 310, when being suitable for listening to the control event that mobile terminal network connects, obtains current point in time and the current network state of mobile terminal;
Determination module 320, be coupled with acquisition module 310, be suitable for according to Preset Time setting rule, determine the expected network state that mobile terminal should occur when current point in time, wherein, Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to mobile terminal, and each networking time period is adjacent with each suspension time period;
Networking control module 330, is coupled with determination module 320, to be in a networking time period and the current network state of mobile terminal is suspension state, then to control the networking state that mobile terminal switches to expectation if be suitable for current point in time;
Suspension control module 340, is coupled with determination module 320, to be in a suspension time period and the current network state of mobile terminal is networking state, then to control the suspension state that mobile terminal switches to expectation if be suitable for current point in time.
In an embodiment of the present invention, the control event that network connects comprise following one of at least:
Backstage starts the service of network connection control, opening network connection control switch, amendment system time.
In an embodiment of the present invention, above-mentioned suspension control module 340 is also suitable for:
After networking control module controls mobile terminal switches to the networking state of expectation, when current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that mobile terminal switches to expectation.
In an embodiment of the present invention, above-mentioned suspension control module 340 is also suitable for:
If current point in time was in a networking time period and the current network state of mobile terminal is networking state, then, when waiting for that current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that mobile terminal switches to expectation.
In an embodiment of the present invention, above-mentioned networking control module 330 is also suitable for:
Control after mobile terminal switches to the suspension state of expectation in suspension control module, when current point in time arrives next adjacent networking time period this suspension time period, control the networking state that mobile terminal switches to expectation.
In an embodiment of the present invention, above-mentioned networking control module 330 is also suitable for:
If current point in time was in a suspension time period and the current network state of mobile terminal is suspension state, then, when waiting for that current point in time arrives next adjacent networking time period this suspension time period, control the networking state that mobile terminal switches to expectation.
In an embodiment of the present invention, above-mentioned suspension control module 340 is also suitable for:
If current point in time is not in arbitrary networking time period or the suspension time period is interior and mobile terminal is current network state is networking state, then, when current point in time arrives the suspension time period, control the suspension state that mobile terminal switches to expectation.
In an embodiment of the present invention, above-mentioned networking control module 330 is also suitable for:
If current point in time is not in arbitrary networking time period or the suspension time period is interior and mobile terminal is current network state is suspension state, then, when current point in time arrives the networking time period, control the networking state that mobile terminal switches to expectation.
In an embodiment of the present invention, above-mentioned networking control module 330 is also suitable for:
Initiated the broadcast of networking operation by AlarmManager, notice mobile terminal switches to the networking state of expectation.
In an embodiment of the present invention, above-mentioned suspension control module 340 is also suitable for:
Initiated the broadcast of suspension operation by AlarmManager, notice mobile terminal switches to the suspension state of expectation.
According to the combination of any one preferred embodiment above-mentioned or multiple preferred embodiment, the embodiment of the present invention can reach following beneficial effect:
In the embodiment of the present invention, the network of mobile terminal is connected and controls, namely, when listening to the control event that mobile terminal network connects, obtain current point in time and the current network state of mobile terminal, and then according to Preset Time setting rule, determine the expected network state that mobile terminal should occur when current point in time.If current point in time was in a networking time period and the current network state of mobile terminal is suspension state, then control the networking state that mobile terminal switches to expectation; If current point in time was in a suspension time period and the current network state of mobile terminal is networking state, then control the suspension state that mobile terminal switches to expectation.Thus, present invention achieves control mobile terminal and be in networking state within the networking time period, within the suspension time period, be in suspension state, solve current mobile terminal and be in the problem that networking state causes resource, flow to be wasted always, and the consumption of electricity can be saved.Further, the corresponding time period is set at least one networking time period and at least one suspension time period according to the network state of mobile terminal by the present invention in advance, and each networking time period is adjacent with each suspension time period, make mobile terminal can arrive the networking time period after the suspension time period, when networking the time period, mobile terminal can obtain the information that the network equipment pushes in time, ensure that the ageing of information.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the control device connected according to the mobile terminal network of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
The embodiment of the invention also discloses:
The control method that A1, a kind of mobile terminal network connect, comprising:
When listening to the control event that mobile terminal network connects, obtain current point in time and the current network state of described mobile terminal;
According to Preset Time setting rule, determine the expected network state that described mobile terminal should occur when described current point in time, wherein, described Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to described mobile terminal, and each networking time period is adjacent with each suspension time period;
If described current point in time was in a networking time period and the current network state of described mobile terminal is suspension state, then control the networking state that described mobile terminal switches to expectation;
If described current point in time was in a suspension time period and the current network state of described mobile terminal is networking state, then control the suspension state that described mobile terminal switches to expectation.
A2, method according to A1, wherein, the control event that described network connects comprise following one of at least:
Backstage starts the service of network connection control, opening network connection control switch, amendment system time.
A3, method according to A1 or A2, wherein, if described current point in time is in the networking time period and the current network state of described mobile terminal is suspension state, then control after described mobile terminal switches to the networking state of expectation, also to comprise:
When described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
A4, method according to A1 or A2, wherein, also comprise:
If described current point in time was in a networking time period and the current network state of described mobile terminal is networking state, when then waiting for that described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
A5, method according to A1 or A2, wherein, if described current point in time is in the suspension time period and the current network state of described mobile terminal is networking state, then control after described mobile terminal switches to the suspension operation of expectation, also to comprise:
When described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
A6, method according to A1 or A2, wherein, also comprise:
If described current point in time was in a suspension time period and the current network state of described mobile terminal is suspension state, when then waiting for that described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
A7, method according to A1 or A2, wherein, also comprise:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is networking state, then when described current point in time arrives the suspension time period, control the suspension state that described mobile terminal switches to expectation.
A8, method according to A1 or A2, wherein, also comprise:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is suspension state, then when described current point in time arrives the networking time period, control the networking state that described mobile terminal switches to expectation.
A9, method according to any one of A1-A8, wherein, control the networking state that described mobile terminal switches to expectation, comprising:
Initiated the broadcast of networking operation by AlarmManager, notify that described mobile terminal switches to the networking state of expectation.
A10, method according to any one of A1-A8, wherein, control the suspension state that described mobile terminal switches to expectation, comprising:
Initiated the broadcast of suspension operation by AlarmManager, notify that described mobile terminal switches to the suspension state of expectation.
The control device that B11, a kind of mobile terminal network connect, comprising:
Acquisition module, when being suitable for listening to the control event that mobile terminal network connects, obtains current point in time and the current network state of described mobile terminal;
Determination module, be suitable for according to Preset Time setting rule, determine the expected network state that described mobile terminal should occur when described current point in time, wherein, described Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to described mobile terminal, and each networking time period is adjacent with each suspension time period;
Networking control module, to be in a networking time period and the current network state of described mobile terminal is suspension state if be suitable for described current point in time, then to control the networking state that described mobile terminal switches to expectation;
Suspension control module, to be in a suspension time period and the current network state of described mobile terminal is networking state if be suitable for described current point in time, then to control the suspension state that described mobile terminal switches to expectation.
B12, device according to B11, wherein, the control event that described network connects comprise following one of at least:
Backstage starts the service of network connection control, opening network connection control switch, amendment system time.
B13, device according to B11 or B12, wherein, described suspension control module is also suitable for:
After mobile terminal switches to the networking state of expectation described in described networking control module controls, when described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
B14, device according to B11 or B12, wherein, described suspension control module is also suitable for:
If described current point in time was in a networking time period and the current network state of described mobile terminal is networking state, when then waiting for that described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
B15, device according to B11 or B12, wherein, described networking control module is also suitable for:
Control after described mobile terminal switches to the suspension state of expectation in described suspension control module, when described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
B16, device according to B11 or B12, wherein, described networking control module is also suitable for:
If described current point in time was in a suspension time period and the current network state of described mobile terminal is suspension state, when then waiting for that described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
B17, device according to B11 or B12, wherein, described suspension control module is also suitable for:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is networking state, then when described current point in time arrives the suspension time period, control the suspension state that described mobile terminal switches to expectation.
B18, device according to B11 or B12, wherein, described networking control module is also suitable for:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is suspension state, then when described current point in time arrives the networking time period, control the networking state that described mobile terminal switches to expectation.
B19, device according to any one of B11-B18, wherein, described networking control module is also suitable for:
Initiated the broadcast of networking operation by AlarmManager, notify that described mobile terminal switches to the networking state of expectation.
B20, device according to any one of B11-B18, wherein, described suspension control module is also suitable for:
Initiated the broadcast of suspension operation by AlarmManager, notify that described mobile terminal switches to the suspension state of expectation.

Claims (10)

1. a control method for mobile terminal network connection, comprising:
When listening to the control event that mobile terminal network connects, obtain current point in time and the current network state of described mobile terminal;
According to Preset Time setting rule, determine the expected network state that described mobile terminal should occur when described current point in time, wherein, described Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to described mobile terminal, and each networking time period is adjacent with each suspension time period;
If described current point in time was in a networking time period and the current network state of described mobile terminal is suspension state, then control the networking state that described mobile terminal switches to expectation;
If described current point in time was in a suspension time period and the current network state of described mobile terminal is networking state, then control the suspension state that described mobile terminal switches to expectation.
2. method according to claim 1, wherein, the control event that described network connects comprise following one of at least:
Backstage starts the service of network connection control, opening network connection control switch, amendment system time.
3. method according to claim 1 and 2, wherein, if described current point in time was in a networking time period and the current network state of described mobile terminal is suspension state, then control after described mobile terminal switches to the networking state of expectation, also to comprise:
When described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
4. method according to claim 1 and 2, wherein, also comprises:
If described current point in time was in a networking time period and the current network state of described mobile terminal is networking state, when then waiting for that described current point in time arrives next adjacent suspension time period this networking time period, control the suspension state that described mobile terminal switches to expectation.
5. method according to claim 1 and 2, wherein, if described current point in time was in a suspension time period and the current network state of described mobile terminal is networking state, then control after described mobile terminal switches to the suspension operation of expectation, also to comprise:
When described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
6. method according to claim 1 and 2, wherein, also comprises:
If described current point in time was in a suspension time period and the current network state of described mobile terminal is suspension state, when then waiting for that described current point in time arrives next adjacent networking time period this suspension time period, control the networking state that described mobile terminal switches to expectation.
7. method according to claim 1 and 2, wherein, also comprises:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is networking state, then when described current point in time arrives the suspension time period, control the suspension state that described mobile terminal switches to expectation.
8. method according to claim 1 and 2, wherein, also comprises:
If described current point in time is not in arbitrary networking time period or the suspension time period is interior and described mobile terminal is current network state is suspension state, then when described current point in time arrives the networking time period, control the networking state that described mobile terminal switches to expectation.
9. the method according to any one of claim 1-8, wherein, controls the networking state that described mobile terminal switches to expectation, comprising:
Initiated the broadcast of networking operation by AlarmManager, notify that described mobile terminal switches to the networking state of expectation.
10. a control device for mobile terminal network connection, comprising:
Acquisition module, when being suitable for listening to the control event that mobile terminal network connects, obtains current point in time and the current network state of described mobile terminal;
Determination module, be suitable for according to Preset Time setting rule, determine the expected network state that described mobile terminal should occur when described current point in time, wherein, described Preset Time setting rule is arranged: the corresponding time period is set at least one networking time period and at least one suspension time period by the network state according to described mobile terminal, and each networking time period is adjacent with each suspension time period;
Networking control module, to be in a networking time period and the current network state of described mobile terminal is suspension state if be suitable for described current point in time, then to control the networking state that described mobile terminal switches to expectation;
Suspension control module, to be in a suspension time period and the current network state of described mobile terminal is networking state if be suitable for described current point in time, then to control the suspension state that described mobile terminal switches to expectation.
CN201510359448.7A 2015-06-25 2015-06-25 The control method of mobile terminal network connection and device Active CN104918235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510359448.7A CN104918235B (en) 2015-06-25 2015-06-25 The control method of mobile terminal network connection and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510359448.7A CN104918235B (en) 2015-06-25 2015-06-25 The control method of mobile terminal network connection and device

Publications (2)

Publication Number Publication Date
CN104918235A true CN104918235A (en) 2015-09-16
CN104918235B CN104918235B (en) 2016-11-23

Family

ID=54086849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510359448.7A Active CN104918235B (en) 2015-06-25 2015-06-25 The control method of mobile terminal network connection and device

Country Status (1)

Country Link
CN (1) CN104918235B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734715A (en) * 2017-09-28 2018-02-23 惠州Tcl移动通信有限公司 Network connection processing method, storage device and the mobile terminal of a kind of mobile terminal
CN108696843A (en) * 2017-03-07 2018-10-23 中移(杭州)信息技术有限公司 Bluetooth group control method, device and system between a kind of physical equipment
CN111031038A (en) * 2019-12-12 2020-04-17 惠州Tcl移动通信有限公司 Network processing method and device, storage medium and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970775A (en) * 2012-11-27 2013-03-13 惠州Tcl移动通信有限公司 Mobile terminal and SIM (subscriber identity module) card status switching method
CN103313228A (en) * 2012-03-09 2013-09-18 上海数龙计算机科技有限公司 Message transmission method under Android system
CN103347132A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for switching modes of mobile terminal
CN104270520A (en) * 2014-09-26 2015-01-07 苏州佳世达电通有限公司 Network management method and system based on mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313228A (en) * 2012-03-09 2013-09-18 上海数龙计算机科技有限公司 Message transmission method under Android system
CN102970775A (en) * 2012-11-27 2013-03-13 惠州Tcl移动通信有限公司 Mobile terminal and SIM (subscriber identity module) card status switching method
CN103347132A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for switching modes of mobile terminal
CN104270520A (en) * 2014-09-26 2015-01-07 苏州佳世达电通有限公司 Network management method and system based on mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696843A (en) * 2017-03-07 2018-10-23 中移(杭州)信息技术有限公司 Bluetooth group control method, device and system between a kind of physical equipment
US11102701B2 (en) 2017-03-07 2021-08-24 China Mobile (Hangzhou) Information Technology Co., Ltd. Method, device and system of controlling bluetooth networking among physical devices
CN107734715A (en) * 2017-09-28 2018-02-23 惠州Tcl移动通信有限公司 Network connection processing method, storage device and the mobile terminal of a kind of mobile terminal
CN107734715B (en) * 2017-09-28 2022-01-11 惠州Tcl移动通信有限公司 Network connection processing method of mobile terminal, storage device and mobile terminal
CN111031038A (en) * 2019-12-12 2020-04-17 惠州Tcl移动通信有限公司 Network processing method and device, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN104918235B (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN105739460B (en) A kind of method and apparatus for the control interface automatically generating Internet of Things household electrical appliances
CN102932777B (en) The update method of a kind of terminal applies and user terminal
CN104009892A (en) Monitoring method and device for traffic of mobile terminal and client side
CN108055264A (en) Dispatching device, method and the computer readable storage medium of stream pushing server
CN105282047A (en) Access request processing method and device
CN104918235A (en) Method for controlling mobile terminal network connection and device thereof
CN104506644A (en) Method, device and mobile terminal for accessing network data
CN105187262A (en) Router upgrading method and system
CN106502768A (en) A kind of applied program processing method, device, terminal and server
CN113596816B (en) Control method and device for limited UE (user equipment) capability and computer storage medium
CN105246101A (en) Content recommendation device orienting minor mobile content distribution system and method thereof
US20190253563A1 (en) Time-Bounded Network Subscriptions
CN113765957B (en) Model updating method and device
CN104580359B (en) File fragmentation encrypted storage backup and method for down loading in router with store function
CN104468547A (en) Long connection establishing method, device and system
CN104866331A (en) Method and device for installing and calling applications on mobile terminal
CN108572837A (en) Method for upgrading software, device, readable storage medium storing program for executing and computer equipment
CN104333856A (en) Method for switching network of Java SIM card, SIM card, server and system
CN104243568A (en) Data traffic sharing method and device
CN104507158A (en) Wireless local area network connection building method, device and mobile terminal
CN104915812A (en) Warehouse delivery routing method and device for service processing process
CN106453494A (en) Plug-in updating method, plug-in updating system, client and server side
CN105049266A (en) Method for achieving network node control
CN104469956A (en) Method and device for optimizing wireless network speed
CN106550485A (en) A kind of method and relevant device for obtaining user equipment information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220802

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230626

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.