CN105893132B - Control method and electronic equipment - Google Patents
Control method and electronic equipment Download PDFInfo
- Publication number
- CN105893132B CN105893132B CN201610200367.7A CN201610200367A CN105893132B CN 105893132 B CN105893132 B CN 105893132B CN 201610200367 A CN201610200367 A CN 201610200367A CN 105893132 B CN105893132 B CN 105893132B
- Authority
- CN
- China
- Prior art keywords
- application
- calling
- information
- current
- component
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a control method and electronic equipment, and when a user uses the electronic equipment to start and run the current application, after application calling information is detected, the application verifies whether the application calling information contains invalid calling component information aiming at the current application or not based on a pre-established associated calling model, so that the invalid calling component triggered to start due to the current application is controlled to stop running in time, and the technical problem that the performance of the electronic equipment is influenced due to consumption of resources such as electric quantity and flow of the electronic equipment by the invalid calling component and delay of the running speed of the electronic equipment in the prior art is solved.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a control method and an electronic device.
Background
At present, in order to meet various requirements of users, with the rapid development of communication technology, various applications appear in the market, for example, in electronic devices such as a mobile phone, an ipad, and a computer, which are frequently used by users at present, various office applications, audio and video applications, various game software, weather or traffic inquiry software, and various browsers are usually installed, so that a lot of convenience is provided for the work, life, or entertainment of users.
However, in the practical application of the electronic device, the application self-starting phenomenon that is not triggered by the user often occurs, which causes unnecessary consumption of resources such as power and flow of the electronic device, and slows down the operation speed of the electronic device, thereby reducing the performance of the electronic device and affecting the user's experience of using the electronic device.
The self-starting of the application due to the associated call between the applications is a relatively complicated self-starting mode, and particularly, for each application belonging to an application family of the same vendor, during the use of the application a, in order to implement a certain function, a user may call other applications, for example, during online shopping, a security application is often called, and a corresponding payment application is also called during payment.
However, in practical applications, besides calling an application related to implementing a certain function, some applications such as games, news, or movies unrelated to implementing the function are often triggered, and these applications are often relatively tough and difficult for users to block, which greatly affects the performance of the electronic device.
Disclosure of Invention
In view of this, the present application provides a control method and an electronic device, which solve the technical problem that the performance of the electronic device is affected because an application currently started by the electronic device calls an application unrelated to a target function when the target function is realized.
In order to solve the above problems, the present application provides the following technical solutions:
a control method is applied to an electronic device, and the method comprises the following steps:
detecting application calling information during the starting and running of the current application of the electronic equipment;
verifying whether the application calling information contains invalid calling component information aiming at the current application or not based on a pre-established associated calling model corresponding to the current application;
and when the application calling information contains invalid calling component information aiming at the current application, controlling the corresponding invalid calling component to stop running.
Preferably, the associated call model is established in the following manner:
recording calling information of each application in the same application family to other application components during starting and running;
verifying whether the called application component is valid for the corresponding calling application based on the calling information;
and establishing an associated calling model of the application family according to the verification result obtained by the verification for multiple times.
Preferably, after the detecting the application invocation information, the method further includes:
acquiring identification information of the current application;
and determining the application family to which the current application belongs and the corresponding associated calling model thereof based on the identification information.
Preferably, the application calling information includes: the verifying whether the application calling information contains invalid calling component information for the current application comprises:
and verifying whether the current called component is associated with the current calling function of the current application or not by utilizing the called component information and the corresponding calling mode.
Preferably, the method further comprises:
and when the current application is detected to stop running, controlling the effective calling component of the current application to stop running.
An electronic device, the electronic device comprising:
the detection module is used for detecting application calling information during the starting and running of the current application of the electronic equipment;
the model building module is used for building the associated calling model of each application family;
the verification module is used for verifying whether the application calling information contains invalid calling component information aiming at the current application or not based on the associated calling model corresponding to the current application;
and the first control module is used for controlling the corresponding invalid calling component to stop running when the verification result of the verification module is positive.
Preferably, the model building module includes:
the information recording unit is used for recording the calling information of each application in the same application family to other application components during the starting and running periods;
the verifying unit is used for verifying whether the called application component is valid for the corresponding calling application or not based on the calling information;
and the construction unit is used for establishing the associated calling model of the application family according to the verification result obtained by the verification for multiple times.
Preferably, the electronic device further includes:
the information acquisition module is used for acquiring the identification information of the current application;
and the model determining module is used for determining the application family to which the current application belongs and the corresponding associated calling model based on the identification information.
Preferably, the application calling information includes: the verification module is specifically configured to verify whether the current called component is associated with the current calling function of the current application by using the called component information and the corresponding calling mode based on the associated calling model corresponding to the current application.
Preferably, the electronic device further includes:
and the second control module is used for controlling the effective calling component of the current application to stop running when the current application is detected to stop running.
Therefore, compared with the prior art, the application provides a control method and electronic equipment, when a user uses the electronic equipment to start and run a current application, after application calling information is detected, the application verifies whether the application calling information contains invalid calling component information aiming at the current application or not based on a pre-established associated calling model, so that a corresponding invalid calling component is controlled to stop running in time, and the technical problems that in the prior art, due to the fact that the invalid calling component is started automatically, resources such as electric quantity and flow of the electronic equipment are consumed, and running speed of the electronic equipment is delayed, and performance of the electronic equipment is affected are solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of a control method provided herein;
FIG. 2 is a flow chart of another embodiment of a control method provided herein;
fig. 3 is a schematic structural diagram of an embodiment of an electronic device provided in the present application;
FIG. 4 is a schematic structural diagram of another embodiment of an electronic device provided in the present application;
FIG. 5 is a schematic structural diagram of another embodiment of an electronic device provided in the present application;
fig. 6 is a schematic structural diagram of another embodiment of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Nowadays, in electronic devices such as android phones, with the increase of installed application programs, there is a phenomenon that applications are generally started without permission of a user, which will consume resources such as electric quantity and traffic of the phones, and will slow down the running speed of the phones, thereby affecting the experience of the users using the phones.
The mutual calling among the applications of the same application family is the most hidden and complicated self-starting mode, and when a user carries out online shopping, an online shopping safety guarantee component of the safety application of the same application family as the shopping application is usually triggered to start, so that the shopping safety of the user is guaranteed; when payment is carried out, corresponding payment application, short message and safety payment guarantee components of the safety application are triggered to start; when a user starts a map application to inquire a route, the System usually starts a Global Positioning System (GPS) of the electronic device by itself; when various social applications are used, an electronic device address book is started and read, a call is listened to, and the like.
However, the applicant finds that, when a user uses a certain application through an electronic device, besides triggering the start of other applications necessary for achieving a target function, some applications unrelated to the target function are also triggered, for example, when the user uses a certain social application to perform voice, the user often triggers the self-start of applications such as security management applications (a security center is usually installed on the electronic device to ensure the use security of the electronic device), game applications, videos or news and the like of the same application family of the social application, and pushes related information to the user, and the called applications unrelated to the implementation of voice communication occupy the flow and the running memory of the electronic device, so that the voice is not smooth enough, and the user experience is affected; moreover, since the user does not know that the applications are triggered by the social application to be started, the applications cannot be closed in time, and the user does not know where to close, the power consumption speed of the electronic device is increased, the endurance of the electronic device is affected, and the performance of the electronic device is reduced.
For the situation, the user can regularly and manually clean the useless application programs which are automatically started in the background, the operation is very complicated, and misoperation is caused due to the fact that the user cannot accurately judge which are invalid calling components of the current application, so that the normal work of the current application is influenced. Moreover, since the applications belonging to the same developer, i.e. family, are easily triggered by other applications in the same family to start themselves, this results in that other applications in the same family are always triggered continuously during the period of using the current application, which requires the user to continuously force the user to close useless applications, which is obviously not practical.
It should be noted that, the calling between applications is not limited to the calling between applications in the same family, and the applications in different families also have a problem of related calling, and the present application mainly deals with the problem of related calling between applications in the same family, and specifically, to improve the problem, the present application provides a control method and an electronic device, and when a user uses the electronic device to start and run a current application, and detects application calling information, the present application verifies whether the application calling information includes invalid calling component information for the current application based on a pre-established related calling model, so as to timely control a corresponding invalid calling component to stop running, thereby solving the problems of consumption of resources such as electric quantity and flow of the electronic device by the invalid calling component and the delay of the running speed of the electronic device in the prior art, and the performance of the electronic equipment is influenced.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
As shown in fig. 1, a flowchart of an embodiment of a control method provided in the present application is shown, where the control method may be applied to an electronic device, such as a mobile phone, a notebook, an ipad, and the like, and the present application is not particularly limited to this, and in practical application of the present embodiment, the control method may include the following steps:
step S11: during the electronic equipment starting and running the current application, the application calling information is detected.
Nowadays, many applications, such as various social software, video software, camera and art software, office software, various game software, and the like, are generally installed in electronic devices used by users, so that the lives of the users are richer, and the work is more convenient.
However, based on the above description, after a user starts a certain application, it will usually trigger multiple applications associated with the certain application to automatically start, so as to affect the performance of the electronic device, and in order to solve this problem, the present application may detect, when any application of the electronic device is started, whether application call information is generated by a system of the electronic device, where the application call information may be used to indicate component information of other applications called by the currently running application, that is, as long as the application call information is detected, it may be stated that the current application will trigger component start of at least one other application.
Optionally, in an actual application, the application invocation information may include invoked component information and a corresponding invocation manner thereof, but is not limited thereto, and the specific content included in the application invocation information may be determined according to an actual situation, and the detailed description of the application invocation information is omitted here. In addition, as for the mutual invocation and communication between the applications, reference can be made to the invocation and communication between the system applications such as the existing android system or the IOS, and the detailed description of the application is omitted here.
Step S12: verifying whether the application calling information contains invalid calling component information aiming at the current application or not based on a pre-established associated calling model corresponding to the current application, and if so, executing step S13; if not, the process returns to step S11.
In this embodiment, the mutual calling relationship between the applications installed on the electronic device may be summarized through multiple tests, for example, all the applications of a certain application family may be installed on the electronic device, for any application, a multiple-running mode is adopted, the calling information between the application family and other application components is monitored and recorded, and then, the recorded calling information between the applications of the application family is analyzed, so as to sort out the associated calling mode between the applications of the application family, specifically, when the current application is started, whether the application component is valid for the current application may be determined in a mode of forcibly stopping or uninstalling some other application component; of course, it is also possible to directly verify whether the called application component is valid for the corresponding calling application according to the recorded calling information, and after multiple verifications, establish the associated calling model of the application family according to the verification result.
Therefore, the established associated calling model of any application family can represent valid calling and invalid calling between the applications and the components of the corresponding application family, so that the electronic equipment system is indicated to control the running called invalid application components.
Based on this, in the practical application, after the application calling information is detected, the related calling model of the corresponding application family can be queried by using the called component information and the corresponding calling mode thereof to determine whether the current called component is an invalid calling component, that is, whether the current called component is related to the current calling function of the current application is verified, if so, it is indicated that the current called component is the valid calling component of the current application at this moment, otherwise, it is indicated that the current called component is the invalid calling component of the current application at this moment, and the current application does not need the current called component.
It should be noted that the construction method of the associated call model related to the application family is not limited to the above-mentioned method, and the specific verification method for verifying whether the detected application call information includes the invalid call component for the current application is different according to the different output methods of the constructed associated call model, and may be determined according to the actual situation, and the present application is not listed herein.
Step S13: and controlling the corresponding invalid calling component to stop running.
It should be noted that, the corresponding invalid call component in the step S13 is the invalid call component corresponding to the invalid call information verified in the step S12 and obtained for the current application.
In summary, in this embodiment, when the user uses the electronic device to start and run the current application, and after detecting the application call information, the application verifies that the application call information includes invalid call component information for the current application based on the pre-established associated call model, so as to timely control all invalid call components triggered to start by the current application to stop running, thereby solving the technical problem that in the prior art, the performance of the electronic device is affected due to unnecessary consumption of the invalid call components on the electric quantity, the flow rate, and the like of the electronic device and delay of the running speed of the electronic device.
Moreover, the control method of the embodiment realizes automatic stop of the invalid calling component, does not need a user to frequently stop the called components one by hand, is simple to operate, and avoids the technical problem that the current application cannot normally run due to misoperation of the valid calling component.
As shown in fig. 2, which is a flowchart of another embodiment of a control method provided in the present application, the control method may be applied to electronic devices such as a mobile phone, a notebook, and an ipad, and in practical application, the control method may specifically include the following steps:
step S21: during the electronic equipment starting and running the current application, the application calling information is detected.
As can be seen from the above analysis, in practical applications of electronic devices, other applications or components are usually required to assist in normal operations of any application, so that, in order to ensure normal and reliable operations of any application of the electronic device, other applications or components of the application are often required to be invoked during startup or during operation after startup of the application.
It can be seen that the association call between applications is a common phenomenon in the current application use process, and in order to timely clear applications or application components irrelevant to the operation of the current applications to improve the performance of the electronic equipment, the application call information appearing in the electronic equipment system can be detected in real time, and the specific content contained in the application call information is not limited by the application call information.
Step S22: and acquiring the identification information of the current application.
In this embodiment, the identification information may be used to characterize the application family to which the current application belongs, i.e. to determine the developer of the current application, so the identification information may include, but is not limited to, an identifier of the developer of the current application.
Step S23: and determining the application family to which the current application belongs and the corresponding associated calling model based on the acquired identification information.
In practical applications, different application families usually have unique identifiers, and each application of the application family has the unique identifier, so that the application can determine the application family to which the current application belongs. Based on the description of the corresponding part of the above embodiment, in order to accurately and timely determine the invalid calling components of the current application and stop the operation of the invalid calling components, the application pre-constructs a corresponding associated calling model for each application family, which includes all reasonable calls and unreasonable calls of each application of the application family, so that after the application family to which the current application belongs is determined, the associated calling model corresponding to the application family is also obtained in order to achieve the above purpose.
The present application does not limit the output mode or the expression form of the related call model of each application family.
Step S24: verifying whether the current called component is associated with the current calling function of the current application or not based on the determined associated calling model and the application calling information, and if so, returning to the step S21; if not, the process proceeds to step S25.
In this embodiment, the detected application calling information may include called component information, a calling manner corresponding to the called component information, and the like, and the pre-constructed associated calling model may show reasonable associated calls and unreasonable associated calls of each application, that is, may show valid calling components and invalid calling components when each component of the application implements its function.
Optionally, the associated calling model of each application family may include a name of its application family, a calling application package name, a called application or its component package name, and a corresponding calling manner, calling frequency, and the like, which are not specifically limited in this application.
Based on the above description, after the application calling information is detected, the application can query the associated calling model of the corresponding application family by using the called component information contained in the application calling information and the corresponding calling mode thereof, and obtain the matching result matched with the application calling information. Optionally, the matching result may include, but is not limited to, a caller package name, a callee package name, a calling manner, a calling function, and whether the caller calls the callee rationally (i.e., whether the caller is a valid calling component), and the like.
Therefore, according to the matching result obtained by matching the associated calling model, whether the called component is associated with the current calling function to be realized by the current application or not in the running process of starting the current application and/or the current application is known, that is, for the current calling function to be realized by the current application at the moment, the called component is an effective calling component or an invalid calling component, so as to perform subsequent control according to the result.
Step S25: and controlling the current calling component which is irrelevant to the current calling function of the current application to stop running.
In the actual application, in different stages of the current application, when a user uses the current application to realize different functions, the applications or the components thereof to be called are different, and meanwhile, the invalid calling components called by the current application may also be different, which is not limited in the present application.
In summary, in the practical application of this embodiment, during the process that a user starts any application of the electronic device and the application runs, the application call information generated by the start or running of the application is detected, and then the associated call model of the application family to which the application belongs is determined by obtaining the identification information of the application, so that invalid call components that are automatically started due to the start or running of the application are determined based on the associated call model and the application call information, and the invalid call components are controlled to automatically stop running in time, without manual cleaning by the user, which is simple and convenient, and adverse effects on the performance of the electronic device caused by consumption of resources such as electric quantity and flow of the electronic device by the invalid call components and delay of the running speed of the electronic device are avoided.
Step S26: and when detecting that the current application stops running, controlling the effective calling component of the current application to stop running.
In practical application, in order to further improve the performance of the electronic device, when determining that the current application stops operating, the method and the device stop the operation of all application components started by the current application, that is, except for being capable of timely cleaning invalid calling components irrelevant to the functions realized by the current application, the method and the device can also stop the operation of the valid calling components of the current application when closing the current application, so that the performance of the electronic device is ensured.
As shown in fig. 3, for a schematic structural diagram of an embodiment of an electronic device provided in the present application, the electronic device may include:
the detecting module 31 is configured to detect application invocation information during a period when the electronic device starts and runs a current application.
In practical applications of electronic devices, when a user starts any application installed by the user, assistance of other application components is generally required to ensure normal and reliable starting of the application, and when the user triggers a certain component to implement a corresponding function during running of the application, assistance of other application components is generally required to achieve the function.
It can be seen that during the starting and running of the current application of the electronic device, the starting of other application components is triggered to assist the normal operation of the current application, however, during this period, the current application also generally triggers the self-starting of application components belonging to the same application family, which are irrelevant to the implementation of the functions thereof, thereby affecting the performance of the electronic device. In order to solve the problem, the application call information generated by the electronic device may be detected in real time, where the application call information may include called component information and a corresponding call mode thereof, and the application is not limited specifically herein.
And the model building module 32 is used for building the associated calling model of each application family.
The application family includes various applications developed by the same developer, that is, the developers of the applications belonging to the same application family are the same, and the specific reference content of the application family and the types of the applications included in the specific reference content are not limited in the present application.
Alternatively, in the present application, as shown in fig. 4, the model building module 32 may include:
the information recording unit 321 is configured to record call information of each application in the same application family to other application components during startup and running.
In the practical application of the embodiment, when any application of a certain application family is started, the calling information of other self-started application components can be monitored and recorded; similarly, during the running of the application, the functions of the application are triggered in sequence to monitor and record the call information of other application components which are self-started due to the realization of the functions. It should be noted that, the manner of the association call between the monitoring applications is not limited to the manner described above, and may be determined according to practical situations, and this is not listed here.
And a verifying unit 322, configured to verify whether the called application component is valid for the corresponding calling application based on the recorded calling information.
In practical application, when any application of a certain application family needs to be started, whether the application component is necessary for starting the application or not can be verified in a mode of sequentially uninstalling the called application components, namely whether the application component is an effective application component for starting the application or not is verified; similarly, when a certain function is implemented by the application, whether the application component is a valid application component for the application to implement the function may also be verified in a manner of sequentially uninstalling or decommissioning the invoked application components. It should be noted that the verification method for verifying whether the called component is valid for the corresponding calling application is not limited to the above-listed method, and can be determined by the skilled person according to the technical requirements or experience, and the detailed description of the present application is omitted here.
The building unit 323 is configured to build an associated calling model of the application family according to the verification result obtained by the multiple times of verification.
In order to ensure the accuracy of the constructed associated calling model, the method can carry out verification for multiple times according to the mode, and then establish the associated calling model of the corresponding application family according to the verification result. Optionally, the application may analyze the association call relationship between the applications in the application family based on the verification result, so as to obtain a corresponding relational expression or a corresponding relational table, and the like, which is used as the association call model of the application family.
The verification module 33 is configured to verify whether the application calling information includes invalid calling component information for the current application based on the associated calling model corresponding to the current application.
Based on the description of the corresponding part of the method embodiment, the constructed associated call model can show reasonable calls and unreasonable calls among applications in an application family, that is, the associated call model can show invalid call components and valid call components which trigger starting of the applications during the starting and running periods of the applications.
Therefore, after determining that the application calling information generated by the current application is detected at this time, the embodiment may determine which of the called components is the valid calling component and which is the invalid calling component by querying the associated calling model corresponding to the current application, and the specific query method may be determined according to the output form of the associated calling model, which is not limited in the present application.
Optionally, when the application calling information may include called information and a calling manner corresponding to the called information, the verification module 33 may be specifically configured to verify whether the current called component is associated with the current calling function of the current application by using the called component information and the calling manner corresponding to the called component based on the associated calling model corresponding to the current application.
And the first control module 34 is used for controlling the corresponding invalid calling component to stop running when the verification result of the verification module is yes.
The corresponding invalid call component may be an invalid call component corresponding to the invalid call information for the current application determined by the verification module 33.
In summary, the application calling information generated during the period that the user uses the electronic device to start and operate the current application is detected in real time through the detection module, and the verification module verifies the invalid calling component information aiming at the current application contained in the application calling information based on the pre-established associated calling model corresponding to the current application, so that the corresponding invalid calling component is controlled to stop operating in time, and the technical problem that the performance of the electronic device is influenced due to unnecessary consumption of the invalid calling component on the electric quantity, the flow and the like of the electronic device and delay of the operation speed of the electronic device in the prior art is solved.
Moreover, the electronic device of the embodiment adopts the control mode to realize automatic stop of the invalid calling component, and the called components do not need to be manually and frequently stopped one by a user, so that the operation is simple, and the technical problem that the current application cannot normally run due to misoperation of the valid calling component is avoided.
Optionally, as shown in fig. 5, on the basis of the foregoing embodiment, the electronic device may further include:
and an information obtaining module 35, configured to obtain identification information of the current application.
The identification information may be an identifier that characterizes an application family to which the current application belongs, i.e., a developer, and specific content included in the identification information is not limited in the present application.
And a model determining module 36, configured to determine, based on the identification information, an application family to which the current application belongs and a corresponding associated calling model.
In practical application, after the model determining module 36 determines the application family to which the current application belongs, the verifying module can accurately obtain the associated calling model corresponding to the current application, which is established by the model establishing module 32, that is, the associated calling model of the application family to which the current application belongs, so as to perform subsequent operations accordingly.
As another embodiment of the present application, as shown in fig. 6, in addition to the above embodiments, the electronic device may further include:
and a second control module 37, configured to control the active call component of the current application to stop running when detecting that the current application stops running.
Based on the above description, it can be known that when the current application is closed, the second control module is used for timely closing other application components which are self-started due to the current application, so that the technical effect of further improving the performance of the electronic equipment is achieved.
Finally, it should be noted that, in the embodiments, relational terms such as first, second and the like may be used solely to distinguish one operation, unit or module from another operation, unit or module without necessarily requiring or implying any actual such relationship or order between such units, operations or modules. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or system that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the electronic equipment disclosed by the embodiment, the method disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A control method is applied to an electronic device, and the method comprises the following steps:
detecting application calling information during the starting and running of the current application of the electronic equipment;
verifying whether the application calling information contains invalid calling component information aiming at the current application or not based on a pre-established associated calling model corresponding to the current application; the associated call model can represent valid calls and invalid calls between the applications and the components thereof of the corresponding application family;
when the application calling information contains invalid calling component information aiming at the current application, controlling the corresponding invalid calling component to stop running;
the relevant calling model is built according to the following modes:
the method comprises the steps that the electronic equipment is enabled to install the application of an application family, and calling information between the electronic equipment and other application components is monitored and recorded in a multi-running mode for any application; analyzing the recorded calling information among the applications of the application family, and sorting out the associated calling model among the applications of the application family; or the like, or, alternatively,
recording calling information of each application in the same application family to other application components during starting and running; verifying whether the called application component is valid for the corresponding calling application based on the calling information; and establishing an associated calling model of the application family according to the verification result obtained by the verification for multiple times.
2. The method of claim 1, wherein after the detecting application invocation information, the method further comprises:
acquiring identification information of the current application;
and determining the application family to which the current application belongs and the corresponding associated calling model thereof based on the identification information.
3. The method of claim 1, wherein the application invocation information comprises: the verifying whether the application calling information contains invalid calling component information for the current application comprises:
and verifying whether the current called component is associated with the current calling function of the current application or not by utilizing the called component information and the corresponding calling mode.
4. The method according to any one of claims 1-3, further comprising:
and when the current application is detected to stop running, controlling the effective calling component of the current application to stop running.
5. An electronic device, characterized in that the electronic device comprises:
the detection module is used for detecting application calling information during the starting and running of the current application of the electronic equipment;
the model building module is used for building the associated calling model of each application family; the associated call model can represent valid calls and invalid calls between the applications and the components thereof of the corresponding application family;
the verification module is used for verifying whether the application calling information contains invalid calling component information aiming at the current application or not based on the associated calling model corresponding to the current application;
the first control module is used for controlling the corresponding invalid calling component to stop running when the verification result of the verification module is positive;
the model building module is used for building the association calling model according to the following modes:
the method comprises the steps that the electronic equipment is enabled to install the application of an application family, and calling information between the electronic equipment and other application components is monitored and recorded in a multi-running mode for any application; analyzing the recorded calling information among the applications of the application family, and sorting out the associated calling model among the applications of the application family; or the like, or, alternatively,
recording calling information of each application in the same application family to other application components during starting and running; verifying whether the called application component is valid for the corresponding calling application based on the calling information; and establishing an associated calling model of the application family according to the verification result obtained by the verification for multiple times.
6. The electronic device of claim 5, further comprising:
the information acquisition module is used for acquiring the identification information of the current application;
and the model determining module is used for determining the application family to which the current application belongs and the corresponding associated calling model based on the identification information.
7. The electronic device of claim 5, wherein the application invocation information comprises: the verification module is specifically configured to verify whether the current called component is associated with the current calling function of the current application by using the called component information and the corresponding calling mode based on the associated calling model corresponding to the current application.
8. The electronic device of any of claims 5-7, further comprising:
and the second control module is used for controlling the effective calling component of the current application to stop running when the current application is detected to stop running.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610200367.7A CN105893132B (en) | 2016-03-31 | 2016-03-31 | Control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610200367.7A CN105893132B (en) | 2016-03-31 | 2016-03-31 | Control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105893132A CN105893132A (en) | 2016-08-24 |
CN105893132B true CN105893132B (en) | 2020-07-24 |
Family
ID=57013340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610200367.7A Active CN105893132B (en) | 2016-03-31 | 2016-03-31 | Control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893132B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947497B (en) * | 2017-12-20 | 2021-06-08 | Oppo广东移动通信有限公司 | Application preloading method, device, storage medium and mobile terminal |
CN109947498B (en) * | 2017-12-20 | 2021-06-29 | Oppo广东移动通信有限公司 | Application preloading method, device, storage medium and mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103946799A (en) * | 2011-10-24 | 2014-07-23 | 赛门铁克公司 | Automatically performing operations on applications based on dependencies on other applications |
CN104462980A (en) * | 2014-12-30 | 2015-03-25 | 北京奇虎科技有限公司 | Authority management method, device and system of application programs and mobile terminal |
CN105159771A (en) * | 2015-09-21 | 2015-12-16 | 北京奇虎科技有限公司 | Method and apparatus for processing inter-application chain type start |
CN105446811A (en) * | 2015-12-30 | 2016-03-30 | 广东欧珀移动通信有限公司 | Application process associated starting method and associated starting apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5786730B2 (en) * | 2012-01-24 | 2015-09-30 | 富士通株式会社 | Information processing apparatus control method, information processing apparatus control program, and information processing apparatus |
-
2016
- 2016-03-31 CN CN201610200367.7A patent/CN105893132B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103946799A (en) * | 2011-10-24 | 2014-07-23 | 赛门铁克公司 | Automatically performing operations on applications based on dependencies on other applications |
CN104462980A (en) * | 2014-12-30 | 2015-03-25 | 北京奇虎科技有限公司 | Authority management method, device and system of application programs and mobile terminal |
CN105159771A (en) * | 2015-09-21 | 2015-12-16 | 北京奇虎科技有限公司 | Method and apparatus for processing inter-application chain type start |
CN105446811A (en) * | 2015-12-30 | 2016-03-30 | 广东欧珀移动通信有限公司 | Application process associated starting method and associated starting apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105893132A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101194141B1 (en) | Providing event-controlled continuous logging for a mobile operating environment | |
CN102831045B (en) | Method and device for detecting starting items in terminal equipment | |
CN105677477B (en) | Method and device for optimizing application program resources and electronic equipment | |
US9674063B2 (en) | Managing data usage of a computing device | |
US10135923B2 (en) | Data transfer method and system | |
CN103596246B (en) | Recover the method and terminal of data service | |
WO2015183809A1 (en) | Method and apparatus of prompting an update of an application | |
US20160349962A1 (en) | Method and apparatus for starting an application in a screen-locked state | |
CN105549718A (en) | Method and device for optimizing power consumption of application program and electronic equipment | |
CN103401845B (en) | A kind of detection method of website safety, device | |
CN107395386A (en) | A kind of method and system, gateway device for controlling intelligent terminal | |
CN105264456A (en) | sports fence | |
CN104038632A (en) | Method and device for managing intelligent terminal | |
CN106790895A (en) | A kind of fault handling method and device | |
CN105704758A (en) | A method and device for closing social application programs based on traffic monitoring | |
KR101941761B1 (en) | Method, device and mobile terminal for reducing power consumption | |
CN105827804A (en) | Control method and device of mobile terminal | |
CN105893132B (en) | Control method and electronic equipment | |
CN106020426B (en) | Method and device for releasing wake-up lock | |
CN102622254B (en) | Television outage disposal route and system | |
CN105787302B (en) | A kind of processing method of application program, device and electronic equipment | |
CN113542256A (en) | Method, device, equipment and storage medium for updating login credentials in client | |
CN107547742B (en) | Wake-up lock release method and device for mobile terminal | |
CN112822092B (en) | Message reminding method and device and computer readable storage medium | |
CN115408695A (en) | Attack detection method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |