Control method, electronic device and computer readable storage medium

By detecting trigger instructions in electronic devices and determining application scenarios, the corresponding application service events are automatically executed, and the problem of users need to enter multiple operation instructions, and improves the intelligent and user experience of the device.

CN114265641BActive Publication Date: 2025-01-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111531934.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-14
Publication Date
2025-01-28
Estimated Expiration
2041-12-14

AI Technical Summary

Technical Problem

When existing electronic devices execute different application service events, users need to enter different operating instructions, resulting in inefficiency and poor user experience.

Method used

When detecting the trigger instructions in electronic devices, determine the current application scenario information, and automatically determine the application service event corresponding to the trigger instruction according to the information, so that the user enters the specific operating instructions.

Benefits of technology

Improving the intelligence and user experience of electronic devices, reducing the number of times of user input operation instructions, and improving operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114265641B_ABST
    Figure CN114265641B_ABST
Patent Text Reader

Abstract

The present application discloses a control method, an electronic device, and a computer-readable storage medium. The control method includes: when a first electronic device detects a trigger instruction, determining the application scenario information in which the first electronic device is currently located; determining the application service event corresponding to the trigger instruction according to the application scenario information; and executing the application service event in response to the trigger instruction. The present application determines the application service event corresponding to the trigger instruction according to the application scenario information in which the first electronic device is currently located, and executes the application service event when the first electronic device detects a trigger instruction. In this way, the user only needs to input a trigger instruction to the first electronic device, and the first electronic device will determine the application service event that the current user actually wants according to the current application scenario information, and directly execute the application service event, without the user having to input different instructions for different application service events, which is conducive to improving the efficiency and experience of the user using the first electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a control method, an electronic device and a computer-readable storage medium. Background Art

[0002] Usually, users need to input corresponding operation instructions to the electronic device according to their own needs, so that the electronic device can execute the corresponding application service event. For example, if a user wants to send a shopping list, he needs to input the operation instruction corresponding to sending the shopping list to the electronic device, so that the electronic device can execute the application service event (i.e. send the shopping list). In this way, when the electronic device executes different application service events, the user needs to input different operation instructions to it, which is inefficient and has a poor user experience. Summary of the invention

[0003] Embodiments of the present application provide a control method, an electronic device, and a computer-readable storage medium.

[0004] The present application provides a control method, which is applied to a first electronic device. The control method includes: when the first electronic device detects a trigger instruction, determining the application scenario information of the first electronic device; determining the application service event corresponding to the trigger instruction according to the application scenario information; and executing the application service event in response to the trigger instruction.

[0005] The embodiment of the present application also provides an electronic device. The electronic device includes a perception framework and an application engine. The perception framework is used to determine the application scenario information of the electronic device when the electronic device detects a trigger instruction. The application engine is used to determine the application service event corresponding to the trigger instruction according to the application scenario information; and execute the application service event in response to the trigger instruction.

[0006] The present application also provides an electronic device. It includes one or more processors, a memory and one or more programs. One or more of the programs are stored in the memory and executed by one or more of the processors, and the program includes a method for executing a control method. The control method includes: when the electronic device detects a trigger instruction, determining the application scenario information in which the electronic device is currently located; determining the application service event corresponding to the trigger instruction according to the application scenario information; and executing the application service event in response to the trigger instruction.

[0007] An embodiment of the present application provides a non-volatile computer-readable storage medium of the embodiment of the present application, which includes a computer program. When the computer program is executed by one or more processors, the processor executes the following control method: when the first electronic device detects a trigger instruction, determine the application scenario information in which the first electronic device is currently located; determine the application service event corresponding to the trigger instruction based on the application scenario information; and execute the application service event in response to the trigger instruction.

[0008] The control method, electronic device and computer-readable storage medium in the present application, when the electronic device detects a trigger instruction, determines the application service event corresponding to the trigger instruction according to the application scenario information currently in which the electronic device is located, and executes the application service event. In this way, the user only needs to input the trigger instruction to the electronic device, and the electronic device will automatically determine the application service event that the current user actually wants according to the current application scenario information, and directly execute the application service event, without the user having to input different instructions for different application service events, which is conducive to improving the intelligence of the electronic device, and improving the efficiency and experience of the user in using the electronic device.

[0009] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0011] Figure 1 is a flowchart of a data sharing method in certain embodiments of the present application;

[0012] Figure 2 and Figure 3 is a schematic structural diagram of a first electronic device in some embodiments of the present application;

[0013] Figure 4 is a flowchart of a data sharing method in certain embodiments of the present application;

[0014] Figure 5 is a schematic diagram of the structure of a second electronic device in some embodiments of the present application;

[0015] Figure 6 is a schematic diagram of a first electronic device displaying intention information in certain embodiments of the present application;

[0016] Figures 7 to 10 is a flowchart of a data sharing method in certain embodiments of the present application;

[0017] Fig.11 It is a schematic diagram of a page before the first electronic device receives shared data, after updating the application interface, and after editing the application interface in certain embodiments of the present application;

[0018] Fig.12 is a flowchart of a data sharing method in certain embodiments of the present application;

[0019] Fig.13 This is a schematic diagram of the structure of the first electronic device and the third electronic device in some embodiments of the present application.

[0020] Fig.14 is a flowchart of a data sharing method in certain embodiments of the present application;

[0021] Fig.15 is a schematic diagram of a third electronic device displaying prompt information in some embodiments of the present application;

[0022] Figure 16 to Figure 17 is a flowchart of a data sharing method in certain embodiments of the present application;

[0023] Fig.18 It is a connection diagram of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0024] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0025] See also Figure 1 and Figure 2 , the embodiment of the present application provides a control method. The control method is applied to the first electronic device 10, and the control method includes:

[0026] 01: when the first electronic device 10 detects a trigger instruction, determining the application scenario information currently located by the first electronic device 10;

[0027] 02: Determine the application service event corresponding to the trigger instruction according to the application scenario information; and

[0028] 03: In response to the trigger instruction, execute the application service event.

[0029] Please combine Figure 2, the embodiment of the present application further provides a first electronic device 10. The first electronic device 10 includes a perception framework 11 and an application engine 12. Among them, the perception framework 11 can execute the method in 01, and the application engine 12 can execute the methods in 02 and 03. That is to say, the perception framework 11 is used to determine the application scenario information of the current first electronic device 10 when the first electronic device 10 detects a trigger instruction; the application engine 12 is used to determine the application service event corresponding to the trigger instruction according to the application scenario information; and execute the application service event in response to the trigger instruction.

[0030] Please combine Figure 3 , the embodiment of the present application also provides a first electronic device 10. The terminal 10 includes one or more processors 13, a memory 14, and one or more programs. Among them, the one or more programs are stored in the memory 14 and executed by the one or more processors 13, and the program includes instructions for executing the control method of the embodiment of the present application. That is, when one or more processors 13 execute the program, the processor 13 can implement the methods in 01, 02 and 03. That is, the one or more processors 13 are used to: when the first electronic device 10 detects a trigger instruction, determine the application scenario information in which the first electronic device 10 is currently located; determine the application service event corresponding to the trigger instruction according to the application scenario information; and execute the application service event in response to the trigger instruction.

[0031] The control method and the first electronic device 10 in the present application, when the first electronic device 10 detects a trigger instruction, determines the application service event corresponding to the trigger instruction according to the application scenario information currently in which the first electronic device 10 is located, and executes the application service event. In this way, the user only needs to input the trigger instruction to the first electronic device 10, and the first electronic device 10 will automatically determine the application service event that the current user actually wants according to the current application scenario information, and directly execute the application service event, without the user having to input different instructions for different application service events, which is conducive to improving the intelligence of the first electronic device 10, and improving the efficiency and experience of the user in using the first electronic device 10.

[0032] The first electronic device 10 may be a mobile phone, a tablet computer, a display device, a laptop computer, a smart watch, a head-mounted display device, a game console, etc. Figure 3 As shown, the embodiment of the present application is described by taking the first electronic device 10 as a mobile phone as an example. It can be understood that the specific form of the first electronic device 10 is not limited to a mobile phone.

[0033] See also Figure 4 In some embodiments, the trigger instruction includes a preset action, and the control method further includes:

[0034] 04: Detecting through a sensor whether the first electronic device 10 executes a preset action.

[0035] Please combine Figure 2 and Figure 3 In some embodiments, the perception framework 11 and the processor 13 can both execute the method in 04. That is, the perception framework 11 and the processor 13 can also be used to detect whether the first electronic device 10 performs a preset action through a sensor.

[0036] In some embodiments, a sensor (not shown) is provided in the first electronic device 10, and the sensor may be a posture sensor for detecting posture information of the first electronic device 10. When the posture information indicates that the user makes a preset action on the first electronic device 10, that is, when the first electronic device 10 is detected to perform the preset action, it can be considered that the user inputs a trigger instruction to the first electronic device 10 at this time. In other words, when the perception framework 11 (or the processor 13) detects through the sensor that the first electronic device 10 is performing a preset action, the first electronic device 10 receives the trigger instruction. Among them, the preset action includes but is not limited to touching the first electronic device 10 with other electronic devices, shaking the first electronic device 10, and tapping the first electronic device 10, etc. The preset actions mentioned below are the same and will not be repeated here.

[0037] When the first electronic device 10 detects a trigger instruction, that is, after the first electronic device 10 performs a preset action, the perception framework 11 (or the processor 13) determines the application scenario information currently located by the first electronic device 10. Specifically, in some embodiments, determining the application scenario information currently located by the first electronic device 10 includes: determining the application scenario information based on collected information, where the collected information includes at least one of sensor information of the first electronic device 10, location information, current page information of the first electronic device 10, and running information of an application of the first electronic device 10.

[0038] Please combine Figure 2 and Figure 3 In some embodiments, the perception framework 11 and the processor 13 can also be used to determine application scenario information based on the collected information, where the collected information includes at least one of sensor information of the first electronic device 10, location information, current page information of the first electronic device 10, and running information of an application of the first electronic device 10.

[0039] Among them, the sensor information can be an image captured by the camera of the first electronic device 10, or the posture information collected by the posture sensor, or the ambient light brightness information collected by the ambient light sensor, or the sensing information of the near field communication sensing module; sound information collected by the microphone, etc. The location information indicates the location of the first electronic device 10, such as home, company, shopping mall, or a specific indoor location, etc. The current page information includes the text, pictures, applications, etc. displayed on the current page. The running information of the application includes whether the current application (APP) has completed a task (for example, the task of the navigation APP can be a navigation task, and the shopping APP can be whether the current shopping cart has been settled, etc.), etc., which will not be repeated here.

[0040] After acquiring the collected information, the perception framework 11 (or the processor 13) can determine the application scenario information of the current location of the first electronic device 10 according to the collected information. In some embodiments, the perception framework 11 set in the first electronic device 10 can directly determine the application scenario information of the current location of the first electronic device 10 according to the collected information. In some embodiments, the perception framework 11 can also be set in the cloud, and the first electronic device 10 uploads data to the cloud, and with the help of the powerful computing power of the cloud, uploads the collected information to the cloud for processing and determines the application scenario information of the current location of the first electronic device 10, so as to reduce the processing amount of the first electronic device 10 and quickly determine the application scenario information of the current location of the first electronic device 10. Of course, in some embodiments, the perception framework 11 can be set at the first electronic device 10 end and the cloud, for example, the collected information is uploaded to the cloud by the first electronic device 10, and the cloud performs data processing, and then the result information after the data processing is sent to the first electronic device 10, and the first electronic device 10 determines the application scenario information of the current location of the first electronic device 10 based on the result information, that is, the cloud and the first electronic device 10 cooperate to process the collected information to determine the application scenario information of the current location of the first electronic device 10.

[0041] For example, the current page information of the first electronic device 10 indicates that the user is browsing the application interface of the shopping cart, and the perception framework 11 (or the processor 13) can determine that the application scenario information of the current first electronic device 10 includes a shopping scenario. For another example, the location information indicates that the user is in a shopping mall, and the image in the sensor information recognizes a commodity shelf, and the perception framework 11 (or the processor 13) can determine that the application scenario information of the current first electronic device 10 includes a shopping scenario. For another example, the location information indicates that the user is inside a company, and the current page information of the first electronic device 10 indicates that the user is browsing a document, and the perception framework 11 (or the processor 13) can determine that the application scenario information of the current first electronic device 10 includes a meeting scenario.

[0042] After the perception framework 11 (or processor 13) determines the application scenario information of the current first electronic device 10, the perception framework 11 can send the application scenario information to the application engine 12, and the application engine 12 (or processor 13) determines the application service event corresponding to the trigger instruction according to the application scenario information. It should be noted that different application scenario information has corresponding application service events.

[0043] For example, in some embodiments, the application scenario information includes a shopping scenario, and the application service event includes sharing shopping cart data. When it is determined that the application scenario of the first electronic device 10 includes a shopping scenario, it can be determined that the application service event includes sharing shopping cart data based on the application scenario information. Of course, the application scenario information is not limited to shopping scenarios, and the application service event is not limited to sharing shopping cart data. For the sake of convenience, the application scenario information includes a shopping scenario, and the application service event includes sharing shopping cart data. For example, the embodiment of the present application is described.

[0044] In some embodiments, the perception framework 11 (or the processor 13) can further determine the object with which the user needs to share shopping cart data based on information about other electronic devices near the first electronic device 10. For example, in one example, the user performs a preset action on the first electronic device 10, that is, the gesture sensor detects that the first electronic device 10 performs the preset action. The first electronic device 10 sends a request to a nearby base station, and the base station sends to the first electronic device 10 the identifiers of other electronic devices that are near the first electronic device 10 and in the same time period and have also sent requests to the base station. After the first electronic device 10 receives the identifier of the electronic device that also performs the preset action nearby in the same time period, the perception framework 11 (or the processor 13) can determine that the object with which the first electronic device 10 is to share shopping cart data is the electronic device. For example, in the same time period, the user U1 shakes the first electronic device 10, and at the same time, the user U2 shakes the second electronic device 20 (such as Figure 5As shown). Both the first electronic device 10 and the second electronic device 20 will send a request to the base station, and the base station will send the identification of the second electronic device 20 to the first electronic device 10. After the first electronic device 10 identifies the second electronic device 20, the perception framework 11 (or the processor 13) can determine that the object with which the shopping cart data is shared with the first electronic device 10 is the second electronic device 20. In another example, the user makes a preset action on the first electronic device 10, that is, the gesture sensor detects that the first electronic device 10 makes a preset action. At this time, the first electronic device 10 can automatically turn on the hardware device that can communicate and connect (including but not limited to one or more of the near field communication NFC module, Bluetooth module, USB connection module or wireless fidelity Wi-Fi network connection module) to search for surrounding electronic devices that can be connected. After querying the surrounding electronic devices that can be connected, the perception framework 11 (or the processor 13) can determine that the object with which the shopping cart data is shared with the first electronic device 10 is the electronic device. For another example, in one example, the user U1 touches the first electronic device 10 and the second electronic device 20 together, that is, the gesture sensor detects that the first electronic device 10 and the other second electronic device 20 are touched together. At this time, the first electronic device 10 turns on the near field communication NFC module and senses the near field communication NFC module of the second electronic device 20. At this time, the perception framework 11 (or the processor 13) can determine that the object for sharing shopping cart data with the first electronic device 10 is the second electronic device 20.

[0045] Furthermore, in some embodiments, after the application service event is determined, the determined application service event can also be displayed on the first electronic device 10 for the user to confirm, so as to avoid mispredicting the user's true intention. Figure 6 As shown, assuming that the determined application service event is to share shopping cart data with the second device 20, the first electronic device 10 can display a prompt message on the display screen "Do you need to share shopping cart data with the second device at present?" If the user selects "Yes", it means that the current intention information is consistent with the user's true intention, and then the subsequent steps will be continued; if the user selects "No", it means that the current intention information is inconsistent with the user's true intention, and then the subsequent steps will not be continued. Of course, in some embodiments, after the application service event is determined on the first electronic device 10, the user can also edit and change the application service event according to his own needs.

[0046] In some embodiments, the application scenario information may also include network information of the second electronic device 20 used to establish a connection, and the second electronic device 20 is the object with which the first electronic device 10 shares the shopping cart data. Among them, the network information includes but is not limited to one or more of the pairing information of the Bluetooth connection module, the pairing information of the WIFI connection module, the pairing information of the near field communication NFC module, and the pairing information of the USB connection module. For example, in some embodiments, the perception framework 11 (or the processor 13) can obtain the network information of the second electronic device 20. For example, in one example, at the same time, the user U1 makes a preset action on the first electronic device 10, and the user U2 near the first electronic device 10 also makes a preset action on the second electronic device 20. The first electronic device 10 and the second electronic device 20 send a request to a nearby base station, and the request contains their respective network information. The base station sends the request sent by the second electronic device 20 to the first electronic device 10, and at this time the perception framework 11 can determine that the object with which the first electronic device 10 shares data is the second electronic device 20, so that the first electronic device 10 obtains the network information of the second electronic device 20. Then the perception framework 11 sends the application scenario information containing the network information of the second electronic device 20 to the application engine 12.

[0047] In some embodiments, the first electronic device 10 includes multiple application engines 12, each application engine 12 corresponds to a different application program, and after obtaining the application scenario information, the perception framework 11 distributes the event to the corresponding application engine 12. For example, if the application scenario information includes an application program for sharing shopping mall A, the perception framework 11 distributes the event to the application engine 12 corresponding to the application program of shopping mall A. In this way, different applications use the corresponding application engine 12 for subsequent operations, which is conducive to the simultaneous subsequent operations of multiple applications.

[0048] It should be noted that, in the case where the first electronic device 10 includes multiple application engines 12, in some embodiments, the first electronic device 10 may include only one perception framework 11, and the perception framework 11 distributes the application scenario information to the application engine 12 corresponding to the application of the shopping mall A, so that multiple applications can all use the same perception framework 11 to perceive the application scenario information, which is conducive to reducing the power consumption of the first electronic device 10. Of course, in some embodiments, in the case where the first electronic device 10 includes multiple application engines 12, the first electronic device 10 may also include multiple perception frameworks 11, and the perception frameworks 11 correspond to the application engines 12, which is not limited here.

[0049] Further, in some embodiments, the control method also includes: determining whether the application scenario information contains preset information. The perception framework 11 is also used to determine whether the application scenario information contains preset information. Only when the application scenario information contains preset information, the step of distributing the application scenario information to the application engine (i.e., application engine 12) of the first electronic device 10 is performed. If the application scenario information does not contain preset information, the application scenario information is not distributed to the application engine 12. Among them, the preset information can be set by default before the first electronic device 10 leaves the factory, or it can be set by the user according to his own needs. For example, the preset information includes the application of shopping mall A. Assuming that it is determined that the application scenario information currently located by the first electronic device 10 contains the application of shopping mall A, that is, the application scenario information contains preset information, the perception framework 11 distributes the application scenario information to the application engine 12; assuming that it is determined that the application scenario information currently located by the first electronic device 10 contains the application of shopping mall B, that is, the event does not contain preset information, the perception framework 11 does not distribute the application scenario information to the application engine 12. In this way, only the application scenario information including the preset information is subsequently processed, which is beneficial to further reduce the power consumption of the first electronic device 10 compared to performing subsequent processing on all the application scenario information.

[0050] See also Figure 7 In some embodiments, in response to the trigger instruction, executing the application service event includes:

[0051] 031: In response to the trigger instruction, establish a communication connection with the second electronic device 20; and

[0052] 032: receiving the shared data transmitted from the second electronic device 20.

[0053] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 and the processor 13 can both execute the methods in 031 and 032. That is, the application engine 12 and the processor 13 can also be used to: establish a communication connection with the second electronic device 20 in response to the trigger instruction; and receive the shared data transmitted from the second electronic device 20.

[0054] The application engine 12 (or the processor 30) establishes a communication connection between the first electronic device 10 and the second electronic device 20 in response to the trigger instruction. For example, in some embodiments, the application engine 12 (or the processor 30) can establish a communication connection between the first electronic device 10 and the second electronic device 20 based on the network information of the first electronic device 10 and the network information of the second electronic device 20.

[0055] Taking the example that the application engine 12 establishes a communication connection between the first electronic device 10 and the second electronic device 20 according to the network information of the first electronic device 10 and the network information of the second electronic device 20, specifically, in some embodiments, the application engine 12 includes an execution engine 121 and a connection management module 122, and the execution engine 121 obtains the network information of the second electronic device 20, and the execution engine 121 obtains the network information of the first electronic device 10. Among them, the obtained network information of the first electronic device 10 needs to correspond to the network information of the second electronic device 20. For example, assuming that the network information of the second electronic device 20 is the pairing information of the Bluetooth module of the second electronic device 20, the network information of the first electronic device 10 should also be the pairing information of the Bluetooth module of the first electronic device 10. Subsequently, the connection management module 122 establishes a communication connection between the first electronic device 10 and the second electronic device 20 according to the network information of the first electronic device 10 and the network information of the second electronic device 20 through the hardware corresponding to the network information. For example, assuming that the network information of the second electronic device 20 is the pairing information of the Bluetooth module of the second electronic device 20, the connection management module 122 establishes a communication connection between the first electronic device 10 and the second electronic device 20 through the Bluetooth connection module according to the pairing information of the Bluetooth module of the first electronic device 10 and the pairing information of the Bluetooth module of the second electronic device 20. Of course, in some embodiments, the network information of the second electronic device 20 and the network information of the first electronic device 10 may also be obtained by the connection management module 122, which is not limited here.

[0056] After establishing the communication connection between the first electronic device 10 and the second electronic device 20, the application engine 12 (or processor 30) of the first electronic device 10 can also receive the shared data transmitted from the second electronic device 20. Since cross-device data sharing is usually shared to the other party by scanning the same QR code or by forwarding in an instant messaging application. For example, when shopping, different family members add different items to the shopping list, and they need to forward them one by one to ensure that the items of all family members are in the same shopping cart to make payments. This data sharing method is relatively complicated, and it is operated in a non-natural interactive manner, with low sharing efficiency and poor user experience. However, in the embodiment of the present application, the user only needs to input a trigger instruction to the first electronic device 10, that is, when the first electronic device 10 detects the trigger instruction, and determines that the application scenario information currently in which the first electronic device 10 is located includes a shopping scenario, the first electronic device 10 can automatically establish a communication connection with the second electronic device 10 to receive the shared data transmitted from the second electronic device 20. In this way, effective sharing of application data between electronic devices can be achieved, which greatly improves the efficiency of sharing compared to scanning the same QR code or sharing to the other party by forwarding in an instant messaging application. In addition, in the implementation mode of the present application, data transmission across electronic devices can be achieved without transferring data through a server or the cloud, which is beneficial to reducing the risk of data leakage and improving security.

[0057] In particular, see Figure 8 In some embodiments, in response to the trigger instruction, executing the application service event further includes:

[0058] 033: In response to the trigger instruction, perform security verification on the second electronic device 20;

[0059] After the security check is passed, the step of establishing a communication connection with the second electronic device 20 is performed.

[0060] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 and the processor 13 are also used to execute the method in 033. That is, the application engine 12 and the processor 13 are also used to respond to the trigger instruction and perform a security check on the second electronic device 20. After the security check passes, the step of establishing a communication connection with the second electronic device 20 is executed.

[0061] For example, in some embodiments, it is also possible to identify whether the second electronic device 20 is a legal device that is allowed to connect based on the network information of the second electronic device 20. If the second electronic device 20 is identified as a legal device that is allowed to connect, the second electronic device 20 passes the security check; conversely, if the second electronic device 20 is identified as not a legal device that is allowed to connect, the second electronic device 20 does not pass the security check. Only after the security check is passed, the step of establishing a communication connection between the first electronic device 10 and the second electronic device 20 is performed so that the first electronic device 10 can receive the shared data transmitted by the second electronic device 20, which can further improve the security of data sharing.

[0062] See also Fig. 9 In some embodiments, in response to the trigger instruction, executing the application service event further includes:

[0063] 034: After the security check is passed, the type and authority of the data requested from the second electronic device 20 are obtained according to the application scenario information; and

[0064] 035: Send the type and authority of the data requested by the first electronic device 10 to the second electronic device 20, so that the shared data transmitted by the second electronic device 20 matches the type and authority of the data requested by the first electronic device 10.

[0065] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 and the processor 13 are also used to execute the methods in 034 and 035. That is, the application engine 12 and the processor 13 are also used to obtain the type and permission of the data requested from the second electronic device 20 according to the application scenario information after the security check is passed; and send the type and permission of the data requested by the first electronic device 10 to the second electronic device 20, so that the shared data transmitted by the second electronic device 20 matches the type and permission of the data requested by the first electronic device 10.

[0066] In some embodiments, the application engine 12 (or processor 13) can obtain the type and permission of data required to be requested from the second electronic device 20 according to the application scenario information. The data type includes at least one of the business data of the application, the status data of the application, and the status data of the system; the data permissions include shareable, readable, and editable. For example, in some embodiments, the types and permissions of requested data corresponding to different application scenario information are preset. After obtaining the application scenario information, the application engine 12 (or processor 13) can obtain the type and permission of data required to be requested from the second electronic device 20 according to the application scenario information.

[0067] After obtaining the type and permission of data required to be requested from the second electronic device 20, the type and permission of data requested by the first electronic device 10 are sent to the second electronic device 20, so that the shared data received by the first electronic device 10 from the second electronic device 20 can match the type and permission of data requested by the first electronic device 10.

[0068] See also Fig.10 In some embodiments, upon receiving the shared data transmitted from the second electronic device 20, in response to the trigger instruction, executing the application service event also includes:

[0069] 036: Update the application interface of the first electronic device 10 according to the received sharing data transmitted by the second electronic device 20.

[0070] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 further includes an interface drawing module 123. The interface drawing module 123 and the processor 13 are both used to execute the method in 036. That is, the interface drawing module 123 and the processor 13 are both used to update the application interface of the first electronic device 10 according to the received sharing data transmitted by the second electronic device 20.

[0071] For example, when the first electronic device 10 receives the shared data transmitted from the second electronic device 20, it synchronously updates its own data according to the shared data to obtain updated data. Subsequently, the interface drawing module 123 updates the application interface of the first electronic device 10 according to the updated data, so that the user of the first device 10 can more intuitively see the data information shared by the user of the second device 20. For example, Fig.11 As shown, Fig.11 The left figure shows the application interface before the first electronic device 10 receives the sharing data transmitted from the second electronic device 20, where there is only a hat in the shopping cart, and the number of hats is 1. The sharing data transmitted by the second electronic device 20 is to add a hat and a bottle of Coke. After receiving the sharing data transmitted by the second electronic device 20, the interface drawing module 123 updates the application interface of the first electronic device 10 according to the received sharing data transmitted by the second electronic device 20. Fig.11 The middle figure is an updated application interface of the first electronic device 10, in which there are hats and cola in the shopping cart, and the number of hats is 2, Fig.11 The middle picture is an updated application interface of the first electronic device 10 , in which there are hats and coke in the shopping cart, the number of hats is 2, and the number of coke is 1.

[0072] It should be noted that if Figure 2As shown, in some embodiments, the application engine 12 further includes a data management module 124, which is used to store data. After synchronously updating its own data according to the shared data and obtaining the updated data, the updated data is saved in the data management module 124. The data management module 124 initiates an interface update request to the interface drawing module 123, and then the interface drawing module 123 updates the application interface of the first electronic device 10.

[0073] See also Fig.12 and Fig.13 In some embodiments, in response to the trigger instruction, executing the application service event further includes:

[0074] 037: Edit the updated application interface of the first electronic device 10 according to the input operation on the first electronic device 10 and / or according to the input operation transmitted to the first electronic device 10 by the third electronic device 30, wherein the editing includes at least one of adding data, reducing data, and modifying data.

[0075] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 and the processor 13 are further configured to execute the method in step 037. That is, the application engine 12 and the processor 13 are further configured to edit the updated application interface of the first electronic device 10 according to the input operation to the first electronic device 10 and / or according to the input operation transmitted to the first electronic device 10 by the third electronic device 30, wherein the editing includes at least one of adding data, reducing data, and modifying data.

[0076] The third electronic device 30 is a wearable device that is communicatively connected to the first electronic device 10. For example, the third electronic device 30 may be a smart watch, smart glasses, a smart bracelet, etc., which are not limited here. For the convenience of description, in the embodiment of the present application, the third electronic device 30 is described as a smart watch.

[0077] For example, after the application interface is updated according to the data shared by the second electronic device 20, the updated application interface of the first electronic device 10 can also be edited according to the input operation of the first electronic device 10, and the editing includes at least one of adding data, reducing data, and modifying data. The input operation of the first electronic device 10 includes but is not limited to at least one of touch input and voice input. For example, in Fig.11 In the embodiment described above, since the shared data transmitted by the second electronic device 20 is to add a hat and a bottle of Coke, the updated application interface is as follows: Fig.11As shown in the middle figure, there are hats and cola in the shopping cart, the number of hats is 2, and the number of cola is 1. Assuming that the user of the first electronic device 10 does not want to buy cola, the user of the first electronic device 10 only needs to input the operation of deleting cola on the first electronic device 10 to update the application data again, as shown in FIG. Fig.11 As shown in the figure on the right, Fig.11 The right side figure is the application interface of the first electronic device 10 after it is updated again, in which there are only hats in the shopping cart, and the number of hats is 2. Of course, in some embodiments, the user can also input operations to the third electronic device 30, and then the third electronic device 30 transmits the input operation to the first electronic device 10, and the application engine 12 (or processor 13) edits the updated application interface of the first electronic device 10 according to the input operation received from the third electronic device 30. Since the first electronic device 10 is a mobile phone and the third electronic device 30 is a smart watch, in this way, when it is inconvenient for the user to use the mobile phone, only the input operation on the smart watch can be used to edit the updated application interface of the first electronic device 10.

[0078] When the third electronic device 30 is in communication connection with the first electronic device 10, the first electronic device 10 may also transmit information to the third electronic device 30. Fig.14 , when the first electronic device 10 receives the shared data transmitted from the second electronic device 20, in response to the trigger instruction, executing the application service event, further comprising:

[0079] 038: Generate a prompt message according to the shared data, and transmit the prompt message to the third electronic device 30, so that the third electronic device 30 displays the prompt information.

[0080] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 and the processor 13 are also used to execute the method in step 038. That is, the application engine 12 and the processor 13 are also used to generate a prompt message according to the shared data, and transmit the prompt message to the third electronic device 30, so that the third electronic device 30 displays the prompt information.

[0081] For example, in some embodiments, when the first electronic device 10 receives shared data transmitted from the second electronic device 20, the application engine 12 (or the processor 13) generates a prompt message according to the received shared data. The prompt message is used to remind the user what data the second electronic device 20 has shared. Fig.15In the embodiment shown, the shared data transmitted by the second electronic device 20 is adding a hat and a bottle of Coke, and the prompt information can be "adding a hat and a bottle of Coke". After generating the prompt information, the first electronic device 10 transmits the prompt information to the third electronic device 30 that is communicatively connected thereto, so that the third electronic device 30 displays the prompt information. That is, after receiving the prompt information, the third electronic device 30 displays the prompt information on its display screen. Since the first electronic device 10 is a mobile phone and the third electronic device 30 is a smart watch, the user can know what kind of data the second electronic device 20 has shared even if it is inconvenient for the user to use the mobile phone.

[0082] See also Fig.16 In some embodiments, when the application scenario information includes a shopping scenario, the control method further includes:

[0083] 05: After the application service event is executed, the pickup information is generated and transmitted to the third electronic device 30; and

[0084] 06: When the first electronic device 10 and / or the third electronic device 30 arrives at the pickup location, a display operation command is generated and transmitted to the third electronic device 30, so that the third electronic device 30 displays the pickup information.

[0085] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 and the processor 13 are also used to execute the methods in steps 05 and 06. That is, the application engine 12 and the processor 13 are also used to generate pickup information and transmit the pickup information to the third electronic device 30 after the application service event is executed; and when the first electronic device 10 and / or the third electronic device 30 arrives at the pickup location, generate a display operation command and transmit the display operation command to the third electronic device 30, so that the third electronic device 30 displays the pickup information.

[0086] It should be noted that, in some embodiments, when the application scenario information includes a shopping scenario, after the user completes the payment of the shopping cart items, the application service event can be considered to have been completed. At this time, the application engine 12 (or processor 13) generates pickup information and transmits the pickup information to the third electronic device 30. After receiving the pickup message, the third electronic device 30 can immediately display the pickup information on its display screen, or it can first save it in its memory and display the pickup information on its display screen according to the user's input operation, which is not limited here. Since the first electronic device 10 is a mobile phone and the third electronic device 30 is a smart watch, the user can obtain the pickup information through the smart watch without using the mobile phone.

[0087] When the first electronic device 10 and / or the third electronic device 30 arrives at the pickup location, the application engine 12 (or the processor 13) generates a display operation command and transmits the display operation command to the third electronic device 30, so that the third electronic device 30 displays the pickup information. That is, after the third electronic device 30 receives the display operation command, the third electronic device 30 displays the pickup information on its display screen. In this way, when the first electronic device 10 and / or the third electronic device 30 arrives at the pickup address, the pickup information can be automatically displayed in the third electronic device 30 without user operation, so that the user can display the pickup information to pick up the goods.

[0088] See also Fig.17 In some embodiments, in response to the trigger instruction, executing the application service event further includes:

[0089] 0391: In response to the trigger instruction, receiving the type and authority of data requested by the second electronic device 20 to the first electronic device 10;

[0090] 0392: Filtering the data to be shared according to the type and authority requested by the second electronic device 20; and

[0091] 0393: Transmit the data to be shared to the second electronic device 20 for updating the application interface of the second electronic device 20.

[0092] Please combine Figure 2 and Figure 3 In some embodiments, the application engine 12 and the processor 13 are further used to execute the methods in 0391, 0392 and 0393. That is, the application engine 12 and the processor 13 are further used to: in response to the trigger instruction, receive the type and authority of the data requested by the second electronic device 20 to the first electronic device 10; filter out the data to be shared according to the type and authority requested by the second electronic device 20; and transmit the data to be shared to the second electronic device 20 for updating the application interface of the second electronic device 20.

[0093] For example, after establishing a communication connection between the first electronic device 10 and the second electronic device 20, the connection management module 121 (or the processor 13) of the application engine 12 can respond to the trigger instruction and receive the type and permission of the data requested by the second electronic device 20 to the first electronic device 10. After receiving the type and permission of the data requested by the second electronic device 20 to the first electronic device 10, the execution engine 121 (or the processor 13) of the application engine 12 selects the data to be shared from the first electronic device 10 according to the type and permission requested by the second electronic device 20.

[0094] In particular, in some embodiments, the application engine 12 includes a data management module 124, in which data is stored. After receiving the type and permission of the data requested by the second electronic device 20 to the first electronic device 10, the execution engine 121 (or the processor 13) of the application engine 12 filters out the data to be shared from the first data management module 124 according to the type and permission requested by the second electronic device 20. Specifically, in some embodiments, the data management module 124 stores different types of data, and each type of data has identification information for characterizing its permission. After receiving the type and permission of the data requested by the second electronic device 20 to the first electronic device 10, the execution application engine 121 obtains the corresponding data and the identification information of the corresponding data in the data management module 124 according to the type of data requested by the second electronic device 20 to the first electronic device 10, and then obtains the data to be shared according to the permission of the requested data and the identification information of the corresponding data.

[0095] For example, in some embodiments, if the permission of the requested data includes the first requested permission, and the identification information of the corresponding data includes the first permission, the acquired data is used as the data to be shared. If the permission of the requested data includes the first requested permission, but the identification information of the corresponding data includes the second permission, the acquired data cannot be used as the data to be shared. Among them, the first requested permission is used to characterize the request to share data, the first permission is used to characterize the data as shareable data, and the second permission is used to characterize the data as non-shareable data. For example, assuming that the type of the requested data is type A, and the requested permission is the first requested permission, that is, requesting to share data of type A. The execution application engine 121 obtains data of type A and its corresponding identification information in the data management module 124. If the identification information of the data of type A in the data management module 124 includes the first permission, that is, it indicates that the data of type A can be shared, and at this time, the data of type A is used as the data to be shared; if the identification information of the data of type A in the data management module 124 includes the second permission, that is, it indicates that the data of type A cannot be shared, and at this time, the data of type A cannot be transmitted out. In this way, the first electronic device 10 can transmit not all data requested by the second electronic device 20 , which can further improve the security of the first electronic device 10 .

[0096] After obtaining the data to be shared, the connection management module 122 (or the processor 13 ) of the application engine 12 transmits the data to be shared to the second electronic device 20 for updating the application interface of the second electronic device 20 .

[0097] See also Fig.18The present application also provides a non-volatile computer-readable storage medium 200 including a computer program 201. When the computer program 201 is executed by one or more processors 13, the processor 13 executes the control methods in 01, 02, 03, 04, 031, 032, 033, 034, 035, 036, 037, 038, 05, 06, 0391, 0392 and 0393.

[0098] For example, please combine Figure 1 When the computer program 201 is executed by one or more processors 13, the processor 13 executes the following method:

[0099] 01: when the first electronic device 10 detects a trigger instruction, determining the application scenario information currently located by the first electronic device 10;

[0100] 02: Determine the application service event corresponding to the trigger instruction according to the application scenario information; and

[0101] 03: In response to the trigger instruction, execute the application service event.

[0102] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0103] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0104] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A control method, applied to a first electronic device, characterized in that: The control method comprises: When the first electronic device detects a trigger instruction or detects, through a sensor on the first electronic device, that the first electronic device executes the trigger instruction as a preset action, the perception framework installed on the first electronic device or the cloud determines the application scenario information currently located by the first electronic device; Determine the application service event corresponding to the trigger instruction according to the application scenario information; In response to the trigger instruction, executing the application service event; After the application scenario information includes a shopping scenario and the application service event is executed, generating pickup information and transmitting the pickup information to a third electronic device; and When the first electronic device and / or the third electronic device arrives at the pickup location, a display operation command is generated and transmitted to the third electronic device so that the third electronic device displays the pickup information. The first electronic device is different from the third electronic device, and the third electronic device is a wearable device.

2. The control method according to claim 1, characterized in that: The determining the application scenario information of the first electronic device currently includes: The application scenario information is determined according to collected information, where the collected information includes at least one of sensor information and location information of the first electronic device, current page information of the first electronic device, and running information of an application of the first electronic device.

3. The control method according to claim 1, characterized in that: The executing the application service event in response to the trigger instruction includes: In response to the trigger instruction, establishing a communication connection with a second electronic device; and Receive sharing data transmitted from a second electronic device.

4. The control method according to claim 3, characterized in that: The executing the application service event in response to the trigger instruction further includes: In response to the trigger instruction, receiving the type and authority of data requested by the second electronic device to the first electronic device; Filtering the data to be shared according to the type and the permission requested by the second electronic device; and The data to be shared is transmitted to the second electronic device for updating an application interface of the second electronic device.

5. The control method according to claim 3, characterized in that: The executing the application service event in response to the trigger instruction further includes: In response to the trigger instruction, performing a security check on the second electronic device; After the security check is passed, the step of establishing a communication connection with the second electronic device is performed.

6. The control method according to claim 5, characterized in that: The executing the application service event in response to the trigger instruction further includes: After the security check is passed, obtaining the type and authority of data requested from the second electronic device according to the application scenario information; The type and permission of the data requested by the first electronic device are sent to the second electronic device, so that the shared data transmitted by the second electronic device matches the type and permission of the data requested by the first electronic device.

7. The control method according to claim 1, characterized in that: In the case of receiving the shared data transmitted from the second electronic device, executing the application service event in response to the trigger instruction further includes: The application interface of the first electronic device is updated according to the received sharing data transmitted by the second electronic device.

8. The control method according to claim 7, characterized in that: The executing the application service event in response to the trigger instruction further includes: The updated application interface of the first electronic device is edited according to the input operation to the first electronic device and / or according to the input operation transmitted from the third electronic device to the first electronic device, and the editing includes at least one of adding data, reducing data, and modifying data.

9. The control method according to claim 1, characterized in that: In the case of receiving the shared data transmitted from the second electronic device, executing the application service event in response to the trigger instruction further includes: A prompt message is generated according to the shared data, and the prompt message is transmitted to a third electronic device so that the third electronic device displays the prompt message.

10. The control method according to any one of claims 1 to 9, characterized in that: The application scenario information includes a shopping scenario, and the application service event includes sharing shopping cart data.

11. An electronic device, characterized in that: include: A perception framework, used to determine the current application scenario information when a trigger instruction is detected or the trigger instruction executed as a preset action is detected by a sensor on the electronic device; and An application engine, configured to determine an application service event corresponding to the trigger instruction according to the application scenario information, and execute the application service event in response to the trigger instruction; After the application scenario information includes a shopping scenario and the application service event is executed, pickup information is generated and the pickup information is transmitted to a third electronic device; and, when the electronic device and / or the third electronic device arrives at the pickup location, a display operation command is generated and the display operation command is transmitted to the third electronic device, so that the third electronic device displays the pickup information. The electronic device is different from the third electronic device, and the third electronic device is a wearable device.

12. An electronic device, characterized in that: include: One or more processors, memory; and One or more programs, wherein one or more of the programs are stored in the memory and executed by one or more of the processors, and the programs include instructions for executing the control method according to any one of claims 1 to 10.

13. A non-volatile computer-readable storage medium containing a computer program, wherein when the computer program is executed by a processor, the processor executes the control method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Control method and device and electronic equipment

    CN104049851A

  • Page sharing method, device and system

    CN104135501A

  • Mall shopping guide system and method capable of improving shopping efficiency

    CN105809486A

  • Action execution methods and devices, storage medium and electronic device

    CN108197213A

  • A dynamic customer checkout experience within an automated shopping environment

    CN110462669A