CN115225966A - Application starting method and device, terminal equipment and storage medium - Google Patents

Application starting method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115225966A
CN115225966A CN202210899075.2A CN202210899075A CN115225966A CN 115225966 A CN115225966 A CN 115225966A CN 202210899075 A CN202210899075 A CN 202210899075A CN 115225966 A CN115225966 A CN 115225966A
Authority
CN
China
Prior art keywords
application
target
scene
starting
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210899075.2A
Other languages
Chinese (zh)
Other versions
CN115225966B (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.)
Shenzhen Leiniao Network Media Co ltd
Original Assignee
Shenzhen Leiniao Network Media 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 Shenzhen Leiniao Network Media Co ltd filed Critical Shenzhen Leiniao Network Media Co ltd
Priority to CN202210899075.2A priority Critical patent/CN115225966B/en
Publication of CN115225966A publication Critical patent/CN115225966A/en
Application granted granted Critical
Publication of CN115225966B publication Critical patent/CN115225966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • H04N21/4542Blocking scenes or portions of the received content, e.g. censoring scenes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client

Abstract

The invention discloses an application starting method, an application starting device, terminal equipment and a storage medium, wherein a starting scene and a target application corresponding to an application starting instruction are determined by responding to the application starting instruction; determining target content to be displayed according to the starting scene; intercepting a starting process of a target application and displaying target content; responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application; the target content to be displayed corresponding to the starting scene is determined, and the target content is displayed in a mode of intercepting the starting of the target application, so that the target content can be displayed without putting corresponding target content for different application programs or improving the application programs, the technology is easy to realize, and the flexibility is high.

Description

Application starting method and device, terminal equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to an application starting method, an application starting device, terminal equipment and a storage medium.
Background
At present, in a television TV system, an application program often needs to be loaded when being started, a multimedia content view displayed when the application program is started is released from the inside of the application program by a developer of the application program, a background server needs to be accessed to obtain multimedia content resources associated with the application program when the application program is started, and the starting flexibility of the application program is low when the network state is not good.
In order to solve the problem, offline multimedia content resources need to be set, and corresponding multimedia content resources are set for different application programs, so that memory resources of the terminal are occupied, the terminal is not suitable for running on terminal equipment with smaller memory, and the applicability of the application programs is reduced; although the multimedia content can be delivered by accessing the third-party multimedia content, the method of accessing the third-party multimedia content needs to modify the resource data of the application program to interface the third party sdk, which greatly changes the application program and may affect the function of the application program, and the adaptability between the third party sdk and the application program needs to be considered, so that the development cost of the application program is increased, and the advertisement delivery applicability in the television TV system is poor; in addition, when multimedia content resources are updated, application programs need to be updated at the same time, and frequent application updating reduces the convenience of multimedia content delivery in a television TV system.
Disclosure of Invention
The embodiment of the invention provides an application starting method, an application starting device, terminal equipment and a storage medium, and aims to solve the problem that content display in an existing television TV system is not flexible enough.
In one aspect, an embodiment of the present invention provides an application starting method, where the method includes:
responding to an application starting instruction, and determining a starting scene and a target application corresponding to the application starting instruction;
determining target content to be displayed according to the starting scene;
intercepting a starting process of the target application and displaying the target content;
and responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application.
In another aspect, an embodiment of the present invention provides an application starting apparatus, where the apparatus includes:
the response module is used for responding to an application starting instruction, and determining a starting scene and a target application corresponding to the application starting instruction;
the acquisition module is used for determining target content to be displayed according to the starting scene;
the intercepting module is used for intercepting the starting process of the target application and displaying the target content;
and the starting module is used for responding to the target content display finishing instruction and releasing the starting process of the target application so as to start the target application.
In another aspect, an embodiment of the present invention provides a terminal device, including a memory and a processor; the memory stores an application program, and the processor is used for running the application program in the memory to execute the operation in the application starting method.
In another aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in the application starting method.
In response to an application starting instruction, determining a starting scene and a target application corresponding to the application starting instruction; determining target content to be displayed according to the starting scene; intercepting a starting process of a target application and displaying target content; responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application; the target content to be displayed corresponding to the starting scene is determined, and the target content is displayed in a mode of intercepting the starting of the target application, so that the target content can be displayed without putting corresponding target content for different application programs and improving the application programs, the technology is easy to realize, and the flexibility is high.
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 will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an application startup system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an application starting method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an application starting apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an application startup system according to an embodiment of the present invention, where the application startup system at least includes: a server 110 and a terminal device 120. The terminal device 120 may run an intelligent device of an operating system, where the operating system may be an ios mobile operating system, an android operating system, and the server 110 may be a server storing target content to be displayed. Any two devices in the application starting system may be directly or indirectly connected through wired or wireless communication, and the present invention is not limited herein, for example, the terminal device 120 may establish a connection relationship with the server 110, and the server 110 may establish a connection relationship with the terminal device 120.
The server 110 shown in fig. 1 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (content delivery Network), a big data and artificial intelligence platform, and the like.
The terminal device 120 and the like shown in fig. 1 may be a television, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a vehicle, a roadside device, an aircraft, a wearable device, a vehicle-mounted device, such as a smart watch, a smart bracelet, a pedometer, and the like, which have a content display function.
In some embodiments of the present invention, after the terminal device 120 determines, in response to the application start instruction, a start scene and a target application corresponding to the application start instruction, the terminal device 120 may send a data request to the server 110, the server 110 sends content data to the terminal device 120 in response to the data request, and the terminal device 120 determines, according to the start scene and the content data, a target content to be displayed, intercepts a start process of the target application, and displays the target content; and responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application. The target content can be one or more of videos, pictures, texts and rich texts.
The terminal device 120 may run a plurality of application programs, where the application programs may include shopping applications (e.g., an article transaction platform, etc.), video playing applications (e.g., a video playing platform, etc.), instant messaging applications (e.g., an information interaction platform, etc.), and the like, and further, different types of application programs may be subdivided according to different service scenarios, which is not limited in this disclosure. In some embodiments of the present invention, a start interface of another application program may be set in one application program, and when the terminal device 120 monitors that the start interface of another application program in one application program is triggered, the start process of the target application program is intercepted in response to an application start instruction, and the target content is displayed, where a display page of the target content may be displayed in a pop-up window form in a display page of the current application program, and the display page of the target content may also be displayed in a new page on an upper layer of the display page of the current application program.
It should be understood that the schematic diagram of the system architecture described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and as a person of ordinary skill in the art knows that along with the evolution of the system architecture and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems.
As shown in fig. 2, fig. 2 is a schematic flowchart of an embodiment of an application starting method provided by an embodiment of the present invention, where the application starting method includes steps 201 to 204:
and 201, responding to the application starting instruction, and determining a starting scene corresponding to the application starting instruction and a target application.
In some embodiments of the present invention, the launch scenario is used to determine a trigger scenario for application launch, and in some embodiments of the present invention, the launch scenario includes, but is not limited to, desktop trigger, associated launch, and application trigger. The application triggering refers to setting a starting interface of another application in one application, and starting the other application in response to the triggering operation of the starting interface; desktop triggering refers to setting starting buttons of different applications in a view of a system desktop, and starting corresponding applications in response to triggering operations of the starting buttons; the association initiation refers to that when a certain application program is initiated, other application programs are also initiated, that is, the notification issued by other application programs generates the association initiation, for example, by means of a startup service (startService) or a binding service (bindService), and the association initiation is caused by being called by other application programs.
In some embodiments of the present invention, after responding to an application start instruction, a start scene corresponding to the application start instruction may be determined by determining a package name and a component name of an uppermost interface of an operating system in a terminal device, for example, when the package name and the component name of the uppermost interface are desktop views of a system, it is determined that the start scene corresponding to the application start instruction is desktop trigger, when the package name and the component name of the uppermost interface are page views of an application running in the terminal device, it is determined that the start scene corresponding to the application start instruction is application start, and when the package name and the component name of the uppermost interface are start pages of the application running in the terminal device and the number of the application start instructions includes multiple numbers, it is determined that the start scene corresponding to the application start instruction is associated start. The package name refers to the name of a program package on which a process in the system depends, the component name refers to the name of a plug-in and a called component on which the process in the system executes dependence, the name has uniqueness, and the name can be the storage address of the corresponding program package and component in the system, or the identifier corresponding to the corresponding program package and component, wherein the identifier can be one or more of letters, numbers and characters.
In some embodiments of the present invention, after responding to an application start instruction, a start scene corresponding to the application start instruction may be determined by reading a trigger parameter of the application start instruction, where the trigger parameter is used to determine a trigger scene for starting the application, and the trigger scene includes but is not limited to interface trigger, self-start, and manual trigger, where the interface trigger represents that the start scene corresponding to the application start instruction is application trigger, the self-start represents that the start scene corresponding to the application start instruction is associated start, and the manual trigger represents that the start scene corresponding to the application start instruction is desktop trigger; for example, when the trigger parameter is characterized as a parameter corresponding to the interface trigger, it is determined that the start scene corresponding to the application start instruction is the application trigger. In some embodiments of the present invention, the trigger parameter may be one or more of a numeric value, a letter, and a character, for example, when the trigger parameter is "01", it is determined that a start scene corresponding to the application start instruction is application trigger, when the trigger parameter is "02", it is determined that the start scene corresponding to the application start instruction is associated start, and when the trigger parameter is "03", it is determined that the start scene corresponding to the application start instruction is desktop trigger. It should be noted that the form of the trigger parameter and the corresponding start scenario are merely exemplary illustrations, and do not limit the application start method provided by the embodiment of the present invention.
In some embodiments of the present invention, it may be determined that the application start instruction corresponds to the target application through the application information in the application start instruction. In some embodiments of the present invention, each application included in the terminal device has application information such as an application identifier, a description file, and a certificate belonging to the application, and the application information has uniqueness, that is, each application corresponds to one corresponding application information. Therefore, after responding to the application starting instruction, the application information to be started is obtained, and the target application corresponding to the application starting instruction is determined according to the application information.
In some embodiments of the present invention, in consideration of the fact that the terminal device is not provided with the target application during the associated start and the application start, it is necessary to output a download prompt page and execute a corresponding process in response to an input operation for a user. In some embodiments of the present invention, the download instruction page may be provided with a first icon and a second icon, the download instruction page is output in response to a click operation of a user based on the first icon of the download instruction page, the terminal device sends a data request to a server that provides support for a target application to request a program file corresponding to the target application, and executes installation of the target application; and responding to the click operation of the user based on the second icon of the download prompting page, closing the download prompting page and not executing the target application download operation.
In some embodiments of the present invention, after acquiring the application information in the application start instruction, it is queried whether the application installation data stores target application information that matches the application information in the application start instruction, if yes, step 202 is executed, and if not, a download prompt page is output. The application installation data includes a plurality of applications included in the terminal device and application information corresponding to each application.
202, determining the target content to be displayed according to the starting scene.
The target content to be displayed may be multimedia content, such as a picture, a text, a rich text, a video, and the like, and in some embodiments of the present invention, the target content to be displayed may be used to prompt a current operation state of the terminal device, such as an electric quantity of the terminal device, a usage duration of the terminal device, a memory usage rate, a CPU occupancy rate, and the like; the target content to be displayed can also be used for message notification, such as weather notification, weather early warning, geological disaster early warning and the like; and may also be used to display activities such as holiday blessings, product introductions, product activities, and the like.
In some embodiments of the present invention, corresponding target content to be displayed may be set for different start scenes, for example, when the start scene is application triggered, the corresponding target content to be displayed is content a, when the start scene is associated start, the corresponding target content to be displayed is content B, when the start scene is desktop triggered, the corresponding target content to be displayed is content C, it should be noted that a specific type of the target content to be displayed is not limited in the embodiments of the present invention.
In some embodiments of the present invention, a target content to be displayed corresponding to a start scene may be set, the start scene corresponding to an application start instruction is compared with the target start scene, and if the start scene corresponding to the application start instruction is consistent with the target start scene, the target content to be displayed corresponding to the target start scene is determined; and if the starting scene corresponding to the application starting instruction is inconsistent with the target starting scene, starting the target application. The target starting scene refers to a target content starting scene to be displayed, and the target starting scene can be application trigger, associated trigger or desktop trigger.
And 203, intercepting the starting process of the target application and displaying the target content.
In consideration of the fact that in the existing content display scheme, corresponding content needs to be displayed after target application is started, when the target content needs to be modified and updated, a program of the target application needs to be updated synchronously, frequent updating of the target application may be caused, so that the application on the terminal device is inconvenient to use and the content display is inflexible, and when the content needing timeliness needs to be displayed, such as weather notification, weather early warning, geological disaster early warning, power failure notification and the like, the target application is updated to achieve the display of the content needing timeliness, and content display delay may be caused. Based on this, in order to solve the above problem, in the embodiment of the present invention, the content to be displayed is not associated with the target application, the program of the target application is not modified, after the target content to be displayed is determined, the starting process of the target application is intercepted, and the target content is displayed, so that the problem of frequent application update caused by content update is solved, and the timely content can be displayed without the problem of content display lag.
In some embodiments of the invention, the target content may be presented in the uppermost view of the system, for example in the form of a pop-up window; a view may also be created, which is displayed on top of the current view of the system.
In some embodiments of the present invention, in response to a click event corresponding to a display view displaying target content, an operation corresponding to the click event is obtained, and a corresponding operation is executed. Wherein the click event includes, but is not limited to, display view closing, view jumping, etc., wherein the view jumping includes jumping to a page view displayed at a previous time of the system and jumping to a page view associated with the target content, for example, jumping to a product page view when the target content is used for product introduction.
In some embodiments of the present invention, in order to facilitate interception of a start process of a target application, an agent layer is added between a system layer and an application layer of a terminal device in the embodiments of the present invention, and application start instruction monitoring and start process interception are performed through the agent layer. As shown in fig. 3, fig. 3 is a schematic structural diagram of a system of a terminal device according to an embodiment of the present invention, where an application layer, i.e., an architecture layer corresponding to an application, i.e., the application layer may characterize a specific application, for example, the application layer characterizes a control application (e.g., a television application (App)); the system layer is a framework layer supporting the application layer to run, for example, the system layer represents an Android (Android) operating system; the management layer may listen to specific information (e.g., application information of an application) from the system layer and pass the specific information to the architecture layer of the application layer, and the proxy layer may be a target class that implements a call interface that calls the application information.
When the target application is applied for starting in response to the application starting instruction, the agent layer can monitor the application information of the target application in the system layer, acquire the application information of the target application in the system layer before the application layer recalls the application information, and further intercept the application information in advance before the target application is actually started.
In some embodiments of the invention, the proxy layer includes a target class encapsulating a call interface in the system layer, the call interface for calling application information of the application based on the listening event.
In some embodiments of the present invention, when responding to an application start instruction, an application layer monitors whether a initiator corresponding to a target application is invoked according to a monitoring event; when the fact that the starter is called is monitored, calling information of the starter is called back through the agent layer, and application information of a target application in the application layer in the system layer is obtained. The launcher is used for providing a launching service of the application.
In some embodiments of the present invention, when it is monitored that the initiator is called, calling back information of the initiator through a proxy layer includes: when the fact that the initiator is called is monitored, triggering a target class to call back the calling information of the initiator from a calling interface, and constructing an information calling interface corresponding to the monitoring event, wherein the information calling interface is used for calling back an interface of application information monitored in the monitoring event, the information calling interface is set as the calling interface to call the application information of the application, when the fact that the initiator is called is monitored, triggering the target class to call back the calling information of the initiator from the calling interface, and intercepting a starting process of the target application by calling back the application information of the target application before the target application is really started in an application layer.
And 204, responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application.
In some embodiments of the present invention, when it is detected that the display of the target content is completed, in response to the target content display completion instruction, the proxy layer releases the start process of the target application by returning the application information to the application layer, so that the application layer calls back the application information of the application to start the target application.
In some embodiments of the present invention, a display duration of the target content may be recorded, and when the display duration is greater than or equal to a preset duration, a target content display completion instruction is generated; and when the display duration is less than the preset duration, continuing to display the target content.
In some embodiments of the present invention, a close view button is provided in the display view of the target content, and a target content display completion instruction is generated in response to a click operation of the close view button.
In some embodiments of the present invention, a display duration of the target content may be recorded, and when the display duration is less than a first preset duration, the target content continues to be displayed; when the display duration is longer than or equal to a first preset duration, displaying a related closed view button on the display view of the target content; if the click event of the view closing button is monitored, responding to the click operation of the view closing button, and generating a target content display completion instruction; if the click event of the view closing button is not monitored, determining whether the display time length is greater than or equal to a second preset time length; if the display duration is greater than or equal to a second preset duration, generating a target content display completion instruction; and if the display duration is less than the second preset duration, continuing to display the target content. The first preset time length is less than the second preset time length.
According to the embodiments of the invention, the target content to be displayed corresponding to the starting scene is determined, and the target content is displayed in a manner of intercepting the starting of the target application, so that the target content can be displayed without putting corresponding target content for different application programs and improving the application programs, the technology is easy to realize, and the flexibility is high.
In some embodiments of the present invention, before step 201, in order to monitor the start of the application, monitoring configuration information needs to be set, and a monitoring event is created through the monitoring configuration information to determine that the application in the terminal device is started.
In some embodiments of the present invention, monitoring configuration information of an application is received through an application layer in a terminal device; and transmitting the monitoring configuration information to a system layer so as to construct a monitoring event corresponding to the application indicated by the monitoring configuration information for the calling interface in the system layer. The monitoring configuration information is monitoring setting information of the application in the terminal device, the monitoring configuration information may be a name list of the application to be monitored, the monitoring configuration information of the application may be set through a control application (for example, a television application) in an application layer, all applications installed in the terminal device may be acquired through the control application, then the application to be monitored may be selected from all applications, a target monitoring control in the control application is triggered to generate the name list of the application to be monitored (i.e., the monitoring configuration information), and the monitoring configuration information of the application may be received through the application layer in the terminal device. The monitoring configuration information is set and then transmitted to a system layer, the system layer can perform monitoring transformation on a target system service which can be triggered when the application in the system layer is started according to the monitoring configuration information, namely a monitoring event corresponding to the application indicated by the monitoring configuration information is established for a calling interface in the system layer, and then the application information of the application can be called according to the monitoring event when the application layer responds to an application starting instruction through the calling interface, so that a starting scene and a target application corresponding to the application starting instruction can be determined efficiently and accurately.
In some embodiments of the present invention, when determining a start scene corresponding to an application start instruction, a view configuration parameter of an application layer of a terminal device in response to the application start instruction may be obtained, and a start scene corresponding to the application start instruction is determined according to the view configuration parameter. The view configuration parameters comprise package names and component names of the views when the application starting instructions are applied. Specifically, the method for determining the starting scene comprises the following steps a 1-a 4:
step a1, obtaining view configuration parameters and application information in an application starting instruction.
In some embodiments of the present invention, a package name and a component name of a top view of a system in a terminal device may be obtained, and the package name and the component name of the top view of the system are set as view configuration parameters in response to an application start instruction.
Step a2, inquiring prestored scene data, and determining target scene parameters matched with the view configuration parameters and a scene corresponding to the target scene parameters.
The scene data may include a plurality of scene parameters and a scene corresponding to each scene parameter.
In some embodiments of the present invention, pre-stored scene data is queried, the view configuration parameters are compared with each scene parameter in the pre-stored scene data, a scene parameter in the scene data that is consistent with the view configuration parameters is set as a target scene parameter that is matched with the view configuration parameters, and a scene corresponding to the target scene parameter is obtained according to a scene corresponding to each scene parameter in the scene parameters.
In some embodiments of the present invention, the scene data may further include at least one scene in which the target content needs to be displayed and a scene parameter corresponding to the scene.
In some embodiments of the present invention, pre-stored scene data is queried, and it is determined whether a target scene parameter matching the view configuration parameter exists in the pre-stored scene data; if the target scene parameters matched with the view configuration parameters do not exist in the prestored scene data, which indicates that the target content does not need to be displayed in the starting scene without the target application, the application layer recalls the calling information of the starter through the calling interface of the proxy layer so as to start the target application; and if the target scene parameters matched with the view configuration parameters exist in the pre-stored scene data, which indicates that the target content needs to be displayed in the starting scene of the target application, determining the scene corresponding to the target scene parameters from the scene data according to the target scene parameters matched with the view configuration parameters.
And a3, determining a target application corresponding to the application starting instruction according to the application information.
And a4, setting the scene corresponding to the target scene parameter as a starting scene corresponding to the application starting instruction.
In some embodiments of the present invention, the target application may be determined according to the application information in step 201.
In some embodiments of the present invention, the trigger type of the application start instruction in the terminal device includes a user trigger and a non-user trigger, and the non-user trigger includes a self-start and a binding start. The self-start may be performed by receiving a broadcast, for example, when an application registered as a broadcast receiver receives a broadcast notification from the system, the application performs the self-start. The self-started application can also be self-started by reading the notification authority, for example, the application is killed and self-started, that is, when the application program is killed and cleaned and receives a notification change of the system by reading the notification authority, the application is re-started again, for example, the application is actively notified to self-start, that is, when the user actively opens the reading notification authority of the application, the application is self-started. The bound application program is that when some application is started, other applications which are associated with the application are started. When the application in the terminal device is started in a trigger type which is not triggered by the user, the electric quantity of the terminal device may be consumed, the process is occupied, the memory is consumed, and the operability of the terminal device is reduced.
Therefore, in order to ensure data security in the terminal device and improve the operation performance of the terminal device, after responding to the application start instruction, determining a trigger type of the application start instruction, and when the trigger type of the application start instruction is non-user trigger, closing a start process of a target application to ensure the security of the operation environment of the terminal device, specifically, the method includes steps b1 to b3:
step b1, responding to the application starting instruction, and determining the trigger type of the application starting instruction.
In some embodiments of the invention, step b1 comprises: responding to an application starting instruction, and determining whether a click event exists in a historical time period corresponding to the application starting instruction; if the click event exists, determining the triggering type of the application starting instruction as user triggering; and if the click event does not exist, determining that the trigger type of the application starting instruction is non-user trigger. The historical time period may be 1s, 0.5s, 0.05s, etc., that is, it is determined whether there is a click event 1s, 0.5s, 0.05s, etc. before the application start instruction time.
In some embodiments of the present invention, in order to further determine whether the trigger of the application start instruction is a binding trigger, when it is determined that a click event exists in a historical time period corresponding to a response application start instruction, an operation link is obtained, and a called application started by application binding is determined according to the operation link; comparing the layer number of the called application in the operation link with a preset layer number threshold, similarly setting the triggering of a starting instruction of the called application of which the layer number exceeds the preset layer number threshold as non-user triggering starting, wherein the called application can be an application running in a background, the operation link comprises a sequence formed by sequencing the application and the called application according to the calling and called relations, and the sequence number of each application in the sequence is used as the layer number.
Illustratively, when a user manually triggers application a to start, responding to an application start instruction of application a, and correspondingly, when responding to the application start instruction of application a, in a manner of starting service (startService) or binding service (bindService), application B is bound and started as called by application a, and an application start instruction of application B is triggered; when responding to the application starting instruction of the application B, the application program C is bound and started by being called by the application program B in a starting service (startService) mode or a binding service (bindService) mode, and the application starting instruction of the application C is triggered. Namely, the operation link of the application a triggered and started by the user is: application A- > application B- > application C-. The called applications in the operation link, which are started by the association of the application a, are respectively: application program B and application program C. And sequencing the application program A triggered and started by the user and each called application program to form a sequence, and taking the sequence number of each application program in the sequence as a layer number. The layer numbers corresponding to the application program A, the application program B and the application program C are respectively 0, 1 and 2. For example, if the layer number threshold is set to 1, the trigger of the application start instruction of the called application with the layer number greater than 1 is similarly set as non-user trigger start. I.e. the triggering of the application start instruction of application C with layer number 2 is similarly set to non-user triggered start. It should be noted that, in the process of generating the operation link of the application, the embodiment of the present invention does not limit the number of the applications started by binding for each application, and does not limit the layer number of the applications started by binding.
And b2, if the trigger type of the application starting instruction is non-user trigger, closing the starting process of the target application corresponding to the application starting instruction so as to close the target application.
And b2, if the triggering type of the application starting instruction is user triggering, determining a starting scene and a target application corresponding to the application starting instruction.
In some embodiments of the present invention, if the trigger type of the application start instruction is non-user trigger, the call information of the callback starter is rejected, and the start process of the target application is closed, so as to close the target application.
In some embodiments of the present invention, when the trigger type of the application start instruction is non-user trigger, when it is monitored that the initiator is called, the proxy layer recalls calling information of the initiator, recalls application information of the application before the application layer is actually started, intercepts a start process of the target application, displays a prompt message prompting that there is binding start, and determines whether to close the start process of the target application in response to an operation instruction input by a user based on a display view of the prompt message. If the operation instruction input by the user represents the closing process, closing the starting process of the target application; and if the operation instruction input by the user represents the maintaining process, determining a starting scene corresponding to the application starting instruction, and determining the target application according to the application information called by the application layer.
In some embodiments of the present invention, when the trigger type of the application start instruction is user trigger, a start scene corresponding to the application start instruction may be determined according to steps a1 to a4, and the target application may be determined according to the application information in step 201.
In some embodiments of the present invention, after determining a start scene and application information called by an application layer, a target content to be displayed may be determined according to content data prestored in a start scene query terminal device, where the content data stores preset content to be displayed and a preset scene that the preset content may display, and specifically, the method for determining the target content includes:
(1) The method comprises the steps of obtaining pre-stored content data, wherein the content data comprise a plurality of display contents to be displayed and a preset scene corresponding to each display content.
(2) And inquiring whether a preset scene consistent with the starting scene exists in the content data or not.
(3) And if the preset scene with the consistent starting scene exists in the content data, acquiring display content corresponding to the preset scene, and setting the display content corresponding to the preset scene as target content to be displayed.
In some embodiments of the present invention, the start scene may be compared with a preset scene in the content data, and it is determined whether a preset scene consistent with the start scene exists in the content data. The target scene parameters of the starting scene can be compared with the scene parameters of the preset scene in the content data, and whether the preset scene with the consistent starting scene exists in the content data or not is determined; the triggering parameters of the starting scene can be compared with the preset triggering parameters of the preset scene in the content data, and whether the preset scene consistent with the starting scene exists in the content data or not is determined; the scene identifier of the start scene may also be compared with a preset scene identifier of a preset scene in the content data to determine whether a preset scene with a consistent start scene exists in the content data, where the scene identifier may be one or more of a numerical value, a letter, and a character, for example, when the scene identifier is "01", the corresponding start scene is application triggered, when the scene identifier is "02", the corresponding start scene is associated started, and when the scene identifier is "03", the corresponding start scene is desktop triggered.
In some embodiments of the present invention, if there is no preset scene in the content data that is consistent with the start scene, which indicates that the start scene does not need to display the target content, or there is no corresponding target content in the start scene, the application layer recalls the call information of the initiator through the call interface of the proxy layer, so as to start the target application.
In some embodiments of the present invention, the terminal device accesses the server at preset time intervals to obtain new content data, so as to update the pre-stored content data.
In some embodiments of the present invention, the server issues new content data to the terminal device every preset time interval.
In some embodiments of the present invention, when receiving a new target content to be displayed, the server obtains a scene corresponding to the new target content, and issues the new target content and the scene corresponding to the new target content to the terminal device.
In some embodiments of the present invention, in order to reduce memory consumption of the terminal device and obtain the target content in time, after the start scene is determined, a data request may be sent to the server, and the target content to be displayed may be determined according to displayable content data returned by the server based on the data request. The displayable content data comprises target content to be displayed and a target starting scene identifier corresponding to the target content to be displayed. Specifically, the method for determining the target content to be displayed includes:
(1) And sending a data request to the server, wherein the data request is used for acquiring displayable content data from the server.
(2) And acquiring displayable content data returned by the server in response to the data request.
(3) And performing scene verification on the starting scene according to the displayable content data.
(4) And if the scene verification passes, acquiring target content to be displayed in the displayable content data.
In some embodiments of the present invention, for some target contents that need to be displayed in time, for example, target contents that need to be displayed in time, such as weather information, geological disaster warning, and the like, target contents to be displayed that can display content data are directly acquired, and the target contents are displayed.
In some embodiments of the present invention, in order to determine whether a target content to be displayed of displayable content data is a target content that needs to be displayed in time, it may be determined whether the target content to be displayed of the displayable content data is the target content that needs to be displayed in time according to a data level corresponding to the displayable content data, where the data level is used to represent a probability that the target content to be displayed of the displayable content data is within the target that needs to be displayed in time, and it should be noted that the larger the numerical value of the data level is, the higher the probability that the target content to be displayed of the displayable content data is within the target that needs to be displayed in time is. Specifically, the method for determining the data level corresponding to the displayable content data includes:
(1) And acquiring the data level corresponding to the displayable content data.
(2) And if the data level corresponding to the displayable content data is greater than or equal to the preset data level, acquiring target content to be displayed of the displayable content data, intercepting a starting process of the target application, and displaying the target content.
(3) And if the data level corresponding to the displayable content data is smaller than the preset data level, performing scene verification according to the starting scene.
In some embodiments of the present invention, a preset data level value may be compared with a data level value corresponding to displayable content data, and if the preset data level value is greater than the data level value corresponding to the displayable content data, which indicates that the probability that target content to be displayed of the displayable content data is within a target that needs to be displayed in time is low, it is determined that the data level corresponding to the displayable content data is less than the preset data level; if the preset data level value is less than or equal to the data level value corresponding to the displayable content data, which indicates that the probability that the target content to be displayed of the displayable content data is in the target which needs to be displayed in time is higher, it is determined that the data level corresponding to the displayable content data is greater than or equal to the preset data level.
In some embodiments of the present invention, when it is determined that the data level corresponding to the displayable content data is greater than or equal to the preset data level, the target content to be displayed of the displayable content data is directly displayed.
In some embodiments of the present invention, when it is determined that the data level corresponding to the displayable content data is less than the preset data level, comparing the target startup scene identifier corresponding to the target content to be displayed with the scene identifier of the startup scene, and if the target startup scene identifier corresponding to the target content to be displayed is consistent with the scene identifier of the startup scene, determining that the scene verification passes; and if the target starting scene identifier corresponding to the target content to be displayed is not consistent with the scene identifier of the starting scene, determining that the scene verification fails.
In some embodiments of the present invention, if the scene verification fails, the application layer calls back the call information of the initiator through the call interface of the proxy layer, so as to start the target application.
In some embodiments of the present invention, after determining target content to be displayed, when monitoring that the initiator is called, the proxy layer triggers the target class of the proxy layer to call back the call information of the initiator from the call interface, and calls back application information of the target application before the target application is actually started on the application layer, so as to intercept a starting process of the target application, and display the target content.
In some embodiments of the present invention, in order to prevent a situation of page jump and application startup due to a user misoperation when displaying a target content, a memory resource of a terminal device is occupied, and when displaying the target content, a transparent interface view that statically responds to a click event is created, and the transparent interface view is disposed on an upper layer of a display view of the target content, so as to prevent a situation of page jump and application startup due to the user misoperation, specifically, the method includes: and creating a transparent interface view, and displaying the transparent interface view on the upper layer of the display view of the target content, wherein the transparent interface view is used for shielding the display view operation event for displaying the target content.
In some embodiments of the present invention, when the target content display completion instruction is responded, the display of the transparent interface view is stopped, and the display view of the target content is closed; and releasing callback information corresponding to the starting process of the target application so as to start the target application.
The application starting method provided by the embodiment of the invention displays the target content in a manner of intercepting the starting of the target application by determining the target content to be displayed corresponding to the starting scene, so that the target content can be displayed without putting corresponding target content for different application programs and improving the application programs, and the application starting method is technically easy to realize and has higher flexibility.
In order to better implement the application starting method provided by the embodiment of the present invention, on the basis of the embodiment of the application starting method, an application starting device is provided, as shown in fig. 4, where fig. 4 is a schematic structural diagram of an embodiment of the application starting device provided by the embodiment of the present invention, and the application starting device shown includes:
the response module 401 is configured to determine, in response to the application start instruction, a start scene and a target application corresponding to the application start instruction;
an obtaining module 402, configured to determine, according to a start scene, target content to be displayed;
an interception module 403, configured to intercept a start process of a target application and display target content;
the starting module 404 is configured to respond to the target content display completion instruction, and release a starting process of the target application, so that the target application is started.
In some embodiments of the present invention, the obtaining module 402 is configured to:
acquiring prestored content data; the content data comprises a plurality of display contents to be displayed and a preset scene corresponding to each display content;
inquiring whether a preset scene consistent with the starting scene exists in the content data or not;
and if the preset scene consistent with the starting scene exists in the content data, acquiring display content corresponding to the preset scene, and setting the display content corresponding to the preset scene as target content to be displayed.
In some embodiments of the present invention, the obtaining module 402 comprises:
the request unit is used for sending a data request to the server, and the data request is used for requesting the server to acquire displayable content data;
the receiving unit is used for receiving displayable content data returned by the server in response to the data request;
the verification unit is used for performing scene verification on the starting scene according to the displayable content data;
and the acquisition unit is used for acquiring the target content to be displayed in the displayable content data if the scene verification is passed.
In some embodiments of the present invention, the displayable content data includes target content to be displayed and a target start scene corresponding to the target content to be displayed, and the verification unit is configured to:
comparing the starting scene with a target starting scene corresponding to target content to be displayed in the displayable content data;
if the starting scene is consistent with a target starting scene corresponding to target content to be displayed in the displayable content data, determining that the scene verification is passed;
and if the starting scene is inconsistent with the target starting scene corresponding to the target content to be displayed in the displayable content data, determining that the scene verification fails.
In some embodiments of the present invention, an application launching device includes a display module;
and the display module is used for creating a transparent interface view, displaying the transparent interface view on the upper layer of the display view of the target content, shielding the display view operation event for displaying the target content, responding to the target content display completion instruction, stopping displaying the transparent interface view and closing the display view of the target content.
The starting module 404 is configured to release callback information corresponding to a starting process of the target application, so that the target application is started.
In some embodiments of the invention, the response module 401 is configured to:
responding to an application starting instruction, and determining a trigger type of the application starting instruction;
if the triggering type of the application starting instruction is non-user triggering, closing the starting process of the target application corresponding to the application starting instruction so as to close the target application;
and if the triggering type of the application starting instruction is user triggering, determining a starting scene and a target application corresponding to the application starting instruction.
In some embodiments of the invention, the response module 401 is configured to:
acquiring view configuration parameters and application information in an application starting instruction;
inquiring prestored scene data, and determining target scene parameters matched with the view configuration parameters and a scene corresponding to the target scene parameters; the scene data comprises a plurality of scene parameters and a scene corresponding to each scene parameter;
determining a target application corresponding to the application starting instruction according to the application information;
setting the scene corresponding to the target scene parameter as a starting scene corresponding to the application starting instruction.
The application starting device provided by the embodiment of the invention displays the target content in a manner of intercepting the starting of the target application by determining the target content to be displayed corresponding to the starting scene, so that the target content can be displayed without putting corresponding target content for different application programs and improving the application programs, the technology is easy to realize, and the flexibility is higher.
Accordingly, as shown in fig. 5, the terminal device may include a Radio Frequency (RF) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a Wireless Fidelity (WiFi) module 507, a processor 508 including one or more processing cores, and a power supply 509. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Message Service (SMS), and the like.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal device, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel for input and output functions.
The terminal device may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and/or the backlight when the terminal device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of identifying the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration identification related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here.
Audio circuitry 506, a speaker, and a microphone may provide an audio interface between the user and the terminal device. The audio circuit 506 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508, and then transmitted to, for example, another terminal device via the RF circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of peripheral headphones with the terminal device.
WiFi belongs to short-distance wireless transmission technology, and terminal equipment can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the terminal device, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile phone. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The terminal device also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 508 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 508 in the terminal device loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application program stored in the memory 502, thereby implementing various functions:
responding to an application starting instruction, and determining a starting scene and a target application corresponding to the application starting instruction;
determining target content to be displayed according to the starting scene;
intercepting a starting process of a target application and displaying target content;
and responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the methods for transferring a virtual resource provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
responding to an application starting instruction, and determining a starting scene and a target application corresponding to the application starting instruction;
determining target content to be displayed according to the starting scene;
intercepting a starting process of a target application and displaying target content;
and responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any application starting method provided in the embodiment of the present invention, beneficial effects that can be achieved by any application starting method provided in the embodiment of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The application starting method, the application starting device, the terminal device and the storage medium provided by the embodiment of the invention are described in detail, a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for those 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. An application launching method, characterized in that the method comprises:
responding to an application starting instruction, and determining a starting scene and a target application corresponding to the application starting instruction;
determining target content to be displayed according to the starting scene;
intercepting a starting process of the target application and displaying the target content;
and responding to the target content display completion instruction, and releasing the starting process of the target application so as to start the target application.
2. The application launching method of claim 1, wherein the determining target content to be displayed according to the launch scenario comprises:
acquiring prestored content data; the content data comprises a plurality of display contents to be displayed and a preset scene corresponding to each display content;
inquiring whether a preset scene consistent with the starting scene exists in the content data or not;
and if the preset scene consistent with the starting scene exists in the content data, acquiring display content corresponding to the preset scene, and setting the display content corresponding to the preset scene as target content to be displayed.
3. The application launching method of claim 1, wherein the determining target content to be displayed according to the launch scenario comprises:
sending a data request to a server, wherein the data request is used for requesting the server to acquire displayable content data;
receiving displayable content data returned by the server in response to the data request;
performing scene verification on the starting scene according to the displayable content data;
and if the scene verification is passed, acquiring the target content to be displayed in the displayable content data.
4. The application starting method according to claim 3, wherein the displayable content data includes target content to be displayed and a target starting scene corresponding to the target content to be displayed;
the scene verification of the startup scene according to the displayable content data includes:
comparing the starting scene with a target starting scene corresponding to target content to be displayed in the displayable content data;
if the starting scene is consistent with a target starting scene corresponding to target content to be displayed in the displayable content data, determining that the scene verification is passed;
and if the starting scene is inconsistent with the target starting scene corresponding to the target content to be displayed in the displayable content data, determining that the scene verification fails.
5. The application launching method of claim 1, wherein after the target content is displayed, the method comprises:
creating a transparent interface view, and displaying the transparent interface view on the upper layer of the display view of the target content, wherein the transparent interface view is used for shielding a display view operation event for displaying the target content;
the step of responding to the target content display completion instruction and releasing the starting process of the target application so as to start the target application comprises the following steps:
responding to the target content display finishing instruction, stopping displaying the transparent interface view, and closing the display view of the target content;
and releasing callback information corresponding to the starting process of the target application so as to start the target application.
6. The application starting method according to claim 1, wherein the determining, in response to the application starting instruction, the starting scene and the target application corresponding to the application starting instruction comprises:
responding to an application starting instruction, and determining a trigger type of the application starting instruction;
if the triggering type of the application starting instruction is non-user triggering, closing the starting process of the target application corresponding to the application starting instruction so as to close the target application;
and if the triggering type of the application starting instruction is user triggering, determining a starting scene and a target application corresponding to the application starting instruction.
7. The application starting method according to any one of claims 1 to 6, wherein the determining the starting scene and the target application corresponding to the application starting instruction comprises:
acquiring view configuration parameters and application information in the application starting instruction;
inquiring prestored scene data, and determining target scene parameters matched with the view configuration parameters and a scene corresponding to the target scene parameters; the scene data comprises a plurality of scene parameters and a scene corresponding to each scene parameter;
determining a target application corresponding to the application starting instruction according to the application information;
setting the scene corresponding to the target scene parameter as a starting scene corresponding to the application starting instruction.
8. An application launching device, characterized in that the device comprises:
the response module is used for responding to an application starting instruction and determining a starting scene and a target application corresponding to the application starting instruction;
the acquisition module is used for determining target content to be displayed according to the starting scene;
the intercepting module is used for intercepting the starting process of the target application and displaying the target content;
and the starting module is used for responding to the target content display finishing instruction and releasing the starting process of the target application so as to start the target application.
9. A terminal device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the operations of the application starting method according to any one of claims 1 to 7.
10. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the application launching method according to any one of claims 1 to 7.
CN202210899075.2A 2022-07-28 2022-07-28 Application starting method, device, terminal equipment and storage medium Active CN115225966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210899075.2A CN115225966B (en) 2022-07-28 2022-07-28 Application starting method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210899075.2A CN115225966B (en) 2022-07-28 2022-07-28 Application starting method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115225966A true CN115225966A (en) 2022-10-21
CN115225966B CN115225966B (en) 2023-11-14

Family

ID=83613097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210899075.2A Active CN115225966B (en) 2022-07-28 2022-07-28 Application starting method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115225966B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2725513A1 (en) * 2012-10-24 2014-04-30 BlackBerry Limited Managing permission settings applied to applications
CN104462978A (en) * 2014-12-24 2015-03-25 北京奇虎科技有限公司 Method and device for application program authority management
US20160344604A1 (en) * 2009-01-28 2016-11-24 Headwater Partners I Llc Mobile Device and Method Attributing Media Services Network Usage to Requesting Application
CN111666497A (en) * 2020-06-16 2020-09-15 腾讯科技(上海)有限公司 Application program loading method and device, electronic equipment and readable storage medium
EP3832461A1 (en) * 2019-12-05 2021-06-09 Beijing Xiaomi Mobile Software Co., Ltd. Terminal control method and apparatus, terminal and storage medium
WO2022062869A1 (en) * 2020-09-24 2022-03-31 腾讯科技(深圳)有限公司 Data processing method, apparatus, computer device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160344604A1 (en) * 2009-01-28 2016-11-24 Headwater Partners I Llc Mobile Device and Method Attributing Media Services Network Usage to Requesting Application
EP2725513A1 (en) * 2012-10-24 2014-04-30 BlackBerry Limited Managing permission settings applied to applications
CN104462978A (en) * 2014-12-24 2015-03-25 北京奇虎科技有限公司 Method and device for application program authority management
EP3832461A1 (en) * 2019-12-05 2021-06-09 Beijing Xiaomi Mobile Software Co., Ltd. Terminal control method and apparatus, terminal and storage medium
CN111666497A (en) * 2020-06-16 2020-09-15 腾讯科技(上海)有限公司 Application program loading method and device, electronic equipment and readable storage medium
WO2022062869A1 (en) * 2020-09-24 2022-03-31 腾讯科技(深圳)有限公司 Data processing method, apparatus, computer device, and storage medium

Also Published As

Publication number Publication date
CN115225966B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
US11449955B2 (en) Information processing method and apparatus
US11798107B2 (en) Scenario-based application recommendation method and apparatus
EP3174253B1 (en) Message withdrawal method and apparatus, computer program and recording medium
JP6511541B2 (en) Message updating method, apparatus and terminal
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN106993227B (en) Method and device for information display
AU2017219385A1 (en) Electronic device and method of application data display therefor
US9870239B2 (en) Method and device for running application program
JP2017530564A (en) Connection state prompting method and apparatus
CN106254910B (en) Method and device for recording image
CN107786424B (en) Audio and video communication method, terminal and server
WO2014198116A1 (en) Method, apparatus and system for short message-based information push and mobile client supporting the same
CN108090345B (en) Linux system external command execution method and device
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN106095423B (en) Method, terminal and server for providing browsing service
EP2869233A1 (en) Method, device and terminal for protecting application program
CN107463395B (en) Component calling method and device
US20180260847A1 (en) Information display method, apparatus, and system
CN111273961A (en) Advertisement display method and device and electronic equipment
CN109145182B (en) Data acquisition method and device, computer equipment and system
US20220232287A1 (en) Method and device for acquiring virtual resource and storage medium
CN115225966B (en) Application starting method, device, terminal equipment and storage medium
CN113852450A (en) Message push feedback method and device, electronic equipment and storage medium

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