A control method, device, electronic device and storage medium

CN114442875BActive Publication Date: 2025-02-21LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111512378.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-07
Publication Date
2025-02-21
Estimated Expiration
2041-12-07

AI Technical Summary

Technical Problem

The operational convenience of existing electronic devices still needs to be improved, especially in multi-device collaborative operation scenarios.

Method used

By establishing a connection between the first electronic device and the second electronic device, the data displayed by the first electronic device is sent to the second electronic device, and the first electronic device is controlled to enter a different state according to the trigger event and the user operation to realize the data Cooperate.

Benefits of technology

The operation convenience of the first electronic device is improved, the user interaction experience is enhanced, and the first electronic device can flexibly operate its display data in different states and in different electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114442875B_ABST
    Figure CN114442875B_ABST
Patent Text Reader

Abstract

The present application provides a control method, device, electronic device and storage medium. The control method is applied to a first electronic device, and the method includes: establishing a connection between the first electronic device and a second electronic device, wherein the second electronic device has a display device; sending first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on the display device of the second electronic device; in response to a first trigger event, the first electronic device enters a first state or a second state; in the first state, a first operation is performed on the first display data in the first electronic device; in the second state, in response to the operation on the first electronic device, input data of the second electronic device is determined, and the input data is sent to the second electronic device, so that the second electronic device operates the first display data based on the input data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of electronic technology, more and more electronic devices are used in life and work. However, the convenience of operation of electronic devices still needs to be improved. Summary of the invention

[0003] This application provides the following technical solutions:

[0004] On one hand, the present application provides a control method, applied to a first electronic device, the method comprising:

[0005] Establishing a connection between the first electronic device and a second electronic device, wherein the second electronic device has a display device;

[0006] Sending first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on a display device of the second electronic device;

[0007] In response to a first trigger event, the first electronic device enters a first state or a second state;

[0008] In the first state, performing a first operation on the first display data in the first electronic device;

[0009] In the second state, in response to an operation on the first electronic device, input data of the second electronic device is determined, and the input data is sent to the second electronic device, so that the second electronic device operates the first display data based on the input data.

[0010] In response to the first trigger event, the first electronic device enters the second state, including:

[0011] In response to a switching event in which the display interface of the first electronic device switches from a lit state to an unlit state, the first electronic device enters a second state.

[0012] In response to the first trigger event, the first electronic device enters the second state, including:

[0013] If the second electronic device is not connected to the third electronic device, a first interface is output, the first interface is used to input a confirmation instruction, and the third electronic device is at least used as an input device of the second electronic device;

[0014] In response to an instruction obtained from the first interface from a user input confirming that the first electronic device is to switch modes, the first electronic device enters a second state.

[0015] In the second state, in response to an operation on the first electronic device, determining input data of the second electronic device includes:

[0016] In the second state, in response to a moving operation on the first electronic device, relative displacement data of the first electronic device is measured by a displacement measuring device;

[0017] Among them, the second electronic device determines the area to be operated in the display interface of the display device of the second electronic device based on the relative displacement data, and moves the positioning icon to the area to be operated, and the area to be operated contains at least part of the display data of the first display data.

[0018] The step of responding to the moving operation of the first electronic device includes:

[0019] In response to a movement operation of the first electronic device in contact with the operation surface;

[0020] Or, in response to a moving operation on the first electronic device in a suspended state.

[0021] The method further comprises:

[0022] In response to a pressing operation on the first electronic device, determining an input instruction corresponding to the pressing operation;

[0023] The second electronic device performs an input operation on display data in the area to be operated in the display interface of the display device of the second electronic device in response to the input instruction.

[0024] The method further comprises:

[0025] In the second state, second display data is displayed, and the second display data is different from the first display data.

[0026] Another aspect of the present application provides a control device, comprising:

[0027] A connection module, used to establish a connection between the first electronic device and a second electronic device, wherein the second electronic device has a display device;

[0028] A first sending module, configured to send first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on a display device of the second electronic device;

[0029] A control module, configured to control the first electronic device to enter a first state or a second state in response to a first trigger event;

[0030] an execution module, configured to execute a first operation on the first display data in the first electronic device in the first state;

[0031] a determination module, configured to determine input data of the second electronic device in response to an operation on the first electronic device in the second state;

[0032] The second sending module is used to send the input data to the second electronic device, so that the second electronic device operates the first display data based on the input data.

[0033] A third aspect of the present application provides an electronic device, including:

[0034] Memory and processor;

[0035] The memory is used to store at least one set of instruction sets;

[0036] The processor is used to call and execute the instruction set in the memory, and execute any one of the control methods described above by executing the instruction set.

[0037] A fourth aspect of the present application provides a storage medium storing a computer program of a control method as described in any one of the above items, wherein the computer program is executed by a processor to implement the control method as described in any one of the above items.

[0038] In the present application, a connection is established between a first electronic device and a second electronic device, and the first display data displayed by the first electronic device is sent to the second electronic device, so that the second electronic device can cooperate with the first electronic device to display the first display data of the first electronic device. On this basis, in response to a first trigger event, the first electronic device enters a first state or a second state. In the first state, a first operation is performed on the first display data in the first electronic device. In the second state, in response to the operation on the first electronic device, input data of the second electronic device is determined, and the input data is sent to the second electronic device, so that the second electronic device operates the first display data based on the input data, ensuring that the first electronic device can operate the first display data of the first electronic device in different electronic devices in different states, thereby improving the operating convenience of the first electronic device and improving the user interaction experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0040] Figure 1 It is a flow chart of a control method provided in Example 1 of the present application;

[0041] Figure 2 It is a flow chart of a control method embodiment 2 provided in the present application;

[0042] Figure 3 This is a schematic diagram of an implementation scenario of a control method provided in Example 2 of the present application;

[0043] Figure 4 It is a flow chart of a control method provided in Example 3 of the present application;

[0044] Figure 5 It is a flow chart of a control method provided in Example 4 of the present application;

[0045] Figure 6 This is a schematic diagram of an implementation scenario of a control method provided in Example 4 of the present application;

[0046] Figure 7 This is another schematic diagram of an implementation scenario of a control method provided in Example 4 of the present application;

[0047] Figure 8 This is a schematic diagram of another implementation scenario of a control method provided in Example 4 of the present application;

[0048] Fig. 9 is a flow chart of a control method provided in Example 5 of the present application;

[0049] Fig.10 It is a structural schematic diagram of a control device provided by the present application;

[0050] Fig.11 It is a structural schematic diagram of an electronic device provided by this application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0052] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0053] Reference Figure 1 , is a flow chart of a control method provided in Example 1 of the present application. The method can be applied to a first electronic device. The present application does not limit the product type of the first electronic device. For example, Figure 1 As shown, the method may include but is not limited to the following steps:

[0054] Step S101: Establish a connection between a first electronic device and a second electronic device, where the second electronic device has a display device.

[0055] In this embodiment, the first electronic device may include a first wireless module, the second electronic device may include a second wireless module, and the first electronic device establishes a wireless connection with the second wireless module of the second electronic device through the first wireless module.

[0056] In this embodiment, the wireless connection established between the first wireless module and the second wireless module may be any wireless connection in the prior art, including but not limited to Bluetooth and Near Field Communication (NFC).

[0057] Step S102: sending first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on a display device of the second electronic device.

[0058] In this embodiment, when the first display data displayed by the first electronic device is sent to the second electronic device, the first electronic device may set the display mode to the extended mode. The extended mode may be understood as a mode for extending the display range of the first electronic device.

[0059] In the extended mode, the first electronic device can display different or the same first display data on the display device of the first electronic device and the display device of the second electronic device, respectively. For example, a web page is displayed on the display device of the first electronic device, and a document editing page is displayed on the display device of the second electronic device; or a first sub-web page is displayed on the display device of the first electronic device, and a second sub-web page is displayed on the display device of the second electronic device, wherein the first sub-web page and the second sub-web page are web pages of the same web page displayed in different display devices, and there is no overlapping part between the first sub-web page and the second sub-web page.

[0060] Step S103: In response to the first triggering event, the first electronic device enters the first state or the second state.

[0061] In this embodiment, in response to the first trigger event, the working state indicated by the first trigger event may be determined;

[0062] If the working state indicated by the first trigger event is the first state, the first electronic device enters the first state;

[0063] If the working state indicated by the first triggering event is the second state, the first electronic device enters the second state.

[0064] Specifically, in response to the first trigger event, the first electronic device enters the first state or the second state, which may include but is not limited to:

[0065] In response to a switching event in which a display interface of the first electronic device switches from an off state to a lit state, the first electronic device enters a first state;

[0066] or,

[0067] In response to a switching event in which the display interface of the first electronic device switches from a lit state to an unlit state, the first electronic device enters a second state.

[0068] It is understandable that when the display interface of the first electronic device switches from a lit state to an unlit state, the first electronic device can maintain connection with the second electronic device, and can also reduce power consumption and heat generation of the first electronic device while ensuring that the first electronic device enters the second state.

[0069] In this embodiment, another implementation manner in which the first electronic device enters the first state or the second state in response to the first trigger event is provided, which may specifically include:

[0070] S1031: If the second electronic device is not connected to the third electronic device, output the first interface.

[0071] The first interface is used to input a confirmation instruction, and the third electronic device is at least used as an input device for the second electronic device.

[0072] S1032: In response to an instruction obtained from the first interface from a user input confirming that the first electronic device switches modes, the first electronic device enters a second state.

[0073] S1033: In response to an instruction obtained from the first interface from a user input confirming that the first electronic device does not switch modes, the first electronic device enters a first state.

[0074] The operation performed by the first electronic device in the first state is different from the operation performed by the electronic device in the second state.

[0075] Step S104: In the first state, a first operation is performed on the first display data in the first electronic device.

[0076] In the first state, performing a first operation on the first display data in the first electronic device may include but is not limited to:

[0077] In the first state, based on the detected user operation, an operation corresponding to the user operation is performed on the first display data in the first electronic device.

[0078] The user operation may be understood as: an operation of the user on the first display data. For example, based on the detected zoom-in operation on the first display data, the zoom-in operation is performed on the first display data in the first electronic device.

[0079] Of course, in the first state, performing the first operation on the first display data in the first electronic device may also include but is not limited to:

[0080] In the first state, if the first electronic device determines that the first electronic device meets the operation condition for the first display data, the first electronic device performs a first operation on the first display data. For example, if the first electronic device detects that the ambient brightness is within a set brightness range, the first electronic device adjusts the display brightness of the first display data.

[0081] Step S105: In the second state, in response to the operation on the first electronic device, determine the input data of the second electronic device, and send the input data to the second electronic device, so that the second electronic device operates the first display data based on the input data.

[0082] In the second state, the display device of the first electronic device at least does not display the first display data.

[0083] In the second state, the operation on the first electronic device is at least different from the first operation performed on the first display data in the first electronic device, and at least does not include the operation on the first display data of the first electronic device.

[0084] The operation on the first electronic device may include: operating the body of the first electronic device; or operating a component of the first electronic device, wherein the component of the first electronic device (such as a display screen or a physical button) is arranged on the body of the first electronic device.

[0085] In the second state, the input data of the second electronic device determined in response to the operation on the main body of the first electronic device is different from the input data of the second electronic device determined in response to the operation on one or more components of the first electronic device. Accordingly, the second electronic device also performs a different operation on the first display data based on the different input data.

[0086] In this embodiment, a connection is established between the first electronic device and the second electronic device, and the first display data displayed by the first electronic device is sent to the second electronic device, so that the second electronic device can cooperate with the first electronic device to display the first display data of the first electronic device. On this basis, in response to the first trigger event, the first electronic device enters the first state or the second state. In the first state, a first operation is performed on the first display data in the first electronic device. In the second state, in response to the operation on the first electronic device, input data of the second electronic device is determined, and the input data is sent to the second electronic device, so that the second electronic device operates the first display data based on the input data, ensuring that the first electronic device can operate the first display data of the first electronic device in different electronic devices in different states, thereby improving the operating convenience of the first electronic device and improving the user interaction experience.

[0087] As another optional embodiment of the present application, refer to Figure 2 , is a flow chart of a control method embodiment 2 provided in the present application. This embodiment is mainly a refinement of the control method described in the above embodiment 1. The method may include but is not limited to the following steps:

[0088] Step S201: Establish a connection between a first electronic device and a second electronic device, where the second electronic device has a display device.

[0089] Step S202: sending first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on the display device of the second electronic device;

[0090] Step S203: In response to the first triggering event, the first electronic device enters the first state or the second state.

[0091] Step S204: In the first state, a first operation is performed on the first display data in the first electronic device.

[0092] The detailed process of steps S201-S204 can refer to the relevant introduction of steps S101-S104 in Example 1, which will not be repeated here.

[0093] Step S205: In the second state, in response to the movement operation on the first electronic device, relative displacement data of the first electronic device is measured by using a displacement measuring device.

[0094] In the second state, the method of measuring the relative displacement data using the displacement measuring device does not limit the method of moving the first electronic device. The moving operation of the first electronic device may include but is not limited to: moving the first electronic device in contact with the operating surface; or moving the first electronic device in a suspended state.

[0095] The displacement measuring device may include but is not limited to: an acceleration sensor.

[0096] This step is a specific implementation of determining the input data of the second electronic device in response to the operation on the first electronic device in step S15 in embodiment 1.

[0097] Step S206: Send the relative displacement data of the first electronic device to the second electronic device, so that the second electronic device determines the area to be operated in the display interface of the display device of the second electronic device based on the relative displacement data, and moves the positioning icon to the area to be operated, and the area to be operated contains at least part of the display data of the first display data.

[0098] In this embodiment, the second electronic device can determine the relative displacement of the operation position in the display interface of the display device of the second electronic device based on the relative displacement data, and determine the area where the operation position is located in the display interface of the display device of the second electronic device according to its relative displacement as the area to be operated in the display interface of the display device of the second electronic device.

[0099] This step is a specific implementation of sending the input data to the second electronic device in step S15 in embodiment 1, so that the second electronic device operates the first display data based on the input data.

[0100] In this embodiment, in the second state, in response to the movement operation of the first electronic device, the relative displacement data of the first electronic device is measured by the displacement measuring device, and the relative displacement data of the first electronic device is sent to the second electronic device, so that at least part of the first display data in the display interface of the display device of the second electronic device can be positioned by the movement operation of the first electronic device. For example, if the first electronic device is a mobile phone and the second electronic device is a computer, the first display data of the mobile phone at least includes the icon of Weibo, the data of the Weibo interface, the icon of WeChat and the data of the WeChat interface, such as Figure 3As shown, if the current operation position in the display interface of the computer is in the area containing the Weibo icon, if the mobile phone moves from position 1 to position 2, the displacement measurement device measures the relative displacement data of the mobile phone and sends the relative displacement data of the mobile phone to the computer. Based on the relative displacement data of the mobile phone, the computer determines that the area to be operated in the display interface of the computer is the area containing the WeChat icon, and moves the positioning icon to the area to be operated, thereby realizing the positioning of the WeChat icon displayed on the computer.

[0101] Moreover, in the second state, the method of measuring relative displacement data using a displacement measuring device does not limit the method of moving the first electronic device, and can be applied to a variety of operation scenarios to complete the positioning of at least part of the first display data in the display interface of the display device of the second electronic device.

[0102] As another optional embodiment of the present application, refer to Figure 4 , is a flow chart of a control method provided in Example 3 of the present application. This embodiment is mainly a refinement of the control method described in Example 2 above. The method may include but is not limited to the following steps:

[0103] Step S301: Establish a connection between a first electronic device and a second electronic device, where the second electronic device has a display device.

[0104] Step S302: sending first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on the display device of the second electronic device;

[0105] Step S303: In response to the first triggering event, the first electronic device enters the first state or the second state.

[0106] Step S304: In the first state, a first operation is performed on the first display data in the first electronic device.

[0107] The detailed process of steps S301-S304 can refer to the relevant introduction of steps S201-S204 in Example 1, which will not be repeated here.

[0108] Step S305: In the second state, in response to a moving operation on the first electronic device, determining whether the operating surface of the second electronic device is in a horizontal state.

[0109] If yes, execute step S306; if no, execute step S307.

[0110] Step S306: emitting a light beam using an optical device, and determining relative displacement data of the first electronic device based on the light beam reflected by the operating surface using the optical device.

[0111] Step S307: Use a displacement measuring device to measure and obtain relative displacement data of the first electronic device.

[0112] In this embodiment, step S305, step S306 and step S307 are a specific implementation of step S205 in embodiment 2.

[0113] Step S308: Send the relative displacement data of the first electronic device to the second electronic device, so that the second electronic device determines the area to be operated in the display interface of the display device of the second electronic device based on the relative displacement data, and moves the positioning icon to the area to be operated, and the area to be operated contains at least part of the display data of the first display data.

[0114] In this embodiment, in the second state, in response to the moving operation of the first electronic device, by determining whether the operating surface of the second electronic device is in a horizontal state, the relative displacement data of the first electronic device is determined in different ways to adapt to different operating scenarios, thereby completing the positioning of at least part of the display data of the first display data in the display interface of the display device of the second electronic device.

[0115] As another optional embodiment of the present application, refer to Figure 5 , is a flow chart of a control method provided in Example 4 of the present application. This embodiment is mainly a refinement of the control method described in the above Example 1. The method may include but is not limited to the following steps:

[0116] Step S401: Establish a connection between a first electronic device and a second electronic device, where the second electronic device has a display device.

[0117] Step S402: Send the first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on the display device of the second electronic device.

[0118] Step S403: In response to the first triggering event, the first electronic device enters the first state or the second state.

[0119] Step S404: In the first state, a first operation is performed on the first display data in the first electronic device.

[0120] Step S405: In the second state, in response to the movement operation on the first electronic device, relative displacement data of the first electronic device is measured by using a displacement measuring device.

[0121] Step S406: Send the relative displacement data of the first electronic device to the second electronic device, so that the second electronic device determines the area to be operated in the display interface of the display device of the second electronic device based on the relative displacement data, and moves the positioning icon to the area to be operated, and the area to be operated contains at least part of the display data of the first display data.

[0122] The detailed process of steps S401-S406 can refer to the relevant introduction of steps S201-S206 in Example 2, which will not be repeated here.

[0123] Step S407: In response to a pressing operation on the first electronic device, determine an input instruction corresponding to the pressing operation.

[0124] In this embodiment, in response to a pressing operation on the first electronic device, determining an input instruction corresponding to the pressing operation may include:

[0125] In response to a single pressing operation on a first button of a first electronic device, determining that an input instruction corresponding to the single pressing operation is a single click instruction;

[0126] or, in response to a single pressing operation on a second button of the first electronic device, determining that the input instruction corresponding to the single pressing operation is a right-click instruction;

[0127] Or, in response to pressing a first button or a second button of the first electronic device twice, if the time interval between the two pressing operations is less than a set time length, it is determined that the input instructions corresponding to the two pressing operations are a double-click instruction.

[0128] The second button is different from the first button. For example, the first button is a button set on the left side of the first electronic device, and the second button is a button set on the right side of the first electronic device. The left side of the first electronic device is usually determined based on the side facing the user when the user uses the first electronic device; the right side of the first electronic device is usually determined based on the side facing the user when the user uses the first electronic device.

[0129] Of course, in response to the pressing operation on the first electronic device, determining the input instruction corresponding to the pressing operation may also include:

[0130] In response to a pressing operation on a first designated area of ​​a first electronic device, determining that an input instruction corresponding to the pressing operation is a single-click instruction;

[0131] or, in response to a pressing operation on the second designated area of ​​the first electronic device, determining that the input instruction corresponding to the pressing operation is a right-click instruction;

[0132] Or, in response to two pressing operations on the first designated area or the second designated area of ​​the first electronic device, if the time interval between the two pressing operations is less than a set time length, it is determined that the input instructions corresponding to the two pressing operations are double-click instructions.

[0133] The first designated area and the second designated area can be set in any area on the surface of the first electronic device, and the first designated area and the second designated area are different areas. Specifically, the first designated area can be set on the front side of the first electronic device, and the second designated area is set on the back side of the first electronic device. The front side is usually the side facing the user when the user uses the electronic device. If the electronic device includes a display area, the side with the display area is the front side, and the side opposite to the front side is the back side.

[0134] In this embodiment, another implementation method of determining an input instruction corresponding to a pressing operation on a first electronic device in response to the pressing operation is provided, which may specifically include:

[0135] In response to a pressing operation on a first designated area of ​​a first electronic device, obtaining a pressing duration of the pressing operation;

[0136] If the pressing time is less than the set pressing time, the input instruction corresponding to the one-press operation is determined to be a single-click instruction;

[0137] If the pressing time is longer than the set pressing time, the input command corresponding to the one-press operation is determined to be a right-click command;

[0138] Or, in response to two pressing operations on the first designated area or the second designated area of ​​the first electronic device, if the time interval between the two pressing operations is less than a set time length, it is determined that the input instructions corresponding to the two pressing operations are double-click instructions.

[0139] Step S408: sending the input instruction to the second electronic device, so that the second electronic device performs an input operation on the display data in the area to be operated in the display interface of the display device of the second electronic device in response to the input instruction.

[0140] In the implementation mode where the corresponding input instruction is a single-click instruction, the single-click instruction is sent to the second electronic device, and the second electronic device can select the display data in the area to be operated in the display interface of the display device of the second electronic device in response to the single-click instruction. For example, in combination with Figure 3 In the area to be operated shown in FIG. 1 , the left key of the mobile phone is pressed once. In response to the pressing operation of the left key, the mobile phone determines that the input instruction is a single-click instruction and sends the single-click instruction to the computer. Figure 6 As shown, the computer responds to the single-click instruction by selecting the WeChat icon in the area to be operated in the display interface of the computer, so that the WeChat icon is in a selected state.

[0141] In the implementation manner where the corresponding input instruction is a double-click instruction, the double-click instruction is sent to the second electronic device, and the second electronic device can respond to the double-click instruction to open the display data in the area to be operated in the display interface of the display device of the second electronic device, for example, in combination with Figure 6 The WeChat icon shown in the selected state is pressed twice on the left button of the mobile phone. The mobile phone responds to the double pressing of the left button. If the time interval between the two pressing operations is less than the set time length, it is determined that the input instruction is a double-click instruction, and the double-click instruction is sent to the computer. Figure 7 As shown, the computer responds to the double-click instruction and enters the WeChat interface.

[0142] In the implementation mode where the corresponding input instruction is a right-click instruction, the right-click instruction is sent to the second electronic device, and the second electronic device can respond to the right-click instruction by calling up a shortcut list corresponding to the display data in the area to be operated in the display interface of the display device of the second electronic device, for example, in combination with Figure 3 In the area to be operated shown in FIG. 1 , the right button of the mobile phone is pressed once. In response to the pressing of the right button, the mobile phone sends a right-click instruction to the computer, such as Figure 8 As shown, the computer responds to the right-click command and opens the shortcut list corresponding to WeChat in the computer's display interface.

[0143] It should be noted that the above examples are only part of the implementation methods of the present application, and the specific implementation methods of the control method of the present application are not limited to the above examples.

[0144] Steps S405-S408 are a specific implementation of step S105 in Example 1.

[0145] In this embodiment, the first electronic device performs operations in the first electronic device in the first state, and in the second state, the first electronic device determines the corresponding input instructions in response to a series of operations, and sends the input instructions to the second electronic device, so that the second electronic device operates the first display data of the first electronic device based on the corresponding input instructions, thereby ensuring the operational convenience of the first electronic device.

[0146] As another optional embodiment of the present application, refer to Fig. 9 , is a flow chart of a control method embodiment 5 provided in the present application. This embodiment is mainly an extension of the control method described in the above embodiment 1. The method may include but is not limited to the following steps:

[0147] Step S501: Establish a connection between a first electronic device and a second electronic device, where the second electronic device has a display device.

[0148] Step S502: Send the first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on the display device of the second electronic device.

[0149] Step S503: In response to the first triggering event, the first electronic device enters the first state or the second state.

[0150] Step S504: In the first state, a first operation is performed on the first display data in the first electronic device.

[0151] Step S505: In the second state, display the second display data, determine the input data of the second electronic device in response to the operation on the first electronic device, and send the input data to the second electronic device, so that the second electronic device operates the first display data based on the input data.

[0152] The second display data is different from the first display data. For example, if the first display data is data of various applications of the first electronic device (such as application icons or interface data of the application interface after entering the application), the second display data may be data of the screen saver interface of the first electronic device.

[0153] In this embodiment, the first electronic device performs a first operation on the first display data in the first electronic device in a first state, and determines input data of the second electronic device in response to the operation on the first electronic device in a second state, and sends the input data to the second electronic device, so that the second electronic device operates the first display data based on the input data, thereby ensuring that the first electronic device can operate the first display data of the first electronic device in different electronic devices in different states, thereby improving the operational convenience of the first electronic device.

[0154] Furthermore, when the first electronic device is in the second state, it can determine the input data of the second electronic device in response to the operation on the first electronic device, and can display second display data that is different from the first display data of the first electronic device, thereby expanding the display range of the first electronic device, realizing the expansion of the function of the first electronic device, and further improving the operational convenience of the first electronic device.

[0155] Next, a control device provided in the present application is introduced. The control device introduced below and the control method introduced above can refer to each other.

[0156] See also Fig.10 The control device includes: a connection module 100, a first sending module 200, a control module 300, an execution module 400, a determination module 500 and a second sending module 600.

[0157] A connection module 100, used to establish a connection between the first electronic device and a second electronic device, wherein the second electronic device has a display device;

[0158] The first sending module 200 is used to send the first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on the display device of the second electronic device;

[0159] The control module 300 is used to control the first electronic device to enter the first state or the second state in response to the first trigger event;

[0160] An execution module 400 is used to execute a first operation on first display data in a first electronic device in a first state;

[0161] The determination module 500 is used to determine input data of the second electronic device in response to the operation of the first electronic device in the second state;

[0162] The second sending module 600 is used to send the input data to the second electronic device, so that the second electronic device operates the first display data based on the input data.

[0163] In this embodiment, the control module 300 can be specifically used for:

[0164] In response to a switching event in which the display interface of the first electronic device switches from a lit state to an unlit state, the first electronic device enters a second state.

[0165] In this embodiment, the control module 300 can be specifically used for:

[0166] If the second electronic device is not connected to the third electronic device, a first interface is output, the first interface is used to input a confirmation instruction, and the third electronic device is at least used as an input device for the second electronic device;

[0167] In response to an instruction obtained from the first interface from a user input confirming that the first electronic device performs a mode switch, the first electronic device enters a second state.

[0168] In this embodiment, the determination module 500 may be specifically used for:

[0169] In the second state, in response to the movement operation on the first electronic device, relative displacement data of the first electronic device is measured by using the displacement measuring device;

[0170] The second electronic device determines the area to be operated in the display interface of the display device of the second electronic device based on the relative displacement data, and moves the positioning icon to the area to be operated, and the area to be operated includes at least part of the display data of the first display data.

[0171] In which, in response to the moving operation on the first electronic device, the method may include:

[0172] In response to a movement operation of the first electronic device in contact with the operation surface;

[0173] Or, in response to a moving operation on the first electronic device in a suspended state.

[0174] In this embodiment, the determination module 500 may also be used to:

[0175] In response to a pressing operation on the first electronic device, determining an input instruction corresponding to the pressing operation;

[0176] The second electronic device performs an input operation on the display data in the area to be operated in the display interface of the display device of the second electronic device in response to the input instruction.

[0177] In this embodiment, the control device may further include:

[0178] The display module is used for displaying second display data in a second state, where the second display data is different from the first display data.

[0179] Corresponding to the above-mentioned control method embodiment provided by the present application, the present application also provides an electronic device embodiment applying the control method.

[0180] like Fig.11 The figure is a schematic diagram of the structure of an electronic device embodiment 1 provided by the present application, and the electronic device may include the following structure:

[0181] A memory 10 and a processor 20 .

[0182] A memory 10, used to store at least one set of instruction sets;

[0183] The processor 20 is used to call and execute the instruction set in the memory 10, and execute the control method introduced in any one of the above method embodiments 1-5 by executing the instruction set.

[0184] Corresponding to the above-mentioned control method embodiment provided by the present application, the present application also provides an embodiment of a storage medium.

[0185] In this embodiment, the storage medium stores a computer program for implementing the control method described in any one of method embodiments 1-5, and the computer program is executed by a processor to implement the control method described in any one of embodiments 1-5.

[0186] It should be noted that each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0187] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also 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 a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0188] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0189] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0190] The above is a detailed introduction to a control method, device, electronic device and storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A control method, applied to a first electronic device, comprising: Establishing a connection between the first electronic device and a second electronic device, wherein the second electronic device has a display device; Sending first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on a display device of the second electronic device; In response to a first trigger event, the first electronic device enters a first state or a second state; In the first state, performing a first operation on the first display data in the first electronic device; In the second state, in response to an operation on the first electronic device, determining input data of the second electronic device, and sending the input data to the second electronic device, so that the second electronic device operates the first display data based on the input data; In the second state, in response to a moving operation on the first electronic device, relative displacement data of the first electronic device is measured by a displacement measuring device; Among them, the second electronic device determines the area to be operated in the display interface of the display device of the second electronic device based on the relative displacement data, and moves the positioning icon to the area to be operated, and the area to be operated contains at least part of the display data of the first display data.

2. The method according to claim 1, wherein in response to the first trigger event, the first electronic device enters the second state, comprising: In response to a switching event in which the display interface of the first electronic device switches from a lit state to an unlit state, the first electronic device enters a second state.

3. The method according to claim 1, wherein in response to the first triggering event, the first electronic device enters the second state, comprising: If the second electronic device is not connected to the third electronic device, a first interface is output, the first interface is used to input a confirmation instruction, and the third electronic device is at least used as an input device of the second electronic device; In response to an instruction obtained from the first interface from a user input confirming that the first electronic device is to switch modes, the first electronic device enters a second state.

4. The method according to claim 1, wherein the step of responding to the moving operation of the first electronic device comprises: In response to a movement operation of the first electronic device in contact with the operation surface; Or, in response to a moving operation on the first electronic device in a suspended state.

5. The method according to claim 1, further comprising: In response to a pressing operation on a key of the first electronic device, determining an input instruction corresponding to the pressing operation; The second electronic device performs an input operation on display data in the area to be operated in the display interface of the display device of the second electronic device in response to the input instruction.

6. The method according to claim 1, further comprising: In the second state, second display data is displayed, and the second display data is different from the first display data.

7. A control device comprising: A connection module, used to establish a connection between the first electronic device and the second electronic device, wherein the second electronic device has a display device; A first sending module, configured to send first display data displayed by the first electronic device to the second electronic device, so that the first display data is displayed on a display device of the second electronic device; A control module, configured to control the first electronic device to enter a first state or a second state in response to a first trigger event; an execution module, configured to execute a first operation on the first display data in the first electronic device in the first state; a determination module, configured to determine input data of the second electronic device in response to an operation on the first electronic device in the second state; A second sending module, configured to send the input data to the second electronic device, so that the second electronic device operates the first display data based on the input data; In the second state, in response to a moving operation on the first electronic device, relative displacement data of the first electronic device is measured by a displacement measuring device; Among them, the second electronic device determines the area to be operated in the display interface of the display device of the second electronic device based on the relative displacement data, and moves the positioning icon to the area to be operated, and the area to be operated contains at least part of the display data of the first display data.

8. An electronic device comprising: Memory and processor; The memory is used to store at least one set of instruction sets; The processor is used to call and execute the instruction set in the memory, and execute the control method according to any one of claims 1 to 6 by executing the instruction set.

9. A storage medium storing a computer program of the control method according to any one of claims 1 to 6, wherein the computer program is executed by a processor to implement the control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Display control method and mobile terminal

    CN108762471A