CN107436802B - Control method, system, medium and computing device for application program - Google Patents
Control method, system, medium and computing device for application program Download PDFInfo
- Publication number
- CN107436802B CN107436802B CN201710747134.3A CN201710747134A CN107436802B CN 107436802 B CN107436802 B CN 107436802B CN 201710747134 A CN201710747134 A CN 201710747134A CN 107436802 B CN107436802 B CN 107436802B
- Authority
- CN
- China
- Prior art keywords
- application program
- application
- interface
- display state
- starting interface
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/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)
- User Interface Of Digital Computer (AREA)
Abstract
An embodiment of the present invention provides a control method for an application program, including: acquiring a call request of a first application program to a second application program, wherein the call request is used for indicating that a preset function of the second application program is started in the first application program; responding to the call request to start a preset function of a second application program in the first application program, wherein the second application program pops up a corresponding starting interface after the preset function is started; and controlling the display state and/or display time of the starting interface so that the first application program keeps the display state of the first application program before the preset function is called unchanged. By controlling the display state and/or display time of the starting interface, the method of the invention enables the first application program to keep the state before the first application program calls the predetermined function, thereby obviously reducing the interference to the first application program and having better user experience. In addition, the embodiment of the invention provides a control system for an application program, a medium and a computing device.
Description
Technical Field
Embodiments of the present invention relate to the field of computers, and more particularly, to a control method, system, medium, and computing device for an application program.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In the whole computer field, mobile Applications (APPs) developed based on mobile clients are endowed with increasingly rich functions, so that more and more users are willing to select mobile applications with different functions to be installed on the mobile clients to meet the requirements of various aspects of work, entertainment and the like. The user needs different functions of the APP, so that the user needs to be realized by using one mobile application sometimes, and the user needs to be realized by mutually matching a plurality of mobile applications sometimes, for example, if the function a is to be realized, but the currently opened APP1 cannot realize the function, at this time, the APP1 may realize the function by means of other APPs (such as APP2) capable of realizing the function a, and specifically, the APP1 may realize the function a by calling the APP 2.
At present, some methods for realizing functions which do not have per se by means of other APPs have appeared, however, in the course of realizing the disclosed concept, the inventors found that at least the following problems exist in the related art: when the APP realizes a certain (or some) function that the APP does not have by means of other APPs, the function currently used by the APP is interfered, so that the user experience is not good.
In view of the above problems in the related art, no effective solution has been proposed at present.
Disclosure of Invention
However, in the related art, when the APP realizes a certain (or some) function that the APP does not have by means of other APPs, since the other APPs pop up the corresponding start interface after starting the certain (or some) function, the user must click and return on the currently popped-up start interface to return to the display state before the APP calls the predetermined function, which interferes with the function currently used by the APP to some extent.
Therefore, in the prior art, the user must click back on the currently popped-up starting interface to return to the display state before the APP calls the predetermined function, which is a very annoying process.
For this reason, there is a great need for an improved control method for APP, so that when APP implements a certain (or some) function that the APP does not have by itself with the help of other APPs, the APP can keep its display state before the predetermined function is invoked without performing an operation on the currently popped up start interface, such as clicking back.
In this context, embodiments of the present invention are intended to provide a control method for an application program and a system thereof.
In a first aspect of embodiments of the present invention, there is provided a method for control of an application, comprising: acquiring a call request of a first application program to a second application program, wherein the call request is used for indicating that a preset function of the second application program is started in the first application program; responding to the calling request to start the preset function of the second application program in the first application program, wherein the second application program pops up a corresponding starting interface after the preset function is started; and controlling the display state and/or the display time of the starting interface to enable the first application program to keep the display state of the first application program unchanged before the first application program calls the preset function.
In an embodiment of the present invention, controlling the display state of the start interface includes: acquiring parameters of the display state of the starting interface; and adjusting the parameters of the display state of the starting interface to enable the display state of the starting interface to be a transparent state.
In another embodiment of the present invention, after adjusting the parameter of the display state of the start interface to make the display state of the start interface be a transparent state, the method further includes: controlling the starting interface to be closed within a preset time period after the starting interface with the display state being the transparent state is started; or after the starting interface with the display state being the transparent state is started, the starting interface is kept in the opening state.
In another embodiment of the present invention, controlling the display time of the start interface includes: acquiring preset time of display time of the starting interface; and controlling the starting interface of the second application program to be closed before the display time of the starting interface reaches the preset time.
In a further embodiment of the present invention, before obtaining the call request of the first application program to the second application program, the method further includes: determining whether the first application program and the second application program are pre-associated; and if the first application program and the second application program are associated in advance, allowing the operation of acquiring the call request of the first application program to the second application program to be executed.
In yet another embodiment of the present invention, the method further includes: and if the first application program and the second application program are not pre-associated, prohibiting the operation of acquiring the call request of the first application program to the second application program.
In a second aspect of embodiments of the present invention, there is provided a control system for an application program, comprising: the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a call request of a first application program to a second application program, and the call request is used for indicating that a preset function of the second application program is started in the first application program; a first starting module, configured to respond to the call request, so as to start the predetermined function of the second application program in the first application program, where the second application program pops up a corresponding starting interface after starting the predetermined function; and the first control module is used for controlling the display state and/or the display time of the starting interface so that the display state of the first application program before the preset function is called is kept unchanged.
In an embodiment of the present invention, the first control module includes: a first obtaining unit, configured to obtain a parameter of a display state of the start interface; and the first adjusting unit is used for adjusting the parameters of the display state of the starting interface so that the display state of the starting interface is in a transparent state.
In another embodiment of the present invention, the system further includes: the second control module is used for controlling the starting interface to be closed within a preset time period after the starting interface with the transparent display state is started; or the third control module is used for keeping the starting interface in the opening state after the starting interface with the display state being the transparent state is started.
In another embodiment of the present invention, the first control module includes: the second acquisition unit is used for acquiring the preset time of the display time of the starting interface; and the control unit is used for controlling the starting interface of the second application program to be closed before the display time of the starting interface reaches the preset time.
In yet another embodiment of the present invention, the system further includes: the judging module is used for judging whether the first application program and the second application program are associated in advance before acquiring a call request of the first application program to the second application program; and a first processing module, configured to allow execution of an operation of obtaining a call request of the first application program to the second application program, in a case where the first application program and the second application program are associated in advance.
In yet another embodiment of the present invention, the system further includes: and the second processing module is used for forbidding to execute the operation of acquiring the call request of the first application program to the second application program under the condition that the first application program and the second application program are not associated in advance.
In a third aspect of embodiments of the present invention, there is provided a medium storing computer-executable instructions that, when executed by a processing unit, are configured to implement the control method for an application program according to any one of the above embodiments.
In a fourth aspect of embodiments of the present invention, there is provided a computing device comprising: a processing unit; and a storage unit storing computer-executable instructions for implementing the control method for the application program described in any one of the above embodiments when executed by the processing unit.
According to the control method for the application program and the system thereof of the embodiment of the invention, by controlling the display state and/or the display time of the starting interface, so that the first application program keeps the display state before calling the predetermined function unchanged, the display state of the first application program before the preset function of the second application program is called can be returned without clicking the return on the currently popped starting interface by the user, the defect that the display state of the first application program before the preset function of the second application program is called can be returned by clicking the return on the currently popped starting interface by the user in the related art is overcome, therefore, the interference on the functions in use in the first application program is obviously reduced, the operation of the user on the starting interface popped up by the second application program is reduced, and better experience is brought to the user.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 schematically shows an exemplary system architecture of a control method for an application and a system thereof according to an embodiment of the present invention;
FIG. 2A schematically illustrates a flow chart of a control method for an application according to an embodiment of the present invention;
fig. 2B schematically shows an effect diagram of a conventional control method for an application program in the related art;
fig. 2C schematically shows an effect diagram of a control method for an application according to an embodiment of the present invention;
FIG. 2D schematically illustrates a flow chart for controlling a display state of a launch interface according to an embodiment of the invention;
FIG. 2E schematically illustrates a flow chart of a control method for an application according to another embodiment of the present invention;
FIG. 2F schematically illustrates a flow chart for controlling the display time of the launch interface, in accordance with an embodiment of the present invention;
FIG. 2G schematically shows a flow chart of a control method for an application according to a further embodiment of the invention;
FIG. 2H schematically illustrates a flow chart of a control method for an application according to yet another embodiment of the present invention;
FIG. 3A schematically illustrates a block diagram of a control system for an application in accordance with an embodiment of the present invention;
FIG. 3B schematically illustrates a block diagram of a first control module according to an embodiment of the invention;
FIG. 3C schematically illustrates a block diagram of a control system for an application according to another embodiment of the present invention;
FIG. 3D schematically illustrates a block diagram of a first control module according to another embodiment of the invention;
FIG. 3E schematically illustrates a block diagram of a control system for an application according to yet another embodiment of the invention;
FIG. 3F schematically illustrates a block diagram of a control system for an application according to yet another embodiment of the invention;
FIG. 4 schematically shows a schematic view of a computer-readable storage medium product according to an embodiment of the invention; and
FIG. 5 schematically shows a block diagram of a computing device according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the invention, a control method, a system, a medium and a computing device for an application program are provided.
In this context, it is to be understood that the terms referred to include, primarily: the APP client represents an application program based on the operating system of the computing device, such as an application program of the operating system of a mobile phone. For example some reading-class application of the Android system. When a user opens a certain interface in the APP client, the client sends a request to the corresponding server, and the server returns data and presents the data to the final interface of the user. The user performs input operation on an interface of the APP client, and the client can send data to the server so that the server processes the data; the book text represents the largest component of a book and contains the main information and viewpoints of the book, and the text of the book is usually divided into a plurality of chapters; and (2) associating and starting, for an application program in an operating system of the computing device, if the first application program and the second application program are associated and started, the first application program is allowed to call the second application program, for example, in an Android system, if a reading application program and a listening book application program are associated and started, the reading application program is allowed to call a listening book application program after the reading application program is started. The association between the mobile phone applications is also disadvantageous, some software may want the association to start, but some software may not like it to start other APPs, such as a certain whole barrel which is currently abused. In this case, some mobile phone manufacturers set their own systems in the factory to turn off the "associated start" switch of each APP by default. Only when the user manually opens the switch of 'association start', the current APP can accept the calling of other APPs. Moreover, any number of elements in the drawings are by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
In the process of implementing the embodiment of the present invention, the inventors found that: when the APP realizes a certain (or some) function that the APP does not have by means of other APPs, the function currently used by the APP is interfered, so that the user experience is not good.
The embodiment of the invention provides a control method and a system for an application program, wherein the control method for the application program comprises the following steps: acquiring a call request of a first application program to a second application program, wherein the call request is used for indicating that a preset function of the second application program is started in the first application program; responding to the call request to start a preset function of a second application program in the first application program, wherein the second application program pops up a corresponding starting interface after the preset function is started; and controlling the display state and/or display time of the starting interface so that the first application program keeps the display state of the first application program before the preset function is called unchanged. According to the method and the device, the display state and/or the display time of the starting interface can be controlled, so that the first application program can keep the display state before the preset function is called unchanged, the defect that the first application program can return to the display state before the preset function of the second application program is called by the first application program only by clicking the user to return on the currently popped starting interface in the related technology is overcome, the interference on the function in use in the first application program is remarkably reduced, the operation of the user on the popped starting interface of the second application program is reduced, and better experience is brought to the user.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
First, an exemplary system architecture of a control method for an application and a system thereof according to an embodiment of the present invention will be described in detail with reference to fig. 1.
As shown in fig. 1, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the control method for the application provided by the embodiment of the present disclosure may be generally executed by the terminal device 101, 102, or 103. Or may be performed by other terminal devices than terminal devices 101, 102, or 103. Accordingly, the control system for the application provided by the embodiment of the present disclosure may be generally disposed in the terminal device 101, 102, or 103, or disposed in another terminal device different from the terminal device 101, 102, or 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
For convenience of description, the first application program in the android system is taken as a reading application, and the second application program is taken as a listening function application, which is used as an example to describe the present invention in detail, and is not a limitation to the present embodiment.
Exemplary method
A control method for an application according to an exemplary embodiment of the present invention is described below with reference to fig. 2A, 2D, 2E, 2F, 2G, and 2H in conjunction with the system architecture of fig. 1. It should be noted that the system architecture is shown merely for the purpose of facilitating an understanding of the spirit and principles of the invention, and the embodiments of the invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
The embodiment of the invention provides a control method for an application program.
Fig. 2A schematically shows a flow chart of a control method for an application according to an embodiment of the present invention. As shown in fig. 2A, the control method for an application program may include the operations of:
in operation S201, a call request of the first application program to the second application program is obtained, where the call request is used to instruct to start a predetermined function of the second application program in the first application program.
In operation S202, in response to the call request, a predetermined function of a second application program is started in the first application program, where the second application program pops up a corresponding start interface after the predetermined function is started.
In operation S203, the display state and/or the display time of the launch interface is controlled such that the first application program maintains its display state before the predetermined function is invoked.
It should be noted that the first application program may be a reading application program that implements a reading function, and the second application program may be an application program that implements a predetermined function of listening to a book. It should be understood that the embodiments of the present disclosure are described in terms of reading and listening applications, and are not intended to limit the functionality of the first and second applications.
Generally, after a first application program, such as a reading application, is opened, a user makes a selection (sends a request to a server of the first application program) on an interface displayed by the reading application according to actual needs, such as reading a text part of a certain book, the reading application prepares text part data of the certain book corresponding to the user selection according to the selection made by the user, and finally returns the data to a front end, so that the text part of the certain book can be displayed on a current interface of the reading application (the server returns corresponding returned data according to the user selection and presents the returned data to a final interface of the user), if a certain predetermined function, such as a listening function, is to be implemented in the reading application, the user needs to click a "listening" button on the interface displayed by the reading application, that is, send a call request to the listening application capable of implementing the predetermined function of listening, the book listening application can respond to the call request to realize the opening of the preset function of book listening, and pop up a corresponding starting interface after the preset function of book listening is opened. In other words, before the book listening application is called and after the book listening application is called, the display state of the reading application is different, that is, before the book listening application is called, the display state of the reading application is an interface of a text part of a certain book opened by the reading application, and after the book listening application is called, the display state of the reading application is changed to a starting interface for starting a predetermined function of book listening, which is popped up by the book listening application.
As shown in fig. 2B, in the related art, after the book listening application is started in the reading application (as shown in the left diagram of fig. 2B), a start interface of the book listening application (as shown in the middle diagram of fig. 2B) pops up, and a user generally needs to perform an operation such as click-back on the pop-up start interface of the book listening application to continue the reading function (as shown in the right diagram of fig. 2B).
It can be seen that, in the related art, from the perspective of the user, the launch interface of the pop-up book listening application will remain in the display state (as shown in the middle diagram of fig. 2B) before the user clicks back, and the launch interface will be closed only when the user performs a corresponding operation on the launch interface, such as clicking back, and the interrupted reading function will be recovered. In other words, the launch interface of the book listening application may be displayed in a manner visible to the user for a period of time before the user clicks back, resulting in an interruption of the reading function.
Different from the related art, as shown in fig. 2C, in the embodiment of the present invention, the display state and/or the display time of the pop-up startup interface of the book listening application may be controlled, so that the startup interface of the book listening application is displayed in a manner invisible to the user and/or for a very short display time, in other words, the user cannot perceive the startup interface of the book listening application, thereby implementing not only the invocation of the book listening application but also the absence of any interference to the foreground user.
By the embodiment of the disclosure, when the predetermined function of the second application program is started in the first application program, the display state and/or the display time of the start interface are/is controlled, so that the user cannot perceive the start interface of the second application program, that is, the first application program keeps the state before the predetermined function is called, thereby significantly reducing the interference of starting the second application program on the first application program, and improving the user experience.
As an alternative embodiment, controlling the display state of the launch interface includes: acquiring parameters of a display state of a starting interface; and adjusting the parameter of the display state of the starting interface to enable the display state of the starting interface to be a transparent state.
Unlike the related art described above, as shown in fig. 2D, in the embodiment of the present invention, controlling the display state of the start interface may include the following operations:
in operation S2031, a parameter of the display state of the start interface is acquired.
In operation S2032, the parameter of the display state of the start interface is adjusted, so that the display state of the start interface is a transparent state.
It should be noted that, after the book listening function of the book listening application is started in the reading application in response to the call request, the reading application may continue to run, or may also stop running (background running), but the current running state is retained, so that the reading application may resume running from the retained current running state after the display of the start interface of the book listening application is finished. The method comprises the steps of obtaining a parameter of a display state of a starting interface, and adjusting the parameter to enable the display state of the starting interface to be a transparent state, namely, the starting interface of the called book listening application is invisible to a user (as shown in a middle diagram of fig. 2B), and the user cannot perceive the starting interface of the book listening application.
Through the embodiment of the disclosure, the starting interface of the second application program is displayed in the transparent state, and the user cannot see the starting interface of the second application program, in other words, the user also sees the state of the first application program before the predetermined function is called, that is, when the predetermined function of the second application program is started in the first application program, the starting interface of the second application program is in the invisible state, so that the first application program keeps the state of the first application program before the predetermined function is called unchanged.
As an optional embodiment, after adjusting the parameter of the display state of the launch interface so that the display state of the launch interface is a transparent state, the method further includes: controlling the starting interface to be closed within a preset time period after the starting interface with the display state being the transparent state is started; or after the starting interface with the display state being the transparent state is started, the starting interface is kept in the opening state.
As shown in fig. 2E, after adjusting the parameter of the display state of the start interface so that the display state of the start interface is the transparent state, the method may include operation S2033 or operation S2034, where:
in operation S2033, the start interface is controlled to be closed within a preset time period after the start interface in the transparent display state is opened.
In operation S2034, after the start-up interface whose display state is the transparent state is turned on, the start-up interface is kept in the open state.
It should be noted that, when the display state of the start interface is a transparent state, the user cannot perceive the existence of the start interface, that is, the start of the listening function is realized, and the user does not feel the interruption of the reading function, so there are two processing modes for the start interface of the transparent display:
the first processing mode is as follows: and allowing the starting interface with the display state being the transparent state to be automatically closed after displaying for a certain time. Specifically, a preset time may be set, so that the start interface is controlled to be automatically closed within a preset time period after the start interface in which the display state is the transparent state is started.
Specifically, a stack is a special linear table, which is a linear table that allows only insert or delete operations at one end of the table. The end of the table that allows insert and delete operations is called the top of the stack. The current position of the top of the stack is dynamic, and the marking of the current position of the top of the stack is called a top pointer. The insertion operation of a stack is commonly referred to as push or push, and the deletion operation of a stack is commonly referred to as pop or pop. During stack operation, there is a special stack pointer (conventionally called TOP) that indicates where the TOP element of the stack is located. In the stack, the top pointer dynamically reflects the change condition of the elements in the stack. In the process of running the reading application, the currently running reading application is a stack top element, after receiving a call request of the reading application to the listening application, the listening application is pushed to the stack top and is located at the stack top position, when the listening application is started, the stack top element is deleted, the listening application at the stack top is popped up and is restored to run, and the stack top element of the destroyed starting interface of the listening application is not kept in a state, namely cannot be restored to run.
The second treatment method comprises the following steps: the start interface allowing the display state to be the transparent state is always in the open state.
Since the display state of the start-up interface is a transparent state, the display state is invisible to the user no matter the display state is automatically closed after a certain time of display or is always processed, that is, the user does not feel the interruption of the book listening function.
Through the embodiment of the disclosure, because the display state of the start interface is a transparent state, on one hand, the start interface in the transparent state can be kept in the display state, and the user cannot perceive the start interface of the dictation application while calling the dictation application, and on the other hand, the start interface in the transparent state can be displayed for a certain time and then automatically closed, so that the user cannot perceive the start interface of the dictation application while calling the dictation application, the power consumption of the electronic device can be reduced, and the experience of the user of the application program at the client side is further greatly improved.
As an alternative embodiment, controlling the display time of the start interface includes: acquiring preset time of display time of a starting interface; and controlling the starting interface of the second application program to be closed before the display time of the starting interface reaches the preset time.
As shown in fig. 2F, controlling the display time of the launch interface may include the following operations:
in operation S2035, a preset time of the display time of the start interface is acquired.
In operation S2036, the start interface of the second application is controlled to be closed before the display time of the start interface reaches the preset time.
It should be noted that the start interface of the book listening application may be displayed in a manner visible to the user before the user clicks back, and by setting a preset value of the display time of the start interface, the preset value may be in the order of milliseconds, for example, the preset value is 0.1 millisecond, so that the display time of the start interface reaches any time before 0.1 millisecond, for example, 0.01 millisecond, 0.05 millisecond, or 0.1 millisecond, the start interface of the second application program is controlled to be closed, and the user cannot perceive the start interface of the book listening application while the book listening application is called.
Through the embodiment of the disclosure, by setting the display time of the start interface of the book listening application to be very short time and closing the display time, the user can hardly perceive the start interface of the book listening application, in other words, what the user sees is also the state of the reading application before the predetermined function is called, that is, when the predetermined function of the book listening application is started in the reading application, the start interface of the book listening application is in an invisible state, which is equivalent to that the reading application keeps the state of the reading application before the predetermined function is called unchanged.
It should be noted that mobile applications developed based on mobile clients are endowed with increasingly rich functions, so that more and more users are willing to select mobile applications with different functions to be installed on the mobile clients to meet the requirements of various aspects of work, entertainment and the like.
Developers of mobile applications are generally allowed to call their mobile applications by other mobile applications.
For users of mobile applications, the mutual call between mobile applications can conveniently and quickly implement various functions, but sometimes brings unnecessary trouble, so some application users allow them to call each other, and some application users do not want them to call each other. Specifically, the user can manually turn on or off the switch of the "association start", so as to realize the turn-on or turn-off of the mutual calling between the mobile application programs. In other words, when the "association start" switch is turned on, the mobile applications may be regarded as being associated in advance, and at this time, the mobile applications are allowed to be mutually called, whereas when the "association start" switch is turned off, the mobile applications may be regarded as not being associated in advance, and the mobile applications are not allowed to be mutually called. In combination with the application scenario exemplified by the present invention, when the switch of the "association start" is turned on, the reading application and the listening book application are already associated in advance, at this time, the listening book application allows the calling of the reading application, and when the switch of the "association start" is turned off, the reading application and the listening book application are not associated in advance, at this time, the listening book application prohibits the calling of the reading application.
Therefore, before the call request of the reading application to the listening application is obtained, the association relationship between the reading application and the listening application needs to be judged.
As an alternative embodiment, before obtaining the call request of the first application program to the second application program, the method further includes: judging whether the first application program and the second application program are associated in advance; and if the first application program and the second application program are associated in advance, allowing the operation of acquiring the call request of the first application program to the second application program to be executed.
As shown in fig. 2G, before acquiring the call request of the first application program to the second application program, the control method for the application program may further include the following operations:
in operation S204, it is determined whether the first application program and the second application program are pre-associated.
In operation S205, if the first application program and the second application program are pre-associated, the operation of obtaining the call request of the first application program to the second application program is allowed to be performed.
As an alternative embodiment, the method further comprises: and if the first application program and the second application program are not pre-associated, prohibiting the operation of acquiring the call request of the first application program to the second application program.
As shown in fig. 2H, the control method for an application program may further include the operations of:
in operation S206, if the first application program and the second application program are not pre-associated, the operation of obtaining the call request of the first application program to the second application program is prohibited.
It should be noted that, by determining the association relationship between the reading application and the listening application, it may be known whether the listening application allows the reading application to call the listening application, and further, when the reading application and the listening application are pre-associated, it indicates that the listening application allows the reading application to call the listening application, in other words, the operation of obtaining the call request of the reading application to the listening application is allowed to be executed, and when the reading application and the listening application are not pre-associated, it indicates that the listening application prohibits the call of the reading application to the listening application, in other words, the operation of obtaining the call request of the reading application to the listening application is prohibited.
It should be noted that, there are various ways/methods to implement "associated booting" based on the first application program and the second application program of the operating system of the computing device, and the embodiments of the present disclosure are not limited herein.
The association may be accomplished by a user manually setting in the system permissions as desired. For example, when the user turns on the switch of "association start" in the system right, it indicates that the playing service of the application for calling the book listening function in the opened reading-class application is allowed, whereas when the user turns off the switch of "association start" in the system right, it indicates that the playing service of the application for calling the book listening function in the opened reading-class application is prohibited, that is, the association is realized by controlling the turn-on and turn-off of "association start" in the system right.
In another embodiment of the present invention, a history call result of a first user account of a first application calling a second application may be stored in a server, and when a user logs in the first application on a terminal using the first user account, an embodiment of the present invention may implement automatic setting of an association relationship between the first application and the second application on the terminal according to the history call result. The terminal may be a terminal where the first user account initially calls the second application program, or may be another terminal where the first user account logs in the first application program. For example, if the server stores a history calling result of successfully calling the listening type application before the user account a of the reading type application, when the user logs in by using the user account a, the system may implement automatic association with the listening type application according to the history calling result obtained from the server.
The system server can also count a plurality of user association habits, establish association relation for application programs conforming to most of the user association habits, send association instructions to other terminals, establish the association relation conforming to most of the user association habits on a new terminal, and can be helpful for establishing association relation conveniently.
According to the embodiment of the disclosure, by adopting the technical scheme that the association relation between the reading application and the listening application is judged before the calling request of the reading application to the listening application is obtained, the operation of obtaining the calling request of the reading application to the listening application is allowed/forbidden according to the judgment result which is associated/not associated in advance, so that the user participates in the operation of whether the application program is allowed to be called or not, and the user experience is better.
Exemplary System
Having described the method of the exemplary embodiment of the present invention, the control system for an application program of the exemplary embodiment of the present invention will be explained in detail with reference to fig. 3A to 3F.
The embodiment of the invention provides a control system for an application program.
FIG. 3A schematically shows a block diagram of a control system for an application according to an embodiment of the invention. As shown in fig. 3A, the system may include: the system comprises an acquisition module 10, a first starting module 20 and a first control module 30.
The obtaining module 10 is configured to obtain a call request of the first application to the second application, where the call request is used to instruct to start a predetermined function of the second application in the first application.
The first starting module 20 is configured to respond to the call request to start a predetermined function of a second application program in the first application program, where the second application program pops up a corresponding starting interface after starting the predetermined function.
The first control module 30 is used for controlling the display state and/or display time of the start interface, so that the first application program keeps the display state before the predetermined function is called unchanged.
By the embodiment of the disclosure, when the predetermined function of the second application program is started in the first application program, the display state and/or the display time of the start interface are/is controlled, so that the user cannot perceive the start interface of the second application program, that is, the first application program keeps the state before the predetermined function is called, thereby significantly reducing the interference of starting the second application program on the first application program, and improving the user experience.
As an alternative embodiment, as shown in fig. 3B, the first control module 30 may include: a first acquisition unit 301 and a first adjustment unit 302.
The first obtaining unit 301 is configured to obtain a parameter of a display state of the start interface.
The first adjusting unit 302 is configured to adjust a parameter of a display state of the start interface, so that the display state of the start interface is a transparent state.
Through the embodiment of the disclosure, the starting interface of the second application program is displayed in the transparent state, and the user cannot see the starting interface of the second application program, in other words, the user also sees the state of the first application program before the predetermined function is called, that is, when the predetermined function of the second application program is started in the first application program, the starting interface of the second application program is in the invisible state, so that the first application program keeps the state of the first application program before the predetermined function is called unchanged.
As an alternative embodiment, as shown in fig. 3C, the system may further include: the second control module 40 is configured to control the start interface to be closed within a preset time period after the start interface in the transparent display state is started; or a third control module (this module is not shown in the drawings) for keeping the start interface in the open state after the start interface whose display state is the transparent state is turned on.
Through the embodiment of the disclosure, because the display state of the start interface is a transparent state, on one hand, the start interface in the transparent state can be kept in the display state, and the user cannot perceive the start interface of the dictation application while calling the dictation application, and on the other hand, the start interface in the transparent state can be displayed for a certain time and then automatically closed, so that the user cannot perceive the start interface of the dictation application while calling the dictation application, the power consumption of the electronic device can be reduced, and the experience of the user of the application program at the client side is further greatly improved.
As an alternative embodiment, as shown in fig. 3D, the first control module 30 may include: a second acquisition unit 303 and a control unit 304.
The second obtaining unit 303 is configured to obtain a preset time of the display time of the start interface.
The control unit 304 is configured to control the start interface of the second application to close before the display time of the start interface reaches the preset time.
Through the embodiment of the disclosure, by setting the display time of the start interface of the book listening application to be very short time and closing the display time, the user can hardly perceive the start interface of the book listening application, in other words, what the user sees is also the state of the reading application before the predetermined function is called, that is, when the predetermined function of the book listening application is started in the reading application, the start interface of the book listening application is in an invisible state, which is equivalent to that the reading application keeps the state of the reading application before the predetermined function is called unchanged.
As an alternative embodiment, as shown in fig. 3E, the system may further include: a decision block 50 and a first processing block 60.
The determining module 50 is configured to determine whether the first application program and the second application program are pre-associated before acquiring the call request of the first application program to the second application program.
The first processing module 60 is configured to allow execution of an operation of acquiring a call request of the first application to the second application in a case where the first application and the second application have been previously associated.
As an alternative embodiment, as shown in fig. 3F, the system may further include: the second processing module 70 is configured to prohibit execution of an operation of acquiring a call request of the first application program to the second application program if the first application program and the second application program are not pre-associated.
According to the embodiment of the disclosure, by adopting the technical scheme that the association relation between the reading application and the listening application is judged before the calling request of the reading application to the listening application is obtained, the operation of obtaining the calling request of the reading application to the listening application is allowed/forbidden according to the judgment result which is associated/not associated in advance, so that the user participates in the operation of whether the application program is allowed to be called or not, and the user experience is better.
Exemplary Medium
Embodiments of the present invention provide a medium storing computer-executable instructions, which when executed by the processing unit, are configured to implement the control method for an application program of any one of the method embodiments.
In some possible embodiments, aspects of the present invention may also be implemented in the form of a program product including program code for causing a terminal device to perform steps in a control method for an application program according to various exemplary embodiments of the present invention described in the above section "exemplary method" of this specification when the program product is run on the terminal device, for example, the terminal device may perform operation S201 as shown in fig. 2: acquiring a call request of a first application program to a second application program, wherein the call request is used for indicating that a preset function of the second application program is started in the first application program; operation S202: responding to the call request to start a preset function of a second application program in the first application program, wherein the second application program pops up a corresponding starting interface after the preset function is started; operation S203: and controlling the display state and/or display time of the starting interface so that the first application program keeps the display state of the first application program before the preset function is called unchanged.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As shown in fig. 4, a program product 40 for control of an application according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this respect, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary computing device
Having described the method, system, and media of exemplary embodiments of the present invention, a computing device for control of an application in accordance with an exemplary embodiment of the present invention is next described with reference to FIG. 5.
The embodiment of the invention also provides the computing equipment. The computing device includes: a processing unit; and a storage unit storing computer-executable instructions for implementing the control method for the application program of any one of the method embodiments when executed by the processing unit.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a computing device according to the present invention may include at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps of the information presentation method according to various exemplary embodiments of the present invention described in the above section "exemplary method" of the present specification. For example, the processing unit may perform operation S201 as shown in fig. 2: acquiring a call request of a first application program to a second application program, wherein the call request is used for indicating that a preset function of the second application program is started in the first application program; operation S202: responding to the call request to start a preset function of a second application program in the first application program, wherein the second application program pops up a corresponding starting interface after the preset function is started; operation S203: and controlling the display state and/or display time of the starting interface so that the first application program keeps the display state of the first application program before the preset function is called unchanged.
A computing device 50 for controlling applications according to this embodiment of the invention is described below with reference to fig. 5. The computing device 50 shown in FIG. 5 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in fig. 5, computing device 50 is embodied in the form of a general purpose computing device. Components of computing device 50 may include, but are not limited to: the at least one processing unit 501, the at least one memory unit 502, and a bus 503 connecting the various system components (including the memory unit 502 and the processing unit 501).
The storage unit 502 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)5021 and/or cache memory 5022, and may further include Read Only Memory (ROM) 5023.
The storage unit 502 may also include a program/utility 5025 having a set (at least one) of program modules 5024, such program modules 5024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the system are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (12)
1. A control method for an application program, comprising:
acquiring a call request of a first application program to a second application program, wherein the call request is used for indicating that a preset function of the second application program is started in the first application program;
responding to the calling request to start the preset function of the second application program in the first application program, wherein the second application program pops up a corresponding starting interface after the preset function is started; and
controlling the display state and/or display time of the starting interface to enable the first application program to keep the display state of the first application program before the preset function is called unchanged,
wherein controlling the display state of the start interface comprises:
acquiring parameters of the display state of the starting interface; and
and adjusting the parameters of the display state of the starting interface to enable the display state of the starting interface to be a transparent state.
2. The method of claim 1, wherein after adjusting the parameter of the display state of the launch interface such that the display state of the launch interface is a transparent state, the method further comprises:
controlling the starting interface to be closed within a preset time period after the starting interface with the transparent display state is started; or
And after the starting interface with the display state being the transparent state is started, keeping the starting interface in the opening state.
3. The method of claim 1, wherein controlling the display time of the launch interface comprises:
acquiring preset time of display time of the starting interface; and
and controlling the starting interface of the second application program to be closed before the display time of the starting interface reaches the preset time.
4. The method of claim 1, wherein prior to obtaining a call request from a first application to a second application, the method further comprises:
determining whether the first application program and the second application program are pre-associated; and
and if the first application program and the second application program are associated in advance, allowing the operation of acquiring the call request of the first application program to the second application program to be executed.
5. The method of claim 4, wherein the method further comprises:
and if the first application program and the second application program are not pre-associated, prohibiting the operation of acquiring the call request of the first application program to the second application program.
6. A control system for an application, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a call request of a first application program to a second application program, and the call request is used for indicating that a preset function of the second application program is started in the first application program;
the first starting module is used for responding to the calling request so as to start the preset function of the second application program in the first application program, wherein the second application program pops up a corresponding starting interface after the preset function is started; and
the first control module is used for controlling the display state and/or the display time of the starting interface so that the display state of the first application program before the predetermined function is called is kept unchanged,
wherein the first control module comprises:
the first acquisition unit is used for acquiring parameters of the display state of the starting interface; and
and the first adjusting unit is used for adjusting the parameters of the display state of the starting interface so that the display state of the starting interface is in a transparent state.
7. The system of claim 6, wherein the system further comprises:
the second control module is used for controlling the starting interface to be closed within a preset time period after the starting interface with the transparent display state is started; or
And the third control module is used for keeping the starting interface in an open state after the starting interface with the display state being a transparent state is started.
8. The system of claim 6, wherein the first control module comprises:
the second acquisition unit is used for acquiring the preset time of the display time of the starting interface; and
and the control unit is used for controlling the starting interface of the second application program to be closed before the display time of the starting interface reaches the preset time.
9. The system of claim 6, wherein the system further comprises:
the device comprises a judging module, a judging module and a judging module, wherein the judging module is used for judging whether a first application program and a second application program are associated in advance before acquiring a call request of the first application program to the second application program; and
the first processing module is used for allowing the operation of acquiring the call request of the first application program to the second application program to be executed under the condition that the first application program and the second application program are associated in advance.
10. The system of claim 9, wherein the system further comprises:
and the second processing module is used for forbidding to execute the operation of acquiring the call request of the first application program to the second application program under the condition that the first application program and the second application program are not associated in advance.
11. A medium storing computer-executable instructions for implementing the control method for an application program of any one of claims 1 to 5 when executed by a processing unit.
12. A computing device, comprising:
a processing unit; and
a storage unit storing computer-executable instructions for implementing the control method for an application program of any one of claims 1 to 5 when executed by the processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710747134.3A CN107436802B (en) | 2017-08-25 | 2017-08-25 | Control method, system, medium and computing device for application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710747134.3A CN107436802B (en) | 2017-08-25 | 2017-08-25 | Control method, system, medium and computing device for application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107436802A CN107436802A (en) | 2017-12-05 |
CN107436802B true CN107436802B (en) | 2020-04-14 |
Family
ID=60461498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710747134.3A Expired - Fee Related CN107436802B (en) | 2017-08-25 | 2017-08-25 | Control method, system, medium and computing device for application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107436802B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941472A (en) * | 2019-11-26 | 2020-03-31 | 天津网之易创新科技有限公司 | Function switching method, medium, device and computing equipment |
CN111061492B (en) * | 2019-12-16 | 2023-12-29 | 连尚(新昌)网络科技有限公司 | Application processing method, device and computer storage medium |
CN112181515B (en) * | 2020-09-18 | 2024-05-24 | Oppo(重庆)智能科技有限公司 | Application program control method, device, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750523A (en) * | 2015-03-16 | 2015-07-01 | 联想(北京)有限公司 | Information processing method and electronic equipment |
WO2015096076A1 (en) * | 2013-12-25 | 2015-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Display processing method for transient interface, and terminal |
CN105320693A (en) * | 2014-07-31 | 2016-02-10 | 腾讯科技(深圳)有限公司 | Information querying method and terminal |
CN106055369A (en) * | 2016-06-08 | 2016-10-26 | 维沃移动通信有限公司 | Starting method for mobile terminal applications and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104424484B (en) * | 2013-09-11 | 2019-01-15 | 阿里巴巴集团控股有限公司 | Application program switching, the method and device for adding access information |
US9785490B2 (en) * | 2014-12-23 | 2017-10-10 | Document Storage Systems, Inc. | Computer readable storage media for dynamic service deployment and methods and systems for utilizing same |
-
2017
- 2017-08-25 CN CN201710747134.3A patent/CN107436802B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015096076A1 (en) * | 2013-12-25 | 2015-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Display processing method for transient interface, and terminal |
CN105320693A (en) * | 2014-07-31 | 2016-02-10 | 腾讯科技(深圳)有限公司 | Information querying method and terminal |
CN104750523A (en) * | 2015-03-16 | 2015-07-01 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106055369A (en) * | 2016-06-08 | 2016-10-26 | 维沃移动通信有限公司 | Starting method for mobile terminal applications and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107436802A (en) | 2017-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11269696B2 (en) | Application processing method and apparatus | |
US11782581B2 (en) | Display control method and device, electronic device and storage medium | |
US12120585B2 (en) | Messaging system interacting with dynamic extension app | |
US10911565B2 (en) | Method, device and system for associating a service account | |
US8468457B1 (en) | Global keyboard shortcuts management for web applications | |
US9804767B2 (en) | Light dismiss manager | |
CN110018765B (en) | Page display method, device, terminal and storage medium | |
WO2020206691A1 (en) | Application processing method and apparatus, storage medium, and electronic device | |
CN107436802B (en) | Control method, system, medium and computing device for application program | |
CN103617057A (en) | Application program installation method and device | |
CN104158972A (en) | Method for calling third-party application in conversation process and user terminal | |
CN111767090A (en) | Method and device for starting small program, electronic equipment and storage medium | |
KR20140018414A (en) | Browser based application program extension method and device | |
US20160216929A1 (en) | Processing application interface | |
CN106775208B (en) | Operation method and device for application individuation and terminal | |
CN110489679B (en) | Browser kernel processing method and device and storage medium | |
CN109117153A (en) | Processing method, device, terminal and the storage medium of application program | |
CN110574006B (en) | System and method for automatically synchronizing responses and conditions on a device | |
CN109791444B (en) | Method and device for calling input method, server and terminal | |
US20210026913A1 (en) | Web browser control feature | |
CN106775879B (en) | VR application installation-free method and system based on android system client | |
CN110324432B (en) | Data processing method, device and medium applied to terminal and computing equipment | |
WO2022228236A1 (en) | Method and apparatus for controlling android app, and terminal device | |
US20100262927A1 (en) | Method and a device for controlling the display of an information area on the welcome screen of a mobile terminal | |
CN106886721B (en) | Method and device for realizing auxiliary function in application |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200414 |