CN109101289B - Data processing method and device for terminal equipment - Google Patents

Data processing method and device for terminal equipment Download PDF

Info

Publication number
CN109101289B
CN109101289B CN201810644797.7A CN201810644797A CN109101289B CN 109101289 B CN109101289 B CN 109101289B CN 201810644797 A CN201810644797 A CN 201810644797A CN 109101289 B CN109101289 B CN 109101289B
Authority
CN
China
Prior art keywords
application program
application
interface
return
attribute
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
Application number
CN201810644797.7A
Other languages
Chinese (zh)
Other versions
CN109101289A (en
Inventor
庄广海
姜泽虎
于文钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201810644797.7A priority Critical patent/CN109101289B/en
Publication of CN109101289A publication Critical patent/CN109101289A/en
Application granted granted Critical
Publication of CN109101289B publication Critical patent/CN109101289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The embodiment of the invention provides a data processing method and a data processing device of terminal equipment, wherein the method comprises the following steps: when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner, the terminal equipment removes a first Task corresponding to the first application program; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program; the terminal equipment assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute; and when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is the return application attribute, the terminal equipment responds to the return instruction and returns to the second interface of the second application program, so that the problem of locking failure aiming at the application program is avoided, and the safety of the application program is improved.

Description

Data processing method and device for terminal equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method and a data processing apparatus for a terminal device.
Background
In the existing terminal device, some applications are locked with respect to the applications, that is, the application interface to be used by the user is covered by the third interface under some conditions, and the user needs to perform certain operations to continue using the application. For example, an application lock, the user may not be able to use the application, or some modules of the application, properly without entering the password. If the upgrade is forced, if an important upgrade version is released, the upgrade application can display an upgrade interface and can be used only after a user executes upgrade operation, and cannot be used without upgrade. These occlusion interfaces are typically managed solely by one application; and temporarily, the application program of the occlusion interface is called a locking application program.
Because the locking application program and the locked application program are not in the same process, the interface of the locking application program (hereinafter referred to as locking interface) is above the locked application interface, and the control is relatively complicated. On one hand, if the user does not perform specified operations such as unlocking or upgrading and the like on the locking interface, the user is not allowed to use the locked application program; on the other hand, if the user directly presses the return key on the locking interface, the user returns to the locked application interface according to the return logic of the Android system, and the user can normally use the locked application program. This creates a contradiction: corresponding to a locking failure.
Disclosure of Invention
The embodiment of the invention provides a data processing method of a terminal device and a corresponding data processing device of the terminal device, and aims to solve the problem that when a locking interface is positioned on a locked application interface, if a user presses a return key on the locking interface, the locking interface returns to the locked application interface, and locking is invalid.
In order to solve the above problems, an embodiment of the present invention discloses a data processing method for a terminal device, where the terminal device is installed with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset Application Programming Interface (API); the method comprises the following steps:
when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner, the terminal equipment removes a first Task corresponding to the first application program; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program;
the terminal equipment assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute;
and when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is the return application attribute, the terminal equipment returns to the second interface of the second application program in response to the return instruction.
Preferably, the third application comprises a locking application or an upgrading application; the third interface comprises a locking interface corresponding to the locking application program or an upgrading interface corresponding to the upgrading application program.
Preferably, the first application comprises an application launched in a system main interface; the return attribute comprises a return system main interface attribute; the method further comprises the following steps:
and when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is a return system main interface attribute, the terminal equipment responds to the return instruction and returns to the system main interface.
Preferably, when the third interface of the third application is displayed overlaid on the first interface of the first application; before the step of removing the first Task corresponding to the first application program, the terminal device further includes:
and the terminal equipment judges whether the third interface is displayed on the first interface in an overlaying manner.
Preferably, the terminal device comprises one or more preset locking package name data; the step of judging whether to display the third interface on the first interface in an overlaying manner by the terminal equipment comprises the following steps:
the terminal equipment acquires first package name data of the first application program;
the terminal equipment matches the first package name data with the one or more locked package name data;
and when the first package name data is matched with the locked package name data, the terminal equipment displays the third interface on the first interface in an overlaying mode.
Preferably, the step of acquiring, by the terminal device, the first package name data of the first application program includes:
the terminal equipment monitors the Task of the running application program;
the terminal equipment acquires the Activity of the Activity component at the stack top in the Task;
the terminal equipment determines the application program corresponding to the Activity as a first application program;
the terminal device obtains first package name data of the first application program.
The embodiment of the invention also discloses a data processing device of the terminal equipment, wherein the terminal equipment is provided with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset Application Programming Interface (API); the device comprises:
the first Task clearing module is used for clearing the first Task corresponding to the first application program by the terminal equipment when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program;
the assignment module is used for assigning the return attribute to a third Task corresponding to the third application program by the terminal equipment; wherein the return attribute comprises a return application attribute;
and the first return module is used for responding the return instruction to return to the second interface of the second application program by the terminal equipment when the terminal equipment receives the return instruction aiming at the third application program and the return attribute is the return application attribute.
Preferably, the third application comprises a locking application or an upgrading application; the third interface comprises a locking interface corresponding to the locking application program or an upgrading interface corresponding to the upgrading application program.
Preferably, the first application comprises an application launched in a system main interface; the return attribute comprises a return system main interface attribute; the device further comprises:
and the second returning module is used for responding the returning instruction to return to the system main interface by the terminal equipment when the terminal equipment receives the returning instruction aiming at the third application program and the returning attribute is the attribute of the returning system main interface.
The embodiment of the invention discloses electronic equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the steps of data processing.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the terminal equipment is provided with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset API; when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying mode; the terminal equipment removes a first Task corresponding to the first application program; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program; the terminal equipment assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute; when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is a return application attribute, the terminal equipment returns to a second interface of the second application program in response to the return instruction; the interface control method of the application program is realized, the problem of locking failure of the application program is avoided, and the safety of the application program is improved; meanwhile, a forced upgrading request for upgrading the application program can be avoided, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts;
fig. 1 is a flowchart of a first step of a data processing method of a terminal device according to a first embodiment of the present invention;
fig. 2 is a flowchart of steps of a second embodiment of a data processing method of a terminal device according to the present invention;
fig. 3 is a block diagram of an embodiment of a data processing apparatus of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects solved by the embodiments of the present invention more clearly apparent, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, a flowchart illustrating a first step of a data processing method of a terminal device according to an embodiment of the present invention is shown, where the terminal device is installed with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second Application program comprises a preset API (Application Programming Interface); the method specifically comprises the following steps:
101, when a third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner; the terminal equipment clears a first Task corresponding to the first application program; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program;
in a specific implementation, the embodiments of the present invention may be applied to a terminal device, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, and the like), and the like.
In the embodiment of the present invention, the operating system of the terminal device may include an Android (Android), and an Android-based improved system, such as a Vidaa system of a smart television, which is not limited in this embodiment of the present invention.
In the embodiment of the present invention, a terminal device may be installed with a plurality of application programs, where the plurality of application programs include a first application program, a second application program, and a third application program; it should be noted that the third application program may be a locking application program for locking an application program on a locking list, and a user needs to input an unlocking password to continue using the locked application program and display a locking interface on the first interface of the locked application program in an overlaying manner; in addition, the third application program may also be an upgrade application program, and when the terminal device receives an upgrade request from the server, the upgrade application program is run to display an upgrade interface on the display device of the terminal device, that is, the upgrade interface is displayed on the first interface of the upgraded application program in an overlaying manner.
Further, the second Application includes a preset API (Application Programming Interface), which is some predefined functions for providing the Application and developer with the ability to access a set of routines based on a certain Application or hardware without accessing source code; the preset API of the second application program can be packaged with the package name and the class name of the first application program; therefore, the first application program can be started from the second application program, namely, the jump instruction is received in the second interface of the second application program, and the preset API is called to start the first application program.
In the Android system, the tasks are a stack structure with last-in first-out characteristics, each Task has a return attribute which determines an application interface returned by the current application program when a return instruction is received, and the application interface is used for storing Activity (Activity component). For example, Activity1- > Activity2- > Activity3, the task is a stack structure containing the three activities; each time a new Activity is opened or the current Activity is exited, an Activity is added or reduced in the structure of a Task, so that a Task contains a collection of activities, the Android system can orderly manage each Activity through the Task, and the user can interact with the activities only at the top of the Task stack.
In a specific example of the embodiment of the present invention, if the first application is an application that needs to be locked, the terminal device monitors a Task of the running application; acquiring package name data of a first application program corresponding to Activity on the stack top, comparing the package name data with preset locking package name data, and if the locking package name data contains the package name data of the first application program, indicating that the first application program needs to be locked; overlaying and displaying a third interface of a third application program on the first interface of the first application program; when the third application program is a locking application program, the locking interface is displayed on the first interface of the first application program in an overlaying mode.
It should be noted that the third application program may also include other application programs such as an upgrade application program; specifically, the third application program may include a plurality of application programs of different categories, for example, system security, social communication, audio and video viewing, photography and shooting, news reading, convenience of life, traffic navigation, travel hotels, shopping offers, sports health, education and learning, and the embodiment of the present invention is not limited thereto.
Further, when a third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner; the terminal device may remove a first Task corresponding to the first application; it should be noted that, the first Task has a return attribute; the return attribute may include a return application attribute or a return system host interface attribute, etc.
102, the terminal device assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute;
further applied to the embodiment of the present invention, each running application will generate a corresponding Task; after the terminal device clears the first Task corresponding to the first application program, the terminal device may assign a return attribute of the first Task to a third Task corresponding to a third application program;
for example, the terminal device may assign the return attribute of the first Task to the Task of the locking application; it can also be assigned to the Task that upgrades the application; it can also be assigned to the Task of other applications; the embodiments of the present invention do not limit this.
Step 103, when the terminal device receives a return instruction for the third application program and the return attribute is a return application attribute, the terminal device returns to the second interface of the second application program in response to the return instruction.
In particular, the return attribute may include a return application attribute or a return system main interface attribute; for example, if the return attribute of the Task of the application is "return application attribute", it represents that the application a is started from the application B, and at this time, the application a should return to the application B if the application a exits (i.e., receives a return instruction when the current interface of the application a); if the return attribute of the Task of the application program is the return system main interface attribute, the user should return to the system main interface when pressing the return key in the current application interface.
In the embodiment of the invention, because the return attribute of the first Task is already assigned to the third Task corresponding to the third application program, and the first Task corresponding to the first application program is already cleared, the first application program is started from the second application program; the interface currently displayed by the terminal equipment is a third interface; and when the terminal equipment receives a return instruction of a third interface of the third application program and the return attribute of the third Task is a return application attribute, the terminal equipment returns to the second interface of the second application program in response to the return instruction.
In the embodiment of the invention, the terminal equipment is provided with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset API; when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying mode; the terminal equipment removes a first Task corresponding to the first application program; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program; the terminal equipment assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute; when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is a return application attribute, the terminal equipment returns to a second interface of the second application program in response to the return instruction; the interface control method of the application program is realized, the problem of locking failure of the application program is avoided, and the safety of the application program is improved; meanwhile, a forced upgrading request for upgrading the application program can be avoided, and user experience is improved.
Referring to fig. 2, a flowchart illustrating a second step of a data processing method of a terminal device according to an embodiment of the present invention is shown, where the terminal device is installed with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset API; the method specifically comprises the following steps:
step 201, the terminal device determines whether to display the third interface on the first interface in an overlaying manner;
in the embodiment of the invention, a plurality of application programs, such as a first application program, a second application program and a third application program, are installed on the terminal equipment; the third application program comprises a locking application program or an upgrading application program; the third interface comprises a locking interface corresponding to the locking application program or an upgrading interface corresponding to the upgrading application program.
When the current interface of the terminal device is the first interface of the first application program (that is, the Activity on the stack top is the Activity corresponding to the first application program), the terminal device may determine whether to display the third interface on the first interface in an overlaying manner; namely, when the first application program is the application program needing to be locked, the terminal equipment displays the third interface on the first interface in an overlaying mode.
In a preferred embodiment of the present invention, the terminal device includes one or more preset locked packet name data; the step that the terminal equipment judges whether to display the third interface on the first interface in an overlaying way comprises the following substeps:
in the substep S2011, the terminal device obtains first package name data of the first application program;
substep S2012, the terminal device matches the first packet name data with the one or more locked packet name data;
and a substep S2013, when the first package name data is matched with the locking package name data, the terminal equipment displays the third interface on the first interface in an overlaying manner.
Actually applied to the embodiment of the present invention, the terminal device matches the first package name data of the first application program with the preset locking package name data; it should be noted that the locking package name data is the package name data corresponding to the application program that needs to be locked; and when the first package name data is matched with the locking package name data, namely the first application program is the application program needing to be locked, overlaying and displaying the third interface on the first interface.
Specifically, the step of acquiring, by the terminal device, the first package name data of the first application program includes the following substeps:
substep S20111, the terminal device monitors the Task of the running application program;
substep S20112, the terminal equipment acquires the Activity of the stack top in the Task;
in the substep S20113, the terminal device determines the application program corresponding to the Activity as a first application program;
and in the substep S20114, the terminal device obtains the first packet name data of the first application program.
In the embodiment of the invention, the application program corresponding to the Activity at the top of the stack can be determined as the first application program; and further acquiring first package name data of the first application program.
In another preferred embodiment of the present invention, when the third interface is an upgrade interface for upgrading an application program, the upgrade request from the server may be used as a basis for judgment, that is, when the upgrade request is received, the terminal device displays the third interface on the first interface in an overlaid manner.
In addition, the third application program can also comprise a payment application program, the third interface can also comprise a payment interface of the payment application program, and when the first application program is a shopping application program and payment operation is needed, the payment interface is displayed on the first interface in an overlaying mode.
Step 202, when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner; the terminal equipment removes a first Task corresponding to the first application program; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program;
further, when a third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner; the terminal device may remove a first Task corresponding to the first application; it should be noted that, the first Task has a return attribute; the return attribute may include a return application attribute, a return system host interface attribute, and the like.
The preset API of the second application program can be packaged with the package name and the class name of the first application program; the first application program can be started from the second application program, namely, a jump instruction is received in a second interface of the second application program, and the preset API is called to start the first application program.
Step 203, the terminal device assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute;
further applied to the embodiment of the present invention, each running application will generate a corresponding Task; after the terminal device clears the first Task corresponding to the first application program, the terminal device may assign a return attribute of the first Task to a third Task corresponding to a third application program; wherein the return attribute comprises a return application attribute.
Step 204, when the terminal device receives a return instruction for the third application program and the return attribute is a return application attribute, the terminal device returns to the second interface of the second application program in response to the return instruction;
specifically, because the return attribute of the first Task has been assigned to the third Task corresponding to the third application, and the first Task corresponding to the first application has been removed; the interface currently displayed by the terminal equipment is a third interface; and when the terminal equipment receives a return instruction of a third interface of the third application program and the return attribute of the third Task is a return application attribute, the terminal equipment returns to the second interface of the second application program in response to the return instruction.
Step 205, when the terminal device receives a return instruction for the third application program and the return attribute is a return system main interface attribute, the terminal device returns to the system main interface in response to the return instruction.
Further applied to the embodiment of the present invention, the first application includes an application started in a system main interface; namely, the first application program can be an application program started in a system main interface; it should be noted that, when the return attribute of the application program started in the system main interface is the return system main interface attribute, that is, when the user clicks the return key, the current application program is returned to the system main interface, because the first Task corresponding to the first application program has been removed, the return is directly returned to the system main interface from the third interface of the third application program, so as to achieve the technical effect of locking the application program.
Specifically, when the terminal device receives a return instruction for the third application program and the return attribute is a return system main interface attribute, the terminal device returns to the system main interface in response to the return instruction.
In the embodiment of the present invention, the terminal device determines whether to display the third interface on the first interface in an overlaying manner; when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying mode; the terminal equipment removes a first Task corresponding to the first application program; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program; the terminal equipment assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute; when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is a return application attribute, the terminal equipment returns to a second interface of the second application program in response to the return instruction; when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is a return system main interface attribute, the terminal equipment responds to the return instruction and returns to a system main interface; the interface control method of the application program is realized, the problem of locking failure of the application program is avoided, and the safety of the application program is improved; meanwhile, a forced upgrading request for upgrading the application program can be avoided, user experience is improved, and operation convenience of a user is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of an embodiment of a data processing apparatus of a terminal device according to an embodiment of the present invention is shown, where the terminal device is installed with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset API; the method specifically comprises the following modules:
a first Task removing module 301, configured to, when a third interface of the third application is displayed in an overlaid manner on a first interface of the first application, remove, by the terminal device, a first Task corresponding to the first application; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program;
an assigning module 302, configured to assign the return attribute to a third Task corresponding to the third application program by the terminal device; wherein the return attribute comprises a return application attribute;
a first returning module 303, configured to, when the terminal device receives a return instruction for the third application program and the return attribute is a return application attribute, return, by the terminal device, to the second interface of the second application program in response to the return instruction.
Preferably, the third application comprises a locking application or an upgrading application; the third interface comprises a locking interface corresponding to the locking application program or an upgrading interface corresponding to the upgrading application program.
Preferably, the first application comprises an application launched in a system main interface; the return attribute comprises a return system main interface attribute; the device further comprises:
and the second returning module is used for responding the returning instruction to return to the system main interface by the terminal equipment when the terminal equipment receives the returning instruction aiming at the third application program and the returning attribute is the attribute of the returning system main interface.
Preferably, the module connected to the first Task cleaning module comprises:
and the judging module is used for judging whether the third interface is displayed on the first interface in a covering manner by the terminal equipment.
Preferably, the terminal device comprises one or more preset locking package name data; the judging module comprises:
the first package name data acquisition submodule is used for acquiring the first package name data of the first application program by the terminal equipment;
the matching submodule is used for matching the first package name data with the one or more locked package name data by the terminal equipment;
and the coverage display submodule is used for displaying the third interface on the first interface in a coverage manner by the terminal equipment when the first package name data is matched with the locked package name data.
Preferably, the first package name data obtaining sub-module includes:
the monitoring unit is used for monitoring the Task of the running application program by the terminal equipment;
an Activity obtaining unit, configured to obtain, by the terminal device, an Activity at the top of the stack in the Task;
a determining unit, configured to determine, by the terminal device, an application corresponding to the Activity as a first application;
and the first package name data acquisition unit is used for acquiring the first package name data of the first application program by the terminal equipment.
The embodiment of the invention also discloses electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps of data processing when executing the program.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of data processing when being executed by a processor.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification 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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data processing method of the terminal device and the data processing apparatus of the terminal device provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A data processing method of a terminal device is characterized in that the terminal device is provided with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset Application Programming Interface (API); the method comprises the following steps:
when the third interface of the third application program is displayed on the first interface of the first application program in an overlaying mode, the terminal equipment clears the first Task corresponding to the first application program in the tasks of the Android system; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program; the Task of the Android system is an Activity stack containing a plurality of Activities;
the terminal equipment assigns the return attribute to a third Task corresponding to the third application program; wherein the return attribute comprises a return application attribute;
and when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is the return application attribute, the terminal equipment returns to the second interface of the second application program in response to the return instruction.
2. The method of claim 1, wherein the third application comprises a locking application or an upgrading application; the third interface comprises a locking interface corresponding to the locking application program or an upgrading interface corresponding to the upgrading application program.
3. The method of claim 1 or 2, wherein the first application comprises an application launched in a system host interface; the return attribute comprises a return system main interface attribute; the method further comprises the following steps:
and when the terminal equipment receives a return instruction aiming at the third application program and the return attribute is a return system main interface attribute, the terminal equipment responds to the return instruction and returns to the system main interface.
4. The method of claim 1, wherein when the third interface overlay of the third application is displayed over the first interface overlay of the first application; before the step of removing the first Task corresponding to the first application program, the terminal device further includes:
and the terminal equipment judges whether the third interface is displayed on the first interface in an overlaying manner.
5. The method of claim 4, wherein the terminal device includes preset one or more locked package name data; the step of judging whether to display the third interface on the first interface in an overlaying manner by the terminal equipment comprises the following steps:
the terminal equipment acquires first package name data of the first application program;
the terminal equipment matches the first package name data with the one or more locked package name data;
and when the first package name data is matched with the locked package name data, the terminal equipment displays the third interface on the first interface in an overlaying mode.
6. The method according to claim 5, wherein the step of acquiring, by the terminal device, the first packet name data of the first application program comprises:
the terminal equipment monitors the Task of the running application program;
the terminal equipment acquires the Activity of the Activity component at the stack top in the Task;
the terminal equipment determines the application program corresponding to the Activity as a first application program;
the terminal device obtains first package name data of the first application program.
7. A data processing device of a terminal device is characterized in that the terminal device is provided with a plurality of application programs; the plurality of applications include a first application, a second application, and a third application; the second application program comprises a preset Application Programming Interface (API); the device comprises:
the first Task clearing module is used for clearing a first Task corresponding to the first application program in a Task of an Android system by the terminal equipment when a third interface of the third application program is displayed on the first interface of the first application program in an overlaying manner; wherein the first Task has a return attribute; the first application program comprises an application program which is started by calling the preset API by the second application program; the Task of the Android system is an Activity stack containing a plurality of Activities;
the assignment module is used for assigning the return attribute to a third Task corresponding to the third application program by the terminal equipment; wherein the return attribute comprises a return application attribute;
and the first return module is used for responding the return instruction to return to the second interface of the second application program by the terminal equipment when the terminal equipment receives the return instruction aiming at the third application program and the return attribute is the return application attribute.
8. The apparatus of claim 7, wherein the third application comprises a locking application or an upgrading application; the third interface comprises a locking interface corresponding to the locking application program or an upgrading interface corresponding to the upgrading application program.
9. The apparatus of claim 7 or 8, wherein the first application comprises an application launched in a system host interface; the return attribute comprises a return system main interface attribute; the device further comprises:
and the second returning module is used for responding the returning instruction to return to the system main interface by the terminal equipment when the terminal equipment receives the returning instruction aiming at the third application program and the returning attribute is the attribute of the returning system main interface.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the data processing according to any of claims 1 to 6 when executing the program.
CN201810644797.7A 2018-06-21 2018-06-21 Data processing method and device for terminal equipment Active CN109101289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810644797.7A CN109101289B (en) 2018-06-21 2018-06-21 Data processing method and device for terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810644797.7A CN109101289B (en) 2018-06-21 2018-06-21 Data processing method and device for terminal equipment

Publications (2)

Publication Number Publication Date
CN109101289A CN109101289A (en) 2018-12-28
CN109101289B true CN109101289B (en) 2021-09-10

Family

ID=64845019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810644797.7A Active CN109101289B (en) 2018-06-21 2018-06-21 Data processing method and device for terminal equipment

Country Status (1)

Country Link
CN (1) CN109101289B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375836A (en) * 2014-11-19 2015-02-25 深圳市腾讯计算机系统有限公司 Method and device for showing lock screen window
US20150135105A1 (en) * 2013-11-08 2015-05-14 Samsung Electronics Co., Ltd. Interacting with an application
CN105472147A (en) * 2015-11-23 2016-04-06 努比亚技术有限公司 Application lock processing method based on eye print identification and apparatus thereof
US20160266724A1 (en) * 2015-03-13 2016-09-15 Rockwell Automation Technologies, Inc. In-context user feedback probe
CN106383637A (en) * 2016-11-02 2017-02-08 青岛海信移动通信技术股份有限公司 Screen locking method and device, and terminal equipment
CN106485107A (en) * 2016-09-19 2017-03-08 北京小米移动软件有限公司 Screen locking method and device
CN107608726A (en) * 2017-08-10 2018-01-19 珠海市君天电子科技有限公司 Monitoring method, device, electronic equipment and storage medium
CN107832113A (en) * 2017-10-26 2018-03-23 青岛海信移动通信技术股份有限公司 A kind of interface display method and device of android system application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150135105A1 (en) * 2013-11-08 2015-05-14 Samsung Electronics Co., Ltd. Interacting with an application
CN104375836A (en) * 2014-11-19 2015-02-25 深圳市腾讯计算机系统有限公司 Method and device for showing lock screen window
US20160266724A1 (en) * 2015-03-13 2016-09-15 Rockwell Automation Technologies, Inc. In-context user feedback probe
CN105472147A (en) * 2015-11-23 2016-04-06 努比亚技术有限公司 Application lock processing method based on eye print identification and apparatus thereof
CN106485107A (en) * 2016-09-19 2017-03-08 北京小米移动软件有限公司 Screen locking method and device
CN106383637A (en) * 2016-11-02 2017-02-08 青岛海信移动通信技术股份有限公司 Screen locking method and device, and terminal equipment
CN107608726A (en) * 2017-08-10 2018-01-19 珠海市君天电子科技有限公司 Monitoring method, device, electronic equipment and storage medium
CN107832113A (en) * 2017-10-26 2018-03-23 青岛海信移动通信技术股份有限公司 A kind of interface display method and device of android system application program

Also Published As

Publication number Publication date
CN109101289A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN105843650B (en) Application program management method and device in intelligent terminal
CN110673964A (en) Audio playing control method and device of vehicle-mounted system
US10248547B2 (en) Coverage of call graphs based on paths and sequences
CN110704202B (en) Multimedia recording data sharing method and terminal equipment
US10262157B2 (en) Application recommendation based on permissions
EP3021250B1 (en) Electronic device and method for suggesting response manual in occurrence of denial
CN106685894B (en) Risk identification method, device and system
US20180144108A1 (en) License management system and license management method
CN105898383A (en) Bandwidth allocation method and system
CN105786539B (en) File downloading method and device
US20190020731A1 (en) Providing application versions via delta volumes
CN106095605B (en) A kind of abnormality eliminating method and device of display terminal
CN109569214B (en) Application display method and device in split screen mode and display equipment
CN109101289B (en) Data processing method and device for terminal equipment
CN110569114B (en) Service processing method, device, equipment and storage medium
CN109976790B (en) Application updating method, device, terminal and storage medium
WO2017036551A1 (en) Image display device with automatic memory unit capacity management function
CN109034808B (en) Operation method and device of payment application program and terminal equipment
CN109981873B (en) Address book permission opening method and device and electronic equipment
CN112905072B (en) Application processing method and device and electronic equipment
CN114816482A (en) Method and device for upgrading block storage service, computer equipment and storage medium
CN108363582B (en) Method and device for upgrading homepage of intelligent terminal
CN114643835A (en) Fragrance adjusting method and device based on nose information, electronic equipment and storage medium
CN111443907A (en) Method and device for calling SDK function
CN107958414B (en) Method and system for eliminating long transactions of CICS (common integrated circuit chip) system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266100, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant