Device Control Method, Device, Storage Medium and Electronic Device
By detecting the stretch length when the flexible display is expanded and generating prompt information, the problem of easy damage to the flexible display is solved, and the service life of the display is improved.
Patent Information
- Application Number
- CN202010525625.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-10
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2040-06-10
AI Technical Summary
The flexible display has a short service life and is easily damaged by continued stretching after being fully expanded.
By obtaining the stretch length and detecting whether it is in the fully expanded state when the retractable display is expanded, a prompt message is generated to stop the stretch operation.
It avoids damage caused by continued stretching of the display after it is fully expanded, and improves the service life of the display.
Smart Images

Figure CN113778298B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technologies, and in particular, to a device control method, apparatus, storage medium, and electronic device. Background Art
[0002] With the rapid development of technology and the increasing fierce market competition, the performance and appearance of electronic devices have been greatly improved. Along with the continuous improvement of material technology, flexible screen materials have gradually been applied to various electronic products, especially in the display screens of electronic devices, thus forming electronic devices with flexible display screens. However, the service life of flexible display screens in related technologies is relatively short. Summary of the Invention
[0003] Embodiments of this application provide a device control method, apparatus, storage medium, and electronic device, which can effectively improve the service life of a display screen.
[0004] In a first aspect, an embodiment of this application provides a device control method applied to an electronic device, where the electronic device includes a retractable display screen, and the method includes:
[0005] When the retractable display screen is unfolded, obtain the extension length of the retractable display screen;
[0006] Detect whether the retractable display screen is in a fully unfolded state according to the extension length;
[0007] When the retractable display screen is in a fully unfolded state, generate a prompt message for prompting to stop the unfolding operation of the retractable display screen.
[0008] In a second aspect, an embodiment of this application provides a device control apparatus applied to an electronic device, where the electronic device includes a retractable display screen, and the apparatus includes:
[0009] An obtaining module, configured to obtain the extension length of the retractable display screen when the retractable display screen is unfolded;
[0010] A detecting module, configured to detect whether the retractable display screen is in a fully unfolded state according to the extension length;
[0011] A generating module, configured to generate a prompt message for stopping the unfolding operation of the retractable display screen when the retractable display screen is in a fully unfolded state.
[0012] In a third aspect, an embodiment of this application further provides a storage medium, on which a computer program is stored. When the computer program runs on a computer, the computer is caused to execute the device control method provided in any embodiment of this application.
[0013] Fourthly, an embodiment of the present application further provides an electronic device, including a processor and a memory. The memory stores a computer program, and the processor is configured to execute the device control method provided in any embodiment of the present application by calling the computer program.
[0014] The technical solution provided by the embodiment of the present application, when the retractable display screen is unfolded, obtains the extension length of the retractable display screen, detects whether the retractable display screen is in a fully unfolded state according to the extension length, and when the retractable display screen is in a fully unfolded state, generates a prompt message for prompting to stop the extension operation of the retractable display screen. This solution, when the retractable display screen is unfolded, detects whether the display screen is in a fully unfolded state by obtaining the extension length of the display screen. If so, a prompt message is generated to prompt to stop the extension operation of the display screen, avoiding damage caused by continuing to extend the display screen after it is in a fully unfolded state, thereby improving the service life of the display screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0016] Figure 1 It is the first structural schematic diagram of the electronic device provided by the embodiment of the present application.
[0017] Figure 2 It is the second structural schematic diagram of the electronic device provided by the embodiment of the present application.
[0018] Figure 3 is Figure 1 the exploded structural schematic diagram of the electronic device shown.
[0019] Figure 4 is Figure 1 the sectional structural schematic diagram of the electronic device shown along the P1-P1 direction.
[0020] Figure 5 is Figure 2 the sectional structural schematic diagram of the electronic device shown along the P2-P2 direction.
[0021] Figure 6 It is the first flow schematic diagram of the device control method provided by the embodiment of the present application.
[0022] Figure 7 It is the second flow schematic diagram of the device control method provided by the embodiment of the present application.
[0023] Figure 8 It is a schematic structural diagram of the device control device provided by the embodiment of the present application.
[0024] Figure 9 It is the first structural block diagram of the electronic device provided by the embodiment of the present application.
[0025] Figure 10 It is the second structural block diagram of the electronic device provided by the embodiment of the present application. Detailed implementation manners
[0026] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The term "module" used in this article can be regarded as a software object executed on this computing system. Different modules, engines, and services in this article can be regarded as implementation objects on this computing system. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the protection scope of the present application.
[0027] Referring to "embodiment" in this article means that the specific features, structures, or characteristics described in conjunction with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0028] The terms "first", "second", and "third", etc. in the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules inherent to these processes, methods, products, or devices.
[0029] Please refer to Figures 1 to 3 , Figure 1 It is the first schematic structural diagram of the electronic device provided by the embodiment of the present application, Figure 2 It is the second schematic structural diagram of the electronic device provided by the embodiment of the present application, Figure 3 is Figure 1 the exploded structural diagram of the electronic device shown. Figure 1 The electronic device 100 shown is in an unextended state, Figure 2The electronic device 100 shown is in an extended state. The electronic device 100 includes a housing assembly 10, a flexible display screen 30, a driving member 50, and a driving mechanism 70. The housing assembly 10 has a hollow structure, and components such as the driving member 50, the driving mechanism 70, and the camera 90 can be arranged in the housing structure 10.
[0030] Among them, the housing structure 10 may include 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. Specifically, the first housing 12 and the second housing 14 are slidably connected, that is to say, the second housing 14 can slide relative to the first housing 12.
[0031] Specifically, please refer to Figure 4 and Figure 5 , Figure 4 is Figure 1 a schematic cross-sectional structure diagram of the electronic device shown in the direction of P1-P1, Figure 5 is Figure 2 a schematic cross-sectional structure diagram of the electronic device shown in the direction of P2-P2. The first housing 12 and the second housing 14 jointly form a receiving space 16. The receiving space 16 can be used to place components such as the driving member 50, the driving mechanism 70, and the camera 90. The housing assembly 10 may further include a rear cover 18, and the rear cover 18 and the first housing 12 and the second housing 14 jointly form the receiving space 16.
[0032] The driving member 50 is arranged on the second housing 14. One end of the flexible display screen 30 is arranged 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 arranged in the receiving space 16, so that part of the flexible display screen is hidden in the receiving space 16, and the part of the flexible display screen 30 hidden in the receiving space 16 may not be lit. When the first housing 12 and the second housing 14 move relatively away from each other, the driving member 50 can drive the flexible display screen 30 to unfold, so that more of the flexible display screen 30 is exposed outside the receiving space 16. The flexible display screen 30 exposed outside the receiving space 16 is lit, so that the display area presented by the electronic device 100 becomes larger.
[0033] Specifically, the driving member 50 may specifically be a rotating shaft structure with teeth 52 on the outside. The flexible display screen 30 is linked with the driving member 50 through meshing or other means. When the first housing 12 and the second housing 14 move relatively away from each other, the driving member 50 drives part of the flexible display screen 30 meshed with the driving member 50 to move and unfold.
[0034] 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 away from each other, 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 an unfolded 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. 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 retracted by the driving member 50. Alternatively, the electronic device 100 may further include a reset member (not shown in the figure), and one end of the flexible display screen 30 stored 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 allowing part of the flexible display screen to be stored in the accommodating space 16.
[0036] 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 screen 30 to extend. It is understandable that the driving mechanism 70 may also be omitted, and the user may directly make the first housing 12 and the second housing 14 move relative to each other manually or in other ways.
[0037] The embodiment of the present application provides a device control method, and the execution subject of the device control method can be the control device provided in the embodiment of the present application, or an electronic device integrating the control device, wherein the control device can be implemented in hardware or software. The electronic device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a handheld computer, etc.
[0038] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0039] See also Figure 6 , Figure 6 This is a schematic diagram of the first process flow of the device control method provided in the embodiment of the present application. The specific process flow of the device control method provided in the embodiment of the present application can be as follows:
[0040] In 101 , when the retractable display screen is unfolded, an extended length of the retractable display screen is obtained.
[0041] In this application example, please continue to refer toFigure 1 and Figure 2 As shown in Figure 1 and Figure 2 , the electronic device 100 includes a housing assembly 10 and a flexible display screen 30. The flexible display screen 30 is a retractable display screen. Figure 1 The state of the electronic device shown in Figure 1 is that the flexible display screen 30 is in an unextended state. Figure 2 The state of the electronic device shown in Figure 2 is that the flexible display screen 30 is in an extended state.
[0042] It should be noted that in the process of changing the flexible display screen 30 from the unextended state to the extended state, the extension operation can be performed by manually applying an extension force by the user, or the extension operation can be performed by a driving mechanism in the electronic device, that is, the flexible display screen 30 of the electronic device is automatically extended by the driving mechanism.
[0043] Among them, when the extension operation is manually performed, the magnitude of the extension force varies from person to person. Generally, the magnitude of the extension force is between 3 N and 10 N, which is specifically set according to the actual situation and is not specifically limited here. The user can control the extension length of the flexible display screen by himself, that is, during the process of manually extending the flexible display screen, the extension can be stopped at any time to meet different usage requirements.
[0044] Among them, when the driving mechanism is used to control the automatic extension of the flexible display screen, the processor controls the motor to rotate, and the sensor in the electronic device detects the movement length of the flexible display screen. When the flexible display screen is about to be in a fully unfolded state, the rotation speed of the motor is reduced, so that the flexible screen gradually reaches the fully unfolded state. The driving mechanism can be a touch button (not shown in the figure), and the extension of the flexible display screen can be controlled by clicking the touch button, such as long pressing, single clicking or double clicking, etc. For example, if the single click method is used to control the extension state of the flexible display screen, the extension length of the flexible display screen corresponding to each single click of the touch button can be set by itself, that is, it is not necessary to reach the maximum extension with a single click, and different extension lengths can be used to meet different usage requirements.
[0045] Among them, the electronic device 100 further includes a rotating shaft with teeth 52. One end of the flexible display screen 30 is fixed to the rotating shaft, so that when the flexible display screen 30 can be wound around the rotating shaft and the rotating shaft is accommodated in the housing assembly 10, the flexible display screen 30 can be accommodated in the housing assembly 10. The retractable part of the flexible display screen 30 can be accommodated in the rotating shaft or extended from the rotating shaft to the outside of the rotating shaft. When the flexible display screen 30 is in the extended state, the other end of the flexible display screen 30 is driven to enable the flexible display screen 30 to extend from the rotating shaft and thus unfold outside the rotating shaft, that is, an extension operation is performed on the flexible display screen 30.
[0046] Among them, during the process of performing an extension operation on the retractable display screen, the rotating shaft can be set to rotate at a constant speed, and the rotation speed of the rotating shaft can be set accordingly. Therefore, the extension length of the flexible display screen extended from inside the rotating shaft to the outside of the rotating shaft can be calculated based on the product of the rotation speed of the rotating shaft and the time of performing the extension operation.
[0047] In 102, it is detected whether the retractable display screen is in a fully extended state according to the extension length.
[0048] By comparing the extension length with the total extendable length of the display screen, it is detected whether the retractable display screen is in a fully extended state. When the extension length is the same as the total stretchable length of the display screen, the retractable display screen is in a fully extended state.
[0049] In 103, when the retractable display screen is in a fully extended state, a prompt message is generated, and the prompt message is used to prompt to stop the extension operation on the retractable display screen.
[0050] During the process of automatically or manually controlling the extension operation of the flexible display screen, if it is detected that the extension length has reached the state where the flexible display screen is in a fully extended state, that is, when the extension length is the same as the total extendable length of the flexible display screen, the electronic device will generate a corresponding prompt message, and the prompt message is used to prompt to stop the extension operation on the retractable display screen to avoid damage to the display screen during the continuous extension of the flexible display screen.
[0051] As can be seen from the above, the device control method provided in this embodiment, by obtaining the extension length of the retractable display screen when the retractable display screen is unfolded, detecting whether the retractable display screen is in a fully extended state according to the extension length, and when the retractable display screen is in a fully extended state, generating a prompt message, and the prompt message is used to prompt to stop the extension operation on the retractable display screen. In this embodiment, when the retractable display screen is unfolded, it is detected whether the display screen is in a fully extended state by the obtained extension length of the display screen. If so, a prompt message is generated to prompt to stop the extension operation on the display screen, avoiding damage caused by continuing to extend the display screen after the display screen is in a fully extended state, thereby improving the service life of the display screen.
[0052] According to the method described in the previous embodiments, the following will be further described in detail with examples.
[0053] Please refer to Figure 7 , Figure 7 which is the second flowchart of the device control method provided by the embodiment of the present invention.
[0054] The method includes:
[0055] In 201, when the retractable display screen is unfolded, the extension length of the retractable display screen is obtained.
[0056] In an embodiment of the present application, during the process of the flexible display screen changing from the unextended state to the extended state, the extension operation can be performed by a user manually applying an extension force, or can be performed by a driving mechanism in the electronic device, that is, the flexible display screen of the electronic device is automatically extended by the driving mechanism.
[0057] Among them, if the extension operation is performed manually, the magnitude of the extension force varies from person to person. Generally, the magnitude of the extension force is between 3N and 10N, and is specifically set according to the actual situation, and no specific limitation is made here. The user can control the extension length of the flexible display screen by himself / herself, that is, during the process of manually extending the flexible display screen, the extension of the flexible display screen can be stopped at any time to meet different usage requirements.
[0058] Among them, if the driving mechanism is used to control the automatic extension of the flexible display screen, the processor controls the motor to rotate, and the sensor in the electronic device detects the length of the movement of the flexible display screen. When the flexible display screen is about to be in the fully unfolded state, the rotation speed of the motor is reduced, so that the flexible screen gradually reaches the fully unfolded state. The driving mechanism can be a touch button, and the extension of the flexible display screen can be controlled by clicking the touch button, such as long pressing, single clicking or double clicking, etc. For example, if the single click method is used to control the extension state of the flexible display screen, the extension length corresponding to each single click of the touch button can be set by itself, that is, it is not necessary to reach the maximum extension with one single click, and different extension lengths can be used to meet different usage requirements.
[0059] Among them, during the process of performing the extension operation on the retractable display screen, the rotating shaft can be set to rotate at a constant speed, and the rotation speed of the rotating shaft can be set accordingly. Therefore, the extension length of the flexible display screen extending from inside the rotating shaft to outside the rotating shaft can be calculated according to the product of the rotation speed of the rotating shaft and the time of performing the extension operation.
[0060] In 202, according to the extension length, a first prompt message corresponding to the extension length is generated.
[0061] During the process of automatically or manually controlling the extension operation of the flexible display screen, after obtaining the extension length of the flexible display screen, the electronic device can generate a first prompt message corresponding to the extension length according to the extension length, where the first prompt message is percentage information of the extension length accounting for the total stretchable length; and the percentage information is displayed in a preset display area of the flexible screen.
[0062] Among them, continue to refer to Figure 2, the preset display area 1 can be set according to the user's preference. It can be set on the left or right side of the upper end of the flexible screen display area. Without occupying other display areas, it can play a role in prompting the user. For example, if the percentage information of the automatic extension of the flexible display screen each time the touch button is clicked is set to "20%", then when the touch button is clicked twice, the percentage information "40%" will be correspondingly displayed in the preset display area. The manual control of the extension process of the display screen is the same and will not be elaborated here.
[0063] Among them, when the percentage information is in different numerical ranges, the percentage information is displayed in different colors in the preset display area of the display screen.
[0064] For example, three numerical ranges can be set. The first numerical range is set to 0%-60%, the second numerical range is set to 60%-90%, and the third numerical range is set to 90%-100%. The first color is set to green, the second color is set to yellow, and the third color is set to red. When the percentage information corresponding to the extension length is in the range of 0%-60%, the percentage information displayed in the preset display area is green; when the percentage information corresponding to the extension length is in the range of 60%-90%, the percentage information displayed in the preset display area is yellow; when the percentage information corresponding to the extension length is in the range of 90%-100%, the percentage information displayed in the preset display area is red. Figure 2 The "20%" displayed in the preset display area is in the first numerical range, so it is displayed in green. It can be understood that the set numerical ranges are not limited to the above three numerical ranges, and the user can set them according to needs. Similarly, the color settings can also be changed accordingly, which will not be specifically limited here.
[0065] Among them, during the process of performing the extension operation on the flexible display screen, the corresponding color is added to the above percentage information. According to the different color changes in different preset ranges, it can more effectively prompt the user with the first prompt information corresponding to the extension length, thereby effectively preventing damage caused by continuing to extend the display screen when the flexible display screen is in the fully expanded state.
[0066] In 203, it is detected whether the retractable display screen is in the fully expanded state according to the first prompt information.
[0067] Through the percentage information corresponding to the first prompt information, when the percentage information displayed in the preset display area is 100%, the retractable display screen is in the fully expanded state.
[0068] In 204, when the retractable display screen is in the fully expanded state, a visual prompt information is generated.
[0069] When the percentage information displayed in the preset display area is 100%, that is, when the flexible display screen is in a fully unfolded state, a visual prompt message is generated.
[0070] Wherein, the electronic device further includes a flashlight, and the visual prompt message can be to display text or graphic prompts in the display area of the display screen and / or send a flash prompt through the flashlight.
[0071] For example, continue to refer to Figure 2 , when the flexible display screen is in a fully unfolded state, display the text message "The display screen has been fully unfolded" in the display area of the flexible display screen, or display the graphic information "!" in red; the flashlight of the camera can flash continuously to prompt that the flexible display screen cannot be stretched further.
[0072] In 205, when the retractable display screen is in a fully unfolded state, an auditory prompt message is generated.
[0073] When the percentage information displayed in the preset display area is 100%, that is, when the flexible display screen is in a fully unfolded state, an auditory prompt message is generated.
[0074] Wherein, the electronic device further includes an audio component, and the auditory prompt message is to send a sound prompt through the audio component. For example, emit a preset prompt sound, or a preset song, etc.
[0075] In 206, when the retractable display screen is in a fully unfolded state, a tactile prompt message is generated.
[0076] When the percentage information displayed in the preset display area is 100%, that is, when the flexible display screen is in a fully unfolded state, a tactile prompt message is generated.
[0077] Wherein, the electronic device further includes a vibration sensor, and the tactile prompt message is to send a vibration prompt through the vibration sensor.
[0078] In 207, when the retractable display screen is in a fully unfolded state, a prompt image is generated.
[0079] In this embodiment, the electronic device may further include a rotating shaft and a housing assembly. The rotating shaft is linked with the display screen, and the retractable part of the display screen can be received in the rotating shaft or unfolded from the rotating shaft to the outside of the rotating shaft. One end of the flexible display screen is fixed to the rotating shaft, so that the flexible display screen can be wound around the rotating shaft to accommodate the rotating shaft in the housing assembly. When the flexible display screen is in an extended state, drive the other end of the flexible display screen so that the flexible display screen can extend from the rotating shaft and unfold outside the rotating shaft, that is, perform an extension operation on the flexible display screen.
[0080] When the retractable display screen is in a fully unfolded state, a prompt image is generated and displayed at the edge of the display area on the side of the display screen close to the rotation axis.
[0081] For example, continue to refer to Figure 2 , when the flexible display screen is in a fully unfolded state, a prompt line 2 will be displayed at the edge of the display area on the side of the display screen close to the rotation axis. If the housing assembly of the electronic device is white or black, the prompt line 2 can be set to red to distinguish it from the color of the housing assembly, so as to more clearly prompt the user that the flexible display screen has been fully unfolded and the stretching operation cannot be continued.
[0082] In 208, prompt to stop the stretching operation of the retractable display screen.
[0083] Prompt the fully unfolded state of the flexible display screen through the prompt information or prompt image in step 204, step 205, step 206 and step 207 respectively, so as to achieve the purpose of stopping the stretching operation of the flexible display screen. It can be understood that in practical applications, the method of prompting to stop the stretching operation of the flexible display screen can be one or several of the above.
[0084] As can be seen from the above, the device control method proposed in the embodiment of the present application, when the retractable display screen is unfolded, obtains the stretching length of the retractable display screen, generates the first prompt information corresponding to the stretching length according to the stretching length, and detects whether the retractable display screen is in a fully unfolded state according to the first prompt information. When the display screen is in a fully unfolded state, visual prompt information, auditory prompt information, tactile prompt information and prompt images can be generated to prompt to stop the stretching operation of the flexible screen. In this embodiment, when the retractable display screen is unfolded, it is detected whether the display screen is in a fully unfolded state by obtaining the stretching length of the display screen. If so, prompt information is generated to prompt to stop the stretching operation of the display screen, so as to avoid damage caused by continuing to stretch the display screen after the display screen is in a fully unfolded state, thereby improving the service life of the display screen.
[0085] In an embodiment, a device control device is further provided. Please refer to Figure 8 , Figure 8 is a schematic structural diagram of the device control device 300 provided in the embodiment of the present application. The device control device 300 is applied to an electronic device. The device control device 300 includes an acquisition module 301, a detection module 302 and a generation module 303, as follows:
[0086] The acquisition module 301 is used to obtain the stretching length of the retractable display screen when the retractable display screen is unfolded;
[0087] The detection module 302 is configured to detect whether the retractable display screen is in a fully unfolded state according to the stretching length;
[0088] The generation module 303 is configured to generate a prompt message when the retractable display screen is in a fully unfolded state, and the prompt message is used to stop the stretching operation of the retractable display screen.
[0089] In some embodiments, the device control device 300 further includes a first prompt module, and the first prompt module can be used for:
[0090] Generate first prompt information corresponding to the stretching length according to the stretching length, where the first prompt information is the percentage information of the stretching length accounting for the total stretchable length of the display screen;
[0091] Display the percentage information in a preset display area of the display screen.
[0092] In some embodiments, the first prompt module can also be used for:
[0093] When the percentage information is in different numerical ranges, display the percentage information in different colors in the preset display area of the display screen.
[0094] In some embodiments, the generation module 303 may include a visual prompt module, and the visual prompt module can be used for:
[0095] When the percentage information displayed in the preset display area is 100%, generate visual prompt information, and the visual prompt information is to display text or graphic prompts in the display area of the display screen and / or send a flash prompt through a flashlight.
[0096] In some embodiments, the generation module 303 may further include an auditory prompt module, and the auditory prompt module can be used for:
[0097] When the percentage information displayed in the preset display area is 100%, generate auditory prompt information, and the auditory prompt information is to send a sound prompt through an audio component.
[0098] In some embodiments, the generation module 303 may further include a tactile prompt module, and the tactile prompt module can be used for:
[0099] When the percentage information displayed in the preset display area is 100%, generate tactile prompt information, and the tactile prompt information is to send a vibration prompt through a vibration sensor.
[0100] In some embodiments, the electronic device may further include a rotating shaft, the rotating shaft is linked with the display screen, the retractable part of the display screen can be received in the rotating shaft or unfolded from the rotating shaft to outside the rotating shaft, and the generation module 303 may further include an image prompt module, and the image prompt module can be used for:
[0101] When the retractable display screen is in a fully unfolded state, a prompt image is generated and displayed at the edge of the display area on the side of the display screen close to the rotating shaft.
[0102] In specific implementation, each of the above modules can be implemented as an independent entity, or can be arbitrarily combined and implemented as the same or several entities. For the specific implementation of each of the above modules, reference can be made to the method embodiments described above, which will not be elaborated herein.
[0103] It should be noted that the control device provided in the embodiments of the present application and the device control method in the above embodiments belong to the same concept. Any method provided in the device control method embodiments can be run on the control device. For the specific implementation process, reference can be made to the device control method embodiments, which will not be elaborated herein.
[0104] Correspondingly, the embodiments of the present application further provide an electronic device 400. The electronic device can be a device such as a smart phone or a tablet computer. Please refer to Figure 9 , Figure 9 which is the first structural block diagram of the electronic device provided in the embodiments of the present application. The electronic device 400 includes a processor 401, a memory 402, and a display screen 403. Among them, the processor 401 is electrically connected to the memory 402.
[0105] The processor 401 is the control center of the electronic device 400, connecting various parts of the entire electronic device through various interfaces and lines, and executing various functions of the electronic device and processing data by running or calling the computer programs stored in the memory 402 and the data stored in the memory 402, thereby monitoring the electronic device as a whole.
[0106] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the computer programs and modules stored in the memory 402. The memory 402 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, computer programs required for at least one function, etc.; the data storage area can store data created according to the use of the electronic device.
[0107] In addition, the memory 402 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 402 can also include a memory controller to provide the processor 401 with access to the memory 402.
[0108] The display screen 403 can be a retractable display screen, and the display area of the display screen 403 can be increased or decreased by retracting the display screen 403.
[0109] In this embodiment, the processor 401 in the electronic device 400 will load the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 will run the computer programs stored in the memory 402 to implement various functions as follows:
[0110] When the retractable display screen is unfolded, obtain the stretching length of the retractable display screen;
[0111] Detect whether the retractable display screen is in a fully unfolded state according to the stretching length;
[0112] When the retractable display screen is in a fully unfolded state, generate a prompt message for prompting to stop the stretching operation of the retractable display screen.
[0113] In some embodiments, please refer to Figure 10 , Figure 10 is the second structural block diagram of the electronic device provided by the embodiment of the present application. The difference from the Figure 9 shown electronic device is that the electronic device 400 further includes: a display screen 403, a camera assembly 404, an audio circuit 405, an input unit 406, a sensor 407, and a power supply 408. Among them, the processor 401 is electrically connected to the display 403, the camera assembly 404, the audio circuit 405, the input unit 406, the sensor 407, and the power supply 408 respectively.
[0114] The display screen 403 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of images, texts, icons, videos, and any combination thereof. The display screen 403 can be a retractable display screen, and the display area of the display screen 403 can be increased or decreased by stretching the display screen 403.
[0115] The camera assembly 404 may include an image processing circuit, which can be implemented by using hardware and / or software components, and may include various processing units defining an Image Signal Processing pipeline. The image processing circuit can at least include: multiple cameras, an Image Signal Processor (ISP processor), a control logic, and an image memory, etc. Each camera can at least include one or more lenses and an image sensor. The image sensor may include a color filter array (such as a Bayer filter). The image sensor can obtain the light intensity and wavelength information captured by each imaging pixel of the image sensor, and provide a set of raw image data that can be processed by the image signal processor.
[0116] The audio circuit 405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. Among them, the audio circuit 405 includes a microphone. The microphone is electrically connected to the processor 401. The microphone is used to receive the voice information input by the user.
[0117] The input unit 406 can be used to receive input digital, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. Among them, the input unit 406 can include a fingerprint recognition module.
[0118] The sensor 407 is used to collect information of the electronic device itself, user information or external environment information. For example, the sensor 407 can include one or more of a vibration sensor, a temperature sensor, a distance sensor, a magnetic field sensor, a light sensor, an acceleration sensor, a fingerprint sensor, a Hall sensor, a position sensor, a gyroscope, an inertial sensor, an attitude sensor, a barometer, a heart rate sensor, etc.
[0119] The power supply 408 is used to supply power to each component of the electronic device 400. In some embodiments, the power supply 408 can be logically connected to the processor 401 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.
[0120] In this embodiment, the processor 401 in the electronic device 400 will load the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 will run the computer programs stored in the memory 402 to realize various functions as follows:
[0121] When the retractable display screen is unfolded, obtain the extension length of the retractable display screen;
[0122] Detect whether the retractable display screen is in a fully unfolded state according to the extension length;
[0123] When the retractable display screen is in a fully unfolded state, generate a prompt message for prompting to stop the stretching operation of the retractable display screen.
[0124] As can be seen from the above, compared with the prior art, the embodiment of the present application provides an electronic device. When the retractable display screen is unfolded, the electronic device obtains the extension length of the retractable display screen, detects whether the retractable display screen is in a fully unfolded state according to the extension length, and generates a prompt message when the retractable display screen is in a fully unfolded state. The prompt message is used to prompt to stop the extension operation of the retractable display screen. In this embodiment, when the retractable display screen is unfolded, it is detected whether the display screen is in a fully unfolded state by the obtained extension length of the display screen. If so, a prompt message is generated to prompt to stop the extension operation of the display screen, avoiding damage caused by continuously extending the display screen after it is in a fully unfolded state, thereby improving the service life of the display screen.
[0125] The embodiment of the present application also provides a storage medium, in which a computer program is stored. When the computer program runs on a computer, the computer executes the device control method described in any one of the above embodiments.
[0126] For example, in some embodiments, when the above computer program runs on a computer, the computer executes the following steps:
[0127] When the retractable display screen is unfolded, obtain the extension length of the retractable display screen;
[0128] Detect whether the retractable display screen is in a fully unfolded state according to the extension length;
[0129] When the retractable display screen is in a fully unfolded state, generate a prompt message, and the prompt message is used to prompt to stop the extension operation of the retractable display screen.
[0130] For the specific implementation manners of the above operations, reference may be made to the previous embodiments, and details are not described herein again.
[0131] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.
[0132] Since the instructions stored in the storage medium can execute the steps in any one of the device control methods provided by the embodiments of the present application, the beneficial effects that can be achieved by any one of the device control methods provided by the embodiments of the present application can be realized. For details, refer to the previous embodiments, and details are not described herein again.
[0133] It should be noted that for the device control method of the embodiments of the present application, those of ordinary skill in the art can understand that all or part of the processes for implementing the device control method of the embodiments of the present application can be completed by controlling related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, such as stored in the memory of an electronic device and executed by at least one processor in the electronic device. During the execution process, it can include the processes of the embodiments of the device control method.
[0134] For the device control device of the embodiments of the present application, its various functional modules can be integrated in a processing chip, or each module can exist physically alone, or two or more modules can be integrated in one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. 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.
[0135] The device control method, device, storage medium, and electronic device provided by the embodiments of the present application have been introduced in detail above. Specific examples are used in this article to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A device control method, applied to an electronic device, characterized in that, The electronic device includes a retractable display screen, and further includes a reset member and a driving mechanism. One end of the flexible display screen received in the accommodating space is linked with the reset member. When the first housing and the second housing approach each other relatively, the reset member drives the flexible display screen to reset, so that part of the flexible display screen is received in the accommodating space. The driving mechanism is linked with the second housing, and the driving mechanism is used to drive the second housing to move away from the first housing relatively, so as to drive the flexible display screen to extend. Wherein, when using the driving mechanism to control the automatic extension of the flexible display screen, a sensor in the electronic device detects the length of the movement of the flexible display screen. When the flexible display screen is about to be in a fully extended state, the rotation speed of the motor is reduced, so that the flexible screen gradually reaches the fully extended state. When the driving mechanism is a touch button, clicking the touch button controls the extension of the flexible display screen. If the extension state of the flexible display screen is controlled by a single click, the extension length corresponding to each single click of the touch button is set. The method includes: When the retractable display screen is extended, obtaining the extension length of the retractable display screen, including: calculating the extension length of the flexible display screen extending from inside the rotating shaft to outside the rotating shaft according to the product of the rotation speed of the rotating shaft and the time of performing the extension operation. Detecting whether the retractable display screen is in a fully extended state according to the extension length. When the retractable display screen is in a fully extended state, generating a prompt message, where the prompt message is used to prompt to stop the extension operation of the retractable display screen.
2. The device control method according to claim 1, wherein After obtaining the extension length of the retractable display screen when the retractable display screen is extended, it further includes: Generating a percentage prompt message corresponding to the extension length according to the extension length, where the percentage prompt message is percentage information of the extension length accounting for the total extendable length of the display screen. Displaying the percentage information in a preset display area of the display screen.
3. The device control method according to claim 2, wherein The displaying the percentage information in a preset display area of the display screen includes: When the percentage information is in different numerical ranges, displaying the percentage information in different colors in the preset display area of the display screen.
4. According to the device control method described in claim 2, the electronic device further includes a flash. When the retractable display screen is in a fully extended state, generating a prompt message includes: When the percentage information displayed in the preset display area is 100%, generating a visual prompt message, where the visual prompt message is to display text or graphic prompts in the display area of the display screen and / or send a flash prompt through the flash.
5. According to the device control method described in claim 2, the electronic device further includes an audio component. When the retractable display screen is in a fully extended state, generating a prompt message includes: When the percentage information displayed in the preset display area is 100%, generating an auditory prompt message, where the auditory prompt message is to send a sound prompt through the audio component.
6. The device control method according to claim 2, wherein the electronic device further includes a vibration sensor, and when the retractable display screen is in a fully unfolded state, a prompt message is generated, including: When the percentage information displayed in the preset display area is 100%, a haptic prompt message is generated, and the haptic prompt message is to send a vibration prompt through the vibration sensor.
7. The device control method according to claim 1, wherein The electronic device further includes a rotating shaft, the rotating shaft is linked with the display screen, and the retractable part of the display screen can be accommodated in the rotating shaft or unfolded from the rotating shaft to the outside of the rotating shaft. When the retractable display screen is in a fully unfolded state, a prompt message is generated, including: When the retractable display screen is in a fully unfolded state, a prompt image is generated, and the prompt image is displayed at the edge of the display area on the side of the display screen close to the rotating shaft.
8. A device control device, applied to an electronic device, characterized in that, The electronic device includes a retractable display screen, and further includes a reset member and a driving mechanism. One end of the flexible display screen accommodated in the accommodating space is linked with the reset member. When the first housing and the second housing are relatively close to each other, the reset member drives the flexible display screen to reset, so that part of the flexible display screen is accommodated in the accommodating space; the driving mechanism is linked with the second housing, and the driving mechanism is used to drive the second housing to move away from the first housing, thereby driving the flexible display screen to stretch; wherein, when using the driving mechanism to control the automatic stretching of the flexible display screen, the sensor in the electronic device detects the length of the movement of the flexible display screen. When the flexible display screen is about to be in a fully unfolded state, the rotation speed of the motor is reduced, so that the flexible screen gradually reaches the fully unfolded state; when the driving mechanism is a touch button, clicking the touch button controls the stretching of the flexible display screen. If the stretching state of the flexible display screen is controlled by a single click method, the stretching length of the flexible display screen corresponding to each single click on the touch button is set; the device includes: An acquisition module, configured to acquire the stretching length of the retractable display screen when the retractable display screen is unfolded, including: calculating the stretching length of the flexible display screen from inside the rotating shaft to the outside of the rotating shaft according to the product of the rotation speed of the rotating shaft and the time of performing the stretching operation; A detection module, configured to detect whether the retractable display screen is in a fully unfolded state according to the stretching length; A generation module, configured to generate a prompt message when the retractable display screen is in a fully unfolded state, and the prompt message is used to stop the stretching operation of the retractable display screen.
9. A storage medium, on which a computer program is stored, characterized in that, When the computer program runs on a computer, the computer is caused to execute the device control method according to any one of claims 1 to 7.
10. An electronic device, comprising a processor and a memory, the memory storing a computer program, characterized in that, The processor is configured to execute the device control method according to any one of claims 1 to 7 by calling the computer program.
Citation Information
Patent Citations
Early warning control method, early warning control apparatus and flexible display apparatus
CN106210310A
Flexible display device
CN111047995A
Portable device and control method thereof
US20140204037A1