Equipment control method and electronic equipment

By establishing a communication connection between electronic devices, obtaining posture information and determining the action sequence, the problem of controlling the action effect of the electronic device with a retractable screen is solved, and the flexibility of the equipment posture and coordination of the action are achieved.

CN119847667APending Publication Date: 2025-04-18LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510025257.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

How to control electronic devices with retractable screens to present the desired action effect, especially when the device screen area changes.

Method used

By establishing a communication connection between the first electronic device and at least one second electronic device, the current attitude information of the second electronic device is obtained, and based on this, the action sequence to be executed is determined, including adjusting the size of the display area and outputting the multimedia, to achieve the desired action effect.

Benefits of technology

It realizes the control of multiple electronic devices to cooperate with each other to present the action effect according to actual needs, and improves the flexibility of the equipment posture and coordination of the action.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847667A_ABST
    Figure CN119847667A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment control method and electronic equipment, and the method comprises the steps: building communication connection between first electronic equipment and at least one second electronic equipment, and enabling a display device of the second electronic equipment to act under the driving of a driving assembly, so as to enable a display area, used for displaying and outputting, of the display device to have different sizes; obtaining current first attitude information of the second electronic equipment, wherein the first attitude information represents at least one of the size of a display area of the display device and the equipment attitude of the second electronic equipment; based on the first attitude information of each second electronic device, determining an action sequence to be executed by each second electronic device, the action sequence comprising at least one target action, the target action being used for indicating multimedia to be output by the second electronic device and adjusting at least one of the size of a display area of the display device; and based on the action sequence to be executed by the second electronic equipment, controlling the second electronic equipment to execute each target action in the action sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of electronic device technology, setting the screen of electronic devices as retractable screen will become a trend of future screens.

[0003] Since the area of ​​the electronic device that can be used to display the screen will also change during the retractable screen, there will be a demand in the future to present different demonstration actions and other action effects by cooperating with one or more electronic devices with retractable screens. Based on this, how to control the electronic device with a retractable screen to present the required action effect is a technical problem that technicians in this field need to solve. Summary of the invention

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

[0005] Establishing a communication connection between the first electronic device and at least one second electronic device, wherein the second electronic device has a display device, and the display device can be driven by a driving component so that a display area of ​​the display device for displaying output has different sizes;

[0006] Obtaining current first posture information of the second electronic device, where the first posture information is used to represent at least one of a size of the display area of ​​the display device and a device posture of the second electronic device;

[0007] Determine, based on the first posture information of each second electronic device, an action sequence to be performed by each second electronic device, wherein the action sequence includes at least one target action, and the target action is used to indicate at least one of multimedia to be output by the second electronic device and adjusting the size of the display area of ​​the display device;

[0008] Based on the action sequence to be executed by the second electronic device, the second electronic device is controlled to execute each target action in the action sequence.

[0009] In a possible implementation, the display device can be driven by a driving component to enable a display area of ​​the display device for displaying output to have different sizes, including:

[0010] The display device can move along a first direction under the driving of the driving component to increase the size of a display area of ​​the display device for displaying output;

[0011] Furthermore, the display device can move along a second direction under the drive of the driving component to reduce the size of a display area of ​​the display device used for displaying outputs, and the first direction and the second direction are parallel to each other.

[0012] In another possible implementation, determining the action sequence to be executed by each second electronic device based on the first posture information of each second electronic device includes:

[0013] Determining, based on the first posture information of each second electronic device, an action file to be executed by each second electronic device, wherein the action file is used to indicate at least one target action to be executed by the second electronic device;

[0014] The controlling the second electronic device to execute each target action in the action sequence based on the action sequence to be executed by the second electronic device includes:

[0015] Based on the action file to be executed by the second electronic device, the second electronic device is controlled to execute each target action indicated by the action file.

[0016] In another possible implementation, the controlling the second electronic device to execute each target action indicated by the action file based on the action file to be executed by the second electronic device includes at least one of the following:

[0017] Sending the action file to be executed by the second electronic device to the second electronic device, so as to trigger the second electronic device to execute each target action indicated by the action file;

[0018] Sending a file indication instruction to the second electronic device, wherein the file indication instruction indicates an identifier of an action file to be executed in the second electronic device, and the identifier of the action file belongs to an identifier of at least one candidate action file configured in the second electronic device;

[0019] Based on the action file to be executed by the second electronic device, when it is determined that the execution time of the target action indicated by the action file has arrived, an action control instruction is sent to the second electronic device, wherein the action control instruction is used to instruct the second electronic device to execute the target action.

[0020] In yet another possible implementation, the device posture of the second electronic device is used to represent at least one of the position information and the spatial posture of the second electronic device;

[0021] The step of determining the action file to be executed by each second electronic device based on the first posture information of each second electronic device includes:

[0022] Determine a relative posture relationship between the display areas of the display devices of the second electronic devices based on at least one of the position information and the spatial posture of each second electronic device and the size of the display area of ​​the display device of each second electronic device;

[0023] Based on the relative posture relationship between the display areas of the display devices of the second electronic devices, the action files to be executed by the second electronic devices are determined.

[0024] In another possible implementation, determining the action files to be executed by each second electronic device based on the relative posture relationship between the display areas of the display devices of the second electronic devices includes:

[0025] In response to the relative posture relationship between the display areas of the display devices of the second electronic devices being a target relative posture relationship, determining a plurality of action files corresponding to the target posture relationship;

[0026] The action file includes information of at least one driving action to be sequentially executed by a driving component of the second electronic device, and at least one frame of display image matching the at least one driving action; the at least one driving action is used to gradually drive the display device of the second electronic device according to a set driving step length, so as to gradually increase the size of a display area of ​​the display device in the second electronic device; the at least one frame of display image in different action files is different;

[0027] For each second electronic device, based on the posture relationship between the display area of ​​the display device of the second electronic device and the display areas corresponding to other electronic devices, determine the target action file to be executed by the second electronic device from the multiple action files;

[0028] Among them, at least one frame of display image in the target action file is used to present an image effect of the target object moving from a first position point to a second position point in the display area of ​​the second electronic device, the second position point being a vertex in the display area of ​​the second electronic device that is closest to the display area of ​​other second electronic devices when the driving component completes the at least one driving action, the first position point is another vertex on the display area of ​​the second electronic device, and the first position point and the second position point are located on a diagonal line of the display area of ​​the second electronic device.

[0029] In yet another possible implementation, the method further includes:

[0030] Obtaining second posture information of the second electronic device during the process of performing the target action;

[0031] If, based on the second posture information of each second electronic device and the target action currently performed by each second electronic device, it is determined that a second electronic device has an abnormal action execution, a posture reset instruction is sent to each second electronic device, wherein the posture reset instruction is used to instruct the second electronic device to return to the posture represented by its corresponding first posture information.

[0032] In another aspect, the present application further provides a device control method, applied to a second electronic device, comprising:

[0033] Establishing a communication connection between a second electronic device and the first electronic device, wherein the second electronic device has a display device, and the display device can be driven by a driving component so that a display area of ​​the display device for displaying output has different sizes;

[0034] Obtaining first posture information of the second electronic device, where the first posture information is used to represent at least one of a size of the display area of ​​the display device and a device posture of the second electronic device;

[0035] sending the first posture information to the first electronic device;

[0036] According to the control instruction of the first electronic device, each target action in the action sequence is executed.

[0037] In yet another possible implementation, the obtaining the first posture information of the second electronic device includes at least one of the following:

[0038] Obtaining, by the first system, the size of a display area of ​​the display device when driven by a driving component;

[0039] obtaining a device posture of the second electronic device using a posture sensor;

[0040] At least one of a size of a display area of ​​the display device and the device posture is determined as first posture information.

[0041] In yet another aspect, the present application further provides an electronic device, comprising: a display device, a driving component, a communication module and a processor;

[0042] Wherein, the driving component is used to drive the display device to operate;

[0043] The display device is used to move under the drive of the driving component to adjust the size of the display area used for displaying output;

[0044] The communication module is used to establish a communication connection between the electronic device and the first electronic device;

[0045] The processor is used to obtain first posture information of the electronic device, where the first posture information is used to represent at least one of a size of the display area of ​​the display device and a device posture of the electronic device;

[0046] The communication module is further used to send the first posture information to the first electronic device;

[0047] The processor is further configured to execute each target action in the action sequence according to the control instruction of the first electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0049] Figure 1 A schematic diagram of a flow chart of the device control method provided in this application;

[0050] Figure 2 A comparative example diagram showing the sizes of the display area of ​​the display device of the second electronic device in two different action states;

[0051] Figure 3 Another comparative example diagram showing the display area of ​​the display device of the second electronic device in two different action states;

[0052] Figure 4 A schematic diagram of another flow chart of the device control method provided in this application;

[0053] Figure 5 A schematic diagram of another flow chart of the device control method provided in this application;

[0054] Figure 6 This is an example diagram of the first application scenario to which the solution of this application is applicable;

[0055] Figure 7 This is an example diagram of the second application scenario to which the solution of this application is applicable;

[0056] Figure 8 This is an example diagram of a third application scenario to which the solution of this application is applicable;

[0057] Fig. 9 This is an example diagram of a fourth application scenario to which the solution of this application is applicable;

[0058] Fig.10 This is another flow chart of the device control method of the present application;

[0059] Fig.11 A schematic diagram of the structure of a device control device of the present application;

[0060] Fig.12 This is another schematic diagram of the composition structure of the device control device of the present application;

[0061] Fig.13 A schematic diagram of a composition structure of an electronic device provided in this application;

[0062] Fig.14 A schematic diagram of the composition architecture of another electronic device provided in the present application. DETAILED DESCRIPTION

[0063] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation mode of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0064] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0065] like Figure 1 , shows a schematic flow chart of a device control method provided by the present application. The method of this embodiment can be applied to a first electronic device. This embodiment may include:

[0066] S101: Establish a communication connection between a first electronic device and at least one second electronic device.

[0067] In the present application, the first electronic device and the second electronic device may be electronic devices of the same type or different types, without limitation. For example, the first electronic device may be a mobile phone, and the second electronic device may be a laptop computer; or both the first electronic device and the second electronic device may be laptop computers.

[0068] In the present application, the second electronic device has a display device, and the display device can be driven by a driving component to operate so that the display area of ​​the display device used for displaying output has different sizes.

[0069] It is understandable that the total size of the displayable area that the display device can provide is fixed, but when the display device is driven by the driving component, the display device is in different states, and the size of the display area for displaying output that is controlled by the display device is also different. For example, by driving the display device to operate through the driving component, the display area of ​​the display device can be expanded or contracted to increase or decrease the size of the display area that the display device can currently use for displaying output.

[0070] There are many possibilities for the specific implementation of establishing a communication connection between the first electronic device and the second electronic device, which is not limited in this application. For example, the first electronic device and the second electronic device can establish a communication connection via Bluetooth, WiFi or other wireless communication methods.

[0071] In a possible implementation, a first application may be running on a first electronic device, a second application may be running on a second electronic device, the first electronic device running the first application may be equivalent to a server, and the second electronic device running the second application is equivalent to a client corresponding to the server. On this basis, the first electronic device can establish a connection with the second application of each second electronic device by means of the first application and based on the IP address of each second electronic device, thereby realizing a communication connection between the first electronic device and the second electronic device.

[0072] S102: Obtain current first posture information of the second electronic device.

[0073] The first posture information is used to represent at least one of the size of the display area of ​​the display device and the device posture of the second electronic device.

[0074] The size of the display area of ​​the display device is actually the current telescopic state of the display device when driven by the driving component. The size of the display area varies depending on the telescopic state of the display area of ​​the display device.

[0075] The device posture of the second electronic device is the posture presented by the second electronic device itself. For example, the device posture of the second electronic device may include information such as the location information, spatial posture, and speed of the second electronic device.

[0076] In the present application, the device posture of the second electronic device can not only reflect the overall state of the device, but also reflect the image display direction of the display device of the second electronic device and the orientation of the display area of ​​the display device. For example, the image display direction is from top to bottom, or from bottom to top in a longitudinal display direction, or from left to right or from right to left in a transverse display direction. The orientation of the display area is used to characterize the direction in which the user can see the display area, wherein the orientation of the display area of ​​different second electronic devices may be different.

[0077] The first posture information of the second electronic device may be monitored in real time by the second electronic device and sent to the first electronic device. It may also be obtained after the first electronic device sends a first posture request to the second electronic device, and the second electronic device returns the first posture information to the first electronic device in response to the first posture request. Of course, there may be other possibilities, which are not limited to this.

[0078] S103: Determine an action sequence to be executed by each second electronic device based on the first posture information of each second electronic device.

[0079] The action sequence includes at least one target action, and the target action is used to indicate at least one of multimedia to be output by the second electronic device and adjusting the size of the display area of ​​the display device.

[0080] The multimedia to be output by the second electronic device may include at least one of an image to be output by the display device of the second electronic device (such as a video image, or an image containing a document or PPT, etc.), and an audio to be output by the audio output device of the second electronic device.

[0081] In the present application, each second electronic device corresponds to an action sequence to be executed, and the action sequences corresponding to different second electronic devices may be the same or different. In an optional manner, the action sequences corresponding to at least one second electronic device are not completely the same.

[0082] It can be understood that the present application combines the first posture information of each second electronic device to determine the action sequence to be executed by each second electronic device; rather than presetting the action sequence corresponding to each second electronic device, so that the user can more flexibly place or set the posture of each second electronic device without having to distinguish each second electronic device in advance and set the posture of the second electronic device according to the pre-set posture corresponding to each second electronic device, so that the flexibility of controlling multiple second electronic devices to present actions is higher.

[0083] S104: Based on the action sequence to be executed by the second electronic device, control the second electronic device to execute each target action in the action sequence.

[0084] In the present application, for each second electronic device, there may be multiple possibilities for the specific implementation of controlling the second electronic device to execute each target action in its corresponding action sequence, and the present application does not impose any limitation on this.

[0085] It can be understood that by determining an action sequence to be executed for each second electronic device and controlling the second electronic device to perform each target action in the corresponding action sequence, it is possible to control each second electronic device to perform corresponding actions according to actual needs, thereby controlling at least one second electronic device to present the desired action effect.

[0086] From the above content, it can be seen that in the present application, under the premise that the first electronic device establishes a communication connection with at least one second electronic device whose display area can be adjusted, the first electronic device can determine the action sequence that each second electronic device needs to execute based on the first posture information of each second electronic device, and respectively control the second electronic device to execute each target action in the corresponding action sequence, thereby being able to combine the posture information of each second electronic device to control the actions performed by different second electronic devices, so that each second electronic device cooperates with each other to present the desired action effect.

[0087] In the present application, there are many possible specific implementations of the display device of the second electronic device being driven by a driving component so that the display area has different sizes.

[0088] In a possible implementation, the display device can move along a first direction under the drive of the driving component to increase the size of the display area of ​​the display device used to display outputs. Also, the display device can move along a second direction under the drive of the driving component to reduce the size of the display area of ​​the display device used to display outputs.

[0089] Of course, in order to enable the display device to achieve the effect of enlarging and reducing the display area when it moves along the first direction and the second direction respectively, the first direction and the second direction are two opposite directions.

[0090] For example, the first direction may be parallel to the side that can be extended and retracted in the display device. For example, the display device includes a first side and a second side, wherein the length of the first side is fixed, and the second side can be extended or shortened under the drive of the driving component, therefore, the first direction and the second direction are respectively parallel to the first side and two opposite directions.

[0091] like Figure 2 As shown, an example diagram comparing the sizes of the display area of ​​the display device of the second electronic device in two different action states is shown.

[0092] exist Figure 2In the image on the left side of the arrow, the display area of ​​the display device 201 is relatively small. However, the display device extends upward under the drive of the driving component, which can increase the length of the side of the display device, so that the display area of ​​the display device 201 is extended. As shown in the display device on the right side of the arrow, the size of the display area of ​​the display device is significantly increased.

[0093] In the present application, there may be many possible specific forms of the driving component, which is equivalent to there may be many possible actions of the driving component driving the display device.

[0094] For example, the driving component can be a driving shaft, and at least a portion of the display screen of the display device is a flexible screen. On this basis, the flexible screen of the display device can be rolled onto the shaft or unfolded under the drive of the driving shaft, thereby increasing or reducing the size of the display area of ​​the display device currently used to display output.

[0095] In another example, the driving component can drive at least a portion of the display screen of the display device to be folded or unfolded, so as to increase or reduce the size of a display area of ​​the display device that can currently be used for display output.

[0096] Of course, there may be other possibilities for the specific implementation of the driving component and the action of the driving component driving the display device, and this application does not impose any restrictions on this.

[0097] In order to facilitate understanding that the display device moves along the first direction and the second direction to increase or decrease the size of the display area currently used by the display device to display output, the case where the second electronic device includes a first body and a second body is used as an example for explanation. Figure 3 As shown, another example diagram of the display area of ​​the display device of the second electronic device in two different action states is shown.

[0098] exist Figure 3 In the embodiment, the first body 301 of the second electronic device is provided with a display device, and the second body 302 is provided with an input device such as a keyboard.

[0099] Assume that Figure 3 The left side of the arrow shows that the display area of ​​the display device of the second electronic device is in a state of minimum size. Figure 3 In the embodiment, the first direction may be a direction extending upward along the left side or the right side of the first body. Figure 3 Based on the second electronic device shown on the left side of the middle arrow, by driving the side of the display device to extend upward through the driving component, the side lengths of the left and right sides of the display device can be increased, thereby increasing the size of the display area presented in the display device, and obtaining the rendering of the display area of ​​the display device in the second electronic device shown on the right side of the arrow.

[0100] exist Figure 3 Based on the second electronic device shown on the right side of the middle arrow, if the left and right sides of the display device are driven to shrink downward by the driving component, the size of the display area of ​​the display device can be reduced, which will not be repeated.

[0101] In the present application, there may be multiple specific implementations for determining the action sequence to be executed by the second electronic device. The following is an example of an implementation method. Figure 4 , shows another flow chart of the device control method provided by the present application. The method of this embodiment may include:

[0102] S401: Establish a communication connection between a first electronic device and at least one second electronic device.

[0103] The second electronic device has a display device, which can be driven by a driving component so that a display area of ​​the display device used for displaying output has different sizes.

[0104] S402: Obtain current first posture information of the second electronic device.

[0105] The first posture information is used to represent at least one of the size of the display area of ​​the display device and the device posture of the second electronic device.

[0106] The above two steps can be referred to the related introduction of the previous embodiment, which will not be repeated here.

[0107] S403: Determine an action file to be executed by each second electronic device based on the first posture information of each second electronic device.

[0108] The action file is used to indicate at least one target action to be performed by the second electronic device. The target action is used to indicate at least one of multimedia to be output by the second electronic device and adjusting the size of a display area of ​​a display device in the second electronic device.

[0109] In the present application, the action file may be a file including information of at least one target action, or an action script file indicating at least one target action, etc. Of course, there may be other possibilities, which are not limited thereto.

[0110] In a possible implementation, the present application may preset a correspondence between different posture information and action files, and based on the correspondence, determine the action file corresponding to the first posture information of each second electronic device.

[0111] S404: For each second electronic device, based on the action file to be executed by the second electronic device, control the second electronic device to execute each target action indicated by the action file.

[0112] Among them, controlling the second electronic device to execute each target action indicated by the action file requires controlling the second electronic device to execute each target action in sequence according to the sequence of at least one target action indicated in the action file, so that at least one second electronic device as a whole presents corresponding demonstration effects and other action effects.

[0113] There are many possible implementations of controlling the second electronic device to perform each target action, which are described below in combination with several possible implementations:

[0114] In a possible implementation, for each second electronic device, an action file to be executed by the second electronic device may be sent to the second electronic device to trigger the second electronic device to execute each target action indicated by the action file.

[0115] In this implementation, after receiving the action file, the second electronic device can sequentially execute each target action in the action file. Of course, the action file may include the execution time of each target action, and on this basis, the second electronic device can execute the target action according to the execution time of each target action in the action file when the execution time of the target action is reached.

[0116] In another possible implementation, for each second electronic device, the first electronic device may further send a file indication instruction to the second electronic device, wherein the file indication instruction indicates an identifier of an action file to be executed in the second electronic device.

[0117] In this possible implementation, a plurality of candidate action files may be pre-configured in the second electronic device. Accordingly, the identifier of the action file sent by the first electronic device to the second electronic device belongs to the identifier of at least one candidate action file configured in the second electronic device. Based on this, the second electronic device can determine the action file to be executed from the plurality of pre-configured candidate action files based on the identifier of the action file, and execute each target action in the action file in sequence. For example, each target action is executed in sequence according to the execution time of each target action in the action file, and the details are not repeated here.

[0118] In another possible implementation, for each second electronic device, the first electronic device may send an action control instruction to the second electronic device based on the action file to be executed by the second electronic device, when determining that the execution time of the target action indicated by the action file has arrived.

[0119] The action control instruction is used to instruct the second electronic device to execute the target action. For example, the action control instruction may include the specific action content required to execute the target action; or include the action script required to execute the target action, so that the second electronic device executes the action script corresponding to the target action to complete the execution of the target action.

[0120] Of course, there are other possibilities for the specific implementation of the first electronic device controlling the second electronic device to execute each target action in the action sequence, which will not be elaborated here.

[0121] In the present application, there are also many possibilities for the specific implementation of determining the action sequence to be executed by the second electronic device, and a possible implementation is described below. Figure 5 , shows another flow chart of a device control method provided in an embodiment of the present application, and the method of this embodiment can be applied to a first electronic device. This embodiment may include:

[0122] S501: Establish a communication connection between a first electronic device and at least one second electronic device.

[0123] The second electronic device has a display device, which can be driven by a driving component so that a display area of ​​the display device used for displaying output has different sizes.

[0124] S502: Obtain current first posture information of each second electronic device.

[0125] The first posture information is used to represent at least one of the size of a display area of ​​a display device of the second electronic device and the device posture of the second electronic device.

[0126] In this embodiment, the device posture of the second electronic device is used to represent at least one of the position information and the spatial posture of the second electronic device.

[0127] The above two steps can be referred to the related introduction of the previous embodiment, which will not be repeated here.

[0128] S503, determining a relative posture relationship between display areas of the display devices of the second electronic devices based on at least one of the position information and the spatial posture of each second electronic device and the size of the display area of ​​the display device of each second electronic device.

[0129] It is understandable that the relative positional relationship of the display areas of the second electronic devices in space can be reflected based on the position information of the second electronic devices. For example, the display area of ​​the second electronic device is above the display area of ​​a second electronic device and to the left of the display area of ​​another second electronic device.

[0130] The relative posture relationship of the image display direction and orientation of each display area of ​​each second electronic device can be reflected based on the spatial posture of each second electronic device.

[0131] For example, when the second electronic device A is in an inverted state, the display area of ​​the second electronic device B displays images from bottom to top, and when the second electronic device B is in a horizontal inverted state, the display area of ​​the second electronic device B needs to display images from left to right or from right to left, etc. For another example, when the display areas of the second electronic device A and the second electronic device B are facing away from each other, when the display area of ​​the second electronic device A faces a certain user, the display area of ​​the second electronic device B faces away from the user.

[0132] On this basis, based on the position information, spatial posture and size of the display area of ​​each second electronic device, the position relationship, direction, orientation and size relationship between the display areas of each second electronic device can be determined.

[0133] S504: Determine the action files to be executed by each second electronic device based on the relative posture relationship between the display areas of the display devices of each second electronic device.

[0134] It can be understood that since the relative posture relationship between the display areas of each second electronic device can characterize the relative size, position and spatial state of the display areas of each second electronic device, therefore, combined with the relative posture relationship, the first electronic device can determine the placement of each second electronic device and the specific state of the display area of ​​the display device, thereby determining the action file that each second electronic device needs to execute in order to achieve the desired action effect.

[0135] For example, for an action effect that needs to be presented by at least one second electronic device, the present application can pre-configure at least one action file required to implement the action effect in the second electronic device, and configure the relative posture relationship of the second electronic device that executes the action file relative to other electronic devices. On this basis, based on the relative posture relationship of the display area of ​​the second electronic device relative to the display area of ​​other second electronic devices, an action file matching the relative posture corresponding to the second electronic device can be determined.

[0136] The action file is used to indicate at least one target action to be performed by the second electronic device.

[0137] S505: For each second electronic device, based on the action file to be executed by the second electronic device, control the second electronic device to execute each target action indicated by the action file.

[0138] For step S505, reference may be made to the related introduction of the previous embodiment, which will not be described again here.

[0139] For ease of understanding Figure 5 The specific implementation and benefits of the embodiments are described below in conjunction with several specific application scenarios.

[0140] In a first possible scenario, the first electronic device may determine a plurality of action files corresponding to the target relative posture relationship in response to the relative posture relationship between the display areas of the display devices of the second electronic devices being a target relative posture relationship.

[0141] The action file includes information of at least one driving action to be sequentially executed by the driving component of the second electronic device, and at least one frame of display image matching the at least one driving action. The at least one driving action is used to gradually drive the display device of the second electronic device according to the set driving step length to gradually increase the size of the display area of ​​the display device in the second electronic device.

[0142] At least one frame display image in different action files is different.

[0143] On this basis, for each second electronic device, based on the posture relationship between the display area of ​​the display device of the second electronic device and the corresponding display areas of other electronic devices, the target action file to be executed by the second electronic device is determined from the multiple action files.

[0144] At least one frame of display image in the target action file is used to present an image effect of the target object moving from a first position point to a second position point in the display area of ​​the second electronic device.

[0145] Among them, the second position point is a vertex in the display area of ​​the second electronic device that is closest to the display area of ​​other second electronic devices when the driving component performs the at least one driving action, the first position point is another vertex on the display area of ​​the second electronic device, and the first position point and the second position point are located on a diagonal line of the display area of ​​the second electronic device.

[0146] Correspondingly, each second electronic device can achieve the effect of merging multiple objects from multiple different vertices in multiple display areas to the same position point by executing each target action in its corresponding action file.

[0147] like Figure 6 An example diagram showing a demonstration action presented by a first electronic device controlling the display areas of four second electronic devices is shown.

[0148] Depend on Figure 6The four second electronic devices shown on the left side of the middle arrow are each in a posture corresponding to the first posture information. It can be seen that the four second electronic devices are divided into two groups, the display areas of the two second electronic devices in each group are adjacent, and the display areas of the two second electronic devices in the group are opposite to the display areas of the two second electronic devices in the other group. At the same time, the display areas of the four second electronic devices are relatively small, so that there is a gap between the display areas of the two second electronic devices facing each other.

[0149] When each second electronic device is in the first posture, at least one frame of image is sequentially displayed in the display area of ​​each second electronic device, and while displaying the at least one frame of image, the driving component of the second electronic device drives the display device to gradually increase the size of the display area.

[0150] Among them, there is a bubble in each frame image displayed in the display area of ​​the second electronic device, and the position of the bubble in each frame image is different, but the change in the position of the bubble in at least one frame image presents an image effect of moving from one corner of the display area to another diagonal corner, so that the bubbles displayed on each second electronic device finally converge together.

[0151] like Figure 6 As shown on the right side of the middle arrow, the sizes of the display areas of the four second electronic devices gradually increase, and eventually the display areas of the four second electronic devices are spliced ​​together (that is, the display areas of the four second electronic devices are arranged in a T-shaped arrangement), and the bubbles in the display areas of the four second electronic devices merge into a large bubble.

[0152] In the first possible scenario above, each target action in the action file of each second electronic device indicates adjusting the size of the display area of ​​each second electronic device, and the adjustment amplitude and action direction of the size of the display area in the target actions to be executed at the same execution time in the action files of each second electronic device are the same.

[0153] The second possible application scenario of this application can be found in Figure 7 ,exist Figure 7 Another example diagram showing a demonstration action presented as a whole by four second electronic devices.

[0154] exist Figure 7 In the embodiment, four second electronic devices are placed side by side in a forward direction, so the display areas of the four second electronic devices are arranged in sequence.

[0155] In this scenario, each target action in the action file of each second electronic device may indicate the moment when the display area of ​​the second electronic device is increased or decreased, and the display screen to be output at the corresponding moment.

[0156] For example, the display areas of the four second electronic devices can demonstrate an image effect of an airplane moving from the display area of ​​the first electronic device on the left to the display area of ​​the second electronic device on the right. Moreover, the size of the display area of ​​each second electronic device gradually increases and then gradually decreases, so that it is finally presented that when the airplane arrives at the display area of ​​the second electronic device, the size of the display area of ​​the second electronic device is larger, and when the airplane leaves the display area of ​​the second electronic device, the size of the display area of ​​the second electronic device decreases.

[0157] The third possible application scenario of this application can be found in Figure 8 shown.

[0158] exist Figure 8 In the example, four second electronic devices are still used to demonstrate the action effect. Figure 8 Each box represents a display area of ​​a second electronic device.

[0159] exist Figure 8 The left side of the middle arrow shows the initial demonstration action effects presented in the display areas of the four second electronic devices. From the sizes of the display areas of the four second electronic devices on the left side of the arrow and the displayed image contents, it can be seen that in the initial state, the sizes of the display areas of the two second electronic devices located in the upper left corner and the lower right corner are relatively large, while the sizes of the display areas of the two second electronic devices located in the lower left corner and the upper right corner are relatively small, and the display areas of the four second electronic devices display images of different colors.

[0160] On this basis, for the second electronic devices located at the upper left corner and the lower right corner, each target action in the action file determined by the first electronic device can be used to control the second electronic devices to gradually reduce the size of the display area. For the two second electronic devices located at the lower left corner and the upper right corner, each target action in the action file determined by the first electronic device can be used to control the second electronic devices to gradually increase the size of the display area.

[0161] Of course, the colors indicated by the target actions in the action files corresponding to the four second electronic devices may also be different.

[0162] On the basis of the above, the first electronic device controls the four second electronic devices to respectively execute the target actions in the corresponding action files, and finally achieves an effect similar to "fighting forward and backward", that is, finally presents Figure 8 The image effect is shown to the right of the arrow in the figure.

[0163] The fourth possible application scenario of this application can be found in Fig. 9 shown.

[0164] exist Fig. 9In the example, two second electronic devices cooperate with each other to present the required demonstration action effect.

[0165] exist Fig. 9 It is taken as an example that both the two second electronic devices are laptop computers, and the two laptop computers are inverted horizontally, and the display devices of the two laptop computers are opposite to each other.

[0166] In the initial state, the relative postures of the two second electronic devices are as follows: Fig. 9 As shown above the solid arrow, on this basis, for the first electronic device on the left, by executing each target action in the corresponding action file, the display area of ​​the first electronic device can be continuously increased, so that the display area of ​​the first electronic device extends to the right (such as Fig. 9 At the same time, by executing each target action in the corresponding action file, the display area of ​​the second electronic device presents an image of the tracking spacecraft gradually approaching the space station presented by the second electronic device on the right.

[0167] On this basis, the final relative posture of the display areas of the two second electronic devices is as shown in the image below the solid arrow. The display areas of the two second electronic devices are spliced ​​together, and the display areas of the two second electronic devices display the docking of the tracking spacecraft and the space station.

[0168] It is understandable that, in any of the above embodiments, in order to avoid abnormal execution of the action of one or more second electronic devices, resulting in the action effect of at least one second electronic device as a whole being inconsistent with expectations, in the process of controlling each second electronic device to execute each target action in the action sequence, the present application can also obtain the second posture information of the second electronic device in the process of executing the target action. In other words, in the process of each second electronic device executing each target action in the action sequence, the second posture information of the second electronic device is obtained.

[0169] For example, in the process of the first electronic device controlling the second electronic device to perform each target action in the action sequence, the first electronic device can periodically or irregularly send a second posture request to each second electronic device, and obtain the second posture information returned by each second electronic device in response to the second posture request.

[0170] For another example, while the first electronic device controls the second electronic device to execute the action sequence, the first electronic device sends a gesture return instruction to the second electronic device, and the gesture return instruction is used to instruct the second electronic device to return gesture information regularly or irregularly. Accordingly, the first electronic device can obtain the second gesture information returned by the second electronic device.

[0171] On this basis, if a second electronic device with abnormal action execution is determined based on the second posture information of each second electronic device and the target action currently executed by each second electronic device, a posture reset instruction is sent to each second electronic device.

[0172] The posture reset instruction is used to instruct the second electronic device to return to the posture represented by its corresponding first posture information.

[0173] It is understandable that if there is a second electronic device that performs an action abnormally, then the overall action effect presented by each second electronic device will be different from the expected action effect. On this basis, in order to accurately present action effects such as demonstration actions, the present application will instruct each second electronic device to restore to its original posture, that is, control the second electronic device to restore to the posture corresponding to the first posture information, so as to re-control each second electronic device to perform the corresponding action.

[0174] The device control method of the present application is introduced below from the second electronic device side.

[0175] like Fig.10 , shows another flow chart of the device control method provided by the present application. The method of this embodiment is applied to a second electronic device. This embodiment may include:

[0176] S1001: Establish a communication connection between a second electronic device and a first electronic device.

[0177] The second electronic device has a display device, which can be driven by a driving component so that a display area of ​​the display device used for displaying output has different sizes.

[0178] For a detailed description of the display device of the second electronic device, reference may be made to the related description of the previous embodiment, which will not be repeated here.

[0179] The specific implementation of establishing a communication connection between the first electronic device and the second electronic device can also refer to the above related introduction.

[0180] S1002: Obtain first posture information of a second electronic device.

[0181] The first posture information is used to represent at least one of the size of the display area of ​​the display device and the device posture of the second electronic device.

[0182] S1003: Send the first posture information to the first electronic device.

[0183] For example, after the second electronic device establishes a communication connection with the first electronic device, the second electronic device actively or upon detecting a posture reporting instruction from the user, determines the current first posture information of the second electronic device and sends it to the second electronic device.

[0184] For another example, in response to the first posture request sent by the first electronic device, the second electronic device determines the first posture information of the second electronic device and sends it to the first electronic device.

[0185] S1004: Execute each target action in the action sequence according to the control instruction of the first electronic device.

[0186] Among them, if the control instructions of the first electronic device are different, the specific implementation method of the second electronic device to execute the target action will also be different.

[0187] In a possible implementation, the second electronic device can obtain the action file sent by the first electronic device and execute each target action indicated in the action file. The specific implementation of the second electronic device executing each target action in the action file can refer to the relevant introduction of the previous embodiment, which will not be repeated here.

[0188] In another possible implementation, the second electronic device obtains a file instruction sent by the first electronic device. In response to an identifier of an action file indicated by the file instruction, the second electronic device executes each target action indicated in the action file configured in the second electronic device. The action file belongs to at least one candidate action file configured in the second electronic device.

[0189] In another possible implementation, the second electronic device executes a target action indicated by the action control instruction in response to the first electronic device sending the action control instruction, and the target action belongs to at least one target action in an action sequence to be executed by the second electronic device.

[0190] From the above content, it can be seen that, under the premise that the display area provided by the display device of the second electronic device is adjustable and the second electronic device establishes a communication connection with the first electronic device, the second electronic device can send its first posture information to the first electronic device, so that the first electronic device can control the second electronic device to perform each target action in the corresponding action sequence based on the first posture information, thereby realizing the use of the first electronic device to control different second electronic devices to perform the required actions, and naturally can realize the control of at least one second electronic device to cooperate with each other to present the required action effect.

[0191] There are many possibilities for the specific implementation of the second electronic device obtaining the first posture information, and this application does not impose any limitation on this.

[0192] In a possible implementation, the present application can obtain the size of the display area of ​​the display device driven by the driving component through the first system, and obtain the device posture of the second electronic device using the posture sensor. On this basis, at least one of the size of the display area of ​​the display device and the device posture can be determined as the first posture information.

[0193] In the present application, the first system can guide the second system of the second electronic device to run. When the second electronic device runs the second system, each target action in the action sequence can be executed.

[0194] For example, the first system may include a Basic Input Output System (BIOS) in the second electronic device. Based on this, the size of the display area currently possessed by the display device may be obtained from an Embedded Controller (EC) in the second electronic device through the BIOS. For example, the EC may be connected to a control chip connected to a driving component, and the control chip may obtain the action state of the driving component driving the display device, and determine the size of the display area currently corresponding to the display device.

[0195] The second system may include at least a processor, and of course, may also include a memory connected to the processor.

[0196] On the other hand, corresponding to the operation of the device control method of the present application on the first electronic device side, the present application also provides a device control apparatus. Fig.11 FIG. 1 shows a schematic diagram of a structure of a device control device provided by the present application. The device can be applied to a first electronic device, and the device may include:

[0197] A communication connection unit 1101 is used to establish a communication connection between the first electronic device and at least one second electronic device, wherein the second electronic device has a display device, and the display device can be driven by a driving component so that a display area of ​​the display device for displaying output has different sizes;

[0198] A first posture obtaining unit 1102 is used to obtain current first posture information of the second electronic device, where the first posture information is used to represent at least one of the size of the display area of ​​the display device and the device posture of the second electronic device;

[0199] A sequence determination unit 1103 is used to determine, based on the first posture information of each second electronic device, an action sequence to be performed by each second electronic device, wherein the action sequence includes at least one target action, and the target action is used to indicate at least one of multimedia to be output by the second electronic device and adjusting the size of the display area of ​​the display device;

[0200] The action control unit 1104 is used to control the second electronic device to execute each target action in the action sequence based on the action sequence to be executed by the second electronic device.

[0201] In a possible implementation, the device further includes:

[0202] A second posture obtaining unit, used to obtain second posture information of the second electronic device during the process of performing the target action;

[0203] A posture resetting unit is used to send a posture resetting instruction to each second electronic device if it is determined that a second electronic device has an abnormal action execution based on the second posture information of each second electronic device and the target action currently executed by each second electronic device. The posture resetting instruction is used to instruct the second electronic device to return to the posture represented by its corresponding first posture information.

[0204] On the other hand, corresponding to the operation of the device control method on the second electronic device side, the present application also provides a device control apparatus. Fig.12 , shows a schematic diagram of a composition structure of a device control device provided by the present application, the device is applied to a second electronic device, and includes:

[0205] The communication establishing unit 1201 is used to establish a communication connection between a second electronic device and a first electronic device, wherein the second electronic device has a display device, and the display device can be driven by a driving component so that a display area of ​​the display device for displaying output has different sizes;

[0206] The posture obtaining unit 1202 is used to obtain first posture information of the second electronic device, where the first posture information is used to represent at least one of the size of the display area of ​​the display device and the device posture of the second electronic device;

[0207] A gesture sending unit 1203, configured to send the first gesture information to the first electronic device;

[0208] The action execution unit 1204 is used to execute each target action in the action sequence according to the control instruction of the first electronic device.

[0209] In another aspect, the present application also provides an electronic device, such as Fig.13 A schematic diagram of a composition structure of an electronic device provided by the present application is shown. The electronic device of this embodiment may include: a display device 1301, a driving component 1302, a communication module 1303 and a processor 1304;

[0210] The driving component 1302 is used to drive the display device to operate;

[0211] The display device 1301 is used to operate under the driving of the driving component to adjust the size of the display area used for displaying output;

[0212] The communication module 1303 is used to establish a communication connection between the electronic device and the first electronic device;

[0213] The processor 1304 is configured to obtain first posture information of the electronic device, where the first posture information is used to represent at least one of a size of the display area of ​​the display device and a device posture of the electronic device;

[0214] The communication module 1303 is further configured to send the first posture information to the first electronic device;

[0215] The processor 1304 is further configured to execute each target action in the action sequence according to the control instruction of the first electronic device.

[0216] The driving component may be directly or indirectly connected to the processor to drive the display device under the control of the processor.

[0217] Of course, the electronic device may also include a memory for storing programs required for the processor to perform operations.

[0218] Furthermore, the electronic device may also include an embedded controller, etc., which is not limited.

[0219] In a possible implementation, the display device is used to move along a first direction under the drive of the drive component to increase the size of a display area of ​​the display device used for displaying output;

[0220] Furthermore, the display device is further configured to move along a second direction under the drive of the drive component to reduce the size of a display area of ​​the display device used for displaying outputs, and the first direction and the second direction are parallel to each other.

[0221] In another aspect, an electronic device is provided in an embodiment of the present application. Fig.14 , which shows a schematic diagram of a composition structure of the electronic device, and the electronic device at least includes a processor 1401 and a memory 1402;

[0222] The processor 1401 is configured to execute the device control method as described in any of the above embodiments executed by the first electronic device side;

[0223] The memory 1402 is used to store programs required for the processor to perform operations.

[0224] It is understandable that the electronic device may further include a display unit 1403 and an input unit 1404 .

[0225] Of course, the electronic device may also have Fig.14 There may be more or fewer components, without limitation.

[0226] A computer program product is also provided in an embodiment of the present application, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any device control method provided in the embodiment of the present application.

[0227] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any device control method provided in the embodiment of the present application.

[0228] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0229] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0230] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0231] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A device control method, applied to a first electronic device, comprising: Establishing a communication connection between the first electronic device and at least one second electronic device, wherein the second electronic device has a display device, and the display device can be driven by a driving component so that a display area of ​​the display device for displaying output has different sizes; Obtaining current first posture information of the second electronic device, where the first posture information is used to represent at least one of a size of the display area of ​​the display device and a device posture of the second electronic device; Determine, based on the first posture information of each second electronic device, an action sequence to be performed by each second electronic device, wherein the action sequence includes at least one target action, and the target action is used to indicate at least one of multimedia to be output by the second electronic device and adjusting the size of the display area of ​​the display device; Based on the action sequence to be executed by the second electronic device, the second electronic device is controlled to execute each target action in the action sequence.

2. The device control method according to claim 1, wherein the display device can be driven by the driving component so that the display area of ​​the display device for displaying output has different sizes, comprising: The display device can move along a first direction under the driving of the driving component to increase the size of a display area of ​​the display device for displaying output; Furthermore, the display device can move along a second direction under the drive of the driving component to reduce the size of a display area of ​​the display device used for displaying outputs, and the first direction and the second direction are parallel to each other.

3. The device control method according to claim 1, wherein determining the action sequence to be executed by each second electronic device based on the first posture information of each second electronic device comprises: Determining, based on the first posture information of each second electronic device, an action file to be executed by each second electronic device, wherein the action file is used to indicate at least one target action to be executed by the second electronic device; The controlling the second electronic device to execute each target action in the action sequence based on the action sequence to be executed by the second electronic device includes: Based on the action file to be executed by the second electronic device, the second electronic device is controlled to execute each target action indicated by the action file.

4. The device control method according to claim 3, wherein the controlling the second electronic device to execute each target action indicated by the action file based on the action file to be executed by the second electronic device comprises at least one of the following: Sending the action file to be executed by the second electronic device to the second electronic device, so as to trigger the second electronic device to execute each target action indicated by the action file; Sending a file indication instruction to the second electronic device, wherein the file indication instruction indicates an identifier of an action file to be executed in the second electronic device, and the identifier of the action file belongs to an identifier of at least one candidate action file configured in the second electronic device; Based on the action file to be executed by the second electronic device, when it is determined that the execution time of the target action indicated by the action file has arrived, an action control instruction is sent to the second electronic device, wherein the action control instruction is used to instruct the second electronic device to execute the target action.

5. The device control method according to claim 3, wherein the device posture of the second electronic device is used to represent at least one of the position information and the spatial posture of the second electronic device; The step of determining the action file to be executed by each second electronic device based on the first posture information of each second electronic device includes: Determine a relative posture relationship between the display areas of the display devices of the second electronic devices based on at least one of the position information and the spatial posture of each second electronic device and the size of the display area of ​​the display device of each second electronic device; Based on the relative posture relationship between the display areas of the display devices of the second electronic devices, the action files to be executed by the second electronic devices are determined.

6. The device control method according to claim 5, wherein the step of determining the action files to be executed by each second electronic device based on the relative posture relationship between the display areas of the display devices of each second electronic device comprises: In response to the relative posture relationship between the display areas of the display devices of the second electronic devices being a target relative posture relationship, determining a plurality of action files corresponding to the target posture relationship; The action file includes information of at least one driving action to be sequentially executed by a driving component of the second electronic device, and at least one frame of display image matching the at least one driving action; the at least one driving action is used to gradually drive the display device of the second electronic device according to a set driving step length, so as to gradually increase the size of a display area of ​​the display device in the second electronic device; the at least one frame of display image in different action files is different; For each second electronic device, based on the posture relationship between the display area of ​​the display device of the second electronic device and the display areas corresponding to other electronic devices, determine the target action file to be executed by the second electronic device from the multiple action files; Among them, at least one frame of display image in the target action file is used to present an image effect of the target object moving from a first position point to a second position point in the display area of ​​the second electronic device, the second position point being a vertex in the display area of ​​the second electronic device that is closest to the display area of ​​other second electronic devices when the driving component completes the at least one driving action, the first position point is another vertex on the display area of ​​the second electronic device, and the first position point and the second position point are located on a diagonal line of the display area of ​​the second electronic device.

7. The device control method according to claim 1, further comprising: Obtaining second posture information of the second electronic device during the process of performing the target action; If, based on the second posture information of each second electronic device and the target action currently performed by each second electronic device, it is determined that a second electronic device has an abnormal action execution, a posture reset instruction is sent to each second electronic device, wherein the posture reset instruction is used to instruct the second electronic device to return to the posture represented by its corresponding first posture information.

8. A device control method, applied to a second electronic device, comprising: Establishing a communication connection between a second electronic device and the first electronic device, wherein the second electronic device has a display device, and the display device can be driven by a driving component so that a display area of ​​the display device for displaying output has different sizes; Obtaining first posture information of the second electronic device, where the first posture information is used to represent at least one of a size of the display area of ​​the display device and a device posture of the second electronic device; sending the first posture information to the first electronic device; According to the control instruction of the first electronic device, each target action in the action sequence is executed.

9. The device control method according to claim 7, wherein obtaining the first posture information of the second electronic device comprises at least one of the following: Obtaining, by the first system, the size of a display area of ​​the display device when driven by a driving component; obtaining a device posture of the second electronic device using a posture sensor; At least one of a size of a display area of ​​the display device and the device posture is determined as first posture information.

10. An electronic device comprising: Display device, drive assembly, communication module and processor; Wherein, the driving component is used to drive the display device to operate; The display device is used to move under the drive of the driving component to adjust the size of the display area used for displaying output; The communication module is used to establish a communication connection between the electronic device and the first electronic device; The processor is used to obtain first posture information of the electronic device, where the first posture information is used to represent at least one of a size of the display area of ​​the display device and a device posture of the electronic device; The communication module is further used to send the first posture information to the first electronic device; The processor is further configured to execute each target action in the action sequence according to the control instruction of the first electronic device.