Device control method, device, storage medium and electronic device

By using a retractable display in electronic devices, obtaining its stretch length and performing corresponding operations, the problem of insufficient operability of electronic devices is solved, achieving a more flexible user operation experience and an efficient application opening method.

CN113778296BActive Publication Date: 2025-01-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010524615.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-10
Publication Date
2025-01-07
Estimated Expiration
2040-06-10

AI Technical Summary

Technical Problem

The operability of electronic devices is not high, and the flexibility of users is insufficient when operating, and the existing technology cannot be effectively improved.

Method used

By introducing a retractable display screen into the electronic device, obtaining its stretch length and obtaining corresponding operation instructions according to the length, performing corresponding operations, enriching the operation form.

Benefits of technology

The operability of electronic devices is improved, and users can quickly open applications through a telescopic display screen, simplifying the operation process and improving operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113778296B_ABST
    Figure CN113778296B_ABST
Patent Text Reader

Abstract

The present application discloses a device control method, apparatus, storage medium and electronic device. The device control method can be applied to an electronic device, the electronic device includes a retractable display screen, and the device control method includes: obtaining the extended length of the retractable display screen; obtaining an operation instruction corresponding to the extended length; and executing an operation corresponding to the operation instruction. The present application can improve the operability of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of technology, the form of electronic devices is also changing. From small screens to large screens, from display screens that are simply used to display images and text to touch display screens that can receive user touch operations, etc. However, in the related art, users are still not flexible enough when operating electronic devices. That is, the operability of electronic devices is not high. Summary of the invention

[0003] The embodiments of the present application provide a device control method, apparatus, storage medium and electronic device, which can improve the operability of the electronic device.

[0004] In a first aspect, an embodiment of the present application provides a device control method, which is applied to an electronic device, wherein the electronic device includes a retractable display screen, and the method includes:

[0005] Obtaining the extended length of the retractable display screen;

[0006] Obtaining an operation instruction corresponding to the stretching length;

[0007] Execute the operation corresponding to the operation instruction.

[0008] In a second aspect, an embodiment of the present application provides a device control apparatus, which is applied to an electronic device, wherein the electronic device includes a retractable display screen, and the apparatus includes:

[0009] A first acquisition module, used to acquire the extended length of the retractable display screen;

[0010] A second acquisition module, used to acquire an operation instruction corresponding to the stretching length;

[0011] The processing module is used to execute the operation corresponding to the operation instruction.

[0012] In a third aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the process in the device control method provided by the embodiment of the present application.

[0013] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the processor executes the process in the device control method provided in the embodiment of the present application by calling a computer program stored in the memory.

[0014] In the embodiment of the present application, the electronic device can first obtain the extended length of the retractable display screen, then obtain the operation instruction corresponding to the extended length, and execute the operation corresponding to the operation instruction. Since the electronic device in the embodiment of the present application can execute the corresponding operation according to the extended length of the retractable display screen, the embodiment of the present application can enrich the operation form of the electronic device, that is, improve the operability of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The technical solution and beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0016] Figures 1 to 5 A schematic structural diagram of an electronic device with a retractable display screen provided in an embodiment of the present application.

[0017] Figure 6 It is a flow chart of the device control method provided in the embodiment of the present application.

[0018] Figure 7 It is another flow chart of the device control method provided in an embodiment of the present application.

[0019] Figure 8 It is a schematic diagram of the shape of the display screen when the retractable display screen provided in the embodiment of the present application is in a retracted state.

[0020] Fig. 9 It is a schematic diagram of the shape of the display screen when the retractable display screen provided in the embodiment of the present application is in an extended state.

[0021] Fig.10 It is a schematic diagram of displaying an image of a scale on a retractable display screen provided in an embodiment of the present application.

[0022] Fig.11 This is another flow chart of the device control method provided in the embodiment of the present application.

[0023] Fig.12 It is a structural schematic diagram of the equipment control device provided in an embodiment of the present application.

[0024] Fig.13 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0025] Fig.14 It is another structural schematic diagram of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] Please refer to the drawings, where the same component symbols represent the same components. The principle of the present application is illustrated by implementing it in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.

[0027] See also Figures 1 to 3 , Figures 1 to 3 It is a schematic diagram of the structure of an electronic device with a retractable touch display screen provided in an embodiment of the present application.

[0028] The electronic device 100 of this embodiment includes a housing assembly 10, a flexible display screen 30, a driving member 50 and a driving mechanism 70. The housing assembly 10 is a hollow structure. The driving member 50, the driving mechanism 70 and the camera 90 and other components can be arranged in the housing assembly 10. It is understood that the electronic device 100 of the embodiment of the present application includes but is not limited to mobile terminals such as mobile phones and tablet computers or other portable electronic devices. In this article, the electronic device 100 is taken as an example of a mobile phone for description.

[0029] In this embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 can move relative to each other. In this embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 can slide relative to the first housing 12.

[0030] See also Figure 4 and Figure 5 The first housing 12 and the second housing 14 together form a receiving space 16. The receiving space 16 can be used to place components such as the driving member 50, the camera 60 and the driving mechanism 70. The housing assembly 10 may further include a back cover 18, which together with the first housing 12 and the second housing 14 form the receiving space 16.

[0031] The driving member 50 is disposed on the second housing 14, one end of the flexible display screen 30 is disposed on the first housing 12, the flexible display screen 30 bypasses the driving member 50, and the other end of the flexible display screen is disposed in the accommodating space 16, so that part of the flexible display screen is hidden in the accommodating space 16, and the part of the flexible display screen 30 hidden in the accommodating space 16 may not be lit. The first housing 12 and the second housing 14 are relatively far apart, and the flexible display screen 30 can be driven to unfold by the driving member 50, so that more of the flexible display screen 30 is exposed outside the accommodating space 16, such as Figure 5 The flexible display screen 30 exposed outside the accommodation space 16 is illuminated to enlarge the display area presented by the electronic device 100. For example, Figure 1 to Figure 2 It can be a comparison of the morphological changes of the flexible display screen 30 of the electronic device from the contracted state to the laterally extended state.

[0032] The driving member 50 can be a rotating shaft structure with teeth 52 on the outside. The flexible display screen 30 is linked to the driving member 50 by meshing or the like. When the first shell 12 and the second shell 14 are relatively far away from each other, the driving member 50 drives the part of the flexible display screen 30 meshed on the driving member 50 to move and unfold.

[0033] It is understandable that the driving member 50 may also be a round shaft without the teeth 52. When the first housing 12 and the second housing 14 are relatively far apart, the driving member 50 is used to open the part of the flexible display screen 30 wound on the driving member 50, so that more of the flexible display screen is exposed outside the accommodating space 16 and is in a flat state. Specifically, the driving member 50 is rotatably disposed on the second housing 14. When the flexible display screen 30 is gradually opened, the driving member 50 can rotate with the movement of the flexible display screen 30.

[0034] In other embodiments, the driving member 50 may also be fixed on the second housing 14, and the driving member 50 has a smooth surface. When the flexible display screen 30 is opened, the driving member 50 can slidably contact with the flexible display screen 30 through its smooth surface.

[0035] When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen can be driven to retract by the driving member 50. Alternatively, the electronic device 100 further includes a reset member (not shown), and one end of the flexible display screen accommodated in the accommodating space 16 is linked to the reset member. When the first housing 12 and the second housing 14 are relatively close to each other, the reset member drives the flexible display screen 30 to reset, thereby partially retracting the flexible display screen into the accommodating space 16.

[0036] In this embodiment, the driving mechanism 70 may be disposed in the accommodating space 16, and the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is used to drive the second housing 14 to move away from the first housing 12, thereby driving the flexible display assembly 30 to extend. It is understandable that the driving mechanism 70 may also be omitted, and the user may directly make the first housing and the second housing move relative to each other manually or in other ways.

[0037] It should be noted that, in addition to Figures 1 to 5 In addition to the hardware arrangement design that allows the flexible display screen to be extended and retracted in the lateral direction of the electronic device (for example, extension and retraction in the left and right direction), in some other embodiments, the direction of the hardware arrangement design can also be changed so that the flexible display screen can be extended and retracted in the longitudinal direction of the electronic device (for example, extension and retraction in the up and down direction).

[0038] It is understandable that the execution subject of the embodiments of the present application may be an electronic device such as a smart phone or a tablet computer.

[0039] See also Figure 6 , Figure 6 : is a flow chart of a device control method provided in an embodiment of the present application. The device control method can be applied to an electronic device. The electronic device can have a retractable display screen. The process of the device control method can include:

[0040] 101. Obtain an extended length of a retractable display screen.

[0041] With the continuous development of technology, the form of electronic devices is also changing. From small screens to large screens, from display screens that are simply used to display images and text to touch display screens that can receive user touch operations, etc. However, in the related art, users are still not flexible enough when operating electronic devices. That is, the operability of electronic devices is not high.

[0042] It should be noted that in the embodiments of the present application, the electronic device may have a retractable display panel. The retractable display panel may be a retractable display panel (The Retractable Display Panel). The retractable display panel may be a flexible display panel, which may be bent, curled, folded, etc. On an electronic device equipped with a retractable display panel, the visible size of the screen may be increased by stretching the retractable display panel, and the visible size of the screen may be reduced by shrinking the retractable display panel. For example, Figures 1 to 5 The flexible display screen 30 is a retractable display screen.

[0043] In an embodiment of the present application, for example, the electronic device can obtain the extended length of the retractable display screen.

[0044] 102. Obtain an operation instruction corresponding to the stretching length.

[0045] 103. Execute an operation corresponding to the operation instruction.

[0046] For example, 102 and 103 may include:

[0047] After acquiring the extended length of the retractable display screen, the electronic device may acquire an operation instruction corresponding to the extended length and execute an operation corresponding to the operation instruction.

[0048] For example, the electronic device may pre-set operation instructions corresponding to various extension lengths of the retractable display screen. For example, the electronic device pre-sets that when the extension length of the retractable display screen is 2 cm, the electronic device performs an operation corresponding to operation instruction A. When the extension length of the retractable display screen is 3 cm, the electronic device performs an operation corresponding to operation instruction B, and so on.

[0049] Then, when the retractable display screen is stretched or driven to extend, the electronic device can obtain the extended length of the retractable display screen. Then, the electronic device can obtain the operation instruction corresponding to the current extended length of the retractable display screen and perform the operation corresponding to the operation instruction. For example, if the electronic device obtains that the current extended length of the retractable display screen is 3 cm, then the electronic device can obtain the operation instruction B and perform the operation corresponding to the operation instruction B.

[0050] It is understandable that in the embodiment of the present application, the electronic device can first obtain the extended length of the retractable display screen, then obtain the operation instruction corresponding to the extended length, and perform the operation corresponding to the operation instruction. Since the electronic device in the embodiment of the present application can perform the corresponding operation according to the extended length of the retractable display screen, the embodiment of the present application can enrich the operation form of the electronic device, that is, improve the operability of the electronic device.

[0051] See also Figure 7 , Figure 7 Another flow chart of the device control method provided in the embodiment of the present application. The device control method can be applied to an electronic device. The electronic device can have a retractable display screen. The process of the device control method can include:

[0052] 201. When the retractable display screen is retracted to a second position and stays at the second position for a time period greater than or equal to a preset time period, the electronic device obtains an extended length of the retractable display screen, where the extended length is a difference in length of the display screen between the second position and the first position, wherein the electronic device determines the relative position of the retractable display screen to the electronic device when it is not extended as the first position of the retractable display screen.

[0053] For example, the electronic device provided in the embodiment of the present application may include a retractable display screen. The retractable display screen may be a retractable and curlable display screen. The retractable display screen may be a flexible display screen, which may be bent, curled, folded, etc. On the electronic device equipped with a retractable display screen, the visible size of the screen may be increased by stretching the screen, and the visible size of the screen may be reduced by shrinking the screen. For example, see Figure 8 and Fig. 9 , Figure 8 FIG. 4 shows the shape of the screen of the electronic device when the retractable display screen is in a fully retracted state. Fig. 9 The diagram shows the shape of the screen of the electronic device when the retractable display screen is in an extended state.

[0054] In the embodiment of the present application, the electronic device can determine the relative position of the retractable display screen to the electronic device when the retractable display screen is not fully extended as the first position of the retractable display screen. That is, in the embodiment of the present application, the electronic device can determine the position of the retractable display screen when the retractable display screen is fully retracted as the first position of the retractable display screen. Figure 8 shown.

[0055] In the embodiment of the present application, the user can stretch the retractable display screen from the retracted state to the extended state. Alternatively, the user can also issue a driving instruction by pressing a physical button or clicking a virtual button, and after receiving the driving instruction, the electronic device can electrically drive the retractable display screen to extend.

[0056] When the retractable display screen is extended or retracted to a certain position (for example, recorded as the second position) and stays at the second position for a time period greater than or equal to a preset time period, the stay of the retractable display screen can be considered to be effective. At this time, the electronic device can obtain the extended length of the retractable display screen, where the extended length is the difference in display screen length between the second position and the first position.

[0057] For example, Fig. 9 As shown, when the retractable display screen is extended to the second position, the extended length of the retractable display screen is the display screen length difference d between the second position and the first position.

[0058] 202. If the value of the extended length of the retractable display screen is a non-integer value, the electronic device rounds the extended length.

[0059] For example, after obtaining the extended length of the retractable display screen, the electronic device may detect whether the value of the extended length is an integer value.

[0060] If it is detected that the value of the extended length is a non-integer value, the electronic device may round the extended length. For example, the extended length of the retractable display screen is 2.2 centimeters. Since the value 2.2 is a non-integer, the electronic device may round the value 2.2 to 2 (e.g., only take the integer part thereof), thereby recording the extended length of the retractable display screen as 2 centimeters.

[0061] In other embodiments, when the value of the extended length of the retractable display screen is a non-integer, the electronic device may also perform rounding processing on the non-integer value. For example, the extended length of the retractable display screen is 2.8 centimeters. Since the value 2.8 is a non-integer, the electronic device may round the value 2.8 to 3, so that the extended length of the retractable display screen is recorded as 3 centimeters, and so on.

[0062] If it is detected that the value of the stretch length is an integer value, the electronic device may not need to round the stretch length.

[0063] It is understandable that rounding off the non-integer stretch length can simplify the operation. Because when the electronic device sets the correspondence between the stretch length and the application, the stretch length generally set is not a non-integer, so the rounding process can quickly match the stretch length with the application.

[0064] Of course, in other implementations, the extended length of the retractable display screen may not be rounded, and this implementation does not specifically limit this.

[0065] 203. The electronic device obtains a target application corresponding to the stretch length, and generates an operation instruction for opening the target application.

[0066] 204. The electronic device starts the target application.

[0067] For example, 203 and 204 may include:

[0068] The electronic device may pre-set applications corresponding to different extension lengths of the retractable display screen. For example, the application corresponding to the extension length of 2 cm is the photo album application C, the application corresponding to the extension length of 3 cm is the music player application D, the application corresponding to the extension length of 4 cm is the online video player application E, the application corresponding to the extension length of 5 cm is the game application F, and so on.

[0069] Then, after obtaining the extended length of the retractable display screen, the electronic device can obtain the target application corresponding to the extended length and generate an operation instruction for opening the target application. Afterwards, the electronic device can open the target application according to the above operation instruction for opening the target application. For example, if the electronic device obtains that the extended length of the retractable display screen is 3 cm, then the electronic device can generate an operation instruction for opening the music player application D, and open the music player application D according to the operation instruction. At this time, the electronic device can quickly enter the music player application D.

[0070] It is understandable that, in the embodiment of the present application, first, the electronic device can open the application by retracting the retractable display screen. Therefore, the embodiment of the present application enriches the way of opening the application by the electronic device and improves the operability of the electronic device.

[0071] Secondly, in the related art, if you want to open an application, the user generally needs to find the icon of the application first and then click on the icon to open the application. This operation method requires finding the icon of the application on the desktop first. If there are many application icons on the desktop, it is not easy for the user to find the icon, that is, this operation method is cumbersome and inefficient. In the embodiment of the present application, the user only needs to retract the retractable display screen to quickly open the corresponding application, so the embodiment of the present application improves the efficiency of the user in opening the application.

[0072] In another implementation, the embodiment of the present application may also include the following process:

[0073] When the retractable display screen is retracted, the electronic device displays a scale image on the retractable display screen, and the scale image is used to measure the extended length of the retractable display screen.

[0074] For example, when a user stretches or retracts a retractable display screen, the electronic device may display a virtual scale image implemented by software on the side of the retractable display screen, and the scale image may facilitate the user to measure the current extension length of the retractable display screen. That is, the scale image may conveniently let the user know how long the retractable display screen has been stretched.

[0075] For example, Fig.10 As shown, the electronic device may display a ruler image on the side of the retractable display screen, and the ruler image may facilitate the user to measure the current extension length of the retractable display screen.

[0076] See also Fig.11 , Fig.11 Another flow chart of the device control method provided in the embodiment of the present application. The device control method can be applied to an electronic device. The electronic device can have a retractable display screen. The process of the device control method can include:

[0077] 301. An electronic device obtains multiple extended lengths of a retractable display screen, where the multiple extended lengths are multiple extended lengths collected sequentially within a preset time range, wherein the electronic device is in an authority authentication scenario.

[0078] For example, the electronic device provided in the embodiment of the present application may include a retractable display screen. The retractable display screen may be a retractable and curlable display screen. The retractable display screen may be a flexible display screen, which may be bent, curled, folded, etc. On the electronic device equipped with the retractable display screen, the visible size of the screen may be increased by stretching the screen, and the visible size of the screen may be reduced by shrinking the screen.

[0079] In an embodiment of the present application, when the electronic device is in a permission authentication scenario, the electronic device may obtain multiple extended lengths of the retractable display screen, wherein the multiple extended lengths may be extended lengths collected sequentially within a preset time range.

[0080] The above-mentioned permission authentication scenario may be a scenario where password information needs to be entered for permission authentication, such as unlocking a screen.

[0081] In the embodiment of the present application, the user can stretch the retractable display screen from a retracted state to an extended state. Alternatively, the user can also issue a driving instruction by pressing a physical button or clicking a virtual button, and after receiving the driving instruction, the electronic device can electrically drive the retractable display screen to extend or retract.

[0082] When the retractable display screen is extended or retracted to a certain position (for example, recorded as the second position) and stays at the second position for a time period greater than or equal to a preset time period, the stay of the retractable display screen can be considered to be effective. At this time, the electronic device can obtain the extended length of the retractable display screen, where the extended length is the difference in display screen length between the second position and the first position.

[0083] For example, the user performs three retractable operations on the retractable display screen, and the three retractable operations are completed within a preset time range. For example, the time interval between any two retractable operations is within the preset interval, which can be considered that the user has continuously operated the retractable display screen.

[0084] For example, when the user performs a retractable display screen retracting operation for the first time, the retractable display screen is stretched to a position where the stretching length is 2 centimeters, and the stretching length collected for the first time is 2 centimeters.

[0085] When the user performs a second retractable operation on the retractable display screen, the retractable display screen is further extended to the right by 3 cm, so that the extended length is 5 cm, and the extended length collected for the second time is 5 cm. The time interval between the first and second retractable operations performed by the user on the retractable display screen is less than the preset interval.

[0086] When the user performs the retractable display screen extension operation for the third time, the retractable display screen is retracted 2 cm to the left, so that the retractable display screen is at a position where the extension length is 3 cm, and the extension length collected for the third time is 3 cm. The time interval between the second and third extension operations performed by the user on the retractable display screen is also less than the preset interval.

[0087] 302. The electronic device converts each extension length into a corresponding numerical value to obtain a plurality of numerical values.

[0088] 303. The electronic device determines corresponding password information according to the multiple values.

[0089] For example, 302 and 303 can include:

[0090] After obtaining the multiple stretching lengths, the electronic device can convert each stretching length into a corresponding numerical value, thereby obtaining multiple numerical values. Afterwards, the electronic device can determine the corresponding password information according to the multiple numerical values.

[0091] For example, the three stretch lengths acquired by the electronic device are 2 cm, 5 cm, and 3 cm respectively. Then, the electronic device can convert 2 cm into a value of 2, 5 cm into a value of 5, and 3 cm into a value of 3. Afterwards, the electronic device can arrange these three values ​​into password information in the order of acquisition time, for example, the password information obtained by arrangement is 2, 5, 3.

[0092] 304. The electronic device matches the password information with a preset password.

[0093] For example, after obtaining the password information, the electronic device can match the password information with a preset password.

[0094] If the password information matches the preset password successfully, then the process may proceed to step 305 .

[0095] If the password information fails to match the preset password, then 306 may be entered.

[0096] 305. If the password information matches the preset password successfully, the electronic device generates an operation instruction for passing the authority authentication.

[0097] For example, if the password information determined by the electronic device based on the multiple extension lengths successfully matches the preset password, it can be considered that the authority authentication is passed. At this time, the electronic device can generate an operation instruction for passing the authority authentication and enter the process of 307.

[0098] 306. If the password information fails to match the preset password, the electronic device generates an operation instruction indicating that the authority authentication fails.

[0099] For example, if the password information determined by the electronic device based on the multiple extension lengths fails to match the preset password, it can be considered that the authority authentication fails. At this time, the electronic device can generate an operation instruction for failing the authority authentication and enter the process of 307.

[0100] 307. The electronic device executes an operation corresponding to the operation instruction.

[0101] For example, after detecting an operation instruction that indicates that the authority authentication has passed or failed, the electronic device may execute an operation corresponding to the operation instruction.

[0102] For example, if the electronic device detects an operation instruction indicating that permission authentication is passed, the electronic device can perform operations corresponding to the permission authentication, such as releasing the screen lock state.

[0103] If the electronic device detects an operation instruction that fails the authority authentication, the electronic device can perform operations related to the failure of the authority authentication, such as prompting the user that the password entered is incorrect and asking the user to re-enter the correct password.

[0104] See also Fig.12 , Fig.12 The schematic diagram of the structure of the device control device provided in the embodiment of the present application. The device control device can be applied to an electronic device, and the electronic device includes a retractable display screen. The device control device 400 may include: a first acquisition module 401, a second acquisition module 402, and a processing module 403.

[0105] The first acquisition module 401 is used to acquire the extended length of the retractable display screen.

[0106] The second acquisition module 402 is used to acquire an operation instruction corresponding to the stretching length.

[0107] The processing module 403 is used to execute the operation corresponding to the operation instruction.

[0108] In one implementation, the relative position of the retractable display screen with respect to the electronic device when the retractable display screen is not extended is determined as the first position of the retractable display screen.

[0109] Then, the first acquisition module 401 can be used to: when the retractable display screen is retracted to the second position and stays at the second position for a time period greater than or equal to a preset time period, obtain the extended length of the retractable display screen, and the extended length is the difference in display screen length between the second position and the first position.

[0110] In one implementation, the first acquisition module 401 may also be used to:

[0111] When the retractable display screen is retracted, a scale image is displayed on the retractable display screen, and the scale image is used to measure the extended length of the retractable display screen.

[0112] In one implementation, the second acquisition module 402 may be used to: acquire a target application corresponding to the stretch length, and generate an operation instruction for opening the target application;

[0113] Then, the processing module 403 may be used to: start the target application.

[0114] In one implementation, the first acquisition module 401 may be used to: acquire multiple extension lengths of the retractable display screen, where the multiple extension lengths are multiple extension lengths collected sequentially within a preset time range;

[0115] The second acquisition module 402 can be used to: convert each of the stretching lengths into a corresponding numerical value to obtain a plurality of numerical values; determine the corresponding password information according to the plurality of numerical values; and obtain an operation instruction corresponding to the password information.

[0116] In one implementation, the electronic device is in a permission authentication scenario. The second acquisition module 402 may be used to:

[0117] Matching the password information with a preset password;

[0118] If the password information matches the preset password successfully, an operation instruction for passing the authority authentication is generated;

[0119] If the password information fails to match the preset password, an operation instruction indicating that the authority authentication fails is generated.

[0120] In one implementation, the first acquisition module 401 may be used to:

[0121] If the value of the extended length of the retractable display screen is a non-integer value, the extended length is rounded.

[0122] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the process in the method provided in this embodiment.

[0123] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the process in the device control method provided in this embodiment by calling a computer program stored in the memory.

[0124] For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Fig.13 , Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0125] The electronic device 500 may include components such as a display screen 501, a memory 502, and a processor 503. Those skilled in the art will appreciate that Fig.13The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0126] The display screen 501 may be a retractable touch display screen. The retractable touch display screen may be a retractable and curlable touch display screen. The retractable touch display screen may be a flexible display screen, which may be bent, curled, folded, etc. On an electronic device equipped with a retractable touch display screen, the visible size of the screen may be increased by stretching the screen, and the visible size of the screen may be reduced by shrinking the screen.

[0127] The memory 502 may be used to store applications and data. The applications stored in the memory 502 include executable codes. The applications may be composed of various functional modules. The processor 503 executes various functional applications and data processing by running the applications stored in the memory 502.

[0128] The processor 503 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 502 and calling data stored in the memory 502, thereby monitoring the electronic device as a whole.

[0129] In this embodiment, the processor 503 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 will run the application program stored in the memory 502 to execute:

[0130] Obtaining the extended length of the retractable display screen;

[0131] Obtaining an operation instruction corresponding to the stretching length;

[0132] Execute the operation corresponding to the operation instruction.

[0133] See also Fig.14 The electronic device 500 may include a display screen 501, a memory 502, a processor 503, a battery 504, a microphone 505, a speaker 506 and other components.

[0134] The display screen 501 may be a retractable touch display screen. The retractable touch display screen may be a retractable and curlable touch display screen. The retractable touch display screen may be a flexible display screen, which may be bent, curled, folded, etc. On an electronic device equipped with a retractable touch display screen, the visible size of the screen may be increased by stretching the screen, and the visible size of the screen may be reduced by shrinking the screen.

[0135] The memory 502 may be used to store applications and data. The applications stored in the memory 502 include executable codes. The applications may be composed of various functional modules. The processor 503 executes various functional applications and data processing by running the applications stored in the memory 502.

[0136] The processor 503 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 502 and calling data stored in the memory 502, thereby monitoring the electronic device as a whole.

[0137] The battery 504 may be used to supply power to various modules and components of the electronic device.

[0138] The microphone 505 may be used to pick up sound signals in the surrounding environment, such as receiving voice commands issued by a user.

[0139] The speaker 506 can be used to play sound signals.

[0140] In this embodiment, the processor 503 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 will run the application program stored in the memory 502 to execute:

[0141] Obtaining the extended length of the retractable display screen;

[0142] Obtaining an operation instruction corresponding to the stretching length;

[0143] Execute the operation corresponding to the operation instruction.

[0144] In one embodiment, the electronic device determines the relative position of the retractable display screen to the electronic device when the retractable display screen is not extended as the first position of the retractable display screen;

[0145] Then, when the processor 503 executes the acquisition of the extended length of the retractable display screen, it can execute: when the retractable display screen is extended to the second position and stays at the second position for a time period greater than or equal to a preset time period, the extended length of the retractable display screen is obtained, and the extended length is the difference in display screen length between the second position and the first position.

[0146] In one implementation, the processor 503 may further execute: when the retractable display screen is retracted, displaying a scale image on the retractable display screen, wherein the scale image is used to measure the extended length of the retractable display screen.

[0147] In one implementation, when the processor 503 executes the step of acquiring the operation instruction corresponding to the stretch length, the processor 503 may execute: acquiring the target application corresponding to the stretch length, and generating an operation instruction for starting the target application;

[0148] Then, when the processor 503 executes the operation corresponding to the operation instruction, it can execute: opening the target application.

[0149] In one implementation, when the processor 503 executes the step of obtaining the extended length of the retractable display screen, the processor 503 may execute: obtaining multiple extended lengths of the retractable display screen, where the multiple extended lengths are multiple extended lengths collected sequentially within a preset time range;

[0150] Then, when the processor 503 executes the operation instruction for obtaining the corresponding stretch length, it can execute: converting each of the stretch lengths into a corresponding numerical value to obtain multiple numerical values; determining the corresponding password information according to the multiple numerical values; and obtaining the operation instruction corresponding to the password information.

[0151] In one embodiment, the electronic device is in an authority authentication scenario, and when the processor 503 executes the operation instruction for obtaining the operation instruction corresponding to the password information, it can execute: matching the password information with a preset password; if the password information matches the preset password successfully, generating an operation instruction for authority authentication passing; if the password information fails to match the preset password, generating an operation instruction for authority authentication failing.

[0152] In one implementation, the processor 503 may further execute: if the value of the extended length of the retractable display screen is a non-integer value, rounding the extended length.

[0153] In the above embodiments, the description of each embodiment has its own focus. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the device control method above, and will not be repeated here.

[0154] The device control apparatus provided in the embodiment of the present application belongs to the same concept as the device control method in the above embodiment. Any method provided in the device control method embodiment can be run on the device control apparatus. The specific implementation process is detailed in the device control method embodiment and will not be repeated here.

[0155] It should be noted that, for the device control method described in the embodiment of the present application, a person of ordinary skill in the art can understand that all or part of the process of implementing the device control method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the device control method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.

[0156] For the device control device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.

[0157] The above is a detailed introduction to a device control method, apparatus, storage medium and electronic device provided in the embodiments of 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 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 device control method, applied to an electronic device, characterized in that: The electronic device comprises a retractable display screen and a shell assembly, wherein the retractable display screen is a flexible display screen, the shell assembly comprises a first shell and a second shell, the first shell and the second shell are capable of relative movement, the first shell and the second shell jointly form an accommodation space, one end of the flexible display screen is arranged in the first shell, and the other end of the flexible display screen is arranged in the accommodation space; the electronic device further comprises a reset member, one end of the flexible display screen accommodated in the accommodation space is linked to the reset member, when the first shell and the second shell are relatively close to each other, the reset member drives the flexible display screen to reset, thereby causing part of the flexible display screen to be retracted into the accommodation space; the method comprises: When the retractable display screen is retracted, a scale image is displayed on the retractable display screen, wherein the scale image is used to measure the extended length of the retractable display screen; Acquiring the extended length of the retractable display screen, comprising: acquiring multiple extended lengths of the retractable display screen, wherein the multiple extended lengths are multiple extended lengths collected sequentially within a preset time range; If the value of the extended length of the retractable display screen is a non-integer value, the extended length is rounded; Obtaining an operation instruction corresponding to the stretch length, comprising: converting each of the stretch lengths into a corresponding numerical value to obtain a plurality of numerical values; determining corresponding password information according to the plurality of numerical values; and obtaining an operation instruction corresponding to the password information; Execute the operation corresponding to the operation instruction.

2. The device control method according to claim 1, characterized in that: Determining a relative position of the retractable display screen to the electronic device when the retractable display screen is not extended as a first position of the retractable display screen; The obtaining of the extended length of the retractable display screen includes: when the retractable display screen is extended to a second position and stays at the second position for a time period greater than or equal to a preset time period, obtaining the extended length of the retractable display screen, the extended length being a difference in length of the display screen between the second position and the first position.

3. The device control method according to claim 1, characterized in that: The obtaining of the operation instruction corresponding to the stretching length includes: obtaining a target application corresponding to the stretching length, and generating an operation instruction for opening the target application; The executing the operation corresponding to the operation instruction includes: opening the target application.

4. The device control method according to claim 1, characterized in that: The electronic device is in an authority authentication scenario; The obtaining of the operation instruction corresponding to the password information includes: Matching the password information with a preset password; If the password information matches the preset password successfully, an operation instruction for passing the authority authentication is generated; If the password information fails to match the preset password, an operation instruction indicating that the authority authentication fails is generated.

5. A device control device, applied to electronic equipment, characterized in that: The electronic device comprises a retractable display screen and a shell assembly, wherein the retractable display screen is a flexible display screen, the shell assembly comprises a first shell and a second shell, the first shell and the second shell are capable of relative movement, the first shell and the second shell jointly form an accommodation space, one end of the flexible display screen is arranged in the first shell, and the other end of the flexible display screen is arranged in the accommodation space, the electronic device further comprises a reset member, one end of the flexible display screen accommodated in the accommodation space is linked to the reset member, when the first shell and the second shell are relatively close to each other, the reset member drives the flexible display screen to reset, thereby causing part of the flexible display screen to be retracted into the accommodation space; the device comprises: A first acquisition module is used to display a scale image on the retractable display screen when the retractable display screen is retracted, the scale image being used to measure the extended length of the retractable display screen; and is also used to acquire the extended length of the retractable display screen, including: acquiring multiple extended lengths of the retractable display screen, the multiple extended lengths being multiple extended lengths collected sequentially within a preset time range; and is also used to round the extended length of the retractable display screen if the value of the extended length is a non-integer value; The second acquisition module is used to acquire the operation instruction corresponding to the stretching length, including: converting each of the stretching lengths into a corresponding numerical value to obtain a plurality of numerical values; determining the corresponding password information according to the plurality of numerical values; and acquiring the operation instruction corresponding to the password information; The processing module is used to execute the operation corresponding to the operation instruction.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 4.

7. An electronic device, comprising a memory and a processor, characterized in that: The processor executes the method according to any one of claims 1 to 4 by calling the computer program stored in the memory.

Citation Information

Patent Citations

  • Split-screen display method for flexible screen and terminal device

    CN104461444A

  • Control method and mobile terminal

    CN109491541A

  • Secure payment method and device and computer readable storage medium

    CN109886686A