WO2017193462A1 - Method and apparatus for starting application program - Google Patents

Method and apparatus for starting application program Download PDF

Info

Publication number
WO2017193462A1
WO2017193462A1 PCT/CN2016/088376 CN2016088376W WO2017193462A1 WO 2017193462 A1 WO2017193462 A1 WO 2017193462A1 CN 2016088376 W CN2016088376 W CN 2016088376W WO 2017193462 A1 WO2017193462 A1 WO 2017193462A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
dual
source
open
attribute
Prior art date
Application number
PCT/CN2016/088376
Other languages
French (fr)
Chinese (zh)
Inventor
徐源源
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017193462A1 publication Critical patent/WO2017193462A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • This application relates to, but is not limited to, the field of management techniques for applications.
  • an application of the mobile terminal can only start one process and run.
  • the user has the following requirements in the process of using the mobile terminal application, for example, two processes on the mobile terminal that can run one application simultaneously like a computer, that is, one mobile terminal can run two identical applications. Program to meet the needs of users to use two account functions at the same time. If the mobile terminal can run two processes of an application, the application double-opening technology needs to be used, and the related application double-opening technology generally adopts two same applications simultaneously by process management, that is, in the main interface or setting of the mobile terminal.
  • dual-open application that is the same application as one of the source applications installed on the mobile terminal.
  • users' needs for “double-open applications” mainly include WeChat, QQ, Weibo, Taobao, Alipay, games, etc.
  • the purpose of using dual-open applications is generally to separate work and life, so that different double-open accounts correspond. Different social circles.
  • the dual-open application when the user adds the dual-open application, the dual-open application will be presented as a separate application on the main interface of the mobile terminal, for example, the dual-open application of WeChat will be presented in the form of “WeChat+” or “WeChat 2” on the mobile terminal.
  • the user enters different WeChat applications and their corresponding dual-open applications through different main interface portals, such as "WeChat+” or "WeChat 2".
  • WeChat and its corresponding dual-open application “WeChat+” or “WeChat 2” interface are very similar, users need to carefully identify during the use process to determine whether the currently used WeChat application is “WeChat” or dual-application. Once the user identifies a mistake, it can cause serious consequences of making inappropriate comments in another social circle.
  • This paper provides an application startup method and device, which can quickly identify the source application and the dual-open application, thereby improving the user experience.
  • An application startup method comprising:
  • the dual-opening application is activated and the interface of the dual-opening application is displayed according to a preset visual scheme.
  • the determining whether the application is a dual-open application includes:
  • the application is determined to be a source application.
  • the method further includes:
  • the method further includes :
  • the source application When the operation of deleting the source application is received, the source application is deleted, and the first identifier bit and the second identifier bit in the double-open application attribute are deleted.
  • the method further includes:
  • the source application corresponding to the dual-opening application is started.
  • the method further includes:
  • the dual-opening application corresponding to the source application is started, and the interface of the dual-opening application is displayed according to the preset visual solution.
  • An application launching device comprising:
  • the receiving module is configured to: receive a startup operation of the application
  • the determining module is configured to: determine, when the receiving module receives the startup operation of the application, whether the application is a dual-opening application;
  • the startup module is configured to: when the determining module determines that the application is a dual-opening application, start the dual-opening application and display an interface of the dual-opening application according to a preset visual scheme.
  • the determining module includes:
  • a detecting unit configured to: detect whether a preset first identifier bit exists in an attribute of the application, where the first identifier bit is used to indicate that the application is a dual-open application;
  • a determining unit configured to: when the detecting unit detects the first identifier bit in an attribute of the application, determining that the application is a dual-opening application;
  • the detecting unit is further configured to: when the first identifier is not detected in the attribute of the application, detecting whether there is a preset second identifier in the attribute of the application, the second The identifier bit is used to indicate the association between the source application and the dual-open application corresponding to the source application;
  • the determining unit is further configured to: when the detecting unit detects the second identifier bit in an attribute of the application, determine that the application is a source application.
  • the receiving module is further configured to: when the determining module determines that the application is a source application, receive an operation of adding a dual-open application corresponding to the application;
  • the device also includes:
  • Adding a module after the receiving module receives the operation of adding the dual-open application corresponding to the application, responding to the operation of adding the dual-open application, and adding the first in the attribute of the dual-open application An identifier bit is added to the attribute of the source application and the attribute of the dual-open application respectively.
  • the receiving module is further configured to: receive an operation of deleting the dual-opening application or the source application;
  • the device also includes:
  • a deleting module configured to: after the adding module adds the first identifier bit and the second identifier bit, and the receiving module receives an operation of deleting the dual-opening application, deleting the dual-opening application, and Deleting the second identifier bit in the source application attribute;
  • the deleting module is further configured to: after the adding module adds the first identifier bit and the second identifier bit, and when the receiving module receives an operation of deleting the source application, deleting the Source application, and deleting the first identifier bit and the second identifier bit in the double-open application attribute.
  • it also includes:
  • a reading module configured to: after the startup module starts the dual-opening application, reading a source application corresponding to the dual-opening application;
  • the receiving module is further configured to: receive an application switching instruction
  • the startup module is further configured to: when the receiving module receives the preset application switching instruction, start the source application corresponding to the dual-opening application read by the reading module.
  • it also includes:
  • a reading module configured to: after the determining module determines that the application is a source application, and after the starting module starts the source application, reading a dual-opening application corresponding to the source application;
  • the receiving module is further configured to: receive an application switching instruction
  • the startup module is further configured to: receive a preset application switch at the receiving module And instructing to start the dual-opening application corresponding to the source application read by the reading module and displaying the interface of the dual-opening application according to the preset visual scheme.
  • the method and device for starting the application provided by the embodiment of the present invention, when receiving the startup operation of the application, determine whether the application is a dual-open application, and when it is determined that the application is a dual-open application, the dual-open application is started. And displaying the interface of the dual-open application according to the preset visual scheme; the embodiment implements the interface of the source application and the dual-open application through different visual solutions after starting the application on the interface of the mobile terminal, so that the user can clearly distinguish the current Whether the launched application is a source application or a dual-application, to avoid the possibility of users making inappropriate comments in the social circle, thereby improving the user experience.
  • FIG. 1 is a schematic flowchart of a method for starting an application according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for starting an application according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of determining whether an application is a dual-open application in the embodiment shown in FIG. 1 or FIG. 2;
  • FIG. 4 is a schematic flowchart diagram of still another application startup method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an apparatus for starting an application according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a determining module in an application launching apparatus according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of another apparatus for starting an application according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of still another apparatus for starting an application according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method and an apparatus for starting an application, which can visually distinguish a source application from a corresponding dual-open application.
  • the user can clearly distinguish the interface of the source application from the interface of the dual-open application, so as to correctly distinguish the working circle and the living circle after starting the application, and avoid the possibility of making inappropriate comments in the social circle.
  • the various embodiments shown below are a detailed description of the method of launching an application herein.
  • FIG. 1 is a schematic flowchart diagram of a method for starting an application according to an embodiment of the present invention.
  • the method for starting the application provided by this embodiment may include the following steps, namely, S110-S130:
  • the source application when the user starts the application on the mobile terminal, the source application may be started, or the dual-open application corresponding to a certain source application may be started. Therefore, when receiving the startup operation of the user launching the application, the mobile terminal may first determine or recognize whether the application currently launched by the user is a source application or a dual-open application. Then, the mobile terminal performs different processing according to the determination result. In the embodiment of the present invention, if it is determined in S120 that the application layer program is a dual-open application, then S130 is performed.
  • the determination result in S120 is a double-opening application
  • a preset visual solution is invoked to display the interface of the dual-opening application, so that the user can clearly distinguish the current startup. Whether it is a source application or a dual-application.
  • the preset visual solution may be, for example, a background color value of a status bar in the scene preset by the mobile terminal, such as a background color value of red, green, and blue (abbreviated as: RGB). 1.
  • the mobile terminal control sets the background color value of the status bar of the dual-open application interface to RGB1.
  • the preset visual solution may further include: setting a status bar icon color to a preset special color value, the system pushing a specific icon on the status bar, and the system adding a special border to the overall interface, etc.
  • the visual solution is not limited to the technical solution disclosed in the embodiment of the present invention, as long as the visual solution can distinguish the interface of the source application from the interface of the corresponding dual-open application.
  • FIG. 2 is a schematic flowchart diagram of another method for starting an application according to an embodiment of the present invention.
  • S120 if it is determined in S120 that the application layer program is a source application, then S140 is performed.
  • the source application interface does not display according to a preset visual scheme, that is, the background color value of the status bar of the source application interface does not display the RGB1.
  • the method for starting the application when receiving the startup operation of the application, determines whether the application is a dual-open application, and when determining that the application is a dual-open application, starting the dual-open application and following
  • the preset visual solution displays the interface of the dual-open application; this embodiment realizes that after launching the application on the mobile terminal interface, the interface of the source application and the dual-open application is presented through different visual solutions, so that the user can clearly distinguish the currently activated Whether the application is a source application or a dual-application, to avoid the possibility of users posting inappropriate comments in the social circle, thereby improving the user experience.
  • FIG. 3 it is a schematic flowchart of determining whether an application is a dual-open application in the embodiment shown in FIG. 1 or FIG. 2.
  • the method provided in this embodiment may include the following steps, that is, S121 to S124:
  • the identifier bit in the attribute of the application is preset in advance, that is, after the mobile terminal receives the operation of adding the corresponding dual-open application of a certain source application, for example, the mobile terminal receives the user through the terminal.
  • the operation of adding the double-open application is responded to the operation of adding the double-open application as an independent
  • the application is presented on the main interface.
  • the first identifier may also be added in the attribute of the dual-open application, for example, adding the first identifier bit “1” to indicate that the application is a dual-open application; And adding a second identifier to the attribute of the dual-application and the attribute of the source application corresponding to the dual-application, for example, adding the second identifier to the attribute of the dual-application and the attribute of the source application corresponding to the dual-application. Bit "2", the second flag is used to indicate the association of the source application with its corresponding dual-open application.
  • the mobile terminal when there is a dual-open application corresponding to the source application, the mobile terminal adds a flag to the attribute of the source application and the attribute of the dual-application corresponding to the source application in advance, so that When the mobile terminal receives the startup operation of the application, it can quickly determine whether the currently triggered application is a source application or a dual-open application.
  • the terminal After the mobile terminal adds the identification bit to the source application of the application and the corresponding dual-open application, when receiving the deletion operation of deleting the application, the terminal is based on whether the current application is the source application or The dual open application performs different deletion processes.
  • the mobile terminal when the mobile terminal receives the operation of deleting the source application, deletes the first identifier bit and the second identifier bit in the dual-open application attribute, for example, deleting, in response to the user deleting the source application.
  • the flag bits "1" and "2" in the dual open application when the mobile terminal receives the operation of deleting the dual-open application, the mobile terminal deletes the second identifier in the source application attribute, for example, deletes the identifier bit “2” in the source application, in response to the user deleting the dual-open application.
  • the commonly used method in the related art is: first returning from the source application to the main interface, and then entering the dual-opening application corresponding to the source application from the main interface portal. Or first return to the main interface from the dual-open application, and then enter the source application corresponding to the dual-open application from the main interface entrance.
  • the switching scheme in the present invention has a problem that the switching process is relatively cumbersome.
  • the embodiment of the present invention proposes another method for starting the application.
  • FIG. 4 is a schematic flowchart diagram of still another application startup method according to an embodiment of the present invention.
  • the method for starting the application provided by this embodiment may include the following steps, namely, S310 to S380:
  • S320 determining whether the application is a dual-open application. In the embodiment of the present invention, if it is determined in S320 that the application layer program is a dual-open application, S330 is performed; if it is determined in S320 that the application layer program is a source application, then S340 is performed.
  • the startup method of the application may further include:
  • the startup method of the application may further include:
  • S380 When receiving the preset application switching instruction, start the dual-opening application corresponding to the source application and display the interface of the dual-opening application according to a preset visual scheme.
  • the mobile terminal recognizes that the application initiated by the current user is a source application or a dual-open application
  • the source application corresponding to the dual-open application is read or the source application is read.
  • the preset application switching instruction may be specifically determined according to the hardware condition of the mobile terminal.
  • the mobile terminal may preset a certain/a certain set of fingerprints as an application switching function fingerprint; in the foreground application interface of the mobile terminal, if the fingerprint verification sensor receives the preset application
  • the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-open application corresponding to the foreground application is started.
  • the mobile terminal may preset a certain pressure threshold and an operation mode (such as tapping or sliding) as a switching function threshold; in the foreground application interface of the mobile terminal, if the pressure is detected
  • the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-opening application corresponding to the foreground application is started.
  • the preset application switching instruction may further include other switching modes, a preset special path sliding operation, a preset device action path, a preset voice command, and the like.
  • the source application corresponding to the dual-open application may be obtained by reading the second identifier. After the source application is read, if the application switching instruction is received, the currently launched dual-opening is applied to the background, and the source application corresponding to the dual-opening application is started.
  • the dual-opening application corresponding to the source application may be obtained by reading the second identifier bit, and after reading the dual-open application, Upon receiving the application switching instruction, the currently started source is applied to the background, and the dual-open application corresponding to the source application is started.
  • the source application corresponding to the dual-open application may be read before receiving the application switching instruction, or may be read after receiving the application switching instruction. Take the source application corresponding to the dual-open application. Similarly, there is no obvious sequence between S370 and S380. You can read the dual-open application corresponding to the source application and receive the application switching instruction. You can also read the dual-open corresponding to the source application after receiving the application switching instruction. application. Considering the operation of the related technology, the user is starting a source application or a dual application. After that, it usually switches to the corresponding dual-open application or source application. Therefore, the order of reading the application and then receiving the instruction can be switched after receiving the application switching instruction, thereby improving the application switching efficiency.
  • the application startup method provided by the embodiment of the present invention can distinguish the source application from its corresponding dual-opening application through different visual solutions when the application is started.
  • the source application can be directly switched to its corresponding dual-open application or switched from the dual-open application to its corresponding source application, thereby avoiding the need to return to the main interface and then enter the source application or the dual-open application in the related technology.
  • the cumbersome operation improves the user experience.
  • the present invention also provides an application starting device, which can be used in a mobile terminal, such as a smart phone.
  • the activation device of the application may correspond to the foregoing method embodiments, that is, the details involved in the foregoing method embodiments may be performed by the activation device. Therefore, the summary of the activation device is mainly described for brevity, and the following embodiments are omitted. A detailed description in the middle. The various embodiments shown below are a detailed description of the startup device of the application herein.
  • FIG. 5 is a schematic structural diagram of an apparatus for starting an application according to an embodiment of the present invention.
  • the apparatus provided in this embodiment may include: a receiving module 41, a determining module 42, and a starting module 43.
  • the receiving module 41 is configured to: receive a startup operation of the application.
  • the determining module 42 is configured to: when the receiving module 41 receives the startup operation of the application, determine whether the application is a dual-opening application.
  • the startup module 43 is configured to: when the determining module 42 determines that the application is a dual-opening application, launch the dual-opening application and display the interface of the dual-opening application according to a preset visual scheme.
  • the source application when the user starts the application on the mobile terminal, the source application may be started, and the dual-open application corresponding to a certain source application may also be started. Therefore, when the receiving module 41 receives the startup operation of launching the application, the determining module 42 may first determine or identify whether the application currently launched by the user is a source application or a dual-open application. Subsequently, the startup module 43 performs different processing according to the judgment result. In the embodiment of the present invention, if the judgment result of the determination module 42 is a double-open application, the startup module 43 starts the dual-open application and displays the interface of the dual-open application according to a preset visual scheme, so that the user can clearly distinguish the source that is currently activated.
  • the application is still a double-open application.
  • the preset visual solution may be, for example, a background color value of a status bar in the scene preset by the mobile terminal, such as a background color value of RGB1.
  • the mobile terminal controls to set the status bar background color value of the dual-open application interface to RGB1.
  • the startup module 43 starts the source application, and the background color value of the status bar of the source application interface no longer displays RGB1.
  • the determining module 42 determines whether the application is a dual-open application when the receiving module 41 receives the startup operation of the application program, and the startup module 43 determines the application at the determining module 42.
  • the dual-opening application is started and the interface of the dual-opening application is displayed according to a preset visual scheme.
  • This embodiment implements the startup module 43 to present the source application through different visual solutions after starting the application on the mobile terminal interface.
  • the interface of the dual-opening application enables the user to clearly distinguish whether the currently launched application is a source application or a dual-application, so as to avoid the possibility of the user posting inappropriate comments in the social circle, thereby improving the user experience.
  • FIG. 6 is a schematic structural diagram of a determining module in an application starting device according to an embodiment of the present invention.
  • the determining module 42 in this embodiment may include: a detecting unit 421 and a determining unit 422.
  • the detecting unit 421 is configured to: detect whether there is a preset first identifier bit in the attribute of the application, where the first identifier bit is used to indicate that the application is a dual-open application.
  • the determining unit 422 is configured to: when the detecting unit 421 detects the preset first identifier in the attribute of the application, determine that the application is a dual-opening application.
  • the detecting unit 421 is further configured to: when a preset first identifier is not detected in the attribute of the application, detecting whether there is a preset second identifier in the attribute of the application, where the second identifier is used Indicates the association of the source application with the dual-open application corresponding to the source application.
  • the determining unit 422 is further configured to: when the detecting unit 421 detects the preset second identifier in the attribute of the application, determine that the application is a source application.
  • FIG. 7 is a schematic structural diagram of another apparatus for starting an application according to an embodiment of the present invention. Based on the structure of the device shown in FIG. 5, the device provided in this embodiment further includes an adding module 44.
  • the receiving module 41 in this embodiment is further configured to: when the determining module 42 determines that the application is a source application, receive an operation of adding a dual-opening application corresponding to the application, and correspondingly, adding a module 44; After the receiving module 41 receives the operation of adding the corresponding dual-open application of the source reference, for example, the mobile terminal receives the double-open application operation after the user performs the add-open application operation through the dual-open application portal in the terminal main interface or the setting. The operation is to present the added dual-open application as a separate application on the main interface; optionally, the adding module 44 is further configured to: add a first identification bit in the attribute of the dual-open application, for example, adding the first identification bit.
  • the adding module 44 is further configured to: respectively add a second identifier bit in the attribute of the dual-open application and the attribute of the source application corresponding to the dual-open application, for example, respectively in the double-open application Adding a second identifier bit "2" in the attribute of the source application corresponding to the dual-opening application, and the second identifier bit Source application indicating corresponding double open application association.
  • the application launching apparatus provided by the embodiment of the present invention may further include: a deleting module 45.
  • the receiving module 41 is further configured to: receive an operation of deleting the dual-opening application or the source application; correspondingly, the deleting module 45 is configured to: after the adding module 44 adds the first identifier bit and the second identifier bit, And the receiving module 41 deletes the dual-opening application and deletes the second identifier in the source application attribute; the deleting module 45 is further configured to: when the adding module 44 adds the first identifier and the After the two identifiers are received, and the receiving module 41 receives the operation of deleting the source application, the source application is deleted, and the first identifier bit and the second identifier bit in the double-open application attribute are deleted.
  • a commonly used method in the related art is: First return to the main interface from the source application, and then enter the dual-open application corresponding to the source application from the main interface entrance, or return to the main interface from the dual-open application, and then enter the source application corresponding to the dual-open application from the main interface entrance.
  • the embodiment of the present invention proposes an activation device for the application shown in FIG. 8.
  • FIG. 8 is a schematic structural diagram of still another application starting device according to an embodiment of the present invention.
  • the device shown in FIG. 8 further includes: compared with the device shown in FIG.
  • the reading module 46 is configured to: after the startup module 43 starts the dual-opening application, read the source application corresponding to the dual-opening application.
  • the receiving module 41 is further configured to: receive an application switching instruction.
  • the startup module 43 is further configured to: when the receiving module 41 receives the preset application switching instruction, start the source application corresponding to the dual-opening application.
  • the reading module 46 is further configured to: after the determining module 42 determines that the application is a source application, and the startup module 43 starts the source application, reading the dual-opening application corresponding to the source application.
  • the receiving module 41 is further configured to: receive an application switching instruction.
  • the startup module 43 is further configured to: when the receiving module 41 receives the preset application switching instruction, start the dual-opening application corresponding to the source application and display the interface of the dual-opening application according to a preset visual scheme.
  • the reading module 46 may correspondingly read the source application corresponding to the dual-open application or read the dual-open application corresponding to the source application. And receiving a preset application switching instruction through the receiving module 41.
  • the preset application switching instruction may be specifically determined according to the hardware condition of the mobile terminal.
  • the mobile terminal may preset a certain/a certain set of fingerprints as an application switching function fingerprint; in the foreground application interface of the mobile terminal, if the fingerprint verification sensor receives the preset application
  • the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-open application corresponding to the foreground application is started.
  • the mobile terminal may preset a certain pressure threshold and an operation mode (such as tapping or sliding) as a switching function threshold; in the foreground application interface of the mobile terminal, if the pressure is detected
  • the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-opening application corresponding to the foreground application is started.
  • the preset application switching instruction may further include other switching modes, a preset special path sliding operation, and a preset device action. Path, preset voice commands, etc.
  • the application launching device provided by the embodiment of the invention can distinguish the source application from its corresponding double-opening application by different visual solutions when launching the application.
  • the source application can be directly switched to its corresponding dual-open application or switched from the dual-open application to its corresponding source application, thereby avoiding the need to return to the main interface and then enter the source application or the dual-open application in the related technology.
  • the cumbersome operation improves the user experience.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the startup operation of the application when the startup operation of the application is received, it is determined whether the application is a dual-open application, and when it is determined that the application is a dual-open application, the dual-open application is started and the dual-open application is displayed according to a preset visual scheme.
  • the embodiment realizes that after the application on the mobile terminal interface is started, the interface of the source application and the dual-open application is presented through different visual solutions, so that the user can clearly distinguish whether the currently launched application is a source application or a dual-open application. To avoid the possibility of users making inappropriate comments in social circles, which can enhance the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

A method and apparatus for starting an application program. The method comprises: when a startup operation of an application program is received, determining whether the application program is a dual-startup application; and when it is determined that the application program is a dual-startup application, starting the dual-startup application, and displaying an interface of the dual-startup application according to a preset visual scheme.

Description

应用程序的启动方法及装置Application startup method and device 技术领域Technical field
本申请涉及但不限于应用程序的管理技术领域。This application relates to, but is not limited to, the field of management techniques for applications.
背景技术Background technique
目前,市场上基于安卓系统或者其他移动操作系统的移动终端,例如智能手机、平板电脑等,通常地,该移动终端的一个应用程序只能启动一个进程并运行。然而,用户在使用移动终端应用程序的过程中产生了以下需求,例如,需要一个移动终端上可以像电脑一样同时运行一个应用程序的两个进程,即一个移动终端上能运行两个相同的应用程序,以满足用户同时使用两个账号功能的需求。若移动终端能运行一个应用程序的两个进程,则需要使用应用双开技术,相关的应用双开技术一般是:通过进程管理实现同时使用两个相同的应用,即在移动终端的主界面或者设置中有添加双开应用的入口,该添加的双开应用与移动终端上安装的某个源应用是相同的应用程序。在实际应用中,用户对“双开应用”的需求主要包括微信、QQ、微博、淘宝、支付宝、游戏等应用;使用双开应用的目的一般是将工作和生活分开,以使不同的双开账户对应不同的社交圈。Currently, mobile terminals based on the Android system or other mobile operating systems on the market, such as smart phones, tablets, etc., generally, an application of the mobile terminal can only start one process and run. However, the user has the following requirements in the process of using the mobile terminal application, for example, two processes on the mobile terminal that can run one application simultaneously like a computer, that is, one mobile terminal can run two identical applications. Program to meet the needs of users to use two account functions at the same time. If the mobile terminal can run two processes of an application, the application double-opening technology needs to be used, and the related application double-opening technology generally adopts two same applications simultaneously by process management, that is, in the main interface or setting of the mobile terminal. There is an entry to add a dual-open application that is the same application as one of the source applications installed on the mobile terminal. In practical applications, users' needs for “double-open applications” mainly include WeChat, QQ, Weibo, Taobao, Alipay, games, etc. The purpose of using dual-open applications is generally to separate work and life, so that different double-open accounts correspond. Different social circles.
通常地,当用户添加双开应用后,该双开应用将作为一个独立应用呈现在移动终端的主界面上,例如微信的双开应用会以“微信+”或者“微信2”的形式呈现在移动终端的主界面上,用户使用时通过不同的主界面入口进入不同的微信应用和其对应的双开应用,如“微信+”或者“微信2”。但是由于“微信”和其对应的双开应用“微信+”或“微信2”的界面非常相似,在使用过程中用户需要仔细辨别才能确定当前所使用的微信应用为“微信”还是为其双开应用,一旦用户辨别发生失误,则可能会造成在另一个社交圈发表不恰当言论的严重后果。Generally, when the user adds the dual-open application, the dual-open application will be presented as a separate application on the main interface of the mobile terminal, for example, the dual-open application of WeChat will be presented in the form of “WeChat+” or “WeChat 2” on the mobile terminal. On the main interface, the user enters different WeChat applications and their corresponding dual-open applications through different main interface portals, such as "WeChat+" or "WeChat 2". However, because WeChat and its corresponding dual-open application “WeChat+” or “WeChat 2” interface are very similar, users need to carefully identify during the use process to determine whether the currently used WeChat application is “WeChat” or dual-application. Once the user identifies a mistake, it can cause serious consequences of making inappropriate comments in another social circle.
发明内容 Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种应用程序的启动方法及装置,实现了快速地识别源应用与双开应用,从而提高用户体验。This paper provides an application startup method and device, which can quickly identify the source application and the dual-open application, thereby improving the user experience.
一种应用程序的启动方法,包含:An application startup method, comprising:
在接收到应用程序的启动操作时,判断所述应用程序是否为双开应用;When receiving the startup operation of the application, determining whether the application is a dual-open application;
当判断出所述应用程序为双开应用时,启动所述双开应用并按照预设的视觉方案显示所述双开应用的界面。When it is determined that the application is a dual-opening application, the dual-opening application is activated and the interface of the dual-opening application is displayed according to a preset visual scheme.
可选地,所述判断所述应用程序是否为双开应用,包括:Optionally, the determining whether the application is a dual-open application includes:
检测所述应用程序的属性中是否存在预设的第一标识位,所述第一标识位用于指示所述应用程序为双开应用;Detecting whether there is a preset first identifier bit in the attribute of the application, where the first identifier bit is used to indicate that the application is a dual-open application;
当在所述应用程序的属性中检测到所述第一标识位时,判断所述应用程序为双开应用;When the first identifier is detected in an attribute of the application, determining that the application is a dual-open application;
当在所述应用程序的属性中未检测到所述第一标识位时,检测所述应用程序的属性中是否存在预设的第二标识位,所述第二标识位用于指示所述源应用与所述源应用对应的双开应用的关联性;When the first identifier is not detected in the attribute of the application, detecting whether there is a preset second identifier in the attribute of the application, where the second identifier is used to indicate the source Applying an association of the dual-open application corresponding to the source application;
当在所述应用程序的属性中检测到所述第二标识位时,判断所述应用程序为源应用。When the second identification bit is detected in an attribute of the application, the application is determined to be a source application.
可选地,当判断出所述应用程序为源应用时,所述方法还包括:Optionally, when it is determined that the application is a source application, the method further includes:
当接收到添加所述应用程序对应的双开应用的操作后,响应所述添加所述双开应用的操作,并在所述双开应用的属性中添加所述第一标识位,在所述源应用的属性和所述双开应用的属性中分别添加所述第二标识位。After receiving the operation of adding the dual-open application corresponding to the application, responding to the operation of adding the dual-open application, and adding the first identifier in an attribute of the dual-open application, applying at the source The second identifier is added to the attribute and the attribute of the dual open application, respectively.
可选地,所述在所述双开应用的属性中添加所述第一标识位,在所述源应用和所述双开应用的属性中分别添加所述第二标识位之后,所述方法还包括:Optionally, the first identifier is added to an attribute of the dual-open application, and after the second identifier is added to an attribute of the source application and the dual-application, respectively, the method further includes :
当接收到删除所述双开应用的操作时,删除所述双开应用,并删除所述源应用属性中的第二标识位; When the operation of deleting the dual-open application is received, deleting the dual-opening application, and deleting the second identifier bit in the source application attribute;
当接收到删除所述源应用的操作时,删除所述源应用,并删除所述双开应用属性中的第一标识位和第二标识位。When the operation of deleting the source application is received, the source application is deleted, and the first identifier bit and the second identifier bit in the double-open application attribute are deleted.
可选地,所述启动所述双开应用之后,所述方法还包括:Optionally, after the starting the dual-opening application, the method further includes:
读取所述双开应用对应的源应用;Reading the source application corresponding to the dual-open application;
当接收到预设的应用程序切换指令时,启动所述双开应用对应的所述源应用。When the preset application switching instruction is received, the source application corresponding to the dual-opening application is started.
可选地,当判断出所述应用程序为源应用,且启动所述源应用之后,所述方法还包括:Optionally, after the application is determined to be a source application, and the source application is started, the method further includes:
读取所述源应用对应的双开应用;Reading the dual open application corresponding to the source application;
当接收到预设的应用程序切换指令时,启动所述源应用对应的所述双开应用并按照所述预设的视觉方案显示所述双开应用的界面。And when the preset application switching instruction is received, the dual-opening application corresponding to the source application is started, and the interface of the dual-opening application is displayed according to the preset visual solution.
一种应用程序启动装置,包括:An application launching device comprising:
接收模块,设置为:接收应用程序的启动操作;The receiving module is configured to: receive a startup operation of the application;
判断模块,设置为:在所述接收模块接收到应用程序的启动操作时,判断所述应用程序是否为双开应用;The determining module is configured to: determine, when the receiving module receives the startup operation of the application, whether the application is a dual-opening application;
启动模块,设置为:当所述判断模块判断出所述应用程序为双开应用时,启动所述双开应用并按照预设的视觉方案显示所述双开应用的界面。The startup module is configured to: when the determining module determines that the application is a dual-opening application, start the dual-opening application and display an interface of the dual-opening application according to a preset visual scheme.
可选地,所述判断模块包括:Optionally, the determining module includes:
检测单元,设置为:检测所述应用程序的属性中是否存在预设的第一标识位,所述第一标识位用于指示所述应用程序为双开应用;a detecting unit, configured to: detect whether a preset first identifier bit exists in an attribute of the application, where the first identifier bit is used to indicate that the application is a dual-open application;
判断单元,设置为:当所述检测单元在所述应用程序的属性中检测到所述第一标识位时,判断所述应用程序为双开应用;a determining unit, configured to: when the detecting unit detects the first identifier bit in an attribute of the application, determining that the application is a dual-opening application;
所述检测单元,还设置为:当所述应用程序的属性中未检测到所述第一标识位时,检测所述应用程序的属性中是否存在预设的第二标识位,所述第二标识位用于指示所述源应用与所述源应用对应的双开应用的关联性;The detecting unit is further configured to: when the first identifier is not detected in the attribute of the application, detecting whether there is a preset second identifier in the attribute of the application, the second The identifier bit is used to indicate the association between the source application and the dual-open application corresponding to the source application;
所述判断单元,还设置为:当所述检测单元在所述应用程序的属性中检测到所述第二标识位时,判断所述应用程序为源应用。 The determining unit is further configured to: when the detecting unit detects the second identifier bit in an attribute of the application, determine that the application is a source application.
可选地,所述接收模块,还设置为:当所述判断模块判断出所述应用程序是源应用时,接收添加所述应用程序对应的双开应用的操作;Optionally, the receiving module is further configured to: when the determining module determines that the application is a source application, receive an operation of adding a dual-open application corresponding to the application;
所述装置还包括:The device also includes:
添加模块,设置为:在所述接收模块接收到添加所述应用程序对应的双开应用的操作之后,响应所述添加所述双开应用的操作,并在所述双开应用的属性中添加所述第一标识位,在所述源应用的属性和所述双开应用的属性中分别添加第二标识位。Adding a module, after the receiving module receives the operation of adding the dual-open application corresponding to the application, responding to the operation of adding the dual-open application, and adding the first in the attribute of the dual-open application An identifier bit is added to the attribute of the source application and the attribute of the dual-open application respectively.
可选地,所述接收模块,还设置为:接收删除所述双开应用或所述源应用的操作;Optionally, the receiving module is further configured to: receive an operation of deleting the dual-opening application or the source application;
所述装置还包括:The device also includes:
删除模块,设置为:当所述添加模块添加所述第一标识位和所述第二标识位之后,且所述接收模块接收到删除所述双开应用的操作时,删除所述双开应用,并删除所述源应用属性中的第二标识位;a deleting module, configured to: after the adding module adds the first identifier bit and the second identifier bit, and the receiving module receives an operation of deleting the dual-opening application, deleting the dual-opening application, and Deleting the second identifier bit in the source application attribute;
所述删除模块,还设置为:当所述添加模块添加所述第一标识位和所述第二标识位之后,且在所述接收模块接收到删除所述源应用的操作时,删除所述源应用,并删除所述双开应用属性中的第一标识位和第二标识位。The deleting module is further configured to: after the adding module adds the first identifier bit and the second identifier bit, and when the receiving module receives an operation of deleting the source application, deleting the Source application, and deleting the first identifier bit and the second identifier bit in the double-open application attribute.
可选地,还包括:Optionally, it also includes:
读取模块,设置为:在所述启动模块启动所述双开应用之后,读取所述双开应用对应的源应用;a reading module, configured to: after the startup module starts the dual-opening application, reading a source application corresponding to the dual-opening application;
所述接收模块,还设置为:接收应用程序切换指令;The receiving module is further configured to: receive an application switching instruction;
所述启动模块,还设置为:在所述接收模块接收到预设的应用程序切换指令时,启动所述读取模块读取的所述双开应用对应的所述源应用。The startup module is further configured to: when the receiving module receives the preset application switching instruction, start the source application corresponding to the dual-opening application read by the reading module.
可选地,还包括:Optionally, it also includes:
读取模块,设置为:在所述判断模块判断出所述应用程序为源应用,且所述启动模块启动所述源应用之后,读取所述源应用对应的双开应用;a reading module, configured to: after the determining module determines that the application is a source application, and after the starting module starts the source application, reading a dual-opening application corresponding to the source application;
所述接收模块,还设置为:接收应用程序切换指令;The receiving module is further configured to: receive an application switching instruction;
所述启动模块,还设置为:在所述接收模块接收到预设的应用程序切换 指令时,启动所述读取模块读取的所述源应用对应的所述双开应用并按照所述预设的视觉方案显示所述双开应用的界面。The startup module is further configured to: receive a preset application switch at the receiving module And instructing to start the dual-opening application corresponding to the source application read by the reading module and displaying the interface of the dual-opening application according to the preset visual scheme.
本发明实施例提供的应用程序的启动方法及装置,在接收到应用程序的启动操作时,通过判断该应用程序是否为双开应用,并且当判断出该应用程序为双开应用时,启动该双开应用并按照预设的视觉方案显示双开应用的界面;本实施例实现了在启动移动终端界面上的应用程序之后,通过不同的视觉方案呈现源应用和双开应用的界面,能够使用户能明显区分当前启动的应用程序是源应用还是双开应用,以避免用户在社交圈发表不当言论的可能,从而可以提升用户体验。The method and device for starting the application provided by the embodiment of the present invention, when receiving the startup operation of the application, determine whether the application is a dual-open application, and when it is determined that the application is a dual-open application, the dual-open application is started. And displaying the interface of the dual-open application according to the preset visual scheme; the embodiment implements the interface of the source application and the dual-open application through different visual solutions after starting the application on the interface of the mobile terminal, so that the user can clearly distinguish the current Whether the launched application is a source application or a dual-application, to avoid the possibility of users making inappropriate comments in the social circle, thereby improving the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例提供的一种应用程序的启动方法的流程示意图;FIG. 1 is a schematic flowchart of a method for starting an application according to an embodiment of the present invention;
图2为本发明实施例提供的另一种应用程序的启动方法的流程示意图2 is a schematic flowchart of another method for starting an application according to an embodiment of the present invention.
图3为图1或图2所示实施例中一种判断应用程序是否为双开应用的流程示意图;3 is a schematic flow chart of determining whether an application is a dual-open application in the embodiment shown in FIG. 1 or FIG. 2;
图4为本发明实施例提供的又一种应用程序的启动方法的流程示意图;FIG. 4 is a schematic flowchart diagram of still another application startup method according to an embodiment of the present disclosure;
图5为本发明实施例提供的一种应用程序的启动装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for starting an application according to an embodiment of the present disclosure;
图6为本发明实施例提供的应用程序启动装置中一种判断模块的结构示意图;FIG. 6 is a schematic structural diagram of a determining module in an application launching apparatus according to an embodiment of the present disclosure;
图7为本发明实施例提供的另一种应用程序的启动装置的结构示意图;FIG. 7 is a schematic structural diagram of another apparatus for starting an application according to an embodiment of the present invention;
图8为本发明实施例提供的又一种应用程序的启动装置的结构示意图。FIG. 8 is a schematic structural diagram of still another apparatus for starting an application according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本文中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments herein may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸根据一组计算机可执行指令的计算 机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowchart of the figures may be based on calculations based on a set of computer executable instructions Executed in the machine system. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
应用双开,即同一个应用创建两个进程,其中,原始的那一个进程可以称为“源应用”,而基于“源应用”衍生的另外一个进程可以称为“双开应用”。由于源应用和其对应的双开应用的界面非常相似,用户需要仔细辨别才能确定当前所使用的应用为源应用还是为其对应的双开应用,一旦用户辨别发生失误,则可能会造成在另一个社交圈发表不恰当言论的严重后果。有鉴于此,本发明实施例提供了一种应用程序的启动方法及装置,能够在视觉上区分源应用与其对应的双开应用。通过本发明实施例提供的方式,用户可以明确区分源应用的界面与双开应用的界面,以便在启动应用程序后能够正确地区分工作圈与生活圈,避免在社交圈发表不当言论的可能。以下所示各实施例为本文对应用程序的启动方法的详述描述。Application double open, that is, the same application creates two processes, wherein the original process can be called "source application", and another process based on "source application" can be called "double open application". Since the source application and its corresponding dual-open application interface are very similar, the user needs to carefully identify whether the currently used application is the source application or the corresponding dual-open application. Once the user identifies the error, it may cause another social interaction. The circle has serious consequences of inappropriate speech. In view of this, an embodiment of the present invention provides a method and an apparatus for starting an application, which can visually distinguish a source application from a corresponding dual-open application. Through the manner provided by the embodiment of the present invention, the user can clearly distinguish the interface of the source application from the interface of the dual-open application, so as to correctly distinguish the working circle and the living circle after starting the application, and avoid the possibility of making inappropriate comments in the social circle. The various embodiments shown below are a detailed description of the method of launching an application herein.
如图1所示,为本发明实施例提供的一种应用程序的启动方法的流程示意图。本实施例提供的应用程序的启动方法可以包括如下步骤,即S110~S130:FIG. 1 is a schematic flowchart diagram of a method for starting an application according to an embodiment of the present invention. The method for starting the application provided by this embodiment may include the following steps, namely, S110-S130:
S110,接收应用程序的启动操作。S110. Receive a startup operation of the application.
S120,判断该应用程序是否为双开应用。S120. Determine whether the application is a dual-open application.
在本发明实施例的S110中,用户在启动移动终端上的应用程序时,可能启动的是源应用,也可能启动的是某个源应用对应的双开应用。因此,移动终端在接收到用户启动应用程序的启动操作时,可以先判断或者说识别用户当前启动的应用程序是源应用还是双开应用。随后,移动终端根据判断结果,会做不同的处理,在本发明实施例中,如果S120中判断出应用层程序是双开应用,则执行S130。In S110 of the embodiment of the present invention, when the user starts the application on the mobile terminal, the source application may be started, or the dual-open application corresponding to a certain source application may be started. Therefore, when receiving the startup operation of the user launching the application, the mobile terminal may first determine or recognize whether the application currently launched by the user is a source application or a dual-open application. Then, the mobile terminal performs different processing according to the determination result. In the embodiment of the present invention, if it is determined in S120 that the application layer program is a dual-open application, then S130 is performed.
S130,启动该双开应用并按照预设的视觉方案显示该双开应用的界面。S130. Start the dual-open application and display an interface of the dual-open application according to a preset visual scheme.
在本发明实施例中,如果S120中的判断结果是双开应用,则在执行S130中的启动双开应用之后,会调用预设的视觉方案来显示该双开应用的界面,以便用户能够明显区分当前启动的是源应用还是双开应用。可选地,预设的视觉方案例如可以为移动终端预设的此场景下的状态栏的底色色值,如底色色值为红绿蓝(Red、Green、Blue,简称为:RGB)1。那么当检测到用户启 动的是双开应用时,则移动终端控制将双开应用界面的状态栏底色色值设置为RGB1。In the embodiment of the present invention, if the determination result in S120 is a double-opening application, after the startup dual-opening application in S130 is executed, a preset visual solution is invoked to display the interface of the dual-opening application, so that the user can clearly distinguish the current startup. Whether it is a source application or a dual-application. Optionally, the preset visual solution may be, for example, a background color value of a status bar in the scene preset by the mobile terminal, such as a background color value of red, green, and blue (abbreviated as: RGB). 1. Then when the user is detected When the dual-open application is active, the mobile terminal control sets the background color value of the status bar of the dual-open application interface to RGB1.
在实际应用中,上述预设的视觉方案例如还可以包括:将状态栏图标颜色设为预设特殊色值、系统在状态栏上推送特定图标、系统将整体界面加特殊边框等,当然,预设的视觉方案不限于本发明实施例公开的技术方案,只要该视觉方案能够将源应用的界面和其对应的双开应用的界面区别开来即可。In a practical application, the preset visual solution may further include: setting a status bar icon color to a preset special color value, the system pushing a specific icon on the status bar, and the system adding a special border to the overall interface, etc., of course, The visual solution is not limited to the technical solution disclosed in the embodiment of the present invention, as long as the visual solution can distinguish the interface of the source application from the interface of the corresponding dual-open application.
可选地,图2为本发明实施例提供的另一种应用程序的启动方法的流程示意图。在上述图1所示实施例的基础上,本实施例中,如果S120中判断出应用层程序是源应用,则执行S140。Optionally, FIG. 2 is a schematic flowchart diagram of another method for starting an application according to an embodiment of the present invention. On the basis of the foregoing embodiment shown in FIG. 1, in this embodiment, if it is determined in S120 that the application layer program is a source application, then S140 is performed.
S140,启动该源应用。S140. Start the source application.
在本发明实施例中,如果S120的判断结果是源应用,则源应用界面不按预设的视觉方案进行显示,即源应用界面的状态栏底色色值不显示上述RGB1。In the embodiment of the present invention, if the determination result of S120 is a source application, the source application interface does not display according to a preset visual scheme, that is, the background color value of the status bar of the source application interface does not display the RGB1.
本发明实施例提供的应用程序的启动方法,在接收到应用程序的启动操作时,通过判断该应用程序是否为双开应用,并且当判断出该应用程序为双开应用时,启动该双开应用并按照预设的视觉方案显示双开应用的界面;本实施例实现了在启动移动终端界面上的应用程序之后,通过不同的视觉方案呈现源应用和双开应用的界面,能够使用户能明显区分当前启动的应用程序是源应用还是双开应用,以避免用户在社交圈发表不当言论的可能,从而可以提升用户体验。The method for starting the application provided by the embodiment of the present invention, when receiving the startup operation of the application, determines whether the application is a dual-open application, and when determining that the application is a dual-open application, starting the dual-open application and following The preset visual solution displays the interface of the dual-open application; this embodiment realizes that after launching the application on the mobile terminal interface, the interface of the source application and the dual-open application is presented through different visual solutions, so that the user can clearly distinguish the currently activated Whether the application is a source application or a dual-application, to avoid the possibility of users posting inappropriate comments in the social circle, thereby improving the user experience.
如图3所示,为图1或图2所示实施例中一种判断应用程序是否为双开应用的流程示意图。本实施例提供的方法可以包括入下步骤,即S121~S124:As shown in FIG. 3, it is a schematic flowchart of determining whether an application is a dual-open application in the embodiment shown in FIG. 1 or FIG. 2. The method provided in this embodiment may include the following steps, that is, S121 to S124:
S121,检测应用程序的属性中是否存在预设的第一标识位;S121. Check whether a preset first identifier bit exists in an attribute of the application.
在本发明实施例中,应用程序的属性中的标识位是提前预设的,即移动终端在接收到添加某个源应用的对应的双开应用的操作之后,例如,移动终端接收到用户通过终端主界面或者设置中的双开应用入口执行添加双开应用操作之后,则响应添加双开应用的操作,以将添加的双开应用作为一个独立 的应用呈现在主界面上。可选地,本实施例在响应添加双开应用的操作之后,还可以在双开应用的属性中添加第一标识位,例如,添加第一标识位“1”以指示该应用程序为双开应用;并且,还可以在该双开应用的属性和该双开应用对应的源应用的属性中分别添加第二标识位,例如分别在双开应用的属性中和该双开应用对应的源应用的属性中添加第二标识位“2”,第二标识位用于指示源应用与其对应的双开应用的关联性。In the embodiment of the present invention, the identifier bit in the attribute of the application is preset in advance, that is, after the mobile terminal receives the operation of adding the corresponding dual-open application of a certain source application, for example, the mobile terminal receives the user through the terminal. After the double-open application operation in the main interface or the setting is performed, the operation of adding the double-open application is responded to the operation of adding the double-open application as an independent The application is presented on the main interface. Optionally, in this embodiment, after responding to the operation of adding the dual-open application, the first identifier may also be added in the attribute of the dual-open application, for example, adding the first identifier bit “1” to indicate that the application is a dual-open application; And adding a second identifier to the attribute of the dual-application and the attribute of the source application corresponding to the dual-application, for example, adding the second identifier to the attribute of the dual-application and the attribute of the source application corresponding to the dual-application. Bit "2", the second flag is used to indicate the association of the source application with its corresponding dual-open application.
本实施例在执行S121的检测后,当在该应用程序的属性中检测到第一标识位时,例如第一标识位为“1”,则执行S122。当在该应用程序的属性中未检测到第一标识位时,则执行S123~S124。In this embodiment, after the detection of S121 is performed, when the first identification bit is detected in the attribute of the application, for example, the first identification bit is "1", then S122 is performed. When the first flag is not detected in the attribute of the application, S123 to S124 are executed.
S122,判断该应用程序为双开应用。S122. Determine that the application is a dual-open application.
S123,检测应用程序的属性中是否存在预设的第二标识位;S123. Check whether a preset second identifier bit exists in an attribute of the application.
本实施例在执行S123的检测后,当在该应用程序的属性中检测到第二标识位时,例如第二标识位为“2”,则执行S124,当在该应用程序的属性中未检测到第二标识位时,则终止该流程。In this embodiment, after the detection of S123 is performed, when the second identification bit is detected in the attribute of the application, for example, the second identification bit is “2”, S124 is executed, and is not detected in the attribute of the application. When the second flag is reached, the process is terminated.
S124,判断该应用程序为源应用。S124. Determine that the application is a source application.
通过图3所示实施例中描述的技术方案,在存在源应用对应的双开应用时,移动终端通过预先在源应用的属性和该源应用对应的双开应用的属性中添加标识位的方式,以便达到移动终端在接收到应用程序的启动操作时,能够快速地判断当前被触发的应用程序是源应用还是双开应用的目的。Through the technical solution described in the embodiment shown in FIG. 3, when there is a dual-open application corresponding to the source application, the mobile terminal adds a flag to the attribute of the source application and the attribute of the dual-application corresponding to the source application in advance, so that When the mobile terminal receives the startup operation of the application, it can quickly determine whether the currently triggered application is a source application or a dual-open application.
在实际应用中,移动终端在为某个应用程序的源应用和其对应的双开应用添加标识位之后,当接收到删除该应用程序的删除操作时,终端会根据当前的应用程序是源应用还是双开应用执行不同的删除流程。In an actual application, after the mobile terminal adds the identification bit to the source application of the application and the corresponding dual-open application, when receiving the deletion operation of deleting the application, the terminal is based on whether the current application is the source application or The dual open application performs different deletion processes.
可选地,当移动终端接收到的是删除源应用的操作时,那么移动终端在响应用户删除源应用的同时,还会删除双开应用属性中的第一标识位和第二标识位,例如删除双开应用中的标识位“1”和“2”。当移动终端接收到的是删除双开应用的操作,那么移动终端在响应用户删除双开应用的同时,还会删除源应用属性中的第二标识位,例如删除源应用中的标识位“2”。Optionally, when the mobile terminal receives the operation of deleting the source application, the mobile terminal deletes the first identifier bit and the second identifier bit in the dual-open application attribute, for example, deleting, in response to the user deleting the source application. The flag bits "1" and "2" in the dual open application. When the mobile terminal receives the operation of deleting the dual-open application, the mobile terminal deletes the second identifier in the source application attribute, for example, deletes the identifier bit “2” in the source application, in response to the user deleting the dual-open application.
可选地,在应用双开技术的实际使用过程中,当用户从源应用切换到该 源应用对应的双开应用,或者从双开应用切换到其对应的源应用时,相关技术中常用的方式是:先从源应用返回主界面,然后从主界面入口进入该源应用对应的双开应用,或者先从双开应用返回主界面,然后再从主界面入口进入该双开应用对应的源应用。例如,当用户在“微信”中想要切换到“微信+”或者“微信2”时,需要返回到主菜单,然后再选择“微信+”或者“微信2”进入;由此可见,相关技术中的切换方案存在切换过程比较繁琐的问题,针对上述问题,本发明实施例提出了又一种应用程序的启动方法。Optionally, during the actual use of the application dual-opening technology, when the user switches from the source application to the When the source application corresponds to the dual-opening application, or when switching from the dual-opening application to its corresponding source application, the commonly used method in the related art is: first returning from the source application to the main interface, and then entering the dual-opening application corresponding to the source application from the main interface portal. Or first return to the main interface from the dual-open application, and then enter the source application corresponding to the dual-open application from the main interface entrance. For example, when the user wants to switch to "WeChat+" or "WeChat 2" in "WeChat", they need to return to the main menu, and then select "WeChat+" or "WeChat 2" to enter; thus, the related technology The switching scheme in the present invention has a problem that the switching process is relatively cumbersome. For the above problem, the embodiment of the present invention proposes another method for starting the application.
如图4所示,为本发明实施例提供的又一种应用程序的启动方法的流程示意图。本实施例提供的应用程序的启动方法可以包括如下步骤,即S310~S380:FIG. 4 is a schematic flowchart diagram of still another application startup method according to an embodiment of the present invention. The method for starting the application provided by this embodiment may include the following steps, namely, S310 to S380:
S310,接收应用程序的启动操作。S310. Receive a startup operation of the application.
S320,判断该应用程序是否为双开应用。在本发明实施例中,如果S320中判断出应用层程序是双开应用,则执行S330;如果S320中判断出应用层程序是源应用,则执行S340。S320, determining whether the application is a dual-open application. In the embodiment of the present invention, if it is determined in S320 that the application layer program is a dual-open application, S330 is performed; if it is determined in S320 that the application layer program is a source application, then S340 is performed.
S330,启动该双开应用并按照预设的视觉方案显示该双开应用的界面。S330. Start the dual-open application and display an interface of the dual-open application according to a preset visual scheme.
S340,启动该源应用。S340, start the source application.
本实施例中S310~S340的实现方式可以参照图1和图2所示实施例中的S110~S140。For the implementation of S310 to S340 in this embodiment, reference may be made to S110 to S140 in the embodiment shown in FIG. 1 and FIG.
可选地,本实施例在执行S330之后,即启动双开应用之后,该应用程序的启动方法还可以包括:Optionally, after the S330 is executed, that is, after the dual-opening application is started, the startup method of the application may further include:
S350,读取该双开应用对应的源应用;S350, reading a source application corresponding to the dual-open application;
S360,当接收到预设的应用程序切换指令时,启动该双开应用对应的源应用。S360, when receiving a preset application switching instruction, starting a source application corresponding to the dual-opening application.
可选地,本实施例在执行S340之后,即启动源应用之后,该应用程序的启动方法还可以包括:Optionally, after the S340 is executed, that is, after the source application is started, the startup method of the application may further include:
S370,读取该源应用对应的双开应用;S370, reading a dual-open application corresponding to the source application;
S380,当接收到预设的应用程序切换指令时,启动该源应用对应的双开应用并按照预设的视觉方案显示该双开应用的界面。 S380: When receiving the preset application switching instruction, start the dual-opening application corresponding to the source application and display the interface of the dual-opening application according to a preset visual scheme.
根据本实施例提供的方法中上述S350至S380可知,在移动终端识别到当前用户启动的应用程序为源应用或双开应用之后,会读取该双开应用对应的源应用或者读取该源应用对应的双开应用,并检测是否存在预设的应用程序切换指令。预设的应用程序切换指令可以根据移动终端的硬件情况具体而定。例如,若移动终端的硬件包括指纹验证传感器,则移动终端可预设某枚/某组指纹为应用程序切换功能指纹;在移动终端的前台应用界面中,若指纹验证传感器收到预设的应用程序切换功能指纹,则执行应用程序切换指令,即将当前启动的前台应用置于后台,并启动该前台应用对应的源应用或双开应用。又例如,若移动终端的硬件包括操作压力检测装置,则移动终端可预设某压力阈值和操作方式(例如点按或滑动)为切换功能阈值;在移动终端的前台应用界面中,若压力检测装置检测到当前操作压力达到预设阈值的点按或滑动操作时,则执行应用程序切换指令,即将当前启动的前台应用置于后台,并启动该前台应用对应的源应用或双开应用。在实际应用中,预设的应用程序切换指令还可以包括其他的切换方式,预设的特殊路径的滑动操作、预设的设备动作路径,预设的语音命令等。According to the foregoing S350 to S380 in the method provided by the embodiment, after the mobile terminal recognizes that the application initiated by the current user is a source application or a dual-open application, the source application corresponding to the dual-open application is read or the source application is read. Double open the application and detect if there is a preset application switching instruction. The preset application switching instruction may be specifically determined according to the hardware condition of the mobile terminal. For example, if the hardware of the mobile terminal includes a fingerprint verification sensor, the mobile terminal may preset a certain/a certain set of fingerprints as an application switching function fingerprint; in the foreground application interface of the mobile terminal, if the fingerprint verification sensor receives the preset application When the program switches the function fingerprint, the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-open application corresponding to the foreground application is started. For another example, if the hardware of the mobile terminal includes an operation pressure detecting device, the mobile terminal may preset a certain pressure threshold and an operation mode (such as tapping or sliding) as a switching function threshold; in the foreground application interface of the mobile terminal, if the pressure is detected When the device detects the tapping or sliding operation when the current operating pressure reaches the preset threshold, the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-opening application corresponding to the foreground application is started. In an actual application, the preset application switching instruction may further include other switching modes, a preset special path sliding operation, a preset device action path, a preset voice command, and the like.
可选地,在执行应用切换过程中,举例来说,若当前启动的前台应用为双开应用,则在执行S350时,可以通过读取第二标识位的方式来获取该双开应用对应的源应用,在读取源应用之后,若接收到应用程序切换指令,则将当前启动的双开应用至于后台,同时启动该双开应用对应的源应用。再举例来说,若当前启动的前台应用为源应用,则在执行S370时,同样可以通过读取第二标识位的方式来获取该源应用对应的双开应用,在读取双开应用之后,若接收到应用程序切换指令,则将当前启动的源应用至于后台,同时启动该源应用对应的双开应用。Optionally, in the process of performing the application switching, for example, if the currently-enabled foreground application is a dual-open application, when the S350 is executed, the source application corresponding to the dual-open application may be obtained by reading the second identifier. After the source application is read, if the application switching instruction is received, the currently launched dual-opening is applied to the background, and the source application corresponding to the dual-opening application is started. For example, if the currently-used foreground application is a source application, when the S370 is executed, the dual-opening application corresponding to the source application may be obtained by reading the second identifier bit, and after reading the dual-open application, Upon receiving the application switching instruction, the currently started source is applied to the background, and the dual-open application corresponding to the source application is started.
本实施例在实际操作过程中,S350与S360之间并没有明显的先后顺序,可以先读取双开应用对应的源应用再接收应用程序切换指令,也可以在接收到应用程序切换指令之后再读取双开应用对应的源应用。类似地,S370与S380之间也没有明显的先后顺序,可以先读取源应用对应的双开应用再接收应用程序切换指令,也可以在接收到应用程序切换指令之后再读取源应用对应的双开应用。考虑到相关技术的操作中,用户在启动某个源应用或双开应用之 后,通常会切换到对应的双开应用或源应用,因此先读取应用再接收指令的顺序,可以在接收到应用程序切换指令之后便可进行切换,从而提高应用切换效率。In the actual operation process, there is no obvious sequence between S350 and S360. The source application corresponding to the dual-open application may be read before receiving the application switching instruction, or may be read after receiving the application switching instruction. Take the source application corresponding to the dual-open application. Similarly, there is no obvious sequence between S370 and S380. You can read the dual-open application corresponding to the source application and receive the application switching instruction. You can also read the dual-open corresponding to the source application after receiving the application switching instruction. application. Considering the operation of the related technology, the user is starting a source application or a dual application. After that, it usually switches to the corresponding dual-open application or source application. Therefore, the order of reading the application and then receiving the instruction can be switched after receiving the application switching instruction, thereby improving the application switching efficiency.
本发明实施例提供的应用程序启动方法,在启动应用程序时,能够通过不同的视觉方案将源应用和其对应的双开应用区别开来。同时,在应用切换过程中,可以直接从源应用切换到其对应的双开应用或者从双开应用切换到其对应的源应用,避免了相关技术中必须先返回主界面然后再进入源应用或双开应用的繁琐操作,提高了用户体验。The application startup method provided by the embodiment of the present invention can distinguish the source application from its corresponding dual-opening application through different visual solutions when the application is started. At the same time, in the application switching process, the source application can be directly switched to its corresponding dual-open application or switched from the dual-open application to its corresponding source application, thereby avoiding the need to return to the main interface and then enter the source application or the dual-open application in the related technology. The cumbersome operation improves the user experience.
对应于上述方法,本发明还提供了一种应用程序的启动装置,可以用于移动终端中,该移动终端例如智能手机。该应用程序的启动装置可以对应于上述的各方法实施例,即上述方法实施例中涉及的细节均可以由该启动装置来执行,因此出于简洁主要描述启动装置的概要,而省略以下实施例中的细节描述。以下所示各实施例为本文对应用程序的启动装置的详述描述。Corresponding to the above method, the present invention also provides an application starting device, which can be used in a mobile terminal, such as a smart phone. The activation device of the application may correspond to the foregoing method embodiments, that is, the details involved in the foregoing method embodiments may be performed by the activation device. Therefore, the summary of the activation device is mainly described for brevity, and the following embodiments are omitted. A detailed description in the middle. The various embodiments shown below are a detailed description of the startup device of the application herein.
如图5所示,为本发明实施例提供的一种应用程序的启动装置的结构示意图。本实施例提供的装置可以包括:接收模块41、判断模块42、以及启动模块43。FIG. 5 is a schematic structural diagram of an apparatus for starting an application according to an embodiment of the present invention. The apparatus provided in this embodiment may include: a receiving module 41, a determining module 42, and a starting module 43.
其中,接收模块41,设置为:接收应用程序的启动操作。The receiving module 41 is configured to: receive a startup operation of the application.
判断模块42,设置为:在接收模块41接收到应用程序的启动操作时,判断该应用程序是否为双开应用。The determining module 42 is configured to: when the receiving module 41 receives the startup operation of the application, determine whether the application is a dual-opening application.
启动模块43,设置为:当判断模块42判断出所述应用程序为双开应用时,启动该双开应用并按照预设的视觉方案显示该双开应用的界面。The startup module 43 is configured to: when the determining module 42 determines that the application is a dual-opening application, launch the dual-opening application and display the interface of the dual-opening application according to a preset visual scheme.
在本发明实施例中,由于用户在启动移动终端上的应用程序时,可能启动的是源应用,也可能启动的是某个源应用对应的双开应用。因此,在接收模块41接收到启动应用程序的启动操作时,判断模块42可以先判断或者说识别用户当前启动的应用程序是源应用还是双开应用。随后,启动模块43根据判断结果,会做不同的处理。在本发明实施例中,如果判断模块42的判断结果是双开应用,则启动模块43启动该双开应用并按照预设的视觉方案显示该双开应用的界面,以便用户能够明显区分当前启动的是源应用还是双开应用。 可选地,预设的视觉方案例如可以为移动终端预设的此场景下的状态栏的底色色值,如底色色值为RGB1。那么当检测到用户启动的是双开应用时,则移动终端控制将双开应用界面的状态栏底色色值设置为RGB1。在实际应用中,如果判断模块42的判断结果是源应用,则启动模块43启动该源应用,并且源应用界面的状态栏底色色值不再显示RGB1。In the embodiment of the present invention, when the user starts the application on the mobile terminal, the source application may be started, and the dual-open application corresponding to a certain source application may also be started. Therefore, when the receiving module 41 receives the startup operation of launching the application, the determining module 42 may first determine or identify whether the application currently launched by the user is a source application or a dual-open application. Subsequently, the startup module 43 performs different processing according to the judgment result. In the embodiment of the present invention, if the judgment result of the determination module 42 is a double-open application, the startup module 43 starts the dual-open application and displays the interface of the dual-open application according to a preset visual scheme, so that the user can clearly distinguish the source that is currently activated. The application is still a double-open application. Optionally, the preset visual solution may be, for example, a background color value of a status bar in the scene preset by the mobile terminal, such as a background color value of RGB1. Then, when it is detected that the user initiates the dual-opening application, the mobile terminal controls to set the status bar background color value of the dual-open application interface to RGB1. In an actual application, if the judgment result of the determination module 42 is the source application, the startup module 43 starts the source application, and the background color value of the status bar of the source application interface no longer displays RGB1.
本发明实施例提供的应用程序的启动装置,判断模块42在接收模块41接收到应用程序的启动操作时,通过判断该应用程序是否为双开应用,并且启动模块43在判断模块42判断出该应用程序为双开应用时,启动该双开应用并按照预设的视觉方案显示双开应用的界面;本实施例实现了启动模块43在启动移动终端界面上的应用程序之后,通过不同的视觉方案呈现源应用和双开应用的界面,能够使用户明显区分当前启动的应用程序是源应用还是双开应用,以避免用户在社交圈发表不当言论的可能,从而可以提升用户体验。In the startup device of the application program provided by the embodiment of the present invention, the determining module 42 determines whether the application is a dual-open application when the receiving module 41 receives the startup operation of the application program, and the startup module 43 determines the application at the determining module 42. When the program is a dual-opening application, the dual-opening application is started and the interface of the dual-opening application is displayed according to a preset visual scheme. This embodiment implements the startup module 43 to present the source application through different visual solutions after starting the application on the mobile terminal interface. The interface of the dual-opening application enables the user to clearly distinguish whether the currently launched application is a source application or a dual-application, so as to avoid the possibility of the user posting inappropriate comments in the social circle, thereby improving the user experience.
可选地,如图6所示,为本发明实施例提供的应用程序启动装置中一种判断模块的结构示意图。本实施例中的判断模块42可以包括:检测单元421和判断单元422。Optionally, FIG. 6 is a schematic structural diagram of a determining module in an application starting device according to an embodiment of the present invention. The determining module 42 in this embodiment may include: a detecting unit 421 and a determining unit 422.
其中,检测单元421,设置为:检测应用程序的属性中是否存在预设的第一标识位,该第一标识位用于指示应用程序为双开应用。The detecting unit 421 is configured to: detect whether there is a preset first identifier bit in the attribute of the application, where the first identifier bit is used to indicate that the application is a dual-open application.
判断单元422,设置为:当检测单元421在该应用程序的属性中检测到预设的第一标识位时,判断应用程序为双开应用。The determining unit 422 is configured to: when the detecting unit 421 detects the preset first identifier in the attribute of the application, determine that the application is a dual-opening application.
检测单元421,还设置为:当在应用程序的属性中未检测到预设的第一标识位时,检测应用程序的属性中是否存在预设的第二标识位,该第二标识位用于指示源应用与该源应用对应的双开应用的关联性。The detecting unit 421 is further configured to: when a preset first identifier is not detected in the attribute of the application, detecting whether there is a preset second identifier in the attribute of the application, where the second identifier is used Indicates the association of the source application with the dual-open application corresponding to the source application.
判断单元422,还设置为:当检测单元421在应用程序的属性中检测到预设的第二标识位时,判断该应用程序为源应用。The determining unit 422 is further configured to: when the detecting unit 421 detects the preset second identifier in the attribute of the application, determine that the application is a source application.
在本发明实施例中,应用程序的属性中的标识位是提前预设的,例如是通过移动终端的添加模块提前添加的。如图7所示,为本发明实施例提供的另一种应用程序的启动装置的结构示意图。在上述图5所示装置的结构基础上,本实施例提供的装置中还包括添加模块44。 In the embodiment of the present invention, the identifier bit in the attribute of the application is preset in advance, for example, added in advance by the adding module of the mobile terminal. FIG. 7 is a schematic structural diagram of another apparatus for starting an application according to an embodiment of the present invention. Based on the structure of the device shown in FIG. 5, the device provided in this embodiment further includes an adding module 44.
其中,本实施例中的接收模块41,还设置为:当判断模块42判断出所述应用程序是源应用时,接收添加应用程序对应的双开应用的操作,相应地,添加模块44;设置为:在接收模块41接收到添加某个源引用的对应的双开应用的操作之后,例如移动终端接收到用户通过终端主界面或者设置中的双开应用入口执行添加双开应用操作之后,响应添加双开应用的操作,以将添加的双开应用作为一个独立的应用呈现在主界面上;可选地,添加模块44还设置为:在双开应用的属性中添加第一标识位,例如,添加第一标识位“1”以指示该应用程序为双开应用,并且,添加模块44还设置为:在该双开应用的属性和该双开应用对应的源应用的属性中分别添加第二标识位,例如分别在双开应用的属性中和该双开应用对应的源应用的属性中添加第二标识位“2”,第二标识位用于指示源应用与其对应的双开应用的关联性。The receiving module 41 in this embodiment is further configured to: when the determining module 42 determines that the application is a source application, receive an operation of adding a dual-opening application corresponding to the application, and correspondingly, adding a module 44; After the receiving module 41 receives the operation of adding the corresponding dual-open application of the source reference, for example, the mobile terminal receives the double-open application operation after the user performs the add-open application operation through the dual-open application portal in the terminal main interface or the setting. The operation is to present the added dual-open application as a separate application on the main interface; optionally, the adding module 44 is further configured to: add a first identification bit in the attribute of the dual-open application, for example, adding the first identification bit. 1" to indicate that the application is a dual-open application, and the adding module 44 is further configured to: respectively add a second identifier bit in the attribute of the dual-open application and the attribute of the source application corresponding to the dual-open application, for example, respectively in the double-open application Adding a second identifier bit "2" in the attribute of the source application corresponding to the dual-opening application, and the second identifier bit Source application indicating corresponding double open application association.
在实际应用中,移动终端在为某个应用程序的源应用和其对应的双开应用添加标识位之后,当接收到删除该应用程序的删除操作时,终端会根据当前的应用程序是源应用还是双开应用执行不同的删除流程。即是说,本发明实施例提供的应用程序启动装置还可以包括:删除模块45。In an actual application, after the mobile terminal adds the identification bit to the source application of the application and the corresponding dual-open application, when receiving the deletion operation of deleting the application, the terminal is based on whether the current application is the source application or The dual open application performs different deletion processes. That is, the application launching apparatus provided by the embodiment of the present invention may further include: a deleting module 45.
在实际应用中,接收模块41,还设置为:接收删除双开应用或所述源应用的操作;相应地,删除模块45,设置为:当添加模块44添加第一标识位和第二标识位之后,且接收模块41接收到删除双开应用的操作时,删除双开应用,并删除源应用属性中的第二标识位;该删除模块45,还设置为:当添加模块44添加第一标识位和第二标识位之后,且接收模块41接收到删除该源应用的操作时,删除源应用,并删除双开应用属性中的第一标识位和第二标识位。In an actual application, the receiving module 41 is further configured to: receive an operation of deleting the dual-opening application or the source application; correspondingly, the deleting module 45 is configured to: after the adding module 44 adds the first identifier bit and the second identifier bit, And the receiving module 41 deletes the dual-opening application and deletes the second identifier in the source application attribute; the deleting module 45 is further configured to: when the adding module 44 adds the first identifier and the After the two identifiers are received, and the receiving module 41 receives the operation of deleting the source application, the source application is deleted, and the first identifier bit and the second identifier bit in the double-open application attribute are deleted.
可选地,在应用双开技术的实际使用过程中,当用户从源应用切换到该源应用对应的双开应用,或者从双开应用切换到其对应的源应用时,相关技术中常用的方式是:先从源应用返回主界面,然后从主界面入口进入该源应用对应的双开应用,或者先从双开应用返回主界面,然后再从主界面入口进入该双开应用对应的源应用。例如,当用户在“微信”中想要切换到“微信+”或者“微信2”时,需要返回到主界面,然后再选择“微信+”或者“微信2”进入;由此可见,相关技术中的切换方案存在切换过程比较繁琐的问题,针 对上述问题,本发明实施例提出了图8所示的应用程序的启动装置。Optionally, in a practical use process of the dual-opening technology, when a user switches from a source application to a dual-open application corresponding to the source application, or switches from a dual-open application to a corresponding source application, a commonly used method in the related art is: First return to the main interface from the source application, and then enter the dual-open application corresponding to the source application from the main interface entrance, or return to the main interface from the dual-open application, and then enter the source application corresponding to the dual-open application from the main interface entrance. For example, when the user wants to switch to "WeChat+" or "WeChat 2" in "WeChat", it is necessary to return to the main interface, and then select "WeChat+" or "WeChat 2" to enter; thus, the related technology The switching scheme in the middle has a problem that the switching process is cumbersome, the needle For the above problem, the embodiment of the present invention proposes an activation device for the application shown in FIG. 8.
如图8所示,为本发明实施例提供的又一种应用程序的启动装置的结构示意图。图8所示的装置与图7所示的装置相比,还包括:FIG. 8 is a schematic structural diagram of still another application starting device according to an embodiment of the present invention. The device shown in FIG. 8 further includes: compared with the device shown in FIG.
读取模块46,设置为:在启动模块43启动双开应用之后,读取该双开应用对应的源应用。The reading module 46 is configured to: after the startup module 43 starts the dual-opening application, read the source application corresponding to the dual-opening application.
接收模块41,还设置为:接收应用程序切换指令。The receiving module 41 is further configured to: receive an application switching instruction.
启动模块43,还设置为:在接收模块41接收到预设的应用程序切换指令时,启动该双开应用对应的源应用。The startup module 43 is further configured to: when the receiving module 41 receives the preset application switching instruction, start the source application corresponding to the dual-opening application.
读取模块46,还设置为:在判断模块42判断出应用程序为源应用,且启动模块43启动源应用之后,读取该源应用对应的双开应用。The reading module 46 is further configured to: after the determining module 42 determines that the application is a source application, and the startup module 43 starts the source application, reading the dual-opening application corresponding to the source application.
接收模块41,还设置为:接收应用程序切换指令。The receiving module 41 is further configured to: receive an application switching instruction.
启动模块43,还设置为:在接收模块41接收到预设的应用程序切换指令时,启动源应用对应的双开应用并按照预设的视觉方案显示该双开应用的界面。The startup module 43 is further configured to: when the receiving module 41 receives the preset application switching instruction, start the dual-opening application corresponding to the source application and display the interface of the dual-opening application according to a preset visual scheme.
本实施例中,在判断模块42识别到当前用户启动的应用程序为源应用或双开应用之后,读取模块46会对应读取该双开应用对应的源应用或者读取该源应用对应的双开应用,并通过接收模块41接收预设的应用程序切换指令。预设的应用程序切换指令可以根据移动终端的硬件情况具体而定。例如,若移动终端的硬件包括指纹验证传感器,则移动终端可预设某枚/某组指纹为应用程序切换功能指纹;在移动终端的前台应用界面中,若指纹验证传感器收到预设的应用程序切换功能指纹,则执行应用程序切换指令,即将当前启动的前台应用置于后台,并启动该前台应用对应的源应用或双开应用。又例如,若移动终端的硬件包括操作压力检测装置,则移动终端可预设某压力阈值和操作方式(例如点按或滑动)为切换功能阈值;在移动终端的前台应用界面中,若压力检测装置检测到当前操作压力达到预设阈值的点按或滑动操作时,则执行应用程序切换指令,即将当前启动的前台应用置于后台,并启动该前台应用对应的源应用或双开应用。在实际应用中,预设的应用程序切换指令还可以包括其他的切换方式,预设的特殊路径的滑动操作、预设的设备动作 路径,预设的语音命令等。In this embodiment, after the determining module 42 identifies that the application launched by the current user is a source application or a dual-open application, the reading module 46 may correspondingly read the source application corresponding to the dual-open application or read the dual-open application corresponding to the source application. And receiving a preset application switching instruction through the receiving module 41. The preset application switching instruction may be specifically determined according to the hardware condition of the mobile terminal. For example, if the hardware of the mobile terminal includes a fingerprint verification sensor, the mobile terminal may preset a certain/a certain set of fingerprints as an application switching function fingerprint; in the foreground application interface of the mobile terminal, if the fingerprint verification sensor receives the preset application When the program switches the function fingerprint, the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-open application corresponding to the foreground application is started. For another example, if the hardware of the mobile terminal includes an operation pressure detecting device, the mobile terminal may preset a certain pressure threshold and an operation mode (such as tapping or sliding) as a switching function threshold; in the foreground application interface of the mobile terminal, if the pressure is detected When the device detects the tapping or sliding operation when the current operating pressure reaches the preset threshold, the application switching instruction is executed, that is, the currently-enabled foreground application is placed in the background, and the source application or the dual-opening application corresponding to the foreground application is started. In an actual application, the preset application switching instruction may further include other switching modes, a preset special path sliding operation, and a preset device action. Path, preset voice commands, etc.
发明实施例提供的应用程序启动装置,在启动应用程序时,能够通过不同的视觉方案将源应用和其对应的双开应用区别开来。同时,在应用切换过程中,可以直接从源应用切换到其对应的双开应用或者从双开应用切换到其对应的源应用,避免了相关技术中必须先返回主界面然后再进入源应用或双开应用的繁琐操作,提高了用户体验。The application launching device provided by the embodiment of the invention can distinguish the source application from its corresponding double-opening application by different visual solutions when launching the application. At the same time, in the application switching process, the source application can be directly switched to its corresponding dual-open application or switched from the dual-open application to its corresponding source application, thereby avoiding the need to return to the main interface and then enter the source application or the dual-open application in the related technology. The cumbersome operation improves the user experience.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(根据系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium on a corresponding hardware platform (according to The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例通过在接收到应用程序的启动操作时,判断该应用程序是否为双开应用,并且当判断出该应用程序为双开应用时,启动该双开应用并按照预设的视觉方案显示双开应用的界面;本实施例实现了在启动移动终端界面上的应用程序之后,通过不同的视觉方案呈现源应用和双开应用的界面,能够使用户能明显区分当前启动的应用程序是源应用还是双开应用,以避免用户在社交圈发表不当言论的可能,从而可以提升用户体验。 In the embodiment of the present invention, when the startup operation of the application is received, it is determined whether the application is a dual-open application, and when it is determined that the application is a dual-open application, the dual-open application is started and the dual-open application is displayed according to a preset visual scheme. The embodiment realizes that after the application on the mobile terminal interface is started, the interface of the source application and the dual-open application is presented through different visual solutions, so that the user can clearly distinguish whether the currently launched application is a source application or a dual-open application. To avoid the possibility of users making inappropriate comments in social circles, which can enhance the user experience.

Claims (12)

  1. 一种应用程序的启动方法,包括:An application startup method, including:
    在接收到应用程序的启动操作时,判断所述应用程序是否为双开应用;When receiving the startup operation of the application, determining whether the application is a dual-open application;
    当判断出所述应用程序为双开应用时,启动所述双开应用并按照预设的视觉方案显示所述双开应用的界面。When it is determined that the application is a dual-opening application, the dual-opening application is activated and the interface of the dual-opening application is displayed according to a preset visual scheme.
  2. 根据权利要求1所述的方法,其中,所述判断所述应用程序是否为双开应用,包括:The method of claim 1, wherein the determining whether the application is a dual-open application comprises:
    检测所述应用程序的属性中是否存在预设的第一标识位,所述第一标识位用于指示所述应用程序为双开应用;Detecting whether there is a preset first identifier bit in the attribute of the application, where the first identifier bit is used to indicate that the application is a dual-open application;
    当在所述应用程序的属性中检测到所述第一标识位时,判断所述应用程序为双开应用;When the first identifier is detected in an attribute of the application, determining that the application is a dual-open application;
    当在所述应用程序的属性中未检测到所述第一标识位时,检测所述应用程序的属性中是否存在预设的第二标识位,所述第二标识位用于指示所述源应用与所述源应用对应的双开应用的关联性;When the first identifier is not detected in the attribute of the application, detecting whether there is a preset second identifier in the attribute of the application, where the second identifier is used to indicate the source Applying an association of the dual-open application corresponding to the source application;
    当在所述应用程序的属性中检测到所述第二标识位时,判断所述应用程序为源应用。When the second identification bit is detected in an attribute of the application, the application is determined to be a source application.
  3. 根据权利要求2所述的方法,其中,当判断出所述应用程序为源应用时,所述方法还包括:The method of claim 2, wherein when the application is determined to be a source application, the method further comprises:
    当接收到添加所述应用程序对应的双开应用的操作后,响应所述添加所述双开应用的操作,并在所述双开应用的属性中添加所述第一标识位,在所述源应用的属性和所述双开应用的属性中分别添加所述第二标识位。After receiving the operation of adding the dual-open application corresponding to the application, responding to the operation of adding the dual-open application, and adding the first identifier in an attribute of the dual-open application, applying at the source The second identifier is added to the attribute and the attribute of the dual open application, respectively.
  4. 根据权利要求3所述的方法,其中,所述在所述双开应用的属性中添加所述第一标识位,在所述源应用和所述双开应用的属性中分别添加所述第二标识位之后,所述方法还包括:The method of claim 3, wherein the adding the first identifier bit in an attribute of the dual-open application, and adding the second identifier bit in an attribute of the source application and the dual-open application respectively Thereafter, the method further includes:
    当接收到删除所述双开应用的操作时,删除所述双开应用,并删除所述源应用属性中的第二标识位;When the operation of deleting the dual-open application is received, deleting the dual-opening application, and deleting the second identifier bit in the source application attribute;
    当接收到删除所述源应用的操作时,删除所述源应用,并删除所述双开 应用属性中的第一标识位和第二标识位。When receiving the operation of deleting the source application, deleting the source application and deleting the double open The first identifier bit and the second flag bit in the application attribute.
  5. 根据权利要求1至4任一项所述的方法,其中,所述启动所述双开应用之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein after the initiating the dual-opening application, the method further comprises:
    读取所述双开应用对应的源应用;Reading the source application corresponding to the dual-open application;
    当接收到预设的应用程序切换指令时,启动所述双开应用对应的所述源应用。When the preset application switching instruction is received, the source application corresponding to the dual-opening application is started.
  6. 根据权利要求1至4任一项所述的方法,其中,当判断出所述应用程序为源应用,且启动所述源应用之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein, after determining that the application is a source application and starting the source application, the method further comprises:
    读取所述源应用对应的双开应用;Reading the dual open application corresponding to the source application;
    当接收到预设的应用程序切换指令时,启动所述源应用对应的所述双开应用并按照所述预设的视觉方案显示所述双开应用的界面。And when the preset application switching instruction is received, the dual-opening application corresponding to the source application is started, and the interface of the dual-opening application is displayed according to the preset visual solution.
  7. 一种应用程序启动装置,包括:An application launching device comprising:
    接收模块,设置为:接收应用程序的启动操作;The receiving module is configured to: receive a startup operation of the application;
    判断模块,设置为:在所述接收模块接收到应用程序的启动操作时,判断所述应用程序是否为双开应用;The determining module is configured to: determine, when the receiving module receives the startup operation of the application, whether the application is a dual-opening application;
    启动模块,设置为:当所述判断模块判断出所述应用程序为双开应用时,启动所述双开应用并按照预设的视觉方案显示所述双开应用的界面。The startup module is configured to: when the determining module determines that the application is a dual-opening application, start the dual-opening application and display an interface of the dual-opening application according to a preset visual scheme.
  8. 根据权利要求7所述的装置,其中,所述判断模块包括:The apparatus of claim 7, wherein the determining module comprises:
    检测单元,设置为:检测所述应用程序的属性中是否存在预设的第一标识位,所述第一标识位用于指示所述应用程序为双开应用;a detecting unit, configured to: detect whether a preset first identifier bit exists in an attribute of the application, where the first identifier bit is used to indicate that the application is a dual-open application;
    判断单元,设置为:当所述检测单元在所述应用程序的属性中检测到所述第一标识位时,判断所述应用程序为双开应用;a determining unit, configured to: when the detecting unit detects the first identifier bit in an attribute of the application, determining that the application is a dual-opening application;
    所述检测单元,还设置为:当在所述应用程序的属性中未检测到所述第一标识位时,检测所述应用程序的属性中是否存在预设的第二标识位,所述第二标识位用于指示所述源应用与所述源应用对应的双开应用的关联性;The detecting unit is further configured to: when the first identifier is not detected in the attribute of the application, detecting whether there is a preset second identifier in the attribute of the application, where the The second identifier is used to indicate the association between the source application and the dual-open application corresponding to the source application;
    所述判断单元,还设置为:当所述检测单元在所述应用程序的属性中检测到所述第二标识位时,判断所述应用程序为源应用。 The determining unit is further configured to: when the detecting unit detects the second identifier bit in an attribute of the application, determine that the application is a source application.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述接收模块,还设置为:当所述判断模块判断出所述应用程序是源应用时,接收添加所述应用程序对应的双开应用的操作;The receiving module is further configured to: when the determining module determines that the application is a source application, receive an operation of adding a dual-open application corresponding to the application;
    所述装置还包括:The device also includes:
    添加模块,设置为:在所述接收模块接收到添加所述应用程序对应的双开应用的操作之后,响应所述添加所述双开应用的操作,并在所述双开应用的属性中添加所述第一标识位,在所述源应用的属性和所述双开应用的属性中分别添加所述第二标识位。Adding a module, after the receiving module receives the operation of adding the dual-open application corresponding to the application, responding to the operation of adding the dual-open application, and adding the first in the attribute of the dual-open application An identifier bit is added to the attribute of the source application and the attribute of the dual-open application, respectively.
  10. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述接收模块,还设置为:接收删除所述双开应用或所述源应用的操作;The receiving module is further configured to: receive an operation of deleting the dual-opening application or the source application;
    所述装置还包括:The device also includes:
    删除模块,设置为:当所述添加模块添加所述第一标识位和所述第二标识位之后,且所述接收模块接收到删除所述双开应用的操作时,删除所述双开应用,并删除所述源应用属性中的第二标识位;a deleting module, configured to: after the adding module adds the first identifier bit and the second identifier bit, and the receiving module receives an operation of deleting the dual-opening application, deleting the dual-opening application, and Deleting the second identifier bit in the source application attribute;
    所述删除模块,还设置为:当所述添加模块添加所述第一标识位和所述第二标识位之后,且在所述接收模块接收到删除所述源应用的操作时,删除所述源应用,并删除所述双开应用属性中的第一标识位和第二标识位。The deleting module is further configured to: after the adding module adds the first identifier bit and the second identifier bit, and when the receiving module receives an operation of deleting the source application, deleting the Source application, and deleting the first identifier bit and the second identifier bit in the double-open application attribute.
  11. 根据权利要求7至10任一项所述的装置,还包括:The apparatus according to any one of claims 7 to 10, further comprising:
    读取模块,设置为:在所述启动模块启动所述双开应用之后,读取所述双开应用对应的源应用;a reading module, configured to: after the startup module starts the dual-opening application, reading a source application corresponding to the dual-opening application;
    所述接收模块,还设置为:接收应用程序切换指令;The receiving module is further configured to: receive an application switching instruction;
    所述启动模块,还设置为:在所述接收模块接收到预设的应用程序切换指令时,启动所述读取模块读取的所述双开应用对应的所述源应用。The startup module is further configured to: when the receiving module receives the preset application switching instruction, start the source application corresponding to the dual-opening application read by the reading module.
  12. 根据权利要求7至10任一项所述的装置,还包括:The apparatus according to any one of claims 7 to 10, further comprising:
    读取模块,设置为:在所述判断模块判断出所述应用程序为源应用,且所述启动模块启动所述源应用之后,读取所述源应用对应的双开应用;a reading module, configured to: after the determining module determines that the application is a source application, and after the starting module starts the source application, reading a dual-opening application corresponding to the source application;
    所述接收模块,还设置为:接收应用程序切换指令; The receiving module is further configured to: receive an application switching instruction;
    所述启动模块,还设置为:在所述接收模块接收到预设的应用程序切换指令时,启动所述读取模块读取的所述源应用对应的所述双开应用并按照所述预设的视觉方案显示所述双开应用的界面。 The startup module is further configured to: when the receiving module receives a preset application switching instruction, start the dual-opening application corresponding to the source application read by the reading module, and follow the preset The visual solution shows the interface of the dual open application.
PCT/CN2016/088376 2016-05-09 2016-07-04 Method and apparatus for starting application program WO2017193462A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610298568.5 2016-05-09
CN201610298568.5A CN107357594A (en) 2016-05-09 2016-05-09 The startup method and device of application program

Publications (1)

Publication Number Publication Date
WO2017193462A1 true WO2017193462A1 (en) 2017-11-16

Family

ID=60267504

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088376 WO2017193462A1 (en) 2016-05-09 2016-07-04 Method and apparatus for starting application program

Country Status (2)

Country Link
CN (1) CN107357594A (en)
WO (1) WO2017193462A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170331A (en) * 2017-12-26 2018-06-15 上海展扬通信技术有限公司 A kind of double switching methods and relevant device for opening application
WO2024055867A1 (en) * 2022-09-15 2024-03-21 荣耀终端有限公司 Application cloning-based interface display method and related apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880383A (en) * 2012-08-17 2013-01-16 Tcl集团股份有限公司 Method and device for switching interfaces between application programs
US20140304622A1 (en) * 2008-01-18 2014-10-09 Shutterfly, Inc. Systems and methods for webpage creation and updating
CN104199793A (en) * 2014-08-29 2014-12-10 广州三星通信技术研究有限公司 Portable electronic device and method and device for associating information of other electronic devices with portable electronic device
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929479A (en) * 2012-09-27 2013-02-13 东莞宇龙通信科技有限公司 Display method for application icons and communication terminal
US20160034638A1 (en) * 2013-03-14 2016-02-04 University Of Rochester System and Method for Detecting Population Variation from Nucleic Acid Sequencing Data
CN104199734B (en) * 2014-09-12 2017-11-14 上海斐讯数据通信技术有限公司 A kind of more open pipe reason method and systems of application program based on Android intelligent terminal
CN104731613A (en) * 2015-01-30 2015-06-24 深圳市中兴移动通信有限公司 Quick application starting method and system
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN104932937A (en) * 2015-06-09 2015-09-23 深圳市湘海电子有限公司 Method and device for switching application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140304622A1 (en) * 2008-01-18 2014-10-09 Shutterfly, Inc. Systems and methods for webpage creation and updating
CN102880383A (en) * 2012-08-17 2013-01-16 Tcl集团股份有限公司 Method and device for switching interfaces between application programs
CN104199793A (en) * 2014-08-29 2014-12-10 广州三星通信技术研究有限公司 Portable electronic device and method and device for associating information of other electronic devices with portable electronic device
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170331A (en) * 2017-12-26 2018-06-15 上海展扬通信技术有限公司 A kind of double switching methods and relevant device for opening application
WO2019129042A1 (en) * 2017-12-26 2019-07-04 深圳传音控股股份有限公司 Dual account application switching method and related equipment
WO2024055867A1 (en) * 2022-09-15 2024-03-21 荣耀终端有限公司 Application cloning-based interface display method and related apparatus

Also Published As

Publication number Publication date
CN107357594A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
RU2669063C2 (en) Method and device for image acquisition
KR102610013B1 (en) An apparatus for providinng privacy protection and method thereof
US11029907B2 (en) Electronic device having double-sided display and method for controlling application
EP3116165B1 (en) Method and device for testing a terminal
CN105049711A (en) Photographing method and user terminal
WO2019000933A1 (en) Information display method and apparatus, and computer-readable storage medium
WO2017004927A1 (en) Method for controlling playing terminal, and playing terminal
US20170031540A1 (en) Method and device for application interaction
EP3097743B1 (en) Electronic device for controlling an external device using a number and method thereof
WO2015024494A1 (en) Application sharing method and device
AU2015312629A1 (en) Method of processing content and electronic device thereof
US20150339012A1 (en) Method used by mobile terminal to return to home screen, mobile terminal and storage medium
US20160286044A1 (en) Terminal and Recording Method of Terminal
WO2016197638A2 (en) Method and device for implementing screenshot, and terminal
US11321280B2 (en) Multimedia file sharing method and terminal device
CN105159726A (en) Method and apparatus for quickly starting camera function
US20210311752A1 (en) Electronic apparatus and operating method thereof
EP3163834B1 (en) Method and device for equipment control
WO2016065749A1 (en) Method and device for terminal verification
US20160070899A1 (en) Method and system for secured transfer of application data between electronic devices on simultaneous touch
CN106201204A (en) The method and apparatus starting application function
WO2017193462A1 (en) Method and apparatus for starting application program
WO2017166421A1 (en) Login account switching management method and terminal
WO2016184205A1 (en) Method and device for recording telephone conversation
WO2017076045A1 (en) Camera module fault detection method and device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16901417

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16901417

Country of ref document: EP

Kind code of ref document: A1