Control method and device, electronic equipment and storage medium
By receiving and responding to the input to the first application, the first application and the second application with a control collaboration relationship are controlled to perform corresponding tasks, which solves the problems of operational convenience and low efficiency in multiple application scenarios, and achieves simplified operation processes and Improve operational efficiency.
Patent Information
- Application Number
- CN202411424970.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-24
AI Technical Summary
In multiple application scenarios, such as when buying goods, the prior art requires users to constantly switch between multiple applications, resulting in low operational convenience and efficiency.
By receiving the input of the first application, the sound should be input, control the first application to perform the first task, and control the second application of the second application with the first application to control the synergy relationship, and realize the multi -application collaborative operation.
There is no need for users to switch operations back and forth between multiple applications, which simplifies the operation process and improves the convenience and efficiency of application operation.
Smart Images

Figure CN119356564A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a control method, device, electronic equipment and storage medium. Background Art
[0002] With the rapid development of electronic device technology, current electronic devices can already support split-screen display of multiple application pages. In daily life, some scenarios require users to operate multiple pages of electronic devices at the same time, such as rushing to buy goods, rushing to buy tickets, etc.
[0003] Taking the rush purchase scenario as an example, when users rush purchase goods during a shopping festival, they need to open multiple applications at the same time, enter the rush purchase page in each application, and when starting the rush purchase, click the rush purchase control on the rush purchase page of each application.
[0004] However, the above method requires the user to constantly switch between multiple applications, which is very inconvenient. Therefore, the above method is less convenient for the operation of applications and has low operating efficiency. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a control method, device, electronic device and storage medium, which can improve the operational convenience and efficiency of applications.
[0006] In a first aspect, an embodiment of the present application provides a control method, the method comprising: receiving a first input to a first application; in response to the first input, controlling the first application to perform a first task, and controlling the second application to perform a second task; wherein the second application is an application having a control collaborative relationship with the first application.
[0007] In a second aspect, an embodiment of the present application provides a control device, the device comprising a receiving module and a control module. The receiving module is used to receive a first input to a first application. The establishing module is used to control the first application to perform a first task and control the second application to perform a second task in response to the first input received by the receiving module; wherein the second application is an application having a control cooperative relationship with the first application.
[0008] 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 control method described in the first aspect are implemented.
[0009] 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 control method described in the first aspect are implemented.
[0010] 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 control method described in the first aspect.
[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the control method as described in the first aspect.
[0012] In the embodiment of the present application, a first input to a first application is received, and in response to the first input, the first application is controlled to execute a first task, and a second application is controlled to execute a second task; wherein the second application is an application that has a control synergy relationship with the first application. In this way, a user can trigger multiple applications that have a control synergy relationship with the arbitrary application to execute tasks corresponding to the input by inputting to any application, without the user having to switch back and forth between multiple applications, thereby simplifying the application operation process and improving the convenience and efficiency of application operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is one of the flow charts of the control method provided in the embodiment of the present application;
[0014] Figure 2 This is the second flow chart of the control method provided in the embodiment of the present application;
[0015] Figure 3 is a schematic diagram of an example of an input method for an application icon provided in an embodiment of the present application;
[0016] Figure 4 This is the third flow chart of the control method provided in the embodiment of the present application;
[0017] Figure 5 This is one of the example schematic diagrams of the input method for the function control provided in the embodiment of the present application;
[0018] Figure 6 is a schematic diagram of an example of an input method for an application interface provided in an embodiment of the present application;
[0019] Figure 7 is a schematic diagram of a control coordination relationship provided in an embodiment of the present application;
[0020] Figure 8 is a schematic diagram of a search result page provided in an embodiment of the present application;
[0021] Fig. 9 This is the second example schematic diagram of the input method of the function control provided in the embodiment of the present application;
[0022] Fig.10 This is the fourth flow chart of the control method provided in the embodiment of the present application;
[0023] Fig.11 This is the fifth flow chart of the control method provided in the embodiment of the present application;
[0024] Fig.12 It is one of the structural schematic diagrams of the control device provided in the embodiment of the present application;
[0025] Fig.13 This is the second structural schematic diagram of the control device provided in the embodiment of the present application;
[0026] Fig.14 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0027] Fig.15 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0028] 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.
[0029] 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.
[0030] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".
[0031] The control method, device, electronic device and storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0032] The control method provided in the embodiment of the present application can be applied to a scenario where an electronic device controls multiple applications to execute tasks corresponding to user input, for example, to purchase goods, train tickets, or concert tickets through multiple applications.
[0033] At present, when users rush to buy tickets during holidays, they need to switch back and forth between multiple ticket-buying applications to complete the operation, which is very inconvenient. Therefore, the operation convenience of the application in the related art is poor and the operation efficiency is low.
[0034] To this end, an embodiment of the present application provides a control method, which receives a first input to a first application, controls the first application to perform a first task in response to the first input, and controls the second application to perform a second task; wherein the second application is an application that has a control synergy relationship with the first application. In this way, a user can control all applications that have a control synergy relationship with the arbitrary application to perform tasks corresponding to the input by inputting to any application, without the user having to switch back and forth between multiple applications, thereby simplifying the application operation process and improving the convenience and efficiency of application operation.
[0035] The execution subject of the control method provided in the embodiment of the present application may be a control device. Exemplarily, the control device may be an electronic device, or a functional component or functional entity in the electronic device. The control method provided in the embodiment of the present application will be described exemplarily below by taking the execution subject as an electronic device as an example.
[0036] Figure 1 is a flow chart of the control method provided in the embodiment of the present application, such as Figure 1 As shown, the control method provided in the embodiment of the present application may include the following steps 101 to 102.
[0037] Step 101: An electronic device receives a first input to a first application.
[0038] Optionally, in the embodiment of the present application, the first application may be any application installed in the electronic device that has a control collaboration relationship with other applications. The applications that have a control collaboration relationship are associated with each other, and if one of the multiple applications that have a control collaboration relationship receives an input, all the applications that have a control relationship may respond to the input and execute the task corresponding to the input.
[0039] It should be noted that the above-mentioned first application may be one or more applications, and the embodiment of the present application only takes the above-mentioned first application as one application as an example for description.
[0040] In the embodiment of the present application, the above-mentioned first input can be an input to any application of multiple applications having a control collaboration relationship. The embodiment of the present application only takes the example that the first input is an input to the first application for explanation.
[0041] Optionally, in the embodiment of the present application, the first input may be any form of input to the first application by the user through a touch area of the electronic device. For example, the touch area may be a screen of the electronic device.
[0042] Optionally, in the embodiment of the present application, the first input includes but is not limited to: the user touches the first application through the touch area of the electronic device using a touch device such as a finger or a stylus, or a specific gesture inputted by the user to the first application through the touch area of the electronic device, or other feasible inputs of the user to the first application through the touch area of the electronic device. The specific input can be determined according to actual use requirements, and the embodiment of the present application does not limit it.
[0043] Optionally, in an embodiment of the present application, the touch input may be a single-click input, a double-click input, or any number of click inputs, or may be a long-press input, a short-press input, a sliding input, a dragging input, or the like.
[0044] Optionally, in an embodiment of the present application, the above-mentioned specific gesture can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0045] Optionally, in an embodiment of the present application, the first input may be an input to an application icon of the first application, and the first input is used to start the first application and other applications that have a control collaboration relationship with the first application. Alternatively, the first input may be an input to the interface of the first application (also referred to as the first application interface), such as the first input may be an input to the first object in the first application interface. Alternatively, the first input may be an input to the first functional control in the first application interface.
[0046] Step 102: In response to a first input, the electronic device controls a first application to execute a first task, and controls a second application to execute a second task.
[0047] In the embodiment of the present application, the second application is an application having a control coordination relationship with the first application. Furthermore, the control coordination relationship between the first application and the second application can be pre-established by the electronic device.
[0048] Optionally, in an embodiment of the present application, the first application and the second application may be applications of the same type, or applications with the same functions, or applications with similar application interface layouts.
[0049] Exemplarily, the first application and the second application may both be shopping applications, chat applications, music applications, ticket purchasing applications, video playback applications, video editing applications, or search applications, etc. For example, the first application and the second application are both shopping applications, or the first application and the second application are both ticket purchasing applications.
[0050] Exemplarily, the first application and the second application are both applications with shopping functions, for example, the first application is a shopping application, and the second application is a short video application with shopping functions. Alternatively, the first application and the second application are both applications with payment functions, for example, the first application is a chat application with payment functions, and the second application is a payment application.
[0051] Exemplarily, the first application and the second application are applications with similar application interface layouts, for example, the first application is a live broadcast application, and the second application is a short video application.
[0052] Optionally, in the embodiment of the present application, the first application and the second application may be the same application. For example, the second application is a clone application of the first application.
[0053] Optionally, in an embodiment of the present application, the first application and the second application may be applications of different types, for example, the first application is a shopping application, and the second application is an application for buying tickets.
[0054] It should be noted that the second application may be one or more applications. The embodiment of the present application is described by taking the second application as one application as an example.
[0055] Optionally, in an embodiment of the present application, after the electronic device receives a first input to a first application, in response to the first input, controls the first application to execute a first task corresponding to the first input, and controls the first application to send a task execution instruction to the second application, where the task execution instruction is used to instruct the second application to execute a second task corresponding to the first input. The electronic device then controls the second application to execute the second task corresponding to the first input.
[0056] It should be noted that the first task and the second task may be the same task or different tasks, which is specifically related to the object on which the first input acts.
[0057] Optionally, in an embodiment of the present application, if the first input is an input to an application icon of a first application, the first task may be to launch the first application, and the second task may be to launch the second application. After receiving the first input, the electronic device launches the first application and the second application in response to the first input.
[0058] It should be noted that, in the case where the first input is an input to an application icon, the specific implementation of the step 102 may refer to the related description of step 1021 in the following embodiment, and this embodiment does not make any limitation thereto.
[0059] Optionally, in an embodiment of the present application, if the first input is an input to the interface of the first application, the first task may be a task corresponding to the interface of the first application, and the second task may be a task corresponding to the interface of the second application. After receiving the first input, the electronic device executes the task corresponding to the interface of the first application and the task corresponding to the interface of the second application in response to the first input.
[0060] It should be noted that, in the case where the first input is an input to the application interface, the specific implementation of the step 102 may refer to the relevant description of step 1022 in the following embodiment, and this embodiment does not make any limitation thereto.
[0061] Optionally, in an embodiment of the present application, if the first input is an input to a first functional control in an interface of a first application, the first task may be a task corresponding to the first functional control, and the second task may be a task corresponding to a second functional control that has a control collaboration relationship with the first functional control. After receiving the first input, the electronic device executes the task corresponding to the first functional control and the task corresponding to the second functional control in response to the first input.
[0062] It should be noted that, in the case where the second input is an input to a function control, the specific implementation of the above step 102 may refer to the relevant description of step 1023 in the following embodiment, and this embodiment is not limited here.
[0063] The control method provided in the embodiment of the present application enables the electronic device to control all applications that have a control collaborative relationship with any application to perform tasks corresponding to the input through a single input by the user to any application, without the user having to switch operations between multiple applications, thereby improving the convenience and efficiency of operating the applications.
[0064] Furthermore, in the embodiment of the present application, the electronic device may pre-establish a control coordination relationship between the first application and the second application. Figure 1 ,like Figure 2 As shown, before the above step 101, the control method provided in the embodiment of the present application may further include the following step 100.
[0065] Step 100: Upon receiving a second input to a first application and a second application, the electronic device establishes a control collaboration relationship between the first application and the second application.
[0066] In the embodiment of the present application, the second input may be any form of input to the first application and the second application by the user through the touch area of the electronic device. For example, the touch area may be the screen of the electronic device.
[0067] Optionally, in the embodiment of the present application, the second input includes but is not limited to: the user touches the first application and the second application through the touch area of the electronic device through a touch device such as a finger or a stylus, or a specific gesture inputted by the user to the first application and the second application through the touch area of the electronic device, or other feasible inputs of the user to the first application and the second application through the touch area of the electronic device. The specific input can be determined according to actual use requirements and is not limited in the embodiment of the present application.
[0068] It should be noted that, for the explanation of the above touch input and the above specific gesture, reference may be made to the relevant description of the above step 101, which will not be repeated in the embodiment of the present application.
[0069] In one implementation of the embodiment of the present application, the second input may be an input of a first application icon for the first application and a second application icon for the second application, and the step 100 may be specifically implemented through the following step 1001.
[0070] Step 1001: upon receiving a second input to a first application icon and a second application icon, establish a control collaboration relationship between the first application and the second application.
[0071] In an embodiment of the present application, when both the first application and the second application are running, the electronic device displays the first application icon and the second application icon. If the user needs to associate the first application and the second application, the user can make a second input to the first application icon and the second application icon, and the electronic device establishes a control collaboration relationship between the first application and the second application in response to the second input.
[0072] Optionally, in an embodiment of the present application, the electronic device may obtain an application identifier of the first application and an application identifier of the second application, and establish an association relationship between the first application identifier and the second application identifier to establish a control collaboration relationship between the first application and the second application.
[0073] Optionally, in the embodiment of the present application, the second input may be a long press input of the first application icon and the second application icon. Alternatively, the second input may be a drag input of dragging the first application icon to overlap with the second application icon. Alternatively, the second input may be a drag input of dragging the second application icon to overlap with the first application icon.
[0074] For example, Figure 3 As shown, a first application icon and a second application icon are displayed on the screen of the electronic device. Figure 3 (a) is a schematic diagram of a user long pressing a first application icon and a second application icon, that is, the second input is a long press input. Figure 3 (b) is a schematic diagram showing that the user drags the first application icon to overlap with the second application icon, that is, the second input is a drag input.
[0075] In this way, the user triggers the establishment of a control collaboration relationship between multiple applications by inputting into multiple application icons, thereby associating the multiple applications together. When the user inputs into any of the multiple applications, the multiple applications can be controlled to execute the task corresponding to the input, so that subsequently, the user can control multiple applications that have a control collaboration relationship with the application to execute the task corresponding to the input through a single input into any application. There is no need for the user to switch back and forth between multiple applications, thereby improving the convenience and efficiency of application operation.
[0076] Furthermore, after the electronic device establishes a control collaboration relationship between the first application and the second application, a small icon may be displayed on the first application icon and the second application icon, and the small icon indicates that the first application and the second application have successfully established a control collaboration relationship.
[0077] In another implementation of the embodiment of the present application, the second input may be an input to a first function control in the interface of the first application and an input to a second function control in the interface of the second application (also referred to as a second application interface), combined with Figure 2 ,like Figure 4 As shown, the above step 100 can be specifically implemented through the following step 1002.
[0078] Step 1002: Upon receiving a second input to a first function control in an interface of a first application and a second function control in an interface of a second application, the electronic device establishes a control collaboration relationship between the first function control and the second function control.
[0079] Optionally, in an embodiment of the present application, the interface of the first application may be any interface in the first application, the interface of the second application may be any interface in the second application, the first function control may be any control in the first application interface, and the second function control may be any control in the second application interface.
[0080] It should be noted that the above-mentioned first function control may be one or more controls, and the above-mentioned second function control may be one or more controls. The embodiment of the present application is described by taking the above-mentioned first function control and the above-mentioned second function control as one control as an example.
[0081] In an embodiment of the present application, when the electronic device displays a first application interface and a second application interface, and there is a first application control in the first application interface and a second application control in the second application interface, if the user needs to associate the first function control in the first application interface with the second function control in the second application interface, the user can make a second input to the first function control and the second function control, and the electronic device establishes a control collaboration relationship between the first function control and the second function control in response to the second input.
[0082] Optionally, in an embodiment of the present application, the electronic device can take the control identifier of the first function control, the interface identifier of the first application interface, and the application identifier of the first application as a first identification group, and take the control identifier of the second function control, the interface identifier of the second application interface, and the application identifier of the second application as a second identification group, and establish an association relationship between the first identification group and the second identification group to achieve a control coordination relationship between the first function control and the second function control.
[0083] Optionally, in the embodiment of the present application, the second input may be input to the first function control and the second function control respectively. Exemplarily, the second input may be single-click input, long-press input, short-press input, double-click input, etc., to the first function control and the second function control.
[0084] For example, Figure 5 As shown, the upper screen area of the electronic device displays the settlement page (i.e., the first application interface mentioned above), and the lower screen area displays the order submission page (i.e., the second application interface mentioned above). The user clicks the settlement control in the first application interface (i.e., the first function control) and the order submission control in the second application interface (i.e., the second function control mentioned above), that is, the first input is a single-click input for the settlement control and the order submission control.
[0085] It should be noted that in the embodiment of the present application, when the electronic device displays the interfaces of two applications, the interfaces of the two applications can be displayed in any form such as top-bottom split screen, left-right split screen, floating frame, thumbnail, etc., and the embodiment of the present application does not limit this. Figure 5 The following description takes the example of two application interfaces being displayed in a split-screen format.
[0086] Furthermore, after the electronic device establishes the control coordination relationship between the first function control and the second function control, it may display a notification message, where the notification message is used to indicate that the control coordination relationship between the first function control and the second function control is established successfully.
[0087] Exemplarily, the notification message may include the information that “the control coordination relationship has been successfully established.” Alternatively, the notification message may include the association relationship between the first identification group and the second identification group.
[0088] It should be noted that, for any two application interfaces, the electronic device can establish a control coordination relationship of multiple groups of functional controls, and the multiple groups of functional controls are controls in the two application interfaces. For example, a control coordination relationship is established between functional control 1 in interface 1 of the first application and functional control 2 in interface 2 of the second application, and a control coordination relationship is established between functional control 3 in interface 1 of the first application and functional control 4 in interface 2 of the second application, and so on.
[0089] It should be noted that, for any two applications, the electronic device can establish a control coordination relationship between multiple groups of functional controls, which can be controls in any interface of the two applications. For example, a control coordination relationship is established between functional control 1 in interface 1 of the first application and functional control 2 in interface 2 of the second application, and a control coordination relationship is established between functional control 1 in interface 1 of the first application and functional control 3 in interface 3 of the second application, and a control coordination relationship is established between functional control 4 in interface 4 of the first application and functional control 5 in interface 5 of the second application, and so on.
[0090] In this way, users can trigger the establishment of a control coordination relationship between multiple function controls by inputting into multiple function controls in multiple applications, and associate multiple function controls together, so that multiple function controls can be mobilized to perform operations corresponding to the input with only one input from the user. Users do not need to switch between multiple applications, thereby improving the convenience and efficiency of application operations.
[0091] Further, before step 1002, the control method provided in the embodiment of the present application may also include the following steps 1003 and 1004.
[0092] Step 1003: While displaying the interface of the first application and the interface of the second application, the electronic device receives a third input to the interface of the first application and the interface of the second application.
[0093] Step 1004: In response to the third input, the electronic device controls the interface of the first application and the interface of the second application to be in a control collaboration mode.
[0094] In an embodiment of the present application, in the above-mentioned control collaboration mode, the electronic device can associate the functional controls in the first application interface and the second application interface.
[0095] In an embodiment of the present application, when the electronic device displays a first application interface and a second application interface, if the user needs to associate the controls of the first application interface with the controls of the second application interface, the user can make a third input to the first application interface and the second application interface to control the first application interface and the second application interface to be in a control collaborative mode, thereby facilitating the subsequent establishment of a collaborative control relationship between the controls in the two application interfaces.
[0096] Optionally, in the embodiment of the present application, the third input includes but is not limited to: the user touches the first application interface and the second application interface through the touch area of the electronic device through a touch device such as a finger or a stylus, or a specific gesture inputted by the user through the touch area of the electronic device to the first application interface and the second application interface, or other feasible inputs of the user through the touch area of the electronic device to the first application interface or the second application interface. The specific input can be determined according to actual use requirements and is not limited in the embodiment of the present application.
[0097] Optionally, in the embodiment of the present application, the third input may be a long press input of the first application interface and the second application interface. Alternatively, the third input may be a drag input, wherein the first application interface is dragged toward the direction close to the second application interface, and the second application interface is dragged toward the direction close to the first application interface.
[0098] For example, Figure 6 As shown in (a) of FIG. 1 , the electronic device opens two application interfaces through two windows respectively, the upper half of the screen area (one window) of the electronic device displays the settlement page (i.e., the first application interface mentioned above), and the lower half of the screen area (another window) displays the order submission page (i.e., the second application interface mentioned above). Figure 6 As shown in (b), the user pinches two fingers between the two application interfaces to drag the checkout page and the order submission page toward each other, that is, the third input is the drag input for the checkout page and the order submission page.
[0099] In this way, the user can first trigger the control of multiple application interfaces in control collaboration mode through input into multiple application interfaces, and then establish a control collaboration relationship between multiple function controls through input into function controls in multiple application interfaces. This can distinguish between inputs that trigger basic operations of the application interface and inputs that trigger the establishment of a control collaboration relationship, avoid misidentification or mistriggers, reduce unnecessary operations, and improve the efficiency and accuracy of establishing a control collaboration relationship.
[0100] Furthermore, in response to the third input, the electronic device may also display an indication control on the screen, and display the first application icon and the second application icon in the indication control. Exemplarily, the indication control may be a floating ball, a floating box, a pop-up window, and the like.
[0101] For example, Figure 6 As shown in (b) in the figure, after the user pinches two fingers between two application interfaces, a floating ball will appear at the bottom right of the screen to display the two overlapping application icons.
[0102] In this way, by displaying the indicator control, the user can know that the first application interface and the second application interface are in the control collaboration mode and can perform subsequent processing.
[0103] Optionally, in an embodiment of the present application, when the electronic device displays an indicator control, the electronic device receives a fourth input from the user to the indicator control, and in response to the fourth input, the electronic device may stop displaying the indicator control, whereupon the first application interface and the second application interface exit the control collaboration mode.
[0104] Exemplarily, the fourth input may be a long press input or a double click input, etc., which is not limited in this embodiment of the present application.
[0105] In this way, stopping displaying the indicator control can prevent the indicator control from blocking the content of the application interface and reduce the impact on user operations.
[0106] In addition, after stopping displaying the indicator control, if the electronic device receives the third input again, the electronic device can redisplay the indicator control.
[0107] It should be noted that after the electronic device has established a control coordination relationship between multiple applications or a control coordination relationship between multiple functional controls, the electronic device can also manage the control coordination relationship to meet different needs of users.
[0108] Optionally, in the embodiment of the present application, after step 100, the control method provided in the embodiment of the present application may further include the following steps 104 to 107.
[0109] Step 104: The electronic device receives a fifth input.
[0110] Optionally, in the embodiment of the present application, the fifth input may be any form of input from the user to the touch area of the electronic device.
[0111] Step 105: The electronic device displays the first list in response to the fifth input.
[0112] In the embodiment of the present application, the first list mentioned above includes at least one group of control coordination relationships.
[0113] Step 106: The electronic device receives a deletion operation on any control coordination relationship in at least one group of control coordination relationships.
[0114] Step 107: The electronic device deletes any control coordination relationship in response to the deletion operation.
[0115] Optionally, in an embodiment of the present application, after establishing a control collaboration relationship between multiple applications or multiple function controls, the electronic device may display a list control. After receiving a fifth input to the list control, the electronic device displays a first list including at least one group of control collaboration relationships. If the user needs to delete any control collaboration relationship, a deletion operation is performed on the arbitrary control collaboration relationship. The electronic device deletes the arbitrary control collaboration relationship in response to the above deletion operation.
[0116] For example, Figure 7 As shown in (a) in FIG. 1 , the upper half of the screen area of the electronic device displays the first application interface, the lower half of the screen area displays the second application interface, and the lower right corner of the screen displays a list control. Figure 7 As shown in (b), the user clicks on the list control, that is, the fifth input is a click input, so that the electronic device displays a control collaboration management page (that is, the first list), and the control collaboration management page includes two groups of control collaboration relationships, namely, the control collaboration relationship 1 between the settlement control in the shopping cart page of the shopping application and the submit order control in the confirmation order page of the ticket purchase application, and the control collaboration relationship 2 between the immediate payment control in the pop-up box of the product details page of the shopping application and the submit order control in the confirmation order page of the ticket purchase application. If the user clicks on the delete control of any control collaboration relationship in the control collaboration management page, the electronic device deletes any control collaboration relationship.
[0117] In this way, the electronic device manages the established control coordination relationship and can delete useless control coordination relationships, thereby avoiding erroneous operation of the electronic device when the user forgets that the control coordination relationship has been established.
[0118] It should be noted that after a control collaboration relationship among multiple applications or a control collaboration relationship among multiple functional controls has been established through the above method, if the electronic device subsequently receives a second input from the user to a first application, it can determine whether the first application has an application with which it has established a control collaboration relationship. If not, the electronic device controls the first application to perform the task corresponding to the second input. If so, the electronic device controls the first application and all applications that have a control collaboration relationship with the first application to perform the task corresponding to the second input.
[0119] Next, the specific implementation process of step 102 is described in combination with different first inputs.
[0120] In a first implementation of the embodiment of the present application, the first input may be an input to an application icon of the first application. In this case, step 101 may be implemented by the following step 1011, and step 102 may be implemented by the following step 1021.
[0121] Step 1011: When neither the first application nor the second application is running, the electronic device receives a first input to a first application icon of the first application.
[0122] In the embodiment of the present application, when neither the first application nor the second application is running in the foreground or in the background, the electronic device displays the first application icon and the second application icon, and the electronic device can receive a first input to the first application icon. Exemplarily, the electronic device receives a click input to the first application icon.
[0123] Step 1021: In response to a first input, the electronic device displays a startup interface of a first application and a startup interface of a second application.
[0124] In the embodiment of the present application, in response to the first input, the electronic device may display a startup interface of the first application in the first screen area, and display a startup interface of the second application in the second screen area.
[0125] Optionally, in an embodiment of the present application, the first screen area may be the upper half of the screen area of the electronic device, and the second screen area may be the lower half of the screen area of the electronic device. Alternatively, the first screen area may be the left half of the screen area of the electronic device, and the second screen area may be the right half of the screen area of the electronic device. Alternatively, the first screen area may be the entire screen area of the electronic device, and the second screen area may be a pop-up window or a floating window in the entire screen area of the electronic device. Alternatively, in the case where the electronic device is a folding screen, the first screen area may be the first screen of the electronic device, and the second screen area may be the second screen of the electronic device. Alternatively, in the case where the electronic device is an internal and external screen, the first screen area may be the external screen of the electronic device, and the second screen area may be the internal screen of the electronic device, or the first screen area may be the internal screen of the electronic device, and the second screen area may be the external screen of the electronic device.
[0126] Optionally, in the embodiment of the present application, the startup interface of the first application can be the default page displayed when the first application is started, or the last page displayed when the first application was last used, or the home page of the first application. The startup interface of the second application is similar, and will not be described here.
[0127] In this way, when multiple applications with a control collaboration relationship are not running, the user can trigger the electronic device to start the multiple applications and display the startup interfaces of the multiple applications by inputting into any application, thereby improving the convenience and operational efficiency of controlling the applications.
[0128] In a second implementation of the embodiment of the present application, the first input may be an input to the interface of the first application, and specifically may be an input to the first object in the interface of the first application. In this case, the step 101 may be implemented by the following step 1012, and the step 102 may be implemented by the following step 1022.
[0129] Step 1012: The electronic device receives a first input to a first object in an interface of a first application.
[0130] In an embodiment of the present application, when a first application is running in the foreground, the electronic device displays the interface of the first application, and when the interface of the first application includes a first object, the electronic device can receive a first input to the first object in the interface of the first application.
[0131] Optionally, in an embodiment of the present application, the above-mentioned first object may include at least one of the following: input information, a link, a function control, an interface area, etc.
[0132] Optionally, in an embodiment of the present application, when the first object is input information, the first input may be a search input for the input information. Alternatively, when the first object is a link, the first input may be an input for the link. Alternatively, when the first object is a function control, the first input may be an input for the function control. Alternatively, when the first object is an interface area, the first input may be an input for content displayed in the interface area.
[0133] Step 1022: In response to the first input, the electronic device controls the first application to execute a first task corresponding to the first object, and controls the second application to execute a second task corresponding to the first object.
[0134] In an embodiment of the present application, when the first application is running in the foreground and the second application is also in a running state (including running in the foreground or running in the background), in response to the above-mentioned first input, the electronic device can control the first application to execute a first task corresponding to the first object, and control the second application to execute a second task corresponding to the first object.
[0135] Optionally, in an embodiment of the present application, when the second application interface includes the first object, the second task is the task corresponding to the first object in the second application interface; when the second application interface does not include the first object, the second task is the task corresponding to the second object corresponding to the first object in the second application interface.
[0136] It should be noted that the second object corresponding to the first object can be determined in the second application interface according to the position of the first object in the first application interface. It can be understood that the position of the second object in the second application interface is the same as the position of the first object in the first application interface.
[0137] Exemplarily, when the first object is input information, the second object can be the same as the first object. When the first object is a link, a function control or an interface area, the second object can be an object determined in the second application interface according to the position of the first object in the first application interface.
[0138] Optionally, in the embodiment of the present application, the first task may include at least one of the following: an information search task, a detail page display task, and a control function response task. The second task is similar to the first task and will not be described in detail here.
[0139] Optionally, in an embodiment of the present application, when the first object is input information, the first input is a search input for the input information, the first task is an information search task performed in the first application based on the input information, and the second task is an information search task performed in the second application based on the input information.
[0140] For example, Figure 8 As shown, taking the first object as input information and the first input as a search input for the input information as an example, in response to the search input for the input information, the electronic device controls the first application, performs an information search task based on the input information, and the upper half of the screen area of the electronic device displays the search results page in the first application; and the electronic device controls the second application, performs an information search task based on the input information, and the lower half of the screen area of the electronic device displays the search results page in the second application.
[0141] Optionally, in an embodiment of the present application, when the first object is a link, the first input is a trigger input for the link, the first task is to display the details page corresponding to the link in the first application, the second task is to display the details page corresponding to the link in the second application, or the second task is to display the details page corresponding to other links corresponding to the link in the second application.
[0142] Exemplarily, when the first object is a link, in response to a trigger input to the link, the electronic device controls the first application to display the details page corresponding to the link in the first application interface. Also, the electronic device controls the second application to display the details page corresponding to the link in the second application interface; or, based on the content of the link, the electronic device controls the second application to search for the content of the link and displays the details page obtained based on the search for the content of the link in the second application; or, based on the location information of the link in the first application interface, the electronic device determines the interface position corresponding to the location information in the second application interface, and controls the second application to display the details page corresponding to the link displayed at the interface position.
[0143] Optionally, in an embodiment of the present application, when the above-mentioned first object is a function control, the above-mentioned first input is a trigger input for the function control, the above-mentioned first task may be a control function response task corresponding to the function control, the above-mentioned second task may be a control function response task corresponding to the function control, or the second task may be a control function response task corresponding to other function controls corresponding to the function control.
[0144] Exemplarily, in the case where the first object is a function control, in response to a trigger input to the function control, the electronic device controls the first application to execute a control function response operation corresponding to the function control. Furthermore, the electronic device controls the second application to execute a control function response operation corresponding to the function control; or, based on the position information of the function control in the first application interface, the electronic device determines the function control at a position corresponding to the position information in the second application interface, and controls the second application to execute a control function response task corresponding to the function control at a position corresponding to the position information.
[0145] Exemplarily, the above-mentioned function controls may include at least one of the following: checkout control, order submission control, delete control, add control, play control, search control, payment control, purchase control, favorite control, like control, comment control, exit control, return control, confirmation control, cancel control, and management control.
[0146] Optionally, in an embodiment of the present application, when the first object is an interface area, the first input is a trigger input for the content displayed in the interface area, the first task may be a task corresponding to the content displayed in the interface area in the first application interface, and the second task may be a task corresponding to the content displayed in the interface area in the second application interface.
[0147] Exemplarily, when the first object is an interface area, in response to a trigger input to content displayed in the interface area, the electronic device controls the first application to execute a task corresponding to the content displayed in the interface area, and the electronic device determines an area in the second application interface that corresponds to the interface area in the first application interface, and controls the second application to execute a task corresponding to the content displayed in the area.
[0148] It should be noted that the above-mentioned interface area can be any area in the interface of the first application, and the content of the interface area can be any content in the interface of the first application.
[0149] In this way, when multiple applications with a control collaborative relationship are running, the user can input any object in the application interface of any application, so that the electronic device can mobilize multiple applications to perform corresponding operations based on any object, thereby improving the operating convenience and efficiency of the application.
[0150] In a third implementation of the embodiment of the present application, the first input may be an input to a first function control in an interface of a first application. In this case, step 101 may be specifically implemented through the following step 1013.
[0151] Step 1013: The electronic device receives a first input to a first function control.
[0152] In the embodiment of the present application, the above-mentioned first function control is a control in the interface of the first application.
[0153] Optionally, in an embodiment of the present application, when the first application is running in the foreground, the electronic device displays the interface of the first application, and when the interface of the first application includes a first function control, the electronic device receives a first input to the first function control. Exemplarily, taking the first input as a single-click input as an example, the electronic device can receive a single-click input to the first function control.
[0154] Optionally, in the embodiment of the present application, the above step 102 can be specifically implemented by the following step 1023.
[0155] Step 1023: In response to the first input, the electronic device controls the first application to execute the task corresponding to the first function control, and controls the second application to execute the task corresponding to the second function control.
[0156] In the embodiment of the present application, the second application is an application that has a control collaboration relationship with the first application and runs in the foreground or in the background. The second function control is a control in the interface of the second application.
[0157] Optionally, in an embodiment of the present application, the second application running in the foreground includes: the electronic device displays an interface of the second application including a second function control, or the electronic device displays other interfaces of the second application that do not include a second function control.
[0158] Optionally, in an embodiment of the present application, the second application running in the background includes: when the second application runs in the background, it is in an interface including a second function control or in other interfaces that do not include a second function control.
[0159] It should be noted that the second functional control and the first functional control have a control coordination relationship.
[0160] Optionally, in an embodiment of the present application, when the first application and the second application are both running in the foreground and the second application displays an interface including a second function control, or when the first application is running in the foreground and the second application is running in the background and is in an interface including a second function control, in response to the first input, the electronic device can control the first application to execute the task corresponding to the first function control, and control the second application to execute the task corresponding to the second function control.
[0161] Exemplarily, if the first function control is a submit order control, the task corresponding to the first function control is a submit order task; if the first function control is a delete control, the task corresponding to the first function control is a delete task; if the first function control is a settlement control, the task corresponding to the first function control is a settlement task.
[0162] For example, Fig. 9 As shown, the upper screen area of the electronic device displays the settlement page of the shopping application (i.e., the above-mentioned first application interface), and the lower screen area displays the order submission page of the ticket purchasing application (i.e., the above-mentioned second application interface). The electronic device receives a click input (i.e., the above-mentioned first input) on the settlement control of the settlement page (i.e., the above-mentioned first function control). Since the settlement control of the shopping application and the order submission control of the ticket purchasing application have a control coordination relationship, in response to the click input, the electronic device can not only control the shopping application to settle the goods, but also control the ticket purchasing application to submit the order.
[0163] In this way, when an application to which multiple function controls having a control collaboration relationship belong is running, the user can input any function control once, so that the electronic device can mobilize multiple function controls to respectively perform function response operations corresponding to the input, thereby simplifying the user's operation and improving the convenience and efficiency of application operation.
[0164] The control method provided in the embodiment of the present application achieves the coordinated control of operations such as clicking and inputting by associating multiple applications or by associating multiple functional controls, and the effect of simultaneous response, so that multiple applications can simultaneously execute tasks corresponding to the input based on one input, such as searching, buying and other tasks, thereby improving the convenience and efficiency of operating the application.
[0165] Fig.10 is a flow chart of the control method provided in the embodiment of the present application, such as Fig.10 As shown, the control method provided in the embodiment of the present application may include the following steps 1301 to 1305.
[0166] Step 1301: The electronic device establishes a control collaboration relationship between any application and an application clone or an application with the same layout.
[0167] For example, the applications having the same layout may be multiple shopping applications.
[0168] For example, Figure 3 As shown in (a) in FIG. 1 , the user simultaneously long-presses two application icons on the desktop with two fingers, or, as shown in FIG. 1 , Figure 3 As shown in (b) in FIG. 1 , the user drags an application icon onto another application icon to make the icons overlap, thereby establishing a control coordination relationship between the two applications corresponding to the two icons.
[0169] It is worth noting that the embodiments of the present application do not limit the number of applications that establish a control collaboration relationship.
[0170] It should be noted that any of the above applications is the first application in the above embodiments, and the above application clone is the second application in the above embodiments. The above applications with the same layout include the first application and the second application in the above embodiments. The above long pressing of two icons on the desktop is the second input in the above embodiments, and the above dragging of one application icon to another application icon is the second input in the above embodiments.
[0171] Step 1302: The electronic device receives a first input from a user to any application, and the any application executes a first task in response to the first input.
[0172] For example, Figure 8 As shown, the user enters a search term in the shopping application, the electronic device performs a search task based on the search term in the shopping application, and displays a search result page.
[0173] Step 1303: The electronic device detects whether there is a control collaboration relationship with any of the above applications. If so, execute step 1304; if not, end.
[0174] Step 1304: The electronic device sends the first input to other applications having a control collaboration relationship with any of the applications through any of the applications.
[0175] Exemplarily, the system forwards the first input to other applications or application clones that have a control collaboration relationship with the any application.
[0176] Step 1305: The electronic device receives the first input through a second application and executes a second task.
[0177] For example, Figure 8 The application clone and the shopping application shown, the application clone synchronously executes the input search terms and performs the search task based on the search terms, and displays the search results page.
[0178] Optionally, in an embodiment of the present application, the electronic device may synchronously map the input to one application to other applications that have a control collaboration relationship with the application through the location of the first input action.
[0179] In the embodiment of the present application, in the scenario of a single electronic device, a control collaboration relationship of multiple applications is established by simultaneously long pressing the application icons or dragging the application icons to overlap, and an operation is performed on any application in the control collaboration, and the operation is synchronized to another application in the control collaboration and responded to on this application. In this way, multiple responses to one operation can be achieved, and two applications can be controlled at the same time, providing users with a faster operation experience, and improving the convenience and operation efficiency of controlling applications.
[0180] It should be noted that the specific implementation process of the above steps 1301 to 1305 can refer to the relevant description of the above embodiment. To avoid repetition, this embodiment will not be repeated here.
[0181] Fig.11 is a flow chart of the control method provided in the embodiment of the present application, such as Fig.11 As shown, the control method provided in the embodiment of the present application may include the following steps 1401 to 1405.
[0182] Step 1401: The electronic device displays application interfaces of multiple applications through multiple windows, and controls the multiple application interfaces to be in a control collaboration mode upon receiving a user gesture.
[0183] For example, Figure 6As shown in the figure, the user uses multi-window to open different applications. At this time, the user pinches two fingers between two applications, and a floating ball will appear at the bottom right of the screen to show the overlapping application icons. At this time, you can select the respective function controls on the application to establish a control collaboration relationship. Long press the floating ball to make it disappear without affecting the user's operation. Pinch the floating ball between the two applications again to make it appear again. Click the floating ball to pop up a collaborative control list to manage the established control collaboration relationship.
[0184] Step 1402: The electronic device receives a click input to a first function control in a first application interface, and receives a click input to a second function control in another application interface that requires a control collaboration relationship to be established, and establishes a control collaboration relationship between the first function control and the second function control.
[0185] Exemplarily, a user clicks on a function control in an application page, extracts and records first application information, which includes an application package name, an application page identifier and an identifier of the selected function control, and then clicks on function controls in other applications in turn for which control collaboration needs to be established, extracts and records second application information, and the electronic device establishes an association between the first application information and the second application information to establish a control collaboration relationship between all selected function controls.
[0186] It should be noted that the above-mentioned click input is the second input in the above-mentioned embodiment, the above-mentioned application information is the identification group in the above-mentioned embodiment, the above-mentioned application package name is the application identification in the above-mentioned embodiment, the above-mentioned application page identification is the interface identification in the above-mentioned embodiment, and the above-mentioned selected function control identification is the control identification in the above-mentioned embodiment.
[0187] For example, Figure 5 As shown, the user selects the checkout button (i.e., the first functional control in the figure) on the application interface of the shopping application (i.e., the first application interface in the figure), and selects the submit order button (i.e., the second functional control in the figure) on the application interface of the ticket grabbing software (i.e., the second application interface in the figure) to establish a control collaboration relationship.
[0188] Step 1403: The electronic device receives a click input on the floating application icon, displays a control relationship management list, and manages any control coordination relationship in response to a management operation on the any control coordination relationship.
[0189] Exemplarily, when a user clicks on a floating application icon, a control relationship management list pops up on the electronic device, and the user can manage the control coordination relationship by clicking a button.
[0190] It should be noted that the above control relationship management list is the first list in the above embodiment.
[0191] For example, Figure 7As shown in (b), the user can delete a certain control coordination relationship or delete all control coordination relationships.
[0192] Step 1404: The electronic device receives a long press input on the floating application icon and stops displaying the floating application icon.
[0193] For example, after the user completes the establishment of the control collaboration relationship, the user may long press the floating application icon to make the floating application icon disappear, and then exit the control collaboration mode.
[0194] Step 1405: The electronic device receives a first input to a first function control, executes a first task corresponding to the first function control through a first application, and executes a second task corresponding to the second function control through a second application.
[0195] Exemplarily, when a user clicks on a first function control, the electronic device synchronously transmits the click event to other second function controls that have established a control collaboration relationship with the first function control through the first application based on the established control collaboration relationship, controls other applications to execute the second task corresponding to the second function control, and controls the first application to execute the first task corresponding to the first function control, so as to achieve parallel execution of tasks.
[0196] For example, Fig. 9 As shown, when the user clicks the submit order control in the ticket grabbing application, the ticket grabbing software responds to this operation to submit the order, and forwards the event to the settlement control of the shopping application based on the established control collaboration relationship, so that the settlement control also responds to this operation to settle the goods, thereby achieving the purpose of triggering the submit order control and the settlement control at the same time.
[0197] The control method provided in the embodiment of the present application, in the scenario of a single electronic device, establishes a control coordination relationship between multiple functional controls between applications with very different application interfaces, that is, establishes a control coordination relationship for control click events, and the user can select the controls to be clicked on multiple interfaces of multiple applications to establish a series of control coordination relationships, then when clicking any control in the control coordination relationship, the control click events of all controls in the control coordination relationship in multiple applications can be triggered simultaneously. In this way, by establishing a control coordination relationship at the control level, the control coordination between applications with large differences can be achieved to achieve the effect of simultaneous triggering. Through the control method provided in the embodiment of the present application, when buying train tickets during festivals and snapping up on different purchase platforms during various shopping festivals, when the page layouts of each platform are different, the user can also trigger multiple operations at the same time, such as snapping up a mobile phone and buying a train ticket at the same time. It meets the tasks that need to be triggered simultaneously in daily life, so that users can conveniently complete multi-application concurrent tasks in various scenarios, such as snapping up goods, concert tickets, tickets, etc., providing users with convenient operations, improving the convenience and efficiency of application operations, and thus improving user experience.
[0198] It should be noted that the specific implementation process of the above steps 1401 to 1405 can refer to the relevant description of the above embodiment. To avoid repetition, this embodiment will not be repeated here.
[0199] It should be noted that the above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or any two or more can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not impose any restrictions on this.
[0200] In the control method provided in the embodiment of the present application, the execution subject may be a control device. In the embodiment of the present application, the control device provided in the embodiment of the present application is described by taking the control method executed by the control device as an example.
[0201] Fig.12 2 is a schematic diagram of the structure of a control device provided in an embodiment of the present application. The control device 200 includes: a receiving module 21 and a control module 22.
[0202] The receiving module 21 is used to receive a first input to a first application.
[0203] The control module 22 is used to control the first application to execute the first task and control the second application to execute the second task in response to the first input received by the receiving module 21;
[0204] Among them, the above-mentioned second application is an application that has a control collaborative relationship with the above-mentioned first application.
[0205] Optionally, in the embodiment of the present application, combined with Fig.12 ,like Fig.13 As shown, the device may further include an establishment module 23;
[0206] The establishing module 23 is used to establish a control coordination relationship between the first application and the second application when receiving a second input to the first application and the second application.
[0207] Optionally, in the embodiment of the present application,
[0208] The receiving module 21 is specifically configured to receive a first input to a first object in an interface of a first application.
[0209] The control module 22 is specifically configured to control the first application to execute a first task corresponding to the first object, and to control the second application to execute a second task corresponding to the first object.
[0210] Optionally, in the embodiment of the present application, the second application is an application that has a control collaboration relationship with the first application and runs in the foreground or in the background;
[0211] The control module 22 is specifically used to control the first application to execute the task corresponding to the first functional control, and to control the second application to execute the task corresponding to the second functional control;
[0212] Among them, the above-mentioned first function control is a control in the interface of the above-mentioned first application, and the above-mentioned second function control is a control in the interface of the above-mentioned second application.
[0213] Optionally, in an embodiment of the present application, the above-mentioned establishment module 23 is specifically used to establish a control coordination relationship between the first function control and the second function control upon receiving a second input to the first function control in the interface of the first application and the second function control in the interface of the second application.
[0214] The control device provided in the embodiment of the present application allows the user to trigger multiple applications that have a control collaboration relationship with any application to perform tasks corresponding to the input through input to any application, without the user having to switch back and forth between multiple applications, thereby simplifying the operation process of the application and improving the convenience and efficiency of operating the application.
[0215] The control device 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 a device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device, an augmented reality / virtual reality device, a robot, a wearable device, a super mobile personal computer, a netbook or a personal digital assistant, 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.
[0216] The control device 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.
[0217] The control device provided in the embodiment of the present application can implement each process implemented by each embodiment of the above-mentioned control method, and will not be described again here to avoid repetition.
[0218] Alternatively, if Fig.14As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, wherein the memory 902 stores programs or instructions that can be executed on the processor 901, and when the program or instructions are executed by the processor 901, the various steps of the above-mentioned control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0219] 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.
[0220] Fig.15 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0221] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0222] Those skilled in the art will appreciate that the electronic device 1000 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 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.15 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.
[0223] The user input unit 1007 is used to receive a first input to a first application.
[0224] The processor 1010 is configured to control the first application to execute the first task and control the second application to execute the second task in response to the first input received by the user input unit 1007;
[0225] Among them, the above-mentioned second application is an application that has a control collaborative relationship with the above-mentioned first application.
[0226] Optionally, in an embodiment of the present application, the processor 1010 is further configured to establish a control collaboration relationship between the first application and the second application upon receiving a second input to the first application and the second application.
[0227] Optionally, in the embodiment of the present application, the user input unit 1007 is specifically used to receive a first input to a first object in the interface of the first application.
[0228] The processor 1010 is specifically configured to control the first application to execute a first task corresponding to the first object, and to control the second application to execute a second task corresponding to the first object.
[0229] Optionally, in an embodiment of the present application, the second application is an application that has a control collaboration relationship with the first application and runs in the foreground or in the background; the processor 1010 is specifically used to control the first application to execute a task corresponding to the first function control, and to control the second application to execute a task corresponding to the second function control; wherein the first function control is a control in the interface of the first application, and the second function control is a control in the interface of the second application.
[0230] Optionally, in an embodiment of the present application, the above-mentioned processor 1010 is specifically used to establish a control collaboration relationship between the first function control and the second function control upon receiving a second input to a first function control in the interface of the first application and a second function control in the interface of the second application.
[0231] With the electronic device provided in the embodiments of the present application, a user can trigger multiple applications that have a control collaboration relationship with any application to perform tasks corresponding to the input by inputting into the application. The user does not need to switch back and forth between multiple applications, thereby simplifying the operation process of the application and improving the convenience and efficiency of operating the application.
[0232] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 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 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 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.
[0233] The memory 1009 can be used to store software programs and various data. The memory 1009 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 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 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 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0234] The processor 1010 may include one or more processing units; optionally, the processor 1010 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 1010.
[0235] 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, the various processes of the above-mentioned control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0236] 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 ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0237] 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 above-mentioned control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0238] 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.
[0239] 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 above-mentioned control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0240] 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.
[0241] 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.
[0242] 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 control method, characterized in that: The method comprises: receiving a first input to a first application; In response to the first input, controlling the first application to execute a first task, and controlling the second application to execute a second task; The second application is an application having a control collaboration relationship with the first application.
2. The method according to claim 1, characterized in that Before receiving the first input to the first application, the method further includes: When a second input to the first application and the second application is received, a control collaboration relationship between the first application and the second application is established.
3. The method according to claim 1, characterized in that The receiving a first input to the first application includes: Receiving a first input to a first object in an interface of the first application; The controlling the first application to execute the first task, and controlling the second application to execute the second task, includes: The first application is controlled to execute a first task corresponding to the first object, and the second application is controlled to execute a second task corresponding to the first object.
4. The method according to claim 1, characterized in that: The second application is an application that has a control cooperation relationship with the first application and runs in the foreground or in the background; The controlling the first application to execute the first task, and controlling the second application to execute the second task, includes: Controlling the first application to execute a task corresponding to a first function control, and controlling the second application to execute a task corresponding to a second function control; The first function control is a control in the interface of the first application, and the second function control is a control in the interface of the second application.
5. The method according to claim 2, characterized in that: The establishing of a control collaboration relationship between the first application and the second application upon receiving a second input to the first application and the second application includes: When a second input to a first function control in the interface of the first application and a second function control in the interface of the second application is received, a control collaboration relationship between the first function control and the second function control is established.
6. A control device, characterized in that: The device comprises a receiving module and a control module; The receiving module is used to receive a first input to a first application; The control module is configured to control the first application to execute a first task and control the second application to execute a second task in response to the first input received by the receiving module; The second application is an application having a control collaboration relationship with the first application.
7. The device according to claim 6, characterized in that The device also includes a establishing module; The establishing module is used to establish a control collaboration relationship between the first application and the second application upon receiving a second input to the first application and the second application.
8. The device according to claim 6, characterized in that The receiving module is specifically configured to receive a first input to a first object in the interface of the first application; The control module is specifically used to control the first application to execute a first task corresponding to the first object, and to control the second application to execute a second task corresponding to the first object.
9. The device according to claim 6, characterized in that The second application is an application that has a control cooperation relationship with the first application and runs in the foreground or in the background; The control module is specifically used to control the first application to execute a task corresponding to a first functional control, and to control the second application to execute a task corresponding to a second functional control; The first function control is a control in the interface of the first application, and the second function control is a control in the interface of the second application.
10. The device according to claim 7, characterized in that The establishment module is specifically used to establish a control coordination relationship between the first function control and the second function control in the interface of the first application upon receiving a second input to the first function control in the interface of the first application and the second function control in the interface of the second application.
11. An electronic device, characterized in that: The method 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 according to any one of claims 1 to 5 are implemented.
12. 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 a processor, the steps of the control method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Application program control method and device, and electronic equipment
CN111782115A
Multi-open application processing method and device and electronic equipment
CN111796747A
Display control method and device, electronic equipment and readable storage medium
CN115291778A