Application program control method and device, equipment and medium
By displaying the focused application area in the application and displaying the second interface according to the category strategy, the problem of users frequently switching interfaces is solved, and the operation is simplified and efficiency is improved.
Patent Information
- Application Number
- CN202410496928.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2024-08-23
Smart Images

Figure CN118535261A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to a method, device, equipment and medium for controlling an application program. Background Art
[0002] With the development of electronic devices, various applications are also increasing.
[0003] When using an application, users often need to use other applications at the same time, which requires the user to exit the display interface of the current application and then find and open other applications on the desktop. For example, when a user is using a learning application to take an online class, and wants to open a note-taking application to take notes, the user needs to exit the interface of the learning application to take the online class and then find and open the note-taking application on the desktop.
[0004] This causes the user to constantly switch between different interfaces, which makes the operation cumbersome. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method, device and electronic device for controlling an application program, which can make the operation simpler and more convenient for the user without having to constantly switch between different interfaces.
[0006] In a first aspect, an embodiment of the present application provides a method for controlling an application program, the method comprising:
[0007] When displaying a first interface of a first application, receiving a first input;
[0008] In response to the first input, displaying a focused application area corresponding to the first application, the focused application area including an application identifier of at least one focused category of application;
[0009] receiving a second input of a second application identifier in the focused application area;
[0010] In response to the second input, a second interface of the second application is displayed according to a display policy corresponding to the focus category of the second application, and the second application corresponds to a second application identifier.
[0011] In a second aspect, an embodiment of the present application provides a device for controlling an application program, the device comprising:
[0012] A first receiving module, configured to receive a first input while displaying a first interface of a first application;
[0013] A first display module, configured to display a focused application area corresponding to the first application in response to a first input, wherein the focused application area includes an application identifier of at least one focused category of application;
[0014] A second receiving module, configured to receive a second input of a second application identifier in the focused application area;
[0015] The second display module is used to display a second interface of the second application program in response to a second input according to a display policy corresponding to a focus category of the second application program, and the second application program corresponds to a second application identifier.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0017] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0018] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0019] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0020] In the embodiment of the present application, when displaying the first interface of the first application, it is possible to receive and respond to the first input, display the focused application area corresponding to the first application, the focused application area includes at least one application identifier of a focused category of application, and then receive and respond to the second input corresponding to the second application identifier of the second application in the focused application area, so that the second interface of the second application can be displayed according to the display policy corresponding to the focused category of the second application. In this way, the user does not need to switch between different interfaces constantly, and the operation is simpler. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is one of the flowchart diagrams of a method for controlling an application program according to an exemplary embodiment;
[0022] Figure 2 is one of the scenario schematic diagrams of a method for controlling an application program according to an exemplary embodiment;
[0023] Figure 3 is a second schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment;
[0024] Figure 4 is a third scenario schematic diagram of a method for controlling an application program according to an exemplary embodiment;
[0025] Figure 5 This is a fourth schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment;
[0026] Figure 6 is a fifth schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment;
[0027] Figure 7 is a sixth schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment;
[0028] Figure 8 is a seventh schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment;
[0029] Fig. 9 is an eighth schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment;
[0030] Fig.10 is a ninth scene schematic diagram of a method for controlling an application program according to an exemplary embodiment;
[0031] Fig.11 is a tenth schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment;
[0032] Fig.12 This is a schematic diagram of a scenario of a method for controlling an application program according to an exemplary embodiment.
[0033] Fig.13 is a second flowchart of a method for controlling an application program according to an exemplary embodiment;
[0034] Fig.14 is a structural block diagram of a control device for an application program according to an exemplary embodiment;
[0035] Fig.15 is a structural block diagram of an electronic device according to an exemplary embodiment;
[0036] Fig.16 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0038] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0039] As mentioned in the background technology, in this era of rapid information development, the way of learning and acquiring knowledge is changing. Among them, electronic devices have undoubtedly become an important promoter of this change. With their portability, versatility and ease of use, they are gradually changing users' learning habits. In a variety of learning scenarios, electronic devices support opening multiple learning applications at the same time for combined use, making learning more flexible and efficient, and have now become a must-have learning tool for users.
[0040] When a user is using a learning application, if he needs to open another learning application, he needs to quit the current application first, then find and open the target application on the desktop, and use them in combination in split screen. This method requires frequent quitting, finding, and opening of applications, causing users to constantly switch between different interfaces, which is cumbersome.
[0041] The embodiment of the present application provides an application control method, apparatus, device and medium, which can receive and respond to a first input when displaying a first interface of a first application, display a focused application area corresponding to the first application, the focused application area includes an application identifier of at least one focused category of application, and then receive and respond to a second input corresponding to a second application identifier of a second application in the focused application area, so that the second interface of the second application can be displayed according to the display policy corresponding to the focused category of the second application. In this way, the user does not need to switch between different interfaces constantly, and the operation is simpler.
[0042] The following, in conjunction with the accompanying drawings, describes in detail the control method, device, equipment and medium of the application provided in the embodiments of the present application through specific embodiments and their application scenarios.
[0043] The application control method provided in the embodiment of the present application can be applied to application scenarios where multiple applications are desired to be used simultaneously.
[0044] The control method of the application provided in the embodiment of the present application can be executed by an electronic device. It should be noted that the above execution entity does not constitute a limitation on the present application.
[0045] Combine the following Figure 1 The control method of the application provided in the embodiment of the present application is described in detail.
[0046] Figure 1 The figure is a flowchart of a method for controlling an application program according to an exemplary embodiment.
[0047] like Figure 1 As shown, the control method of the application may include the following steps:
[0048] Step 110: receiving a first input while displaying a first interface of a first application.
[0049] Here, the first application may be a learning application. Exemplarily, the first application may be an application for taking online classes, and the first interface may be an interface for taking online classes.
[0050] The first input may be an input for triggering display of the focused application area corresponding to the first application program. For example, the first input may be a left-swiping input performed on the first interface.
[0051] Specifically, the electronic device may receive the first input while displaying the first interface of the first application. Exemplarily, the electronic device may be a tablet computer (Pad).
[0052] For example, the first interface can be as follows Figure 2 As shown, the user can swipe left to input on the first interface.
[0053] Step 120 , in response to the first input, displaying a focused application area corresponding to the first application.
[0054] Here, the focused application area may include an application identifier of at least one focused category of application. The at least one focused category may include but is not limited to an auxiliary learning category and / or a learning tool category. There may be one or more application identifiers of each focused category of application. The focused application area may include application identifiers of one or more applications.
[0055] The first application may be any learning application, and the application identifiers included in the focused application areas corresponding to different learning applications may be the same or different.
[0056] Specifically, the application identifiers of the applications included in the focused application area can be pre-set. For different learning applications, focused application areas including the application identifiers of different applications can be set respectively, or focused application areas including the application identifiers of the same application can be set for different learning applications.
[0057] For example, a focused application area may be referred to as a "learning package". Figure 3 As shown, in response to the left swipe input performed by the user on the first interface, the electronic device may display the following Figure 3 The interface shown includes a learning package 310, which may include an application identifier 311 of a note application, an application identifier 312 of a translation application, an application identifier 313 of a recording application, an application identifier 314 of a screen recording application, and an application identifier 315 of a calculator application.
[0058] Step 130 : receiving a second input of a second application identifier in the focused application area.
[0059] Here, the second application identifier may be any one of the application identifiers included in the focused application area.
[0060] The second input may be an input of clicking the second application identifier. The second input may be used to open an application corresponding to the second application identifier.
[0061] Step 140 , in response to the second input, displaying a second interface of the second application according to a display policy corresponding to the focus category of the second application.
[0062] Here, the electronic device can display the second interface while displaying the first interface.
[0063] The second application program may correspond to the second application identifier. The display strategy may include but is not limited to split-screen display and display in the form of a floating control.
[0064] In this way, a second application related to the first application can be quickly opened, reducing the user's frequent switching between different applications and improving learning efficiency and concentration.
[0065] Thus, when displaying the first interface of the first application, it is possible to receive and respond to the first input, display the focused application area corresponding to the first application, the focused application area includes at least one application identifier of a focused category of application, and then receive and respond to the second input corresponding to the second application identifier of the second application in the focused application area, so that the second interface of the second application can be displayed according to the display policy corresponding to the focused category of the second application. In this way, the user does not need to switch between different interfaces constantly, and the operation is simpler.
[0066] In some embodiments, the focus category of the second application may be the first focus category, and the display strategy corresponding to the first focus category may be to display the first interface of the first application and the second interface of the second application in a split screen;
[0067] The method may further include:
[0068] receiving a third input;
[0069] In response to the third input, the first interface of the first application and the second interface of the second application are updated and displayed.
[0070] Here, the first focus category may be an auxiliary learning category. The display interface of an auxiliary learning application usually takes up a large space for user operation, so the display strategy corresponding to the first focus category may be a split screen display so that the second interface can take up a large space for user input on the second interface.
[0071] Exemplarily, the auxiliary learning application program may include a note application program and a translation application program, etc.
[0072] The third input may be an input for triggering an update display of the first interface and the second interface. Specifically, the third input may be an input for adjusting a size of a split-screen area of the first interface and the second interface.
[0073] Specifically, a column adjustment rod is displayed at the junction of the first interface and the second interface, and the third input may be an input for moving the column adjustment rod.
[0074] For example, the user clicks Figure 3 After the application identification 311 of the sticky note application is displayed, the electronic device may display the following Figure 4 In the interface shown in FIG. 1 , the first interface 410 and the second interface 420 are displayed in split screens, and a column adjustment bar 430 is displayed at the junction of the first interface 410 and the second interface 420. After the user moves the column adjustment bar 430 to the left, the electronic device can display the following Figure 5 In the interfaces shown, the size of the second interface 420 increases, and the size of the first interface 410 decreases.
[0075] In this way, the interfaces of multiple applications can be quickly displayed in split screen, and the size of the split screen area can be flexibly adjusted.
[0076] In some implementations, the focus category of the second application may be a second focus category, and the display strategy corresponding to the second focus category may be displaying the second interface of the second application in the form of a floating control.
[0077] Here, the second focus category may be a learning tool category. Learning tool applications are usually lightweight and fast applications, and the display interface of such applications usually does not need to occupy a large space for users to operate, so the display strategy corresponding to the second focus category may be displayed in the form of a floating control.
[0078] Exemplarily, learning tool applications may include a recording application, a screen recording application, a calculator application, and the like.
[0079] Specifically, the electronic device may display the second interface in the form of a floating control on the first interface in response to the second input.
[0080] For example, the user clicks Figure 3 The electronic device can display the application icon 313 of the recording application in the electronic device. Figure 6 The interface shown includes a second interface 620 displayed in the form of a floating control on the first interface 610.
[0081] In this way, displaying the second interface in the form of a floating control can avoid the second interface taking up too much display space, making it easier for users to view the first interface.
[0082] In some implementations, the second focused category of applications may also include a third application;
[0083] The method may further include:
[0084] receiving a fourth input of a third application identifier in the focused application area;
[0085] In response to the fourth input, a third interface of the third application is displayed in the form of a floating control.
[0086] Here, the third application identifier may correspond to a third application program. The display states of the second interface and the third interface may be different. The display states may include a thumbnail state and a normal state. The interface size of the normal state may be larger than the interface size of the thumbnail state.
[0087] Specifically, when the second interface is displayed on the first interface in the form of a floating control, if the user swipes left on the first interface, the electronic device can display the focused application area, and the user clicks the third application identifier in the focused application area, the electronic device can display the third interface on the first interface in the form of a floating control.
[0088] The electronic device can display the third interface in the normal state in the form of a floating control, and switch the second interface displayed in the form of a floating control from the normal state to the abbreviated state.
[0089] For example, the user Figure 6 After sliding the interface to the left, the following Figure 7 The interface shown includes a learning package 310. The user clicks the application logo 314 of the screen recording application in the focus application area, that is, the third application logo, and the electronic device can display the following Figure 8 In the interface shown, the third interface 810 in a normal state is displayed in the form of a floating control on the first interface 610, and at the same time, the second interface 620 is switched from a normal state to a thumbnail state.
[0090] In this way, when multiple applications of the second focus category are opened, the display states of the interfaces of the multiple applications of the second focus category can be made different, thereby achieving diversified display.
[0091] When different display states correspond to different interface sizes, the interface sizes of some interfaces can be reduced through the above process, thereby avoiding occupying too much display space and avoiding affecting the user's viewing of the first interface.
[0092] In some embodiments, the second interface is in the first display state;
[0093] The method may further include:
[0094] receiving a fifth input to the second interface;
[0095] In response to the fifth input, the display state of the second interface is switched from the first display state to the second display state.
[0096] Here, the interface display area corresponding to the first display state may be larger than the interface display area corresponding to the second display state. Exemplarily, the first display state may be a normal state, and the second display state may be a thumbnail state.
[0097] The fifth input may be an input for triggering the display state of the second interface to switch from the first display state to the second display state. For example, the fifth input may be an input for clicking the second interface.
[0098] For example, if the user clicks Figure 8The second interface 620 shown in FIG. Fig. 9 The interface shown includes a second interface 620 in a normal state.
[0099] Additionally, if the user clicks Fig. 9 The second interface 620 in the example shown in FIG. 1 is a second interface 620, the second interface 620 can be switched to the following example: Figure 8 Status shown.
[0100] For the interface of any application in the second focus category, the user can switch the display state once each time he clicks. If it is in the first display state before clicking, it will switch to the second display state after clicking; if it is in the second display state before clicking, it will switch to the first display state after clicking.
[0101] In this way, the user can flexibly switch the display status of the application interface of the second focus category according to their own needs.
[0102] In some implementations, the input time of the first input may be within a preset focus time period.
[0103] Here, the user may pre-set a preset concentration time period, and the electronic device may respond to the first input only within the preset concentration time period.
[0104] In this way, the focused application area can be displayed in response to the first input within the preset focused time period, thereby realizing the display of the focused application area according to the user's needs.
[0105] In some embodiments, the method may further include:
[0106] receiving a sixth input;
[0107] In response to the sixth input, displaying a first question-and-answer interface;
[0108] Receiving a seventh input from the user on the first question-and-answer interface;
[0109] In response to the seventh input, it is determined whether to exit the focus mode corresponding to the preset focus time period based on the first answer information corresponding to the seventh input.
[0110] Here, the preset focus time period may correspond to a focus mode, and when the user opens the first application within the preset focus time period, the electronic device may be triggered to enter the focus mode. For example, the focus mode may be a learning mode.
[0111] The sixth input may be used to exit the focus mode corresponding to the preset focus time period. Exemplarily, the sixth input may be an input of clicking a return control on the first interface.
[0112] The first question-and-answer interface may include one or more questions. The questions in the first question-and-answer interface may be generated based on the teaching content of the first application in the first period of time.
[0113] The first time period may be a time period from starting to display the first interface of the first application to receiving the sixth input. Specifically, the first time period may be a time period from receiving an input to open the first application to receiving the sixth input.
[0114] The seventh input may be an input for answering the question in the first question-and-answer interface, and the first answer information may be determined based on the seventh input. The electronic device may determine whether to exit the focus mode based on the first answer information.
[0115] For example, when the user clicks the return control on the first interface, the electronic device may display the following Fig.10 The interface shown includes a first question-and-answer interface 1010 . The first question-and-answer interface 1010 may include multiple questions, and the user may answer the questions in the first question-and-answer interface.
[0116] In this way, when the user wants to exit the focus mode within the preset focus time period, he needs to answer the questions in the first question-and-answer interface, and determine whether to exit the focus mode based on the answer information. This can prevent the user from exiting the focus mode before mastering the knowledge that should be learned, thereby ensuring the user's learning effect.
[0117] In some implementations, in response to the seventh input, determining whether to exit the focus mode corresponding to the preset focus time period based on the first answer information corresponding to the seventh input may include:
[0118] In response to the seventh input, determining whether the user passes the question-and-answer test based on the first answer information and the first standard answer corresponding to the seventh input;
[0119] When it is determined that the user has passed the question-and-answer test, the focus mode corresponding to the preset focus time period is exited.
[0120] Here, the first standard answer may be generated based on the teaching content of the first application in the first period and the question in the first question-and-answer interface. The first standard answer may be the correct answer to the question in the first question-and-answer interface.
[0121] Specifically, the electronic device can compare the first answer information with the first standard answer to determine whether the first answer information is correct. If it is completely correct or the accuracy reaches a preset accuracy, the focus mode can be exited; if it is not completely correct or the accuracy does not reach the preset accuracy, the focus mode can be retained.
[0122] In this way, through the above process, the focus mode can be exited when it is determined that the user has mastered the knowledge that should be learned, thereby ensuring the user's learning effect.
[0123] In some embodiments, the method may further include:
[0124] During the preset focus time period, the application identifiers of the application programs in the third focus category are hidden from the desktop interface.
[0125] Here, the third focus category may be entertainment.
[0126] In addition to learning applications, electronic devices can also provide a variety of entertainment applications, such as social media, games, or short video applications. While enjoying the convenience, the user's attention and concentration will be distracted to other applications, resulting in reduced learning efficiency. Therefore, the application logo of the third focus category application can be hidden from the desktop interface during the preset focus time period.
[0127] For example, during the preset focus time period, the desktop interface of the electronic device may be as follows: Fig.11 As shown, the desktop interface may include a plurality of application logos 1110 displayed as “hidden”.
[0128] In this way, the user can be prevented from opening the application program of the third focus category during the preset focus time period, so that the user can be more focused.
[0129] In some embodiments, the method may further include:
[0130] receiving an eighth input;
[0131] In response to an eighth input, displaying a desktop interface;
[0132] Receiving a ninth input to the desktop interface;
[0133] In response to a ninth input, displaying application identifiers of applications in a third focus category;
[0134] receiving a tenth input of an application identifier of a fourth application in a third focus category;
[0135] In response to the tenth input, displaying a second question-and-answer interface;
[0136] Receive the user's eleventh input to the second question-and-answer interface;.
[0137] In response to the eleventh input, it is determined whether to open the fourth application based on the second answer information corresponding to the eleventh input.
[0138] Here, the eighth input may be used to trigger the electronic device to display the desktop interface. Exemplarily, the eighth input may be an input of clicking a "Home" control.
[0139] The ninth input may be an input for triggering the electronic device to display the application identifier of the application of the third focus category that was originally hidden. Exemplarily, the ninth input may be an upward sliding input.
[0140] The tenth input may be a user triggering the electronic device to display the second question-answer interface. Exemplarily, the tenth input may be an input of clicking on the application identifier of the fourth application.
[0141] The second question-and-answer interface may include one or more questions. The questions in the second question-and-answer interface may be generated based on the teaching content of the first application in the second period.
[0142] The second time period may be a time period from starting to display the first interface of the first application to receiving the tenth input. Specifically, the second time period may be a time period from receiving an input to open the first application to receiving the tenth input.
[0143] The eleventh input may be an input for answering the question in the second question-and-answer interface, and second answer information may be determined based on the eleventh input. The electronic device may determine whether to open the fourth application based on the second answer information.
[0144] In this way, when the user wants to open the application of the third focus category within the preset focus time period, he needs to answer the questions in the second question and answer interface, and determine whether the application of the third focus category can be opened based on the answer information. This can prevent the user from opening the application of the third focus category before mastering the knowledge that should be learned, thereby preventing the user's attention from being distracted.
[0145] In some implementations, in response to the eleventh input, determining whether to open the fourth application based on the second answer information corresponding to the eleventh input may include:
[0146] In response to the eleventh input, determining whether the user passes the question-and-answer test based on the second answer information and the second standard answer corresponding to the eleventh input;
[0147] When it is determined that the user passes the question-and-answer test, the fourth application is opened.
[0148] Here, the second standard answer may be generated based on the teaching content of the first application in the second period and the question in the second question-and-answer interface. The second standard answer may be the correct answer to the question in the second question-and-answer interface.
[0149] Specifically, the electronic device can compare the second answer information with the second standard answer to determine whether the second answer information is correct. If it is completely correct or the accuracy reaches a preset accuracy, the fourth application can be opened; if it is not completely correct or the accuracy does not reach the preset accuracy, the fourth application may not be opened.
[0150] In this way, through the above process, the application program of the third focus category can be opened when it is determined that the user has mastered the knowledge that should be learned, thereby ensuring the learning effect of the user.
[0151] In some implementations, during the preset focus time period, the application identifier of the application in the third focus category in the desktop interface is grayed out, which may indicate that the application is disabled.
[0152] At this time, you can click the grayed-out application logo to trigger the electronic device to display the second question-and-answer interface.
[0153] In some implementations, the user may pre-set a preset focus time period of the focus mode, a learning application, an auxiliary learning application, a learning tool application, and an entertainment application.
[0154] For example, the interface of customizing the focus mode can be as follows: Fig.12 shown.
[0155] It should be noted that the input in the embodiments of the present application can be a click input, a voice command input, or a specific gesture input, which can be determined according to actual use requirements, and the embodiments of the present application do not limit this. Among them, the specific gesture can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double-click gesture; the click input can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input.
[0156] In order to better describe the entire solution, based on the above embodiments, a specific example is given. Fig.13 As shown, the control method of the application may include steps 1301 to 1310, which are explained in detail below.
[0157] Step 1301: receiving a first input while displaying a first interface of a first application.
[0158] Step 1302: In response to the first input, display a focused application area corresponding to the first application.
[0159] Step 1303: Receive a second input of a second application identifier in the focused application area.
[0160] Step 1304: When the focus category of the second application is the first focus category, a first interface of the first application and a second interface of the second application are displayed in split screen.
[0161] Step 1305: When the focus category of the second application is the second focus category, display the second interface of the second application in the form of a floating control on the first interface.
[0162] Step 1306, receiving a sixth input.
[0163] Step 1307, in response to the sixth input, display the first question and answer interface.
[0164] Step 1308, receiving the seventh input from the user on the first question-and-answer interface.
[0165] Step 1309, in response to the seventh input, determine whether the user passes the question-and-answer test based on the first answer information and the first standard answer corresponding to the seventh input.
[0166] Step 1310: When it is determined that the user has passed the question-and-answer test, exit the focus mode corresponding to the preset focus time period.
[0167] The specific process of step 1301 to step 1310 can be found in the above embodiment and will not be repeated here.
[0168] Thus, when displaying the first interface of the first application, it is possible to receive and respond to the first input, display the focused application area corresponding to the first application, the focused application area includes at least one application identifier of a focused category of application, and then receive and respond to the second input corresponding to the second application identifier of the second application in the focused application area, so that the second interface of the second application can be displayed according to the display policy corresponding to the focused category of the second application. In this way, the user does not need to switch between different interfaces constantly, and the operation is simpler.
[0169] The application control method provided in the embodiment of the present application can be executed by a control device of the application. In the embodiment of the present application, the application control device provided in the embodiment of the present application is described by taking the application control method executed by the application control device as an example.
[0170] Based on the same inventive concept, the present application also provides a control device for an application program. Fig.14 The control device of the application provided in the embodiment of the present application is described in detail.
[0171] Fig.14 The invention is a structural block diagram of a control device for an application program according to an exemplary embodiment.
[0172] like Fig.14 As shown, the control device 1400 of the application may include:
[0173] A first receiving module 1401 is used to receive a first input when displaying a first interface of a first application program;
[0174] A first display module 1402, configured to display a focused application area corresponding to the first application in response to a first input, wherein the focused application area includes an application identifier of at least one focused category of application;
[0175] The second receiving module 1403 is used to receive a second input of a second application identifier in the focused application area;
[0176] The second display module 1404 is used to display a second interface of the second application program in response to the second input according to the display policy corresponding to the focus category of the second application program, and the second application program corresponds to the second application identifier.
[0177] The control device 1400 of the above application program is described in detail below, as follows:
[0178] In one embodiment, the focus category of the second application is the first focus category, and the display strategy corresponding to the first focus category is to display the first interface of the first application and the second interface of the second application in split screen; the control device 1400 of the application may further include:
[0179] A third receiving module, used for receiving a third input;
[0180] The updating module is used to update and display the first interface of the first application and the second interface of the second application in response to the third input.
[0181] In one of the embodiments, the focus category of the second application is the second focus category, and the display strategy corresponding to the second focus category is to display the second interface of the second application in the form of a floating control.
[0182] In one embodiment, the second focus category of applications also includes a third application; the control device 1400 of this application may also include:
[0183] a fourth receiving module, configured to receive a fourth input of a third application identifier in the focused application area, wherein the third application identifier corresponds to a third application program;
[0184] The third display module is used to display a third interface of the third application in the form of a floating control in response to a fourth input, and the display states of the second interface and the third interface are different.
[0185] In one embodiment, the second interface is in the first display state; the control device 1400 of the application may further include:
[0186] A fifth receiving module, used for receiving a fifth input to the second interface;
[0187] The switching module is used to switch the display state of the second interface from a first display state to a second display state in response to a fifth input, and the interface display area corresponding to the first display state is larger than the interface display area corresponding to the second display state.
[0188] In one embodiment, the input time of the first input is within a preset focus time period.
[0189] In one embodiment, the control device 1400 of the application may further include:
[0190] A sixth receiving module, configured to receive a sixth input, where the sixth input is used to exit the focus mode corresponding to the preset focus time period;
[0191] A fourth display module is used to display a first question-and-answer interface in response to a sixth input, wherein the questions in the first question-and-answer interface are generated based on the teaching content of the first application in a first time period, and the first time period is a period from the start of displaying the first interface of the first application to receiving the sixth input;
[0192] A seventh receiving module, used to receive a seventh input from the user on the first question-and-answer interface;
[0193] The first determination module is used to determine, in response to the seventh input, whether to exit the focus mode corresponding to the preset focus time period based on the first answer information corresponding to the seventh input.
[0194] In one embodiment, the first determining module may include:
[0195] A first determination submodule, configured to determine, in response to a seventh input, whether the user has passed the question-and-answer test based on first answer information and a first standard answer corresponding to the seventh input, wherein the first standard answer is generated based on the teaching content of the first application program in the first time period and the question in the first question-and-answer interface;
[0196] The first processing submodule is used to exit the focus mode corresponding to the preset focus time period when it is determined that the user has passed the question-and-answer test.
[0197] In one embodiment, the control device 1400 of the application may further include:
[0198] The hiding module is used to hide the application identifiers of the application programs of the third focus category from the desktop interface during a preset focus time period.
[0199] In one embodiment, the control device 1400 of the application may further include:
[0200] an eighth receiving module, configured to receive an eighth input;
[0201] a fifth display module, configured to display a desktop interface in response to an eighth input;
[0202] A ninth receiving module, used for receiving a ninth input to the desktop interface;
[0203] a sixth display module, configured to display, in response to a ninth input, an application identifier of an application of a third focus category;
[0204] a tenth receiving module, configured to receive a tenth input of an application identifier of a fourth application of a third focus category;
[0205] A seventh display module, configured to display a second question-and-answer interface in response to the tenth input, wherein the questions in the second question-and-answer interface are generated based on the teaching content of the first application in a second time period, and the second time period is a period from the start of displaying the first interface of the first application to receiving the tenth input;
[0206] An eleventh receiving module is used to receive an eleventh input from the user on the second question-and-answer interface;.
[0207] The second determination module is used to determine whether to open a fourth application program in response to an eleventh input based on second answer information corresponding to the eleventh input.
[0208] In one embodiment, the second determining module may include:
[0209] A second determination submodule, configured to determine, in response to the eleventh input, whether the user has passed the question-and-answer test based on second answer information corresponding to the eleventh input and a second standard answer, wherein the second standard answer is generated based on the teaching content of the first application in the second time period and the question in the second question-and-answer interface;
[0210] The second processing submodule is used to open the fourth application program when it is determined that the user passes the question-and-answer test.
[0211] Thus, when displaying the first interface of the first application, it is possible to receive and respond to the first input, display the focused application area corresponding to the first application, the focused application area includes at least one application identifier of a focused category of application, and then receive and respond to the second input corresponding to the second application identifier of the second application in the focused application area, so that the second interface of the second application can be displayed according to the display policy corresponding to the focused category of the second application. In this way, the user does not need to switch between different interfaces constantly, and the operation is simpler.
[0212] The control device of the application in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0213] The control device of the application in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0214] The control device of the application provided in the embodiment of the present application can achieve Figure 1-13 The various processes implemented in the method embodiment achieve the same technical effect and will not be described again here to avoid repetition.
[0215] In some embodiments, Fig.15 As shown, an embodiment of the present application also provides an electronic device 1500, including a processor 1501 and a memory 1502, wherein the memory 1502 stores programs or instructions that can be executed on the processor 1501, and when the program or instructions are executed by the processor 1501, the various steps of the control method embodiment of the above-mentioned application are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0216] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0217] Fig.16 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0218] The electronic device 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, a sensor 1605, a display unit 1606, a user input unit 1607, an interface unit 1608, a memory 1609, and a processor 1610 and other components.
[0219] Those skilled in the art will appreciate that the electronic device 1600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.16 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0220] The user input unit 1607 is used to receive a first input when displaying a first interface of a first application program;
[0221] The display unit 1606 is configured to display a focused application area corresponding to the first application in response to the first input, wherein the focused application area includes an application identifier of at least one focused category of application;
[0222] The user input unit 1607 is further used to receive a second input of a second application identifier in the focused application area;
[0223] The display unit 1606 is further configured to display a second interface of the second application program in response to a second input according to a display policy corresponding to a focus category of the second application program, wherein the second application program corresponds to a second application identifier.
[0224] Thus, when displaying the first interface of the first application, it is possible to receive and respond to the first input, display the focused application area corresponding to the first application, the focused application area includes at least one application identifier of a focused category of application, and then receive and respond to the second input corresponding to the second application identifier of the second application in the focused application area, so that the second interface of the second application can be displayed according to the display policy corresponding to the focused category of the second application. In this way, the user does not need to switch between different interfaces constantly, and the operation is simpler.
[0225] In some embodiments, the focus category of the second application is the first focus category, and the display strategy corresponding to the first focus category is to display the first interface of the first application and the second interface of the second application in split screen; the user input unit 1607 is further used to receive a third input;
[0226] The processor 1610 is configured to update and display a first interface of the first application and a second interface of the second application in response to a third input.
[0227] In this way, the interfaces of multiple applications can be quickly displayed in split screen, and the size of the split screen area can be flexibly adjusted.
[0228] In some embodiments, the focus category of the second application is a second focus category, and the display strategy corresponding to the second focus category is to display the second interface of the second application in the form of a floating control.
[0229] In this way, displaying the second interface in the form of a floating control can avoid the second interface taking up too much display space, making it easier for users to view the first interface.
[0230] In some embodiments, the second focused category of applications further includes a third application; the user input unit 1607 is further configured to receive a fourth input of a third application identifier in the focused application area, the third application identifier corresponding to the third application;
[0231] The display unit 1606 is further configured to display, in response to a fourth input, a third interface of the third application in the form of a floating control, wherein the display states of the second interface and the third interface are different.
[0232] In this way, when multiple applications of the second focus category are opened, the display states of the interfaces of the multiple applications of the second focus category can be made different, thereby achieving diversified display.
[0233] In some embodiments, the second interface is in the first display state; the user input unit 1607 is further used to receive a fifth input to the second interface;
[0234] Processor 1610 is further configured to, in response to a fifth input, switch the display state of the second interface from a first display state to a second display state, wherein an interface display area corresponding to the first display state is larger than an interface display area corresponding to the second display state.
[0235] In this way, the user can flexibly switch the display status of the application interface of the second focus category according to their own needs.
[0236] In some embodiments, the input time of the first input is within a preset focus time period.
[0237] In this way, the focused application area can be displayed in response to the first input within the preset focused time period, thereby realizing the display of the focused application area according to the user's needs.
[0238] In some embodiments, the user input unit 1607 is further used to receive a sixth input, and the sixth input is used to exit the focus mode corresponding to the preset focus time period;
[0239] The display unit 1606 is further configured to display a first question-and-answer interface in response to the sixth input, wherein the questions in the first question-and-answer interface are generated based on the teaching content of the first application in a first time period, and the first time period is a period from when the first interface of the first application is displayed to when the sixth input is received;
[0240] The user input unit 1607 is further used to receive a seventh input from the user on the first question-and-answer interface;
[0241] The processor 1610 is further configured to, in response to a seventh input, determine whether to exit a focus mode corresponding to a preset focus time period based on first answer information corresponding to the seventh input.
[0242] In this way, when the user wants to exit the focus mode within the preset focus time period, he needs to answer the questions in the first question-and-answer interface, and determine whether to exit the focus mode based on the answer information. This can prevent the user from exiting the focus mode before mastering the knowledge that should be learned, thereby ensuring the user's learning effect.
[0243] In some embodiments, the processor 1610 is further configured to, in response to a seventh input, determine whether the user has passed the question-and-answer test based on first answer information and a first standard answer corresponding to the seventh input, where the first standard answer is generated based on the teaching content of the first application in the first time period and the question in the first question-and-answer interface;
[0244] When it is determined that the user has passed the question-and-answer test, the focus mode corresponding to the preset focus time period is exited.
[0245] In this way, through the above process, the focus mode can be exited when it is determined that the user has mastered the knowledge that should be learned, thereby ensuring the user's learning effect.
[0246] In some embodiments, the processor 1610 is further configured to hide application identifiers of applications in the third focus category from the desktop interface during a preset focus time period.
[0247] In this way, the user can be prevented from opening the application program of the third focus category during the preset focus time period, so that the user can be more focused.
[0248] In some embodiments, the user input unit 1607 is further configured to receive an eighth input;
[0249] The display unit 1606 is further configured to display a desktop interface in response to an eighth input;
[0250] The user input unit 1607 is further used to receive a ninth input to the desktop interface;
[0251] The display unit 1606 is further configured to display, in response to a ninth input, an application identifier of an application of a third focus category;
[0252] The user input unit 1607 is further used to receive a tenth input of an application identifier of a fourth application of a third focus category;
[0253] The display unit 1606 is further configured to display a second question-and-answer interface in response to the tenth input, wherein the questions in the second question-and-answer interface are generated based on the teaching content of the first application in a second time period, and the second time period is a period from when the first interface of the first application is displayed to when the tenth input is received;
[0254] The user input unit 1607 is further used to receive an eleventh input from the user on the second question-and-answer interface.
[0255] Processor 1610 is further configured to, in response to an eleventh input, determine whether to open a fourth application based on second answer information corresponding to the eleventh input.
[0256] In this way, when the user wants to open the application of the third focus category within the preset focus time period, he needs to answer the questions in the second question and answer interface, and determine whether the application of the third focus category can be opened based on the answer information. This can prevent the user from opening the application of the third focus category before mastering the knowledge that should be learned, thereby preventing the user's attention from being distracted.
[0257] In some embodiments, the processor 1610 is further configured to, in response to the eleventh input, determine whether the user passes the question-and-answer test based on second answer information corresponding to the eleventh input and a second standard answer, where the second standard answer is generated based on the teaching content of the first application in the second time period and the question in the second question-and-answer interface;
[0258] When it is determined that the user passes the question-and-answer test, the fourth application is opened.
[0259] In this way, through the above process, the application program of the third focus category can be opened when it is determined that the user has mastered the knowledge that should be learned, thereby ensuring the learning effect of the user.
[0260] It should be understood that in the embodiment of the present application, the input unit 1604 may include a graphics processor (Graphics Processing Unit, GPU) 16041 and a microphone 16042, and the graphics processor 16041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 16017 may include a display panel 160171, and the display panel 160171 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1607 includes a touch panel 16071 and at least one of other input devices 16072. The touch panel 16071 is also called a touch screen. The touch panel 16071 may include two parts: a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0261] The memory 1609 can be used to store software programs and various data. The memory 1609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1609 may include a volatile memory or a non-volatile memory, or the memory 1609 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1609 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0262] The processor 1610 may include one or more processing units; in some embodiments, the processor 1610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1610.
[0263] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the control method embodiment of the above-mentioned application is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0264] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory, a random access memory, a magnetic disk or an optical disk.
[0265] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the control method embodiment of the above-mentioned application program, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0266] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0267] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the control method embodiment of the above-mentioned application program, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0268] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0269] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0270] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for controlling an application, characterized in that: The method comprises: When displaying a first interface of a first application, receiving a first input; In response to the first input, displaying a focused application area corresponding to the first application, the focused application area including an application identifier of at least one focused category of application; receiving a second input of a second application identifier in the focused application area; In response to the second input, a second interface of the second application is displayed according to a display policy corresponding to the focus category of the second application, and the second application corresponds to the second application identifier.
2. The method according to claim 1, characterized in that The focus category of the second application is the first focus category, and the display strategy corresponding to the first focus category is to display the first interface of the first application and the second interface of the second application in split screen; The method further comprises: receiving a third input; In response to the third input, the first interface of the first application and the second interface of the second application are updated and displayed.
3. The method according to claim 1, characterized in that The focus category of the second application is the second focus category, and the display strategy corresponding to the second focus category is to display the second interface of the second application in the form of a floating control.
4. The method according to claim 3, characterized in that The second focused category of applications also includes a third application; The method further comprises: receiving a fourth input of a third application identifier in the focused application area, the third application identifier corresponding to the third application program; In response to the fourth input, a third interface of the third application is displayed in the form of a floating control, and the display states of the second interface and the third interface are different.
5. The method according to claim 4, characterized in that The second interface is in the first display state; The method further comprises: receiving a fifth input to the second interface; In response to the fifth input, the display state of the second interface is switched from the first display state to the second display state, and the interface display area corresponding to the first display state is larger than the interface display area corresponding to the second display state.
6. The method according to claim 1, characterized in that The input time of the first input is within a preset focus time period.
7. The method according to claim 6, characterized in that The method further comprises: receiving a sixth input, the sixth input being used to exit the focus mode corresponding to the preset focus time period; In response to the sixth input, display a first question-and-answer interface, wherein questions in the first question-and-answer interface are generated based on teaching content of the first application in a first time period, wherein the first time period is a period from when the first interface of the first application is displayed to when the sixth input is received; receiving a seventh input from the user on the first question-and-answer interface; In response to the seventh input, it is determined whether to exit the focus mode corresponding to the preset focus time period based on the first answer information corresponding to the seventh input.
8. The method according to claim 7, characterized in that The step of determining, in response to the seventh input, whether to exit the focus mode corresponding to the preset focus time period based on the first answer information corresponding to the seventh input, includes: In response to the seventh input, determining whether the user passes the question-and-answer test based on first answer information and a first standard answer corresponding to the seventh input, where the first standard answer is generated based on the teaching content of the first application in the first time period and the question in the first question-and-answer interface; When it is determined that the user has passed the question-and-answer test, the focus mode corresponding to the preset focus time period is exited.
9. The method according to claim 6, characterized in that The method further comprises: During the preset focus time period, the application identifiers of the application programs in the third focus category are hidden from the desktop interface.
10. The method according to claim 9, characterized in that The method further comprises: receiving an eighth input; In response to the eighth input, displaying a desktop interface; receiving a ninth input to the desktop interface; In response to the ninth input, displaying application identifiers of applications in the third focus category; receiving a tenth input of an application identifier of a fourth application of the third focus category; In response to the tenth input, display a second question-and-answer interface, wherein questions in the second question-and-answer interface are generated based on teaching content of the first application in a second time period, wherein the second time period is a period from when the first interface of the first application is displayed to when the tenth input is received; Receiving an eleventh input from the user on the second question-and-answer interface; In response to the eleventh input, it is determined whether to open the fourth application based on second answer information corresponding to the eleventh input.
11. The method according to claim 10, characterized in that The step of determining, in response to the eleventh input, whether to open the fourth application based on second answer information corresponding to the eleventh input comprises: In response to the eleventh input, determining whether the user has passed the question-and-answer test based on second answer information and a second standard answer corresponding to the eleventh input, where the second standard answer is generated based on the teaching content of the first application in the second time period and the questions in the second question-and-answer interface; When it is determined that the user passes the question-and-answer test, the fourth application is opened.
12. A control device for an application, characterized in that: The device comprises: A first receiving module, configured to receive a first input while displaying a first interface of a first application; A first display module, configured to display a focused application area corresponding to the first application in response to the first input, wherein the focused application area includes an application identifier of at least one focused category of application; A second receiving module, configured to receive a second input of a second application identifier in the focused application area; The second display module is used to display a second interface of the second application in response to the second input according to a display policy corresponding to the focus category of the second application, and the second application corresponds to the second application identifier.
13. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the control method of the application program according to any one of claims 1 to 11 are implemented.
14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the control method of the application program according to any one of claims 1 to 11 are implemented.
