Application program control method and electronic device
By storing the correspondence between control conditions and results in electronic devices, determining control conditions based on application information and displaying prompts, and then redirecting to the app after obtaining user authorization, the security risks caused by app redirection in existing technologies are solved, thus improving the security of electronic devices.
Patent Information
- Application Number
- CN202310955890.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2043-07-31
AI Technical Summary
Existing technologies cannot effectively control app redirects on electronic devices, which may lead to attacks from malicious programs such as viruses, malicious plugins, and marketing advertisements, posing security risks.
By storing the correspondence between control conditions and results in electronic devices, control conditions are determined based on application information and prompts are displayed. After obtaining user authorization, the app can be redirected, or redirection can be directly initiated or blocked, thereby reducing the number of unnecessary app redirections.
It effectively reduces the risk of electronic devices being attacked due to APP redirection, improves security, and reduces the chance of malicious programs intruding.
Smart Images

Figure CN118260753B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a method for controlling an application program and an electronic device. Background Art
[0002] With the development of electronic technology and mobile Internet, various applications (APPs) can be installed in electronic devices. A user can input a trigger operation for instructing APP jump in an interface corresponding to an APP, and the electronic device can jump to APP after detecting the user's trigger operation, that is, the electronic device can start another APP and display the interface corresponding to the other APP.
[0003] Since APP jumps can occur at will in an APP to switch to another APP's corresponding interface, if malicious programs such as viruses, malicious plug-ins, marketing advertisements, etc. are written into the APP after the jump, it may cause electronic devices to be attacked and pose a security risk. Summary of the invention
[0004] The embodiment of the present application provides a method for managing and controlling an application program, which can reduce the risk of an electronic device being attacked due to APP jump.
[0005] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:
[0006] In a first aspect, an embodiment of the present application provides a method for controlling an application program, which is applied to an electronic device, and the electronic device stores a correspondence between at least one control condition and a control result. Each control condition corresponds to a control result. The method includes:
[0007] A first trigger operation for a first interface is received. The first interface corresponds to a first application, and the first trigger operation is used to indicate a jump to display a second interface. The second interface corresponds to a second application, and the first application is different from the second application. In response to the first trigger operation, a first control condition is determined from at least one control condition based on first application information corresponding to the first application and / or second application information corresponding to the second application. Based on the control result corresponding to the first control condition, a first prompt message is displayed, and the first prompt message is used to prompt to obtain permission to jump to display the second interface. A second trigger operation for the first prompt message is received, and the second trigger operation is used to indicate permission to jump to display the second interface. In response to the second trigger operation, the second interface is jumped to display.
[0008] In the method of the present application, the electronic device can determine the first control condition based on the first application information corresponding to the first application and / or the second application information corresponding to the second application, thereby further determining the control result corresponding to the first control condition. Based on the control result corresponding to the first control condition, a first prompt information for obtaining permission to jump to display the second interface from the user can be displayed. After obtaining the user's authorization, the second interface can be jumped to display, which can reduce the number of times the electronic device is attacked due to APP jumps and improve security.
[0009] In combination with the first aspect, in a possible design, the first application information includes at least one of the application type and authentication type of the first application, and the calling permission of the first application to the second application. The second application information includes at least one of the authentication type, advertisement type, jump control type, and attribution type of the second application. Among them, the first interface includes advertisements and jump controls associated with the second application, and the jump control type is the type of jump controls associated with the second application included in the first interface. The advertisement type of the second application is the type of advertisement associated with the second application included in the first interface.
[0010] In combination with the first aspect, in a possible design, a third trigger operation for the first prompt information is received, and the third trigger operation is used to indicate that jumping to displaying the second interface is prohibited. In response to the third trigger operation, the first prompt information is closed and the first interface is kept displayed.
[0011] In this solution, if the electronic device receives a third trigger operation for indicating prohibition of jumping to the second interface after displaying the first prompt information, the interface jump may not occur and the first interface remains displayed. This can reduce the number of attacks on electronic devices due to APP jumps and improve security.
[0012] In combination with the first aspect, in a possible design, the control result includes a first control result, a second control result, and a third control result. The first control result is used to indicate the display of prompt information, the second control result is used to indicate prohibition of interface jump, and the third control result is used to indicate execution of interface jump. If the control result corresponding to the first control condition is the first control result, the first prompt information is displayed on the first interface.
[0013] In this solution, a variety of possible implementation methods of the control results are provided, and the electronic device can perform corresponding responses based on the different control results received.
[0014] In combination with the first aspect, in a possible design, if the control result corresponding to the first control condition is the second control result, the first interface is kept displayed. If the control result corresponding to the first control condition is the third control result, the second interface is displayed.
[0015] In this solution, the electronic device can directly jump to display the second interface only when the control result corresponding to the first control condition is the third control result. Otherwise, the electronic device will not jump to display the second interface or jump to display the second interface after obtaining the user's authorization, which can reduce the number of attacks on the electronic device due to APP jumps and improve security.
[0016] In combination with the first aspect, in a possible design, a fourth trigger operation for the second interface is received. The fourth trigger operation is used to instruct to jump to display a third interface, and the third interface corresponds to a third application. The third application is different from the second application. In response to the fourth trigger operation, based on the second application information corresponding to the second application and / or the third application information corresponding to the third application, a second control condition is determined from at least one control condition.
[0017] Based on the control result corresponding to the second control condition, a second prompt message is displayed, and the second prompt message is used to prompt to obtain the permission to jump to display the third interface.
[0018] In this solution, the second application can be used not only as a callee application but also as a caller application. When the electronic device receives the fourth trigger operation input by the user on the second interface, the second control condition can be determined based on the second application information corresponding to the second application and / or the third application information corresponding to the third application. And the corresponding response is executed based on the control result corresponding to the second control condition. It can reduce the number of attacks on electronic devices due to APP jumps and improve security.
[0019] In conjunction with the first aspect, in a possible design, if the target control condition in at least one control condition is that the caller application has the calling authority to the callee application, the control result corresponding to the target control condition is used to indicate that the interface jump is to be executed. If the target control condition in at least one control condition is that the caller application does not have the calling authority to the callee application, the control result corresponding to the target control condition is used to indicate that the interface jump is prohibited.
[0020] In this scheme, the corresponding relationship between various control conditions and control results is given.
[0021] In combination with the first aspect, in a possible design, if the target control condition in at least one control condition is that the jump control type applied by the caller is a release link type, the control result corresponding to the target control condition is used to indicate the display of prompt information.
[0022] In this scheme, a corresponding relationship between control conditions and control results is given.
[0023] In combination with the first aspect, in a possible design, the control condition is arranged based on at least one preset command.
[0024] In this solution, the preset command for editing the control conditions is a command customized by this application. Based on the combination of different commands, a variety of preset conditions can be obtained.
[0025] In combination with the first aspect, in one possible design, the electronic device obtains at least one control condition from the server according to a preset time period.
[0026] In this solution, the electronic device can periodically obtain control conditions from the server to update the locally stored control conditions, facilitate subsequent direct calls, and save call time.
[0027] In combination with the first aspect, in a possible design, the electronic device includes an application management service module and an ecological management service module, and a system application is installed in the electronic device. After the electronic device receives a first trigger operation for the first interface, the application management service module obtains first application information corresponding to the first application and second application information corresponding to the second application. The ecological management service module determines a first control condition from at least one control condition based on the first application information and / or the second application information. The ecological management service module obtains a control result corresponding to the first control condition based on the correspondence between at least one control condition and the control result. If the control result is used to indicate an execution interface jump, the system application jumps to display the second interface.
[0028] In this solution, an internal implementation method is provided for an electronic device to execute a corresponding response based on the management and control results.
[0029] In combination with the first aspect, in a possible design, if the control result is used to indicate displaying prompt information, the system application displays the first prompt information. If the control result is used to indicate prohibiting interface jump, the system application displays the first interface. If the control result is used to indicate executing interface jump, the first application jumps to display the second interface.
[0030] In this solution, another internal implementation method is provided for the electronic device to execute a corresponding response based on the management and control results.
[0031] In a second aspect, an embodiment of the present application provides an electronic device. The electronic device includes a memory and one or more processors, the memory and the processor are coupled; the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the electronic device executes the method described in the first aspect and any possible design thereof.
[0032] In a third aspect, an embodiment of the present application provides a chip system. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line, and the interface circuit is used to receive a signal from a memory of an electronic device and send a signal to the processor, the signal including a computer instruction stored in the memory, and when the processor executes the computer instruction, the electronic device executes the method described in the first aspect and any possible design thereof.
[0033] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible design thereof.
[0034] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the method described in the first aspect and any possible design thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1A A schematic diagram of an application jump scenario provided by the prior art;
[0036] Figure 1B A schematic diagram of another application jump scenario provided by the prior art;
[0037] Figure 2A A schematic diagram of implementing an application jump provided by the prior art;
[0038] Figure 2B Another schematic diagram of implementing application jump provided by the prior art;
[0039] Figure 3 A hardware structure diagram of an electronic device provided in an embodiment of the present application;
[0040] Figure 4 A software structure diagram of an electronic device provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of an application interface provided in an embodiment of the present application;
[0042] Fig. 6A A schematic diagram of an interface switching for application jump provided in an embodiment of the present application;
[0043] Figure 6B A schematic diagram of another interface switching for application jump provided in an embodiment of the present application;
[0044] Figure 6C A schematic diagram of an interface without APP jump provided in an embodiment of the present application;
[0045] Figure 7 A schematic diagram of an application management and control system provided in an embodiment of the present application;
[0046] Figure 8 A schematic diagram of interaction between an electronic device and a server provided in an embodiment of the present application;
[0047] Fig. 9 A schematic diagram of the interaction between an ecological management service module and an application management service module provided in an embodiment of the present application;
[0048] Fig.10 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0050] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0051] With the development of electronic technology and mobile Internet, various APPs can be installed in electronic devices, and users can use the APPs installed in electronic devices for social interaction, shopping, resource acquisition, etc. Among them, there may be cooperation between different APPs. The user can perform a trigger operation in the interface corresponding to an APP (for example, click a certain control or link), and the electronic device can jump to the APP after detecting the user's trigger operation, that is, the electronic device can start another APP and display the interface corresponding to the other APP.
[0052] For example, see Figure 1AWhen the shopping APP is running on the electronic device, a shopping interface 101 may be displayed. The shopping interface 101 includes a payment control 102 corresponding to the payment APP. When the electronic device detects an input selection operation on the payment control 102, an APP jump may occur. That is, the electronic device may start the payment APP and display a payment interface 103 corresponding to the payment APP.
[0053] For example, see Figure 1B When the application manager APP is running on the electronic device, an application installation interface 111 may be displayed. The application installation interface 111 includes an installation control 112 for installing the target APP. When the electronic device detects the input selection operation of the installation control 112, an APP jump may occur. That is, the electronic device may install the target APP. After completing the installation of the target APP, the electronic device may start the target APP and display the interface 113 corresponding to the target APP.
[0054] In an embodiment of the present application, controls such as the above-mentioned payment controls and installation controls that trigger an APP jump in an electronic device may be referred to as jump controls. In the display interface corresponding to the APP, multiple jump controls may be included, and malicious jump controls may exist in these jump controls. For example, malicious jump controls such as triggering an electronic device to install a bundled APP so that the electronic device jumps to display the interface corresponding to the bundled APP. If the user selects these malicious jump controls, the electronic device will jump to the APP. If malicious programs such as viruses, malicious plug-ins, marketing advertisements, etc. are written into the APP after the jump, the electronic device may be attacked, posing a security risk.
[0055] In a related technology, static rules can be set for each APP installed in the electronic device. Taking APP1 as an example, the static rules set for APP1 may include whether the components of APP1 are open to the outside, whether other APPs are allowed to access APP1, which system permissions APP1 can use, and the permission level of APP1 when using each system permission.
[0056] When the electronic device receives an event that triggers an APP jump, for example, when the electronic device receives an event that triggers a jump from APP1 to APP2, it can determine whether a jump occurs based on static rules corresponding to APP1 and / or APP2.
[0057] For example, see Figure 2A, the static rules set for APP2 may include that component 1 in APP2 is open to the outside. Since component 1 in APP2 is open to the outside, when the electronic device receives an event that triggers a jump from APP1 to APP2, APP1 can explicitly call component 1 in APP2 through the system of the electronic device, that is, APP1 can directly access or pull up the page corresponding to component 1 in APP2.
[0058] Or, continue to see Figure 2A , the static rules set for APP2 may also include APP2 supporting implicit access behavior (also referred to as action 1 in the embodiment of the present application). Among them, since APP2 supports implicit access action 1, when the electronic device receives an event that triggers a jump from APP1 to APP2, APP1 can implicitly call component 1 in APP2 through the system of the electronic device, that is, APP1 can access or pull up the page corresponding to the component (for example, component 1) open to the outside world in APP2 through action 1.
[0059] For example, see Figure 2B , the static rules set for APP2 may include that component 1 in APP2 is open to the outside. The static rules set for APP1 may include setting component 1 of APP2 as a whitelist, that is, APP1 is allowed to access component 1 of APP2. Among them, since component 1 in APP2 is open to the outside, and APP1 is allowed to access component 1 of APP2, when the electronic device receives an event that triggers a jump from APP1 to APP2, APP1 can directly call component 1 in APP2, that is, APP1 can directly access or pull up the page corresponding to component 1 in APP2.
[0060] Or, continue to see Figure 2B , the static rules set for APP2 may include opening component 2 in APP2 to the outside. The static rules set for APP1 may include setting component 2 of APP2 to the blacklist, that is, APP1 is not allowed to access component 2 of APP2. Among them, although component 2 in APP2 is open to the outside, since APP1 is not allowed to access component 2 of APP2, when the electronic device receives an event that triggers a jump from APP1 to APP2, APP1 cannot call component 2 in APP2, that is, APP1 cannot access or pull up the page corresponding to component 2 in APP2.
[0061] Although the above method can control whether the electronic device performs an APP jump based on the static rules set for each APP installed in the electronic device when the electronic device receives an event that triggers the APP to jump. However, the above method is not applicable to some special scenarios. For example, when the electronic device receives an event that triggers the jump from APP1 to APP2, if APP2 is not an APP installed in the electronic device, there will be no static rules set for APP2 in the electronic device. In this scenario, since the electronic device cannot control whether to perform an APP jump, the electronic device will jump directly from APP1 to APP2. If malicious programs such as viruses, malicious plug-ins, marketing advertisements, etc. are written into APP2, it may still cause the electronic device to be attacked, posing a security risk.
[0062] Based on the above problems, the embodiment of the present application provides an application management method, which can determine the target management condition and the management result corresponding to the target management condition according to the application information of the caller application and the application information of the callee application, so as to control whether to perform the APP jump when receiving the input instruction for instructing the APP jump. It can reduce the risk of electronic devices being attacked due to APP jump and improve the security of electronic devices.
[0063] The application management method provided in the embodiment of the present application can be applied to electronic devices. For example, the electronic device in the embodiment of the present application can be a portable computer (such as a mobile phone), a tablet computer, a laptop computer, a personal computer (PC), a wearable electronic device (such as a smart watch), an augmented reality (AR) device, a virtual reality (VR) device, a car computer, etc. The following embodiments do not impose any special restrictions on the specific form of the electronic device.
[0064] Figure 3 1 shows a schematic diagram of the structure of the electronic device 100. Figure 3As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0065] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0066] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0067] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0068] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0069] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0070] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0071] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0072] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0073] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0074] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.
[0075] Figure 4 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0076] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0077] The application layer can include a series of application packages.
[0078] like Figure 4 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. There may be cooperation between the applications. For example, the display interface corresponding to one application may include a jump control for jumping to the display interface corresponding to another application.
[0079] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0080] like Figure 4 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0081] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0082] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0083] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0084] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0085] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0086] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0087] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0088] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0089] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0090] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0091] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0092] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0093] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0094] A 2D graphics engine is a drawing engine for 2D drawings.
[0095] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0096] In some embodiments, the application layer may also include system applications, and the kernel layer may also include an application management service module and an ecosystem management service module.
[0097] The application management service module is used to detect the APP jump scenario, and when the APP jump scenario is detected, it requests the ecological management service module to obtain the management and control results.
[0098] The ecological management service module is used to determine a target control condition in at least one control condition based on application information of an application associated with the APP jump, and to determine a control result corresponding to the target control condition.
[0099] The at least one control condition is obtained by the system application from the server according to a preset time period. Alternatively, the at least one control condition may also be pre-set in the system application.
[0100] The application management service module is also used to respond to the control result after obtaining the control result determined by the ecological management service module. For example, if the control result determined by the ecological management service module is used to indicate the display of prompt information, the application management service module sends an instruction to the system application to indicate the display of prompt information. For another example, if the control result determined by the ecological management service module is used to indicate the prohibition of interface jump, the application management service module sends an instruction to the system application to indicate the prohibition of interface jump. Or if the control result determined by the ecological management service module is used to indicate the execution of interface jump, the application management service module sends an instruction to the first application to indicate the execution of interface jump.
[0101] In some embodiments, multiple APPs may be installed on the electronic device. The user may click or select any APP to instruct the electronic device to start the APP. After the electronic device starts the APP, the application interface corresponding to the APP may be displayed. For example, see Figure 5 After receiving a click or selection operation input by the user for application 501 , the electronic device can start application 501 and display an application interface 502 corresponding to application 501 .
[0102] In some embodiments, there may be cooperation between APPs to achieve the purpose of attracting traffic or promoting. For example, the application interface corresponding to an APP includes a jump control of another APP. The user can input a trigger operation for the jump control to the electronic device to instruct the electronic device to jump the APP, thereby displaying the application interface of another APP. After the electronic device receives the trigger operation for the jump control input by the user, it can determine whether to jump to display the application interface of another APP in response to the trigger operation.
[0103] For ease of description, in an embodiment of the present application, the application interface displayed by the electronic device before the APP jumps can be referred to as the first interface, and the APP corresponding to the first interface is referred to as the first application. The application interface displayed by the electronic device after the APP jumps can be referred to as the second interface, and the APP corresponding to the second interface is referred to as the second application. The first application is different from the second application. In addition, the trigger operation for the jump control input by the user in the first interface received by the electronic device can be referred to as the first trigger operation, and the first trigger operation is used to indicate the jump to display the second interface.
[0104] For example, see Figure 5 , the application interface 502 includes a jump control 503 corresponding to the second application. The user can click the jump control 503 to input a first trigger operation for the jump control 503 to the electronic device. In response to the received first trigger operation, the electronic device can determine whether to jump to display the application interface of the second application.
[0105] In some embodiments, the electronic device can obtain first application information corresponding to the first application and second application information corresponding to the second application in response to the first trigger operation. Based on the first application information corresponding to the first application and / or the second application information corresponding to the second application, the first control condition is determined in at least one control condition.
[0106] In some embodiments, referring to Table 1, the first application information may include at least one of the application type and authentication type of the first application, and the first application's calling permission for the second application (also referred to as a blacklist type in the embodiments of the present application).
[0107] It should be noted that the first application information may also include the package name of the first application, the account ID of the account logged in to the first application, the process ID of the first application, the application parameters of the first application (for example, param parameters, action parameters, uir parameters), etc., which are not limited in the embodiments of the present application.
[0108] The second application information may include at least one of the authentication type of the second application, the advertisement type, the jump control type, and the attribution type of the second application (which may also be referred to as the household registration type in the embodiment of the present application).
[0109] The application type is the service attribute of the corresponding APP, and the application type may include at least one of Hongmeng APP, non-broad-caliber meta-service, Android APP, quick application, and broad-caliber meta-service.
[0110] The authentication type is used to characterize the type of platform that authenticates the corresponding APP. Before the APP is put on the platform such as the APP market and the service market, the corresponding platform will authenticate the APP to detect whether the relevant information of the APP complies with the listing regulations. The type of platform used to detect whether the relevant information of the APP complies with the listing regulations is the authentication type of the APP. The authentication type can include at least one of the APP market, service market, negative one screen, quick application center, internal authentication media, external authentication media, and other authentication media.
[0111] The blacklist type may include at least one of a blacklist and a non-blacklist. The blacklist means that the corresponding first application has the permission to call the second application, and the non-blacklist means that the corresponding first application does not have the permission to call the second application.
[0112] The household registration book type may include at least one of the same application series, the same developer, and the same developer cluster. The same application series means that there is a direct association between the corresponding first application and the second application. For example, the first application is version 1.0 of a game application, and the second application is version 2.0 of the game application. There is a direct association between the first application and the second application, and the second application and the first application are in the same application series. For another example, the first application is a shopping application, and the second application is a payment application used to support payment on the shopping application. There is a direct association between the first application and the second application, and the household registration book type of the second application for the first application is the same application series.
[0113] The same developer means that the developer of the first application and the second application is the same. For example, if the first application and the second application are both developed by developer 1, then the account book type of the second application for the first application is the same developer.
[0114] The same developer cluster means that the developers of the first application and the second application belong to the same development team. For example, the first application is developed by developer 1, and the second application is developed by developer 2. If developer 1 and developer 2 belong to development team 1, then the second application's account type for the first application is the same developer cluster.
[0115] The jump control type is used to characterize the type of jump control associated with the second application included in the first interface. The type of jump control may include a detail page link and the link to open the detail page is at least one of an APP in the account book of the first application, a release link, other links, and a quick application link. The APP in the account book of the first application is an APP in the same series of applications as the first application; or, an APP from the same developer as the first application; or, an APP from the same developer cluster as the first application, etc., which is not limited in the embodiments of the present application.
[0116] The advertisement type is used to characterize the type of advertisement associated with the second application included in the first interface. The advertisement type may include at least one of the application monetization advertisement (AGD Pro) type and the marketing advertisement (ADS (PPS)) type.
[0117] It should be noted that the second application information may also include the package name of the second application, the account ID of the account logged in to the second application, the process ID of the second application, the application parameters of the second application (for example, param parameters, action parameters, uir parameters), etc., which are not limited in the embodiments of the present application.
[0118] Table 1
[0119]
[0120]
[0121] Wherein, no matter for the first application or the second application, for part of the application information, different values may be used to represent the application information as shown in Table 1, so as to convert the application information into a language recognizable by the electronic device.
[0122] For example, if the first application information indicates the application type of the first application, "1" can be used to indicate that the first application is a Hongmeng APP; "2" can be used to indicate that the first application is a non-broad-caliber meta-service APP; "3" can be used to indicate that the first application is an Android APP; "2" can be used to indicate that the first application is a quick application; and "5" can be used to indicate that the first application is a wide-caliber meta-service APP. If the application type of the first application does not belong to any of the above application types, "0" can be used to indicate the application type of the first application.
[0123] For another example, if the second application information is used to indicate the type of advertisement presented by the second application in the first interface corresponding to the first application, "1" can be used to indicate that the advertisement type corresponding to the second application is AGD Pro; 2 can be used to indicate that the advertisement type corresponding to the second application is ADS (PPS). If the advertisement type of the second application is neither AGD Pro nor ADS (PPS), "0" can be used to indicate the advertisement type of the second application.
[0124] In some embodiments, the control conditions may be pre-stored in the electronic device. After the electronic device receives the first trigger operation input by the user, the control conditions may be directly retrieved. Alternatively, the control conditions may also be stored in a server connected to the electronic device. After the electronic device receives the first trigger operation input by the user, it may send a request to the server for obtaining the control conditions to obtain the control conditions from the server.
[0125] In some embodiments, if the control conditions are stored in a server connected to the electronic device, the electronic device may also send a request to the server for obtaining the control conditions at a preset time period to update the control conditions obtained locally. For example, the electronic device may send a request to the server for obtaining the control conditions every 24 hours to update the control conditions obtained locally.
[0126] In some embodiments, the control condition is used to express the control scenario of the corresponding application. The control condition is arranged based on at least one preset command (also referred to as DSL command in the embodiment of the application) in the preset command set (also referred to as DSL command set in the embodiment of the application). DSL command is a command customized by the application.
[0127] The DSL commands customized by this application may be shown in Table 2 below:
[0128] Table 2
[0129]
[0130]
[0131] In the above table, caller represents the caller application. The caller application is the application corresponding to the interface displayed by the electronic device before the APP jump occurs, for example, the first application in the embodiment of the present application. Target represents the callee application. The callee application is the application corresponding to the interface displayed by the electronic device after the APP jump occurs if the APP jump occurs. For example, the second application in the embodiment of the present application.
[0132] The "t" value in different DSL commands is different, and the meanings are also different. For example, for the IS_JUMP_TYPE command, IS_JUMP_TYPE(caller, want, "1") means jumping into the caller application, IS_JUMP_TYPE(caller, want, "2") means jumping out of the caller application, and IS_JUMP_TYPE(caller, want, "2") means flowing inside the caller application.
[0133] Different combinations of DSL commands customized based on this application can be compiled into different control conditions.
[0134] For example, based on IS_JUMP_TYPE, EQUAL, AND, GET_TAG and BUNDLENAME commands, the control conditions AND(IS_JUMP_TYPE(caller, want, "2"), EQUAL(GET_TAG(BUNDLENAME(caller),"blackListType"),"1") can be arranged. Among them, IS_JUMP_TYPE(caller, want, "2") means jumping out of the caller application. blackListType represents the blacklist type. Combined with Table 1, "1" can be used to represent the blacklist, and "0" can be used to represent the non-blacklist, then EQUAL(GET_TAG(BUNDLENAME(caller),"blackListType"),"1") indicates that the caller application is a blacklist application. The control condition is expressed as: jumping out of the caller application and the caller application is a blacklist application. Among them, the caller application is a blacklist application, that is, the caller application does not have the calling permission to the callee application.
[0135] For another example, based on the IS_JUMP_TYPE, EQUAL, AND, GET_TAG, and BUNDLENAME commands, the control conditions AND(IS_JUMP_TYPE(caller, want, "2"), EQUAL(GET_TAG(BUNDLENAME(caller),"blackListType"), "0") can also be arranged. Combined with Table 1, since "0" means non-blacklist, EQUAL(GET_TAG(BUNDLENAME(caller),"blackListType"), "0" means that the caller application is a non-blacklist application. The control condition is expressed as: jump out of the caller application and the caller application is a non-blacklist application. Among them, the caller application is a non-blacklist application, that is, the caller application has the calling permission to the callee application.
[0136] For another example, based on the GET_DETAIL_APPID, OR, EQUAL, GET_QA_PKG and BUNDLENAME commands, the control conditions can also be arranged as OR(GET_DETAIL_APPID(want), 1), EQUAL(GET_QA_PKG(BUNDLENAME(Target), "type of household")"8")). Among them, type of household indicates the household register type, and GET_DETAIL_APPID(want), 1 indicates entering the details page. Combined with Table 1, the control condition is expressed as: entering the details page or the household register type of the callee application is the same developer type.
[0137] For another example, based on the NOT, IS_COMMON_LINK and IS_PASS_LINK commands, the control condition can also be arranged as NOT((IS_COMMON_LINK(Target, want), "1"))AND(IS_PASS_LINK(Target, want), "1"). Then the control condition is expressed as: the type of the jump control applied by the callee is neither a common link type nor a pass link type.
[0138] For another example, based on AND, URI, GREATER, and PARAM commands, the control conditions can also be arranged as AND(URI(caller, want), "0"), GREATER((PARAM(caller, want), (PARAM(Target, want))). Then the control condition is expressed as: the URI (Uniform Resource Identifier) of the caller application is not obtained, and the PARAM parameter of the caller application is greater than the PARAM parameter of the callee application.
[0139] For another example, based on AND, URI, LESS, and PARAM commands, the control conditions can also be arranged as AND(URI(caller, want), "0"), LESS((PARAM(caller, want), (PARAM(Target, want))). The control condition is then expressed as: the URI (Uniform Resource Identifier) of the caller application is not obtained, and the PARAM parameter of the caller application is less than the PARAM parameter of the callee application.
[0140] For another example, based on the GET_SERISE_TYPE command, a control condition GET_SERISE_TYPE((BUNDLENAME(Target, want), BUNDLENAME(caller, want)), "1") can be arranged. Then the control condition is expressed as: there is a household registration relationship between the caller application and the callee application.
[0141] For another example, based on the APPEND command, a control condition may be arranged as APPEND((ACTION(caller, want), ".temp"), "0"). Then the control condition is expressed as: the additional character ".temp" applied by the caller is not obtained.
[0142] For another example, the IS_PASS_LINK command can also be arranged into a control condition IS_PASS_LINK ((Target, want), "1"), which is represented as follows: the type of the jump control applied by the callee is a pass link type.
[0143] In some embodiments, the first control condition is a control condition corresponding to the first application information and / or the second application information in at least one control condition.
[0144] For example, in a scenario where a jump occurs from a first application to a second application, based on the first application information and / or the second application information, it can be determined that the permission type of the first application for the second application is a blacklist. Then the control condition "jumping out of the first application and the first application is a blacklist application" can be determined as the first control condition.
[0145] For another example, in a scenario where a jump occurs from a first application to a second application, based on the first application information and the second application information, it can be determined that the type of advertisement presented by the second application in the first interface corresponding to the first application is the AGD Pro type. Then the control condition "jumping out of the first application and the type of advertisement corresponding to the second application is the AGD Pro type" can be determined as the first control condition.
[0146] In some embodiments, each control condition corresponds to a control result. The control result may include a first control result, a second control result, and a third control result. Among them, the first control result is used to indicate the display of prompt information. The second control result is used to indicate the prohibition of interface jump. The third control result is used to indicate the execution of interface jump.
[0147] Exemplarily, the control condition of "jumping out of the caller application and the caller application is a blacklist application" may correspond to the second control result;
[0148] The control condition of "jumping out of the caller application and the caller application is not a blacklist application" may correspond to the third control result;
[0149] The control condition "the account book type of the user entering the details page or the called user's application is the same as the developer type" can correspond to the first control result;
[0150] The control condition "the type of the jump control applied by the callee is neither a common link type nor a release link type" may correspond to the second control result;
[0151] The control condition of “the URI (Uniform Resource Identifier) of the caller application is not obtained, and the PARAM parameter of the caller application is greater than the PARAM parameter of the callee application” may correspond to the second control result;
[0152] The control condition of "the URI of the caller application is not obtained, and the PARAM parameter of the caller application is less than the PARAM parameter of the callee application" may correspond to the second control result;
[0153] The control condition "there is a household registration relationship between the caller application and the called application" can correspond to the third control result;
[0154] The control condition of "the additional character ".temp" applied by the caller is not obtained" may correspond to the first control result;
[0155] The control condition that "the type of the jump control applied by the callee is a release link type" may correspond to the first control result.
[0156] In some embodiments, the correspondence between each control condition and the control result can be set in advance in the electronic device. Alternatively, the correspondence between each control condition and the control result can be set in the server. The electronic device can obtain the correspondence between each control condition and the control result from the server.
[0157] In some embodiments, the electronic device may acquire a control result corresponding to the first control condition based on the determined first control condition, and may execute a corresponding response based on the control result corresponding to the first control condition.
[0158] In some embodiments, if the control result corresponding to the first control condition is the first control result, the electronic device may display the first prompt information in the first interface, wherein the first prompt information is used to obtain the permission to jump to display the second interface.
[0159] If the electronic device receives a second trigger operation input by the user indicating that the jump is allowed, the electronic device can jump to display the second interface in response to the second trigger operation. That is, after the electronic device receives the second trigger operation, the APP jump and interface switching occur.
[0160] If the electronic device receives a third trigger operation input by the user indicating prohibition of jump, it can respond to the third trigger operation, close the first prompt information, and keep displaying the first interface. That is, after the electronic device receives the third trigger operation, no APP jump and interface switching occur.
[0161] For example, see Fig. 6A or Figure 6B , the electronic device may display a first prompt message 602 in the first interface 601. The first prompt message 602 may be displayed in the form of a pop-up window. The first prompt message 602 includes a first control 604 corresponding to an indication of allowing the jump and a second control 605 corresponding to an indication of prohibiting the jump.
[0162] Continue to see Fig. 6A The user can input the second trigger operation to the electronic device by clicking the first control 604. In response to the second trigger operation, the electronic device can perform an APP jump and display a second interface 603 corresponding to the second application.
[0163] Or, continue to see Figure 6B The user may also input a third trigger operation to the electronic device by clicking the second control 605. In response to the third trigger operation, the electronic device may close the first prompt information 602 and keep displaying the first interface 601.
[0164] In some embodiments, if the control result corresponding to the first control condition is the second control result, the electronic device may not jump to the APP, and still keep displaying the current interface. That is, the first interface is still displayed.
[0165] Optional, see Figure 6C If the control result corresponding to the first control condition is the second control result, the electronic device may not jump to the APP, and display a prompt message 610 for prompting the jump failure in the currently displayed interface.
[0166] In some embodiments, if the control result corresponding to the first control condition is the third control result, the electronic device can jump to the APP and display the second interface.
[0167] In some embodiments, if the electronic device jumps to an APP and displays a second interface, and the second interface includes a jump link corresponding to a third application. The user can perform a fourth trigger operation on the jump link corresponding to the third application. The fourth trigger operation is used to indicate a jump to display a third interface corresponding to the third application. The third application is different from the second application, and the third application may be the same as the first application or different from the first application.
[0168] In response to receiving the fourth trigger operation, the electronic device can obtain the second application information corresponding to the second application and the third application information corresponding to the third application. Based on the second application information and / or the third application information, the electronic device can determine the second control condition from the at least one control condition. After the electronic device obtains the control result corresponding to the second control condition, it can make a corresponding response based on the control result corresponding to the second control condition. Among them, the electronic device makes a corresponding response based on the control result corresponding to the second control condition. Please refer to the description of the electronic device making a corresponding response based on the control result corresponding to the first control condition in the aforementioned embodiment, which will not be repeated here.
[0169] In the method provided in the embodiment of the present application, when the electronic device receives the first trigger operation input by the user on the first interface, the first control condition can be determined based on the first application information and / or the second application information, and a corresponding response can be executed based on the control result corresponding to the first control condition to determine whether to perform an APP jump. The number of attacks on the electronic device due to APP jump can be reduced, thereby improving security.
[0170] In some embodiments, the present application also provides an application management and control system, such as Figure 7 As shown, it includes a server and an electronic device. Among them, a communication connection is established between the server and the electronic device, and information can be exchanged. The electronic device may include an application management service module (which may also be referred to as an AMS module in the embodiment of the present application), an ecological management service module (which may also be referred to as an ERMS module in the embodiment of the present application), and a system application (which may also be referred to as APPGallery in the embodiment of the present application).
[0171] Combine the following Figure 7 and Figure 8 , the management and control system provided in the embodiment of the present application is described in detail.
[0172] In some embodiments, at least one control condition is stored in the server, and each control condition corresponds to a control result. The control condition is arranged based on at least one DSL command in the DSL command set provided in the embodiment of the present application. The description of the DSL command can refer to the description of the above embodiment, which is not repeated here. The control result includes a first control result, a second control result, and a third control result. The description of the control result can refer to the description of the above embodiment, which is not repeated here.
[0173] APPGallery can send a first request to the server for obtaining control conditions and control results corresponding to the control conditions. After APPGallery receives the control conditions and control results corresponding to the control conditions sent by the server, it can send the control conditions and control results corresponding to the control conditions to the ERMS module. The ERMS module can receive and store the control conditions and control results corresponding to the control conditions sent by APPGallery to wait for subsequent calls.
[0174] In some embodiments, APPGallery may send a first request to the server for obtaining control conditions and control results corresponding to the control conditions according to a preset time period. Each time APPGallery receives control conditions and control results corresponding to the control conditions sent by the server, it may send the received control conditions and control results corresponding to the control conditions to the ERMS module to update the control conditions and control results corresponding to the control conditions stored in the ERMS module.
[0175] In some embodiments, when the AMS module detects that the electronic device receives a first trigger operation input by the user on the first interface, the first application information and the second application information can be obtained, and a second request for obtaining a control result corresponding to the first control condition is sent to the ERMS module. The second request carries the first application information and the second application information. The first control condition is associated with the first application information and / or the second application information.
[0176] After receiving the second request sent by the AMS module, the ERMS module can determine the first control condition in the stored control conditions based on the first application information and / or the second application information, thereby further obtaining the control result corresponding to the first control condition. Afterwards, the ERMS module can send the control result corresponding to the first control condition to the AMS module.
[0177] Among them, see Fig. 9 , the ERMS module may include a policy execution engine and an experience matching engine. Among them, the policy execution engine may determine the first control condition in the stored control conditions (e.g., control condition 1-control condition n) based on the first application information and / or the second application information sent by the AMS module. The experience matching engine may obtain the control result corresponding to the first control condition based on the correspondence between each control condition and the control result. Afterwards, the experience matching engine may send the obtained control result corresponding to the first control condition to the AMS module.
[0178] In some embodiments, the AMS module may execute a corresponding response based on the management and control results received from the ERMS module.
[0179] In some embodiments, if the control result received by the AMS module from the ERMS module is the first control result, a first instruction may be sent to APPGallery. In response to the received first instruction, APPGallery may control the display of a prompt message for obtaining permission to jump to display the second interface on the first interface.
[0180] If APPGallery detects that the user inputs a second trigger operation for the prompt information, the electronic device can be allowed to jump to the APP to display the second interface.
[0181] If APPGallery detects that the user inputs a third trigger operation for the prompt information, the electronic device may be prohibited from APP jumping and the prompt information may be closed to display the first interface.
[0182] In some embodiments, if the control result received by the AMS module from the ERMS module is the second control result, a second instruction may be sent to the APPGallery. In response to the received second instruction, the APPGallery may prohibit the electronic device from APP jumping to keep displaying the first interface.
[0183] In some embodiments, if the control result received by the AMS module from the ERMS module is the third control result, the electronic device may be allowed to perform an APP jump to switch the displayed interface to the second interface. The AMS module may send an instruction to the first application to instruct the execution interface jump, and after the first application receives the instruction sent by the AMS module to instruct the execution interface jump, it may call the second application to display the second interface corresponding to the second application.
[0184] In some schemes, multiple embodiments of the present application can be combined, and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a restriction on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. A person of ordinary skill in the art will think of a variety of ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this article are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.
[0185] In addition, some steps in the method embodiment may be equivalently replaced by other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment.
[0186] Furthermore, the various method embodiments may be implemented separately or in combination.
[0187] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
[0188] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0189] The present application also provides an electronic device, such as Fig.10 As shown, the electronic device may include one or more processors 1001 , a memory 1002 and a communication interface 1003 .
[0190] The memory 1002 and the communication interface 1003 are coupled to the processor 1001. For example, the memory 1002, the communication interface 1003 and the processor 1001 may be coupled together via a bus 1004.
[0191] The communication interface 1003 is used for data transmission with other devices. The memory 1002 stores computer program code. The computer program code includes computer instructions. When the computer instructions are executed by the processor 1001, the electronic device executes the management and control method of the application program in the embodiment of the present application.
[0192] Among them, the processor 1001 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the present disclosure. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, and the like. The processor can be used to support electronic devices to execute the method steps provided in the above embodiments.
[0193] The bus 1004 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 1004 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0194] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0195] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0196] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0197] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0198] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0199] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the method embodiment.
[0200] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the relevant method steps in the above method embodiment.
[0201] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the scene configuration method in the above-mentioned method embodiments.
[0202] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0203] The steps of the method or algorithm described in conjunction with the disclosed content of the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0204] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0205] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
Claims
1. A method for controlling an application, characterized in that: Applied to an electronic device, the electronic device stores a correspondence between at least one control condition and a control result, wherein each control condition corresponds to a control result, the method comprising: Receiving a first trigger operation for a first interface; the first interface corresponds to a first application; the first trigger operation is used to instruct to jump to display a second interface, the second interface corresponds to a second application; the first application is different from the second application; In response to the first trigger operation, determining a first control condition from the at least one control condition based on first application information corresponding to the first application and / or second application information corresponding to the second application; wherein the second application information includes at least one of an authentication type, an advertisement type, a jump control type, and an attribution type of the second application; Based on the control result corresponding to the first control condition, display first prompt information, where the first prompt information is used to prompt obtaining permission to jump to display the second interface; Receiving a second trigger operation for the first prompt information; the second trigger operation is used to indicate permission to jump to display the second interface; In response to the second trigger operation, jump to display the second interface.
2. The method according to claim 1, characterized in that The first application information includes at least one of an application type and an authentication type of the first application and a calling permission of the first application to the second application; The first interface includes advertisements and jump controls associated with the second application; the jump control type is the type of jump controls associated with the second application included in the first interface; the advertisement type of the second application is the type of advertisements associated with the second application included in the first interface.
3. The method according to claim 1 or 2, characterized in that: After displaying the first prompt information, the method further includes: receiving a third trigger operation for the first prompt information, wherein the third trigger operation is used to indicate prohibiting jumping to display the second interface; In response to the third trigger operation, the first prompt information is closed and the first interface remains displayed.
4. The method according to claim 1 or 2, characterized in that: The control result includes a first control result, a second control result and a third control result; the first control result is used to indicate the display of prompt information; The second control result is used to indicate that interface jump is prohibited; The third control result is used to indicate the execution interface jump; The displaying of first prompt information based on the control result corresponding to the first control condition includes: If the control result corresponding to the first control condition is the first control result, the first prompt information is displayed on the first interface.
5. The method according to claim 4, characterized in that The method further comprises: If the control result corresponding to the first control condition is the second control result, keep displaying the first interface; If the control result corresponding to the first control condition is the third control result, the second interface is displayed.
6. The method according to claim 1 or 2, characterized in that: After the jump to display the second interface, the method further includes: receiving a fourth trigger operation for the second interface; the fourth trigger operation is used to instruct to jump to display a third interface, the third interface corresponds to a third application; the third application is different from the second application; In response to the fourth trigger operation, determining a second control condition from the at least one control condition based on second application information corresponding to the second application and / or third application information corresponding to the third application; Based on the control result corresponding to the second control condition, a second prompt message is displayed, where the second prompt message is used to prompt for obtaining permission to jump to display the third interface.
7. The method according to claim 1 or 2, characterized in that: If the target control condition in the at least one control condition is that the caller application has the calling permission to the callee application, the control result corresponding to the target control condition is used to indicate the execution interface jump; If the target control condition in the at least one control condition is that the caller application does not have the calling authority to the callee application, the control result corresponding to the target control condition is used to indicate that the interface jump is prohibited.
8. The method according to claim 1 or 2, characterized in that: If the target control condition among the at least one control condition is that the jump control type of the caller application is a release link type, then the control result corresponding to the target control condition is used to indicate the display of prompt information.
9. The method according to claim 1 or 2, characterized in that: The control condition is arranged based on at least one preset command.
10. The method according to claim 1 or 2, characterized in that: The method further comprises: Obtain the at least one control condition from the server according to a preset time period.
11. The method according to claim 1 or 2, characterized in that: The electronic device includes an application management service module and an ecosystem management service module, and a system application is installed in the electronic device; after receiving the first trigger operation for the first interface, the method further includes: The application management service module obtains first application information corresponding to the first application and second application information corresponding to the second application; The determining a first control condition from the at least one control condition based on first application information corresponding to the first application and / or second application information corresponding to the second application includes: The ecological management service module determines a first control condition from the at least one control condition based on the first application information and / or the second application information; After determining the first control condition from the at least one control condition, the method further includes: The ecological management service module obtains the control result corresponding to the first control condition based on the correspondence between the at least one control condition and the control result; The jumping to display the second interface includes: The system application jumps to display the second interface.
12. The method according to claim 11, characterized in that The displaying of first prompt information based on the control result corresponding to the first control condition includes: If the control result is used to indicate displaying prompt information, the system application displays the first prompt information; The method further comprises: If the control result is used to indicate that interface jump is prohibited, the system application displays the first interface; If the control result is used to indicate an execution interface jump, the first application jumps to display the second interface.
13. An electronic device, characterized in that: include: A memory and one or more processors; the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1-12.
14. A computer-readable storage medium comprising computer instructions, characterized in that: When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 12.
15. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Application access method, device and equipment
CN110059476A
Page processing method and device, and equipment
CN111783018A
Page skip processing method and device and electronic equipment
CN112579944A