CN103777958A - Mobile terminal, and method and device for controlling system function through application program - Google Patents

Mobile terminal, and method and device for controlling system function through application program Download PDF

Info

Publication number
CN103777958A
CN103777958A CN201410040499.9A CN201410040499A CN103777958A CN 103777958 A CN103777958 A CN 103777958A CN 201410040499 A CN201410040499 A CN 201410040499A CN 103777958 A CN103777958 A CN 103777958A
Authority
CN
China
Prior art keywords
mobile terminal
sys
config
level service
audiomonitor
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
Application number
CN201410040499.9A
Other languages
Chinese (zh)
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.)
Shell Internet Beijing Security Technology Co Ltd
Original Assignee
Shell Internet Beijing Security Technology 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 Shell Internet Beijing Security Technology Co Ltd filed Critical Shell Internet Beijing Security Technology Co Ltd
Priority to CN201410040499.9A priority Critical patent/CN103777958A/en
Publication of CN103777958A publication Critical patent/CN103777958A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a method and device for controlling the system function through an application program in a mobile terminal, and the mobile terminal. The application program has system-level service and the system-level service has a connector used for controlling system function. The method comprises the following steps: when the fact that the control condition is met is judged, system configuration files of the mobile terminal are modified through the system-level service; broadcast message with an updated system function is broadcast in the operating system of the mobile terminal through the system-level service, so that the system function can be controlled by the operating system according to a modified system configuration file. According to the embodiment of the invention, the system configuration file of the mobile terminal is directly modified through the system-level service, so that the phenomenon that the system configuration file can't be modified when the operating system can't supply writing permission of the system configuration file to the application program can be avoided, and the usability can be increased.

Description

Mobile terminal and by the method and apparatus of application control system function
Technical field
The present invention relates to technical field of mobile terminals, relate in particular in a kind of mobile terminal by method, device and the mobile terminal of application control system function.
Background technology
At present, mobile terminal (for example, smart mobile phone, panel computer etc.) operating system provide multiple by hard-wired function, for example, GPS(Global Positioning System, GPS), offline mode (stopping radio-frequency module), WiFi(Wireless Fidelity, Wireless Fidelity) etc.Wherein, some hardware capability lifting mobile terminal intelligent in the time opening saved power consumption, as GPS, WiFi etc. in the time closing; Some hardware capability also can be saved power consumption in the time opening, and for example, after offline mode function is opened, mobile terminal enters complete holding state, can initiatively not carry out search network and be connected base station operation, significantly reduces the power consumption of mobile terminal.Therefore, effectively control extremely important to these functions.
At present, the control to these functions is realized at the interface mainly providing by operating system, susceptible to user acceptance but the control mode that operating system provides is not allowed, poor user experience.Therefore, seem very necessary by application control system function, application program is mainly by the authority of registration read-write system configuration file, and utilize this authority directly CONFIG.SYS to be modified with control system function, realizing in process of the present invention, at least there is following problem in inventor's invention prior art: along with the lifting of operating system version (for example, the latest edition Android4.2 of Android Android system), a lot of operating system is not supported the authority of third-party application program to operating system registration read-write system configuration file, become worse and worse by application control system functional availability.
Summary of the invention
The present invention is intended at least one of solve the problems of the technologies described above.
For this reason, first object of the present invention is to propose in a kind of mobile terminal by the method for application control system function.The method is directly revised the CONFIG.SYS of mobile terminal by system-level service, while avoiding write operation authority that system cannot provide CONFIG.SYS to application program, cause revising the situation of CONFIG.SYS, has improved availability.
Second object of the present invention is to propose in a kind of mobile terminal by the device of application control system function.
The 3rd object of the present invention is to propose a kind of mobile terminal.
To achieve these goals, in the mobile terminal of first aspect present invention embodiment, pass through the method for application control system function, application program has system-level service, described system-level service has the interface of control system function, said method comprising the steps of: in the time judging that controlled condition meets, revise the CONFIG.SYS of described mobile terminal by described system-level service, described system-level service operation is in the operating system of described mobile terminal; And by the broadcast of described system-level service broadcast system function renewal in the operating system of described mobile terminal, so that described operating system is controlled described systemic-function according to amended described CONFIG.SYS.
In the mobile terminal of the embodiment of the present invention, pass through the method for application control system function, in the time judging that controlled condition meets, revise the CONFIG.SYS of mobile terminal by system-level service, and by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS, can directly revise by system-level service the CONFIG.SYS of mobile terminal, need not be to the write operation authority of mobile terminal application system configuration file, or while avoiding write operation authority that operating system cannot provide CONFIG.SYS to application program, cause revising the situation of CONFIG.SYS, improve availability.
To achieve these goals, in the mobile terminal of second aspect present invention embodiment, pass through the device of application control system function, application program has system-level service, described system-level service has the interface of control system function, described device comprises: modified module, for in the time judging that controlled condition meets, revise the CONFIG.SYS of described mobile terminal by described system-level service, described system-level service operation is in the operating system of described mobile terminal; And Broadcasting Control module, for the broadcast at the operating system broadcast system function renewal of described mobile terminal by described system-level service, so that described operating system is controlled described systemic-function according to amended described CONFIG.SYS.
In the mobile terminal of the embodiment of the present invention, pass through the device of application control system function, by modified module in the time judging that controlled condition meets, revise the CONFIG.SYS of mobile terminal by system-level service, Broadcasting Control module is by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS, can directly revise by system-level service the CONFIG.SYS of mobile terminal, need not be to the write operation authority of mobile terminal application system configuration file, or while avoiding write operation authority that operating system cannot provide CONFIG.SYS to application program, cause revising the situation of CONFIG.SYS, improve availability.
To achieve these goals, the mobile terminal of third aspect present invention embodiment, comprising: shell, screen, processor and circuit board; Described screen is placed on described shell, and described circuit board is placed in the interior volume that described shell surrounds, and described processor is arranged on described circuit board; Described processor is for the treatment of data, described processor has system-level service, described system-level service has the interface of control system function, described processor specifically for: in the time judging that controlled condition meets, revise the CONFIG.SYS of described mobile terminal by described system-level service, described system-level service operation is in the operating system of described mobile terminal; And by the broadcast of described system-level service broadcast system function renewal in the operating system of described mobile terminal, so that described operating system is controlled described systemic-function according to amended described CONFIG.SYS.
The mobile terminal of the embodiment of the present invention, in the time judging that controlled condition meets, revise the CONFIG.SYS of mobile terminal by system-level service, and by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS, can directly revise by system-level service the CONFIG.SYS of mobile terminal, need not be to the write operation authority of mobile terminal application system configuration file, or while avoiding write operation authority that operating system cannot provide CONFIG.SYS to application program, cause revising the situation of CONFIG.SYS, improve availability.
The aspect that the present invention is additional and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments obviously and easily and understand, wherein,
Fig. 1 is the process flow diagram of the method by application control system function in mobile terminal according to an embodiment of the invention;
Fig. 2 is the process flow diagram of the method by application control system function in the mobile terminal of a specific embodiment according to the present invention;
Fig. 3 is the process flow diagram of the method by application control system function in the mobile terminal of another specific embodiment according to the present invention;
Fig. 4 is the structural representation of the device by application control system function in mobile terminal according to an embodiment of the invention;
Fig. 5 is the structural representation of the device by application control system function in the mobile terminal of a specific embodiment according to the present invention;
Fig. 6 is the structural representation of the device by application control system function in the mobile terminal of another specific embodiment according to the present invention;
Fig. 7 is the structural representation of the device by application control system function in the mobile terminal of another specific embodiment according to the present invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise all changes, modification and the equivalent within the scope of spirit and the intension that falls into additional claims.
In description of the invention, it will be appreciated that, term " first ", " second " etc. are only for describing object, and can not be interpreted as indication or hint relative importance.In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; Can be mechanical connection, can be also electrical connection; Can be to be directly connected, also can indirectly be connected by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition,, in description of the invention, except as otherwise noted, the implication of " multiple " is two or more.
Any process of otherwise describing in process flow diagram or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Do not support the authority of third-party application program to system registry read-write system configuration file in order to solve a lot of operating system, cannot realize the problem of control system function, the present invention proposes in a kind of mobile terminal and pass through method, device and the mobile terminal of application control system function, describe according to passing through method, device and the mobile terminal of application control system function in the mobile terminal of the embodiment of the present invention below with reference to accompanying drawing.
Fig. 1 is the process flow diagram of the method by application control system function in mobile terminal according to an embodiment of the invention.
It should be noted that, in the mobile terminal of the embodiment of the present invention, can be applicable in application program by the method for application control system function, this application program can have system-level service, this system-level service has the interface of control system function, so can be according to the systemic-function in this interface control mobile terminal.Particularly, as shown in Figure 1, in mobile terminal, comprise the following steps by the method for application control system function:
S101, in the time judging that controlled condition meets, revises the CONFIG.SYS of mobile terminal by system-level service, system-level service operation is in the operating system of mobile terminal.
Wherein, system-level service can be program, routine or the process etc. of carrying out appointing system function, main maintenance, operates in the process of operating system, reclaim and management by operating system is unified, serve than regular grade, system-level service has higher dispatching priority, can start and resident backstage with os starting, is applicable to reside the function sight on backstage.
In order to realize by the systemic-function of application program controlling mobile terminal, preferably, in one embodiment of the invention, this application program can have the process of the above-mentioned controlled condition of monitoring, and system-level service can be positioned under the service catalogue of operating system of mobile terminal and in this process of run time call.Wherein, in an embodiment of the present invention, controlled condition can comprise user's steering order or the appointment clock broadcast signal that clock broadcast audiomonitor sends (on-air monitor is monitored and specified clock broadcast signal to describe in detail in subsequent embodiment) etc., user's steering order can be the operational order that user opens or closes according to the systemic-function of application program appointment, for example, user starts/opens the steering order etc. of selecting to open or to close certain systemic-function after application program etc.In addition, clock broadcast audiomonitor can be created in application program, can send and specify clock broadcast signal, i.e. the clock broadcast signal of certain systemic-function is opened or closed in timed sending.
Particularly, can be in advance in the file directory of application program, create can Monitoring and Controlling condition process, this process can Monitoring and Controlling condition, the appointment clock broadcast signal sending as user's steering order, clock broadcast audiomonitor etc.Can be by create the service of calling this process under the service catalogue of mobile terminal operating system, and be system-level by the attribute modification of this service, so that this service becomes system-level service, and can keep operating in the process of operating system, in the time of this system-level service operation, can call this monitoring and carry out with Monitoring and Controlling condition.Wherein, in this system-level service, the internal interface of a predeterminable control system function, can control systemic-function by this internal interface.
Particularly, after selecting unlatching or close certain systemic-function after user starting/open application program, or after clock broadcast audiomonitor transmission appointment clock broadcast signal, application program can be modified to the CONFIG.SYS of mobile terminal by the interface of the control system function in system-level service.Wherein, in an embodiment of the present invention, system configuration can comprise one or more in offline mode configuration, GPS configuration, network configuration, bluetooth configuration, screen intensity configuration etc.For example, user wants to open by application program the offline mode of mobile terminal, after user starts this application program, application program can be modified the parameter value of controlling offline mode state in CONFIG.SYS by the interface of control system function, as, the value of parameter " settings put global airplane_mode_on " is revised as to 1, wherein, parameter value 1 can represent to open offline mode, and 0 can represent to close offline mode.
S102, by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS.
Wherein, broadcast can be the mechanism of asynchronous transmission information between the application program being used in operating system, operating system is by sending broadcast, to notify some system events of each application component, as region conversion, electric weight deficiency, incoming information etc., broadcast is exactly an Intent(intention in itself) object can be also a kind of communication of one-to-many.
In one embodiment of the invention, operating system can be Android Android system.For example, after the parameter value of controlling offline mode state in the CONFIG.SYS of mobile terminal being modified by system-level service, in Android Android system, application program can send broadcast by system-level service in the operating system of mobile terminal, i.e. " am broadcast-a android.intent.action.AIRPLANE_MODE--ez state ", after the operating system of mobile terminal receives this broadcast, read immediately the parameter value in amended CONFIG.SYS, carry out corresponding offline mode blocked operation, thereby reach the object that systemic-function is controlled.
Preferably, in one embodiment of the invention, the application program of control system function can have clock broadcast audiomonitor, and above-mentioned controlled condition can comprise user's steering order or the appointment clock broadcast signal that clock broadcast audiomonitor sends.
For example, user can open by application program the offline mode of mobile terminal according to the daily schedule of oneself, first, application program can require user in application program, to set a clock quarter-bell, as, points in evenings 11 (now user does not re-use mobile terminal), afterwards, clock broadcast audiomonitor can monitor whether arrive fixed time point, when judgement has reached when some fixed time, clock broadcast audiomonitor can listen to the clock broadcast signal at 11 in this evening, after clock broadcast audiomonitor receives this appointment clock broadcast signal, can revise by system-level service the CONFIG.SYS of mobile terminal, and automatically perform offline mode task switching on backstage, the object of switching to reach offline mode.
Be to be understood that, user can also set another clock quarter-bell in application program, for example, mornings 7 point, when judgement has reached when some fixed time, clock broadcast audiomonitor can receive the clock broadcast signal in 7 of this mornings, and application program can be revised by system-level service the CONFIG.SYS of mobile terminal afterwards, with the offline mode of turning-off mobile terminal.It should be noted that, application program can also be according to user's needs, initialize program call method parameter, and the broadcast of receiving system function renewal capable of circulation, to reach the effect of automatic repeated controlling system function.Thus, promoted user's experience.
Preferably, in one embodiment of the invention, the application program of control system function can have talking state audiomonitor, said method can also comprise: when listen to by talking state audiomonitor mobile terminal in talking state and receive clock broadcast audiomonitor send appointment clock broadcast signal time, suspend revise mobile terminal CONFIG.SYS until talking state finish; And in the time listening to mobile terminal by talking state audiomonitor not in talking state and receive the appointment clock broadcast signal of clock broadcast audiomonitor transmission, revise the CONFIG.SYS of mobile terminal by system-level service.
Particularly, can be by the talking state audiomonitor real-time judge mobile terminal in application program current whether in communication process, when listening to mobile terminal, talking state audiomonitor is in talking state, when application program receives the appointment clock broadcast signal of clock broadcast audiomonitor transmission of mobile terminal simultaneously, can suspend the CONFIG.SYS of revising mobile terminal, again CONFIG.SYS be modified until listen to after talking state finishes; When listening to mobile terminal, do not finish in talking state or talking state by talking state audiomonitor, after application program receives the appointment clock broadcast signal of clock broadcast audiomonitor transmission simultaneously, can revise by system-level service the CONFIG.SYS of mobile terminal.For example, when mobile phone is being conversed, can postpone original unlatching offline mode operation, in order to avoid interruption mobile phone communication, after talking state audiomonitor listens to end of conversation, can trigger the logic of propositions of application program, as calling system prompting frame, prompting user is confirmed whether to continue suspended offline mode and switches.Thus, avoided automatic control system function can affect the call of mobile terminal.
In the mobile terminal of the embodiment of the present invention, pass through the method for application control system function, in the time judging that controlled condition meets, revise the CONFIG.SYS of mobile terminal by system-level service, and by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS, can directly revise by system-level service the CONFIG.SYS of mobile terminal, need not be to the write operation authority of mobile terminal application system configuration file, or while avoiding write operation authority that operating system cannot provide CONFIG.SYS to application program, cause revising the situation of CONFIG.SYS, improve availability.
Fig. 2 is the process flow diagram of the method by application control system function in the mobile terminal of a specific embodiment according to the present invention.Revising by system-level service in the process of CONFIG.SYS of mobile terminal, also need to obtain the operating right of CONFIG.SYS, according to different operating rights, the CONFIG.SYS of mobile terminal is carried out to different operations.Particularly, as shown in Figure 2, in mobile terminal, comprise the following steps by the method for application control system function.
S201, in the time judging that controlled condition meets, obtains CONFIG.SYS operating right.
Particularly, after selecting unlatching or close certain systemic-function after user starting/open application program, or clock broadcast audiomonitor sends while specifying clock broadcast signal, application program can first be obtained the current operating right of CONFIG.SYS, so that application program is carried out different operations according to current different operating right to the CONFIG.SYS of mobile terminal.Wherein, operating right can be modification authority, also can be non-modification authority.
S202, if CONFIG.SYS operating right is for revising authority, revises the CONFIG.SYS of mobile terminal by system-level service.
For example, the current operating right of CONFIG.SYS getting when application program is modification authority, be that mobile terminal has the super administrator account of root() when authority, application program can first be promoted to super keeper root authority to system-level file or system-level application program are operated by the operating right of oneself, by system-level service, the CONFIG.SYS of mobile terminal is modified afterwards.
S203, by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS.
S204, if CONFIG.SYS operating right is non-modification authority, control skip to the system of mobile terminal arranges interface, so that mobile terminal is directly revised the CONFIG.SYS of mobile terminal according to user's operation information.
Particularly, the current operating right of CONFIG.SYS getting when application program is non-modification authority, be mobile terminal only have user class authority (can not operate system-level file or system-level application program) time, application program can be controlled the system that jumps to mobile terminal interface is set, so that mobile terminal is directly modified to the CONFIG.SYS of mobile terminal according to user's operation information.For example, in the situation that mobile terminal does not have root authority, be that application program can not be modified to the CONFIG.SYS of mobile terminal by system-level service, when user wants to carry out switching mobile terminal offline mode by application program, can be by jump method (for example, " android.provider.Settings.ACTION_AIRPLANE_MODE_SETTINGS " in Android operating system) offline mode that directly jumps to mobile terminal arranges interface (as " the wireless and network " of smart mobile phone arranges interface), now user can manual unlocking or the offline mode of turning-off mobile terminal, so that mobile terminal is directly revised the CONFIG.SYS of mobile terminal according to user's operation information.Thus, can save the operation that user manually finds and clicks in the system of mobile terminal arranges project.
In the mobile terminal of the embodiment of the present invention, pass through the method for application control system function, can obtain the operating right of CONFIG.SYS, according to different operating rights, mobile terminal system configuration file is carried out to different operations, if CONFIG.SYS operating right is for revising authority, can revise by system-level service the CONFIG.SYS of mobile terminal, if CONFIG.SYS operating right is non-modification authority, can control the system that jumps to mobile terminal interface is set, save user and manually in the system of mobile terminal arranges project, find and click the operation of this systemic-function, promote user's experience.
Fig. 3 is the process flow diagram of the method by application control system function in the mobile terminal of another specific embodiment according to the present invention.Application program need be obtained the current operation system information of mobile terminal, and this operation system information is judged, particularly, as shown in Figure 3, in mobile terminal, comprises the following steps by the method for application control system function.
S301, in the time judging that controlled condition meets, obtains the operation system information of mobile terminal.
Wherein, operation system information can comprise the version number of operating system etc.
For example, after user starts/opens application program selection unlatching or closes certain systemic-function, or clock broadcast audiomonitor sends while specifying clock broadcast signal, in Android operating system, application program can be obtained by the rreturn value of the systematic parameter of operating system " android.os.Build.VERSION.SDK_INT " version number of the current operating system of mobile terminal.
S302, whether decision operation system information is preset operating system information.
For example, take Android operating system version number as example, can whether be preset operating system version number according to the rreturn value decision operation system information of the systematic parameter of operating system " android.os.Build.VERSION.SDK_INT ", in the time that the rreturn value of this parameter is less than 17, can determine that the current operating system version of mobile terminal is number lower than Android4.2 version number, in the time that the rreturn value of this parameter is not less than 17, can determine that mobile terminal current operating system version number is equal to or higher than Android4.2 version number, wherein, preset operating system version number can be Android4.2 version number.
S303, preset operating system information if, obtains CONFIG.SYS operating right.
For example, after application program determines that the current operating system version of mobile terminal number is Android4.2 or above version number, can obtain the current operating right of CONFIG.SYS of mobile terminal, so that application program is carried out different operations according to current different operating right to the CONFIG.SYS of mobile terminal.Wherein, operating right can be modification authority, also can be non-modification authority.
S304, if CONFIG.SYS operating right is for revising authority, revises the CONFIG.SYS of mobile terminal by system-level service.
S305, by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS.
S306, if CONFIG.SYS operating right is non-modification authority, control skip to the system of mobile terminal arranges interface, so that mobile terminal is directly revised the CONFIG.SYS of mobile terminal according to user's operation information.
S307, if the operation system information of mobile terminal is non-preset operating system information, can control the systemic-function of mobile terminal by prior art.
In one embodiment of the invention, if the operation system information of mobile terminal is non-preset operating system information, can control the systemic-function of mobile terminal by prior art, because the operating system of lowest version can provide CONFIG.SYS function.For example, when the operating system version of the mobile terminal getting is during number lower than Android4.2 version number, application program can first be registered the authority of read-write system configuration file to the operating system of mobile terminal, afterwards directly in this CONFIG.SYS, for the operation of modifying of the parameter value of control system function, to reach the object of control system function.Thus, realized the strategy of carrying out different control system functions according to different operation system information.
Should be appreciated that the embodiment shown in Fig. 3 mainly describes as an example of Android operating system example, other operating systems can be understood with reference to the embodiment of the present invention.It should be noted that, embodiments of the invention are preferably applicable to have 4.2 or the mobile terminal of the Android operating system of version later, are certainly also applicable to have the mobile terminal lower than the Android operating system of 4.2 versions.Be further appreciated that in an embodiment of the present invention, mobile terminal can be smart mobile phone, panel computer etc., and its operating system is Android operating system, and has the systemic-functions such as offline mode, GPS, bluetooth.
In the mobile terminal of the embodiment of the present invention, pass through the method for application control system function, can obtain the current operation system information of mobile terminal, and this operation system information is judged, realize the strategy of carrying out different control system functions according to different operation system information, improved availability.
In order to realize above-described embodiment, the present invention also proposes in a kind of mobile terminal by the device of application control system function.
Fig. 4 is the structural representation of the device by application control system function in mobile terminal according to an embodiment of the invention.As shown in Figure 4, in mobile terminal, comprise by the device of application control system function: modified module 100 and Broadcasting Control module 200.
Particularly, modified module 100, in the time judging that controlled condition meets, is revised the CONFIG.SYS of mobile terminal by system-level service, and system-level service operation is in the operating system of mobile terminal.Wherein, system-level service can be program, routine or the process etc. of carrying out appointing system function, main maintenance, operates in the process of operating system, reclaim and management by operating system is unified, serve than regular grade, system-level service has higher dispatching priority, can start and resident backstage with os starting, is applicable to reside the function sight on backstage.
In order to realize by the systemic-function of application program controlling mobile terminal, preferably, in one embodiment of the invention, this application program can have the process of the above-mentioned controlled condition of monitoring, and system-level service can be positioned under the service catalogue of operating system of mobile terminal and in this process of run time call.Wherein, in an embodiment of the present invention, controlled condition can comprise user's steering order or the appointment clock broadcast signal that clock broadcast audiomonitor sends (on-air monitor is monitored and specified clock broadcast signal to describe in detail in subsequent embodiment) etc., user's steering order can be the operational order that user opens or closes according to the systemic-function of application program appointment, for example, user starts/opens the steering order etc. of selecting to open or to close certain systemic-function after application program etc.In addition, clock broadcast audiomonitor can be created in application program, can send and specify clock broadcast signal, i.e. the clock broadcast signal of certain systemic-function is opened or closed in timed sending.
More specifically, can be in advance in the file directory of application program, create can Monitoring and Controlling condition process, this process can Monitoring and Controlling condition, the appointment clock broadcast signal sending as user's steering order, clock broadcast audiomonitor etc.Can be by create the service of calling this process under the service catalogue of mobile terminal operating system, and be system-level by the attribute modification of this service, so that this service becomes system-level service, and can keep operating in the process of operating system, in the time of this system-level service operation, can call this monitoring and carry out with Monitoring and Controlling condition.Wherein, in this system-level service, the internal interface of a predeterminable control system function, can control systemic-function by this internal interface.
Particularly, after selecting unlatching or close certain systemic-function after user starting/open application program, or after clock broadcast audiomonitor transmission appointment clock broadcast signal, modified module 200 can be modified to the CONFIG.SYS of mobile terminal by the interface of the control system function in system-level service.Wherein, in an embodiment of the present invention, system configuration can comprise one or more in offline mode configuration, GPS configuration, network configuration, bluetooth configuration, screen intensity configuration etc.For example, user wants to open by application program the offline mode of mobile terminal, after user starts this application program, modified module 200 can be modified the parameter value of controlling offline mode state in CONFIG.SYS by the interface of control system function, as, the value of parameter " settings put global airplane_mode_on " is revised as to 1, wherein, parameter value 1 can represent to open offline mode, and 0 can represent to close offline mode.
Broadcasting Control module 200 is for the broadcast at the operating system broadcast system function renewal of mobile terminal by system-level service, so that operating system is controlled systemic-function according to amended CONFIG.SYS.Wherein, broadcast can be the mechanism of asynchronous transmission information between the application program being used in operating system, operating system is by sending broadcast, to notify some system events of each application component, as region conversion, electric weight deficiency, incoming information etc., broadcast is exactly an Intent object in itself, can be also a kind of communication of one-to-many.
In one embodiment of the invention, operating system can be Android Android system.For example, after the parameter value of controlling offline mode state in the CONFIG.SYS of mobile terminal being modified by system-level service, in Android Android system, Broadcasting Control module 300 can send broadcast by system-level service in the operating system of mobile terminal, i.e. " am broadcast-a android.intent.action.AIRPLANE_MODE--ez state ", after the operating system of mobile terminal receives this broadcast, read immediately the parameter value in amended CONFIG.SYS, carry out corresponding offline mode blocked operation, thereby reach the object that systemic-function is controlled.
Preferably, in one embodiment of the invention, the application program of control system function can have clock broadcast audiomonitor, and above-mentioned controlled condition can comprise user's steering order or the appointment clock broadcast signal that clock broadcast audiomonitor sends.
For example, user can open by application program the offline mode of mobile terminal according to the daily schedule of oneself, first, application program can require user in application program, to set a clock quarter-bell, as, points in evenings 11 (now user does not re-use mobile terminal), afterwards, clock broadcast audiomonitor can monitor whether arrive fixed time point, when judgement has reached when some fixed time, clock broadcast audiomonitor can listen to the clock broadcast signal at 11 in this evening, after clock broadcast audiomonitor receives this appointment clock broadcast signal, can revise by system-level service the CONFIG.SYS of mobile terminal, and automatically perform offline mode task switching on backstage, the object of switching to reach offline mode.
Be to be understood that, user can also set another clock quarter-bell in application program, for example, mornings 7 point, when judgement has reached when some fixed time, clock broadcast audiomonitor can receive the clock broadcast signal in 7 of this mornings, and application program can be revised by system-level service the CONFIG.SYS of mobile terminal afterwards, with the offline mode of turning-off mobile terminal.It should be noted that, application program can also be according to user's needs, initialize program call method parameter, and the broadcast of receiving system function renewal capable of circulation, to reach the effect of automatic repeated controlling system function.Thus, promoted user's experience.
In the mobile terminal of the embodiment of the present invention, pass through the device of application control system function, by modified module in the time judging that controlled condition meets, revise the CONFIG.SYS of mobile terminal by system-level service, Broadcasting Control module is by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS, can directly revise by system-level service the CONFIG.SYS of mobile terminal, need not be to the write operation authority of mobile terminal application system configuration file, or while avoiding write operation authority that operating system cannot provide CONFIG.SYS to application program, cause revising the situation of CONFIG.SYS, improve availability.
Fig. 5 is the structural representation of the device by application control system function in the mobile terminal of a specific embodiment according to the present invention.As shown in Figure 5, in mobile terminal, comprise by the device of application control system function: modified module 100, Broadcasting Control module 200, obtain submodule 110, revise submodule 120 and control skip submodule 130.Wherein, modified module 100 comprises: obtain submodule 110, revise submodule 120 and control skip submodule 130.
Particularly, obtain submodule 110 for obtaining the CONFIG.SYS operating right of application program.More specifically, after selecting unlatching or close certain systemic-function after user starting/open application program, or clock broadcast audiomonitor sends while specifying clock broadcast signal, obtain submodule 110 and can obtain the current operating right of CONFIG.SYS, so that application program is carried out different operations according to current different operating right to the CONFIG.SYS of mobile terminal.Wherein, operating right can be modification authority, also can be non-modification authority.
Revise submodule 120 for being that the power of amendment is prescribed a time limit at CONFIG.SYS operating right, revise the CONFIG.SYS of mobile terminal by system-level service.For example, obtaining the current operating right of CONFIG.SYS that submodule 110 gets for revising authority, be that mobile terminal is while having root authority, application program can first be promoted to super keeper root authority by the operating right of oneself to system-level file or system-level application program are operated, and revises afterwards submodule 120 and by system-level service, the CONFIG.SYS of mobile terminal is modified.
Control skip submodule 130 is for being that the non-power of amendment is prescribed a time limit at CONFIG.SYS operating right, and control skip to the system of mobile terminal arranges interface, so that mobile terminal is directly revised the CONFIG.SYS of mobile terminal according to user's operation information.More specifically, the current operating right of CONFIG.SYS getting when application program is non-modification authority, be mobile terminal only have user class authority (can not operate system-level file or system-level application program) time, control skip submodule 130 can be controlled the system that jumps to mobile terminal interface is set, so that mobile terminal is directly modified to the CONFIG.SYS of mobile terminal according to user's operation information.For example, in the situation that mobile terminal does not have root authority, be that application program can not be modified to the CONFIG.SYS of mobile terminal by system-level service, when user wants to carry out switching mobile terminal offline mode by application program, control skip submodule 130 can be by jump method (for example, " android.provider.Settings.ACTION_AIRPLANE_MODE_SETTINGS " in Android operating system) offline mode that directly jumps to mobile terminal arranges interface (as " the wireless and network " of smart mobile phone arranges interface), now user can manual unlocking or the offline mode of turning-off mobile terminal, so that mobile terminal is directly revised the CONFIG.SYS of mobile terminal according to user's operation information.Thus, can save the operation that user manually finds and clicks in the system of mobile terminal arranges project.
In the mobile terminal of the embodiment of the present invention, pass through the device of application control system function, obtain the operating right of CONFIG.SYS by obtaining submodule, be that the power of amendment is revised submodule in limited time by the CONFIG.SYS of system-level service modification mobile terminal at CONFIG.SYS operating right, be that the non-power of amendment is prescribed a time limit at CONFIG.SYS operating right, control skip submodule control skip to the system of mobile terminal arranges interface, save user and manually in the system of mobile terminal arranges project, find and click the operation of this systemic-function, promote user's experience.
Fig. 6 is the structural representation of the device by application control system function in the mobile terminal of another specific embodiment according to the present invention.As shown in Figure 6, in mobile terminal, comprise by the device of application control system function: modified module 100, Broadcasting Control module 200, obtain submodule 110, revise submodule 120, control skip submodule 130, acquisition module 300 and judge module 400.Wherein, modified module 100 comprises: obtain submodule 110, revise submodule 120 and control skip submodule 130.
Particularly, acquisition module 300 is for obtaining the operation system information of mobile terminal.Wherein, operation system information can comprise the version number of operating system etc.For example, after user starts/opens application program selection unlatching or closes certain systemic-function, or clock broadcast audiomonitor sends while specifying clock broadcast signal, in Android operating system, acquisition module 300 can obtain by the rreturn value of the systematic parameter of operating system " android.os.Build.VERSION.SDK_INT " version number of the current operating system of mobile terminal.
Whether judge module 400 is preset operating system information for decision operation system information.Wherein, modified module 100, also in the time that operation system information is preset operating system information, is revised the CONFIG.SYS of mobile terminal by system-level service.For example, take Android operating system version number as example, whether judge module 400 can be preset operating system version number according to the rreturn value decision operation system information of the systematic parameter of operating system " android.os.Build.VERSION.SDK_INT ", in the time that the rreturn value of this parameter is less than 17, can determine that the current operating system version of mobile terminal is number lower than Android4.2 version number, in the time that the rreturn value of this parameter is not less than 17, can determine that mobile terminal current operating system version number is equal to or higher than Android4.2 version number, wherein, preset operating system version number can be Android4.2 version number.
In one embodiment of the invention, in the time that judge module 400 judges that the operation system information of mobile terminal is non-preset operating system information, Broadcasting Control module 200 can be controlled the systemic-function of mobile terminal by prior art.For example, the operating system version of the mobile terminal getting at acquisition module 300 is during number lower than Android4.2 version number, application program can first be registered the authority of read-write system configuration file to the operating system of mobile terminal, afterwards directly in this CONFIG.SYS, for the operation of modifying of the parameter value of control system function, to reach the object of control system function.Thus, realized the strategy of carrying out different control system functions according to different operation system information.
In the mobile terminal of the embodiment of the present invention, pass through the device of application control system function, obtain the current operation system information of mobile terminal by acquisition module, judge module also judges this operation system information, realize the strategy of carrying out different control system functions according to different operation system information, improved availability.
Fig. 7 is the structural representation of the device by application control system function in the mobile terminal of another specific embodiment according to the present invention.Can affect the call of mobile terminal for fear of automatic control system function, in an embodiment of the present invention, the application program of control system function can have talking state audiomonitor, can monitor mobile terminal by talking state audiomonitor current whether in talking state, to determine whether to revise the CONFIG.SYS of mobile terminal.Particularly, as shown in Figure 7, in mobile terminal, comprise by the device of application control system function: modified module 100, Broadcasting Control module 200, obtain submodule 110, revise submodule 120, control skip submodule 130, acquisition module 300, judge module 400 and suspend module 500.Wherein, modified module 100 comprises: obtain submodule 110, revise submodule 120 and control skip submodule 130.
Particularly, suspend module 500 for listen to by talking state audiomonitor mobile terminal in talking state and receive clock broadcast audiomonitor send appointment clock broadcast signal time, suspend revise mobile terminal CONFIG.SYS until talking state finish.Wherein, modified module 100 also, in the time listening to mobile terminal by talking state audiomonitor not in talking state and receive the appointment clock broadcast signal of clock broadcast audiomonitor transmission, is revised the CONFIG.SYS of mobile terminal by system-level service.
Particularly, can be by the talking state audiomonitor real-time judge mobile terminal in application program current whether in communication process, listen to mobile terminal at talking state audiomonitor and be in talking state, when application program receives the appointment clock broadcast signal of clock broadcast audiomonitor transmission of mobile terminal simultaneously, suspend module 500 and can suspend the CONFIG.SYS of revising mobile terminal, again CONFIG.SYS is modified until listen to after talking state finishes.Listening to mobile terminal at talking state audiomonitor does not finish in talking state or talking state, after application program receives the appointment clock broadcast signal of clock broadcast audiomonitor transmission simultaneously, modified module 100 can be revised by system-level service the CONFIG.SYS of mobile terminal.For example, when mobile phone is being conversed, can postpone original unlatching offline mode operation, in order to avoid interruption mobile phone communication, after talking state audiomonitor listens to end of conversation, can trigger the logic of propositions of application program, as calling system prompting frame, prompting user is confirmed whether to continue suspended offline mode and switches.In the mobile terminal of the embodiment of the present invention, pass through the device of application control system function, monitor mobile terminal by talking state audiomonitor current whether in talking state, immediately CONFIG.SYS is modified determining whether by snoop results, carry out and dodge strategy according to the talking state of mobile terminal, while having prevented automatic control system function, affect the call of mobile terminal, further promoted user's experience.
In order to realize above-described embodiment, the present invention proposes again a kind of mobile terminal.
A kind of mobile terminal, comprising: shell, screen, processor and circuit board; Screen is placed on shell, and circuit board is placed in the interior volume that shell surrounds, and processor is arranged on circuit board; Processor is for the treatment of data, and processor can have system-level service, and system-level service has the interface of control system function, processor can specifically for carry out following steps:
S101 ', in the time judging that controlled condition meets, revises the CONFIG.SYS of mobile terminal by system-level service, system-level service operation is in the operating system of mobile terminal.
Wherein, system-level service can be program, routine or the process etc. of carrying out appointing system function, main maintenance, operates in the process of operating system, reclaim and management by operating system is unified, serve than regular grade, system-level service has higher dispatching priority, can start and resident backstage with os starting, is applicable to reside the function sight on backstage.
In order to realize by the systemic-function of application program controlling mobile terminal, preferably, in one embodiment of the invention, processor can have the process of the above-mentioned controlled condition of monitoring, and system-level service can be positioned under the service catalogue of operating system of mobile terminal and in this process of run time call.Wherein, in an embodiment of the present invention, controlled condition can comprise user's steering order or the appointment clock broadcast signal that clock broadcast audiomonitor sends (on-air monitor is monitored and specified clock broadcast signal to describe in detail in subsequent embodiment) etc., user's steering order can be the operational order that user opens or closes according to the systemic-function of application program appointment, for example, user starts/opens the steering order etc. of selecting to open or to close certain systemic-function after application program etc.In addition, clock broadcast audiomonitor can be created in application program, can send and specify clock broadcast signal, i.e. the clock broadcast signal of certain systemic-function is opened or closed in timed sending.
Particularly, can be in advance in the file directory of application program, create can Monitoring and Controlling condition process, this process can Monitoring and Controlling condition, the appointment clock broadcast signal sending as user's steering order, clock broadcast audiomonitor etc.Can be by create the service of calling this process under the service catalogue of mobile terminal operating system, and be system-level by the attribute modification of this service, so that this service becomes system-level service, and can keep operating in the process of operating system, in the time of this system-level service operation, can call this monitoring and carry out with Monitoring and Controlling condition.Wherein, in this system-level service, the internal interface of a predeterminable control system function, can control systemic-function by this internal interface.
Particularly, after selecting unlatching or close certain systemic-function after user starting/open application program, or after clock broadcast audiomonitor transmission appointment clock broadcast signal, application program can be modified to the CONFIG.SYS of mobile terminal by the interface of the control system function in system-level service.Wherein, in an embodiment of the present invention, system configuration can comprise one or more in offline mode configuration, GPS configuration, network configuration, bluetooth configuration, screen intensity configuration etc.For example, user wants to open by application program the offline mode of mobile terminal, after user starts this application program, processor can be modified the parameter value of controlling offline mode state in CONFIG.SYS by the interface of control system function, as, the value of parameter " settings put global airplane_mode_on " is revised as to 1, wherein, parameter value 1 can represent to open offline mode, and 0 can represent to close offline mode.
S102 ', by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS.
Wherein, broadcast can be the mechanism of asynchronous transmission information between the application program being used in operating system, operating system is by sending broadcast, to notify some system events of each application component, as region conversion, electric weight deficiency, incoming information etc., broadcast is exactly an Intent object in itself, can be also a kind of communication of one-to-many.
In one embodiment of the invention, operating system can be Android Android system.For example, after the parameter value of controlling offline mode state in the CONFIG.SYS of mobile terminal being modified by system-level service, in Android Android system, processor can send broadcast by system-level service in the system of mobile terminal, i.e. " am broadcast-a android.intent.action.AIRPLANE_MODE--ez state ", after the system of mobile terminal receives this broadcast, read immediately the parameter value in amended CONFIG.SYS, carry out corresponding offline mode blocked operation, thereby reach the object that systemic-function is controlled.
The mobile terminal of the embodiment of the present invention, in the time judging that controlled condition meets, revise the CONFIG.SYS of mobile terminal by system-level service, and by the broadcast of system-level service broadcast system function renewal in the operating system of mobile terminal, so that operating system is controlled systemic-function according to amended CONFIG.SYS, so that operating system is controlled systemic-function according to amended CONFIG.SYS, can directly revise by system-level service the CONFIG.SYS of mobile terminal, need not be to the write operation authority of mobile terminal application system configuration file, or while avoiding write operation authority that operating system cannot provide CONFIG.SYS to application program, cause revising the situation of CONFIG.SYS, improve availability.
In one embodiment of the invention, processor is specifically also for the CONFIG.SYS operating right that obtains application program; And be that the power of amendment is prescribed a time limit at CONFIG.SYS operating right, revise the CONFIG.SYS of mobile terminal by system-level service; And be that the non-power of amendment is prescribed a time limit at CONFIG.SYS operating right, control skip to the system of mobile terminal arranges interface, so that mobile terminal is directly revised the CONFIG.SYS of mobile terminal according to user's operation information.
Particularly, after selecting unlatching or close certain systemic-function after user starting/open application program, or clock broadcast audiomonitor sends while specifying clock broadcast signal, can first obtain the current operating right of CONFIG.SYS, so that application program is carried out different operations according to current different operating right to the CONFIG.SYS of mobile terminal.Wherein, operating right can be modification authority, also can be non-modification authority, for example, be modification authority at the current operating right of the CONFIG.SYS getting, be mobile terminal while having root authority, processor can first be promoted to super keeper root authority to system-level file or system-level application program are operated by the operating right of application program, by system-level service, the CONFIG.SYS of mobile terminal is modified afterwards; Be non-modification authority at the current operating right of the CONFIG.SYS getting, be mobile terminal only have user class authority (can not operate system-level file or system-level application program) time, processor can be controlled the system that jumps to mobile terminal interface is set, so that mobile terminal is directly modified to the CONFIG.SYS of mobile terminal according to user's operation information.For example, in the situation that mobile terminal does not have root authority, be that application program can not be modified to the CONFIG.SYS of mobile terminal by system-level service, when user wants to carry out switching mobile terminal offline mode by application program, can be by jump method (for example, " android.provider.Settings.ACTION_AI RPLANE_MODE_SETTINGS " in Android operating system) offline mode that directly jumps to mobile terminal arranges interface (as " the wireless and network " of smart mobile phone arranges interface), now user can manual unlocking or the offline mode of turning-off mobile terminal, so that mobile terminal is directly revised the CONFIG.SYS of mobile terminal according to user's operation information.Thus, can save the operation that user manually finds and clicks in the system of mobile terminal arranges project.
From above-mentioned two embodiment, by obtaining the operating right of CONFIG.SYS, so that application program is carried out different operations according to different operating rights to the CONFIG.SYS of mobile terminal, improve availability.
In one embodiment of the invention, processor is also for the operation system information of obtaining mobile terminal; Whether decision operation system information is preset operating system information; And in the time that operation system information is preset operating system information, revise the CONFIG.SYS of mobile terminal by system-level service.Wherein, operation system information can comprise the version number of operating system etc.
For example, after user starts/opens application program selection unlatching or closes certain systemic-function, or clock broadcast audiomonitor sends while specifying clock broadcast signal, in Android operating system, can obtain by the rreturn value of the systematic parameter of operating system " android.os.Build.VERSION.SDK_INT " version number of the current operating system of mobile terminal.And for example, take Android operating system version number as example, can whether be preset operating system version number according to the rreturn value decision operation system information of the systematic parameter of operating system " android.os.Build.VERSION.SDK_INT ", in the time that the rreturn value of this parameter is less than 17, can determine that the current operating system version of mobile terminal is number lower than Android4.2 version number, in the time that the rreturn value of this parameter is not less than 17, can determine that mobile terminal current operating system version number is equal to or higher than Android4.2 version number, wherein, preset operating system version number can be Android4.2 version number, thereby after application program determines that the current operating system version of mobile terminal number is Android4.2 or above version number, can modify to the CONFIG.SYS of mobile terminal by system-level service.
In one embodiment of the invention, if the operation system information of mobile terminal is non-preset operating system information, can control the systemic-function of mobile terminal by prior art.For example, when the operating system version of the mobile terminal getting is during number lower than Android4.2 version number, can first register the authority of read-write system configuration file to the operating system of mobile terminal, afterwards directly in this CONFIG.SYS, for the operation of modifying of the parameter value of control system function, to reach the object of control system function.Thus, realized the strategy of carrying out different control system functions according to different operation system information.
From above-mentioned two embodiment, by obtaining the current operation system information of mobile terminal, and this operation system information is judged, realize the strategy of carrying out different control system functions according to different operation system information, improve availability.
Preferably, in one embodiment of the invention, the application program of control system function can have clock broadcast audiomonitor, and above-mentioned controlled condition can comprise user's steering order or the appointment clock broadcast signal that clock broadcast audiomonitor sends.
For example, user can open by application program the offline mode of mobile terminal according to the daily schedule of oneself, first, application program can require user in application program, to set a clock quarter-bell, as, points in evenings 11 (now user does not re-use mobile terminal), afterwards, clock broadcast audiomonitor can monitor whether arrive fixed time point, when judgement has reached when some fixed time, clock broadcast audiomonitor can listen to the clock broadcast signal at 11 in this evening, after clock broadcast audiomonitor receives this appointment clock broadcast signal, application program can be revised by system-level service the CONFIG.SYS of mobile terminal, and automatically perform offline mode task switching on backstage, the object of switching to reach offline mode.
Be to be understood that, can also require user in application program, to set another clock quarter-bell, for example, mornings 7 point, when judgement has reached when some fixed time, clock broadcast audiomonitor can receive the clock broadcast signal in 7 of this mornings, and application program can be revised by system-level service the CONFIG.SYS of mobile terminal afterwards, with the offline mode of turning-off mobile terminal.It should be noted that, application program can also be according to user's needs, initialize program call method parameter, and the broadcast of receiving system function renewal capable of circulation, to reach the effect of automatic repeated controlling system function.Thus, promoted user's experience.
Can affect the call of mobile terminal for fear of automatic control system function, preferably, in one embodiment of the invention, the application program of control system function can have talking state audiomonitor, processor also for: listen to by talking state audiomonitor mobile terminal in talking state and receive clock broadcast audiomonitor send appointment clock broadcast signal time, suspend revise mobile terminal CONFIG.SYS until talking state finish; And in the time listening to mobile terminal by talking state audiomonitor not in talking state and receive the appointment clock broadcast signal of clock broadcast audiomonitor transmission, revise the CONFIG.SYS of mobile terminal by system-level service.
Particularly, can be by the talking state audiomonitor real-time judge mobile terminal in application program current whether in communication process, when listening to mobile terminal, talking state audiomonitor is in talking state, when application program receives the appointment clock broadcast signal of clock broadcast audiomonitor transmission of mobile terminal simultaneously, can suspend the CONFIG.SYS of revising mobile terminal, again CONFIG.SYS is modified until listen to after talking state finishes, when listening to mobile terminal, do not finish in talking state or talking state by talking state audiomonitor, after application program receives the appointment clock broadcast signal of clock broadcast audiomonitor transmission simultaneously, can revise by system-level service the CONFIG.SYS of mobile terminal.For example, when mobile phone is being conversed, can postpone original unlatching offline mode operation, in order to avoid interruption mobile phone communication, after talking state audiomonitor listens to end of conversation, can trigger the logic of propositions of application program, as calling system prompting frame, prompting user is confirmed whether to continue suspended offline mode and switches.Thus, while having prevented automatic control system function, affect the call of mobile terminal, further promoted user's experience.
It should be noted that, embodiments of the invention are not limited to the control of the offline mode function to mobile terminal, may also extend into and realize the systemic-function of controlling other, for example, control On/Off, the On/Off of control sound etc. of bluetooth.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in storer and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that not departing from principle of the present invention and aim, can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.

Claims (21)

1. in mobile terminal, pass through a method for application control system function, it is characterized in that, application program has system-level service, and described system-level service has the interface of control system function, said method comprising the steps of:
In the time judging that controlled condition meets, revise the CONFIG.SYS of described mobile terminal by described system-level service, described system-level service operation is in the operating system of described mobile terminal; And
By the broadcast of described system-level service broadcast system function renewal in the operating system of described mobile terminal, so that described operating system is controlled described systemic-function according to amended described CONFIG.SYS.
2. the method for claim 1, is characterized in that, described application program has the process of the described controlled condition of monitoring, and described system-level service is positioned under the service catalogue of operating system of described mobile terminal and in process described in run time call.
3. the method for claim 1, is characterized in that, the described CONFIG.SYS of revising described mobile terminal by system-level service specifically comprises:
Obtain described CONFIG.SYS operating right; And
If described CONFIG.SYS operating right, for revising authority, is revised the CONFIG.SYS of described mobile terminal by described system-level service;
If described CONFIG.SYS operating right is non-modification authority, control skip to the system of described mobile terminal arranges interface, so that described mobile terminal is directly revised the CONFIG.SYS of described mobile terminal according to user's operation information.
4. the method as described in claim 1-3 any one, is characterized in that, described revise the CONFIG.SYS of described mobile terminal by described system-level service before, also comprise:
Obtain the operation system information of described mobile terminal;
Judge whether described operation system information is preset operating system information; And
Preset operating system information if, revises the CONFIG.SYS of described mobile terminal by described system-level service.
5. the method as described in claim 1-3 any one, is characterized in that, described application program has clock broadcast audiomonitor, and described controlled condition comprises user's steering order or the appointment clock broadcast signal that described clock broadcast audiomonitor sends.
6. method as claimed in claim 5, is characterized in that, described application program has talking state audiomonitor, also comprises:
In the time listening to described mobile terminal by described talking state audiomonitor in talking state and receive the described appointment clock broadcast signal that described clock broadcast audiomonitor sends, suspend revise described mobile terminal CONFIG.SYS until described talking state finish; And
In the time listening to described mobile terminal by described talking state audiomonitor not in talking state and receive the described appointment clock broadcast signal of described clock broadcast audiomonitor transmission, revise the CONFIG.SYS of described mobile terminal by described system-level service.
7. the method for claim 1, is characterized in that, described operating system is Android Android system.
8. in mobile terminal, pass through a device for application control system function, it is characterized in that, application program has system-level service, and described system-level service has the interface of control system function, and described device comprises:
Modified module, in the time judging that controlled condition meets, revises the CONFIG.SYS of described mobile terminal by described system-level service, described system-level service operation is in the operating system of described mobile terminal; And
Broadcasting Control module, for the broadcast at the operating system broadcast system function renewal of described mobile terminal by described system-level service, so that described operating system is controlled described systemic-function according to amended described CONFIG.SYS.
9. device as claimed in claim 8, is characterized in that, described application program has the process of the described controlled condition of monitoring, and described system-level service is positioned under the service catalogue of operating system of described mobile terminal and in process described in run time call.
10. device as claimed in claim 8, is characterized in that, described modified module comprises:
Obtain submodule, for obtaining described CONFIG.SYS operating right; And
Revise submodule, for being that the power of amendment is prescribed a time limit at described CONFIG.SYS operating right, revise the CONFIG.SYS of described mobile terminal by described system-level service;
Control skip submodule, being used at described CONFIG.SYS operating right is that the non-power of amendment is prescribed a time limit, control skip to the system of described mobile terminal arranges interface, so that described mobile terminal is directly revised the CONFIG.SYS of described mobile terminal according to user's operation information.
11. devices as described in claim 8-10 any one, is characterized in that, also comprise:
Acquisition module, for obtaining the operation system information of described mobile terminal;
Judge module, for judging whether described operation system information is preset operating system information; Wherein,
Described modified module, also in the time that described operation system information is preset operating system information, is revised the CONFIG.SYS of described mobile terminal by described system-level service.
12. devices as described in claim 8-10 any one, is characterized in that, described application program has clock broadcast audiomonitor, and described controlled condition comprises user's steering order or the appointment clock broadcast signal that described clock broadcast audiomonitor sends.
13. devices as claimed in claim 12, is characterized in that, described application program has talking state audiomonitor, also comprises:
Suspend module, for in the time listening to described mobile terminal by described talking state audiomonitor in talking state and receive the described appointment clock broadcast signal that described clock broadcast audiomonitor sends, suspend revise described mobile terminal CONFIG.SYS until described talking state finish; Wherein,
Described modified module also, in the time listening to described mobile terminal by described talking state audiomonitor not in talking state and receive the described appointment clock broadcast signal of described clock broadcast audiomonitor transmission, is revised the CONFIG.SYS of described mobile terminal by described system-level service.
14. devices as claimed in claim 8, is characterized in that, described operating system is Android Android system.
15. 1 kinds of mobile terminals, is characterized in that, comprising: shell, screen, processor and circuit board;
Described screen is placed on described shell, and described circuit board is placed in the interior volume that described shell surrounds, and described processor is arranged on described circuit board;
Described processor is for the treatment of data, and described processor has system-level service, and described system-level service has the interface of control system function, described processor specifically for:
In the time judging that controlled condition meets, revise the CONFIG.SYS of described mobile terminal by described system-level service, described system-level service operation is in the operating system of described mobile terminal; And
By the broadcast of described system-level service broadcast system function renewal in the operating system of described mobile terminal, so that described operating system is controlled described systemic-function according to amended described CONFIG.SYS.
16. mobile terminals as claimed in claim 15, is characterized in that, described processor has the process of the described controlled condition of monitoring, and described system-level service is positioned under the service catalogue of operating system of described mobile terminal and in process described in run time call.
17. mobile terminals as claimed in claim 15, is characterized in that, described processor specifically also for: obtain described CONFIG.SYS operating right; And be that the power of amendment is prescribed a time limit at described CONFIG.SYS operating right, revise the CONFIG.SYS of described mobile terminal by described system-level service; And be that the non-power of amendment is prescribed a time limit at described CONFIG.SYS operating right, control skip to the system of described mobile terminal arranges interface, so that described mobile terminal is directly revised the CONFIG.SYS of described mobile terminal according to user's operation information.
18. mobile terminals as described in claim 15-17 any one, is characterized in that, described processor is also for the operation system information of obtaining described mobile terminal; Judge whether described operation system information is preset operating system information; And in the time that described operation system information is preset operating system information, revise the CONFIG.SYS of described mobile terminal by described system-level service.
19. mobile terminals as described in claim 15-17 any one, is characterized in that, described processor has clock broadcast audiomonitor, and described controlled condition comprises user's steering order or the appointment clock broadcast signal that described clock broadcast audiomonitor sends.
20. mobile terminals as claimed in claim 19, it is characterized in that, described processor has talking state audiomonitor, described processor also for: in the time listening to described mobile terminal by described talking state audiomonitor in talking state and receive the described appointment clock broadcast signal that described clock broadcast audiomonitor sends, suspend revise described mobile terminal CONFIG.SYS until described talking state finish; And in the time listening to described mobile terminal by described talking state audiomonitor not in talking state and receive the described appointment clock broadcast signal of described clock broadcast audiomonitor transmission, revise the CONFIG.SYS of described mobile terminal by described system-level service.
21. mobile terminals as claimed in claim 15, is characterized in that, described operating system is Android Android system.
CN201410040499.9A 2014-01-27 2014-01-27 Mobile terminal, and method and device for controlling system function through application program Pending CN103777958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410040499.9A CN103777958A (en) 2014-01-27 2014-01-27 Mobile terminal, and method and device for controlling system function through application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410040499.9A CN103777958A (en) 2014-01-27 2014-01-27 Mobile terminal, and method and device for controlling system function through application program

Publications (1)

Publication Number Publication Date
CN103777958A true CN103777958A (en) 2014-05-07

Family

ID=50570240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410040499.9A Pending CN103777958A (en) 2014-01-27 2014-01-27 Mobile terminal, and method and device for controlling system function through application program

Country Status (1)

Country Link
CN (1) CN103777958A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732127A (en) * 2015-03-18 2015-06-24 深圳市九洲电器有限公司 Set top box application program management method and system
CN106713608A (en) * 2016-07-26 2017-05-24 腾讯科技(深圳)有限公司 Application function state modifying method and apparatus, and terminal
CN106790727A (en) * 2017-03-30 2017-05-31 武汉斗鱼网络科技有限公司 Information push method and device
CN108476265A (en) * 2015-12-21 2018-08-31 微软技术许可有限责任公司 The specifying according to the stage of pipeline agency
CN110244834A (en) * 2019-05-15 2019-09-17 深圳市优博讯科技股份有限公司 A kind of application behavior alignment schemes and terminal device
CN110737484A (en) * 2018-07-19 2020-01-31 马上消费金融股份有限公司 method for starting application program and terminal equipment
CN111984273A (en) * 2019-05-22 2020-11-24 西安诺瓦星云科技股份有限公司 Application program management method, device and system based on embedded operating system
CN113010225A (en) * 2021-03-05 2021-06-22 国网河南省电力公司电力科学研究院 Automatic loading method and system for configuration file of intelligent substation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441996A (en) * 2013-08-16 2013-12-11 上海理工大学 Method and system for transmitting files in concurrent mode
US20130334300A1 (en) * 2011-01-03 2013-12-19 Curt Evans Text-synchronized media utilization and manipulation based on an embedded barcode

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130334300A1 (en) * 2011-01-03 2013-12-19 Curt Evans Text-synchronized media utilization and manipulation based on an embedded barcode
CN103441996A (en) * 2013-08-16 2013-12-11 上海理工大学 Method and system for transmitting files in concurrent mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐磊: "Android 4.2 自动定时切换飞行模式", 《HTTP://JU.OUTOFMEMORY.CN/ENTRY/79248》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732127A (en) * 2015-03-18 2015-06-24 深圳市九洲电器有限公司 Set top box application program management method and system
CN108476265A (en) * 2015-12-21 2018-08-31 微软技术许可有限责任公司 The specifying according to the stage of pipeline agency
CN108476265B (en) * 2015-12-21 2020-08-21 微软技术许可有限责任公司 Computing system for agent management
CN106713608B (en) * 2016-07-26 2020-04-24 腾讯科技(深圳)有限公司 Application function state modification method and device and terminal
CN106713608A (en) * 2016-07-26 2017-05-24 腾讯科技(深圳)有限公司 Application function state modifying method and apparatus, and terminal
CN106790727A (en) * 2017-03-30 2017-05-31 武汉斗鱼网络科技有限公司 Information push method and device
CN106790727B (en) * 2017-03-30 2019-10-25 武汉斗鱼网络科技有限公司 Information push method and device
CN110737484A (en) * 2018-07-19 2020-01-31 马上消费金融股份有限公司 method for starting application program and terminal equipment
CN110244834A (en) * 2019-05-15 2019-09-17 深圳市优博讯科技股份有限公司 A kind of application behavior alignment schemes and terminal device
CN111984273A (en) * 2019-05-22 2020-11-24 西安诺瓦星云科技股份有限公司 Application program management method, device and system based on embedded operating system
CN111984273B (en) * 2019-05-22 2024-03-15 西安诺瓦星云科技股份有限公司 Application program management method, device and system based on embedded operating system
CN113010225A (en) * 2021-03-05 2021-06-22 国网河南省电力公司电力科学研究院 Automatic loading method and system for configuration file of intelligent substation
CN113010225B (en) * 2021-03-05 2022-07-26 国网河南省电力公司电力科学研究院 Automatic loading method and system for configuration files of intelligent substation

Similar Documents

Publication Publication Date Title
CN103777958A (en) Mobile terminal, and method and device for controlling system function through application program
CN103677214B (en) For the power consumption control method of mobile terminal, device and mobile terminal
CN108388431B (en) Control method and device for hot update of application program, storage medium and mobile terminal
EP3420780B1 (en) Selection of a coordinator device for an automated environment
CN105354044A (en) Application awakening method and apparatus
CN104991803B (en) To the managing and control system and method for the self-starting under given conditions of android application programs
CN105676987A (en) Method for shutting down background application of mobile terminal, device and mobile terminal
CN107533094B (en) Method and system for optimizing execution of user commands related to power management
CN105227626A (en) Content pushing method and device and terminal
CN106775817A (en) Intelligent terminal is spread its tail control method, system and the intelligent terminal of advertisement
CN106815065A (en) The awakening method and device of background application, electronic equipment
US11843670B2 (en) Packet data unit (PDU) session control method and apparatus
CN103019825A (en) Method and device for controlling applications
US20060143606A1 (en) Management of persistent software applications
US10708870B2 (en) Systems and methods for adjusting power settings of a wireless device
CN106022108A (en) Synchronous management method and terminal device
CN105824660A (en) Application program updating method and terminal
US11503080B2 (en) Remote management of a user device
CN105578505A (en) State management method of wireless communication module and wireless communication module
CN107943268B (en) Scheduling job control method, device, terminal equipment and storage medium
US10784703B2 (en) System and method for maintaining battery life
KR20160071260A (en) Method for managing state of ECU in vehicle based on automotive open system architecture
CN112995264B (en) Method, device and storage medium for preventing data from being deleted by mistake
US10341923B2 (en) Techniques for minimizing user disruption during network connection switching
CN115801748B (en) Automatic switching method of equipment system, electronic equipment, device and readable storage medium

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: 20140507