Control method, chip, storage medium and electronic equipment
By adding a preset state between the low-power state and the working state of the driver chip, a smooth transition of the controlled object during mode switching is achieved, the mechanical friction and abnormal noise problems caused by rapid switching is solved, and the service life and reaction speed of the equipment are improved.
Patent Information
- Application Number
- CN202411797413.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-28
Smart Images

Figure CN119717608A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a control method, a chip, a storage medium and an electronic device. Background Art
[0002] The host computer is a computer that can directly issue control instructions. When the host computer controls the controlled object, it sends instructions to the driver chip in the controlled object. When the driver chip receives the instruction, the driver chip switches its state and drives the controlled object to switch its working mode according to the state of the driver chip.
[0003] At present, the driver chip in the controlled object is designed to be in two states, namely, low power consumption state and working state, which correspond to the two modes of the controlled object. For example, in the low power consumption state, the driver chip has only microampere-level power consumption current, and the driver chip drives the controlled object into sleep mode. In the working state, the power consumption of the driver chip can be set according to the needs of the controlled object, and the driver chip drives the controlled object into working mode.
[0004] In some embodiments, when the driver chip receives an instruction and switches states, for example, when the driver chip switches from a low power state to a working state or from a working state to a low power state (hereinafter referred to as when the driver chip switches from a first state to a second state), since the time for the driver chip state switching is too short, the driver chip drives the controlled object to quickly switch between sleep mode and working mode, for example, the controlled object switches from sleep mode to working mode or from working mode to sleep mode (hereinafter referred to as when the controlled object switches from the first mode to the second mode), resulting in severe mechanical friction and abnormal noise in the controlled object, which may reduce the service life of the controlled object. Summary of the invention
[0005] In order to solve the above problems, the present application provides a control method, a chip, a storage medium and an electronic device.
[0006] In a first aspect, the present application provides a control method for a first electronic device, comprising: receiving a first instruction sent by a second electronic device, the first instruction being used to control the first electronic device to switch from a first mode to a second mode; in response to the first instruction, the first electronic device switches from the first mode to a preset mode, and from the preset mode to the second mode, wherein a first displacement of the first electronic device when in the preset mode relative to when the first electronic device is in the first mode is smaller than a second displacement of the first electronic device when in the second mode relative to when the first electronic device is in the first mode.
[0007] In the present application, a preset state is added between the low power consumption state and the working state of the driver chip, and the preset state of the driver chip drives the first electronic device to switch to the preset mode. The driver chip first switches from the first state to the preset state according to the instruction, and drives the first electronic device from the first mode to the preset mode. Then the driver chip switches from the preset state to the second state, and drives the first electronic device from the preset mode to the second mode. When the first electronic device switches modes, there is a buffer of the preset mode, so that the first electronic device switches smoothly from the first mode to the second mode, reducing the mechanical friction of the first electronic device. In addition, the second electronic device only needs to send one instruction to the driver chip, which reduces the time for the first electronic device to switch from the first mode to the second mode and speeds up the response speed of the first electronic device.
[0008] It can be understood that when the first electronic device switches from the first mode to the second mode, there is mechanical movement, and the corresponding first electronic device is displaced. The first displacement of the first electronic device in the preset mode relative to the first electronic device in the first mode is smaller than the second displacement of the first electronic device in the second mode relative to the first electronic device in the first mode.
[0009] In a possible implementation of the first aspect above, the first mode is a sleep mode, and the second mode is a working mode.
[0010] In a possible implementation of the first aspect above, the second mode is a working mode, and the first mode is a sleep mode.
[0011] In a possible implementation of the first aspect above, the first electronic device includes a driver chip, which receives a first instruction sent by a second electronic device, including: the driver chip receives the first instruction sent by the second electronic device; the first electronic device switches from a first mode to a preset mode, and from the preset mode to a second mode, including: the driver chip drives the first electronic device to switch from the first mode to the preset mode, and from the preset mode to the second mode.
[0012] In a possible implementation of the first aspect above, the power consumption of the driver chip in the sleep mode is less than that in the preset mode; and the power consumption of the driver chip in the preset mode is less than that in the working mode.
[0013] In a possible implementation of the first aspect above, the preset mode is a soft start mode.
[0014] In a possible implementation of the first aspect above, the preset mode is a soft landing mode.
[0015] In a second aspect, the present application provides a driver chip for executing the control method in the above-mentioned first aspect and a possible implementation of the above-mentioned first aspect.
[0016] In a third aspect, the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on an electronic device, the electronic device implements the control method in the above-mentioned first aspect and a possible implementation of the above-mentioned first aspect.
[0017] In a fourth aspect, the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device; and a processor for executing the instructions stored in the memory to implement the control method of the above-mentioned first aspect and a possible implementation of the above-mentioned first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 According to some embodiments of the present application, a schematic diagram of a scenario of the present application is shown;
[0019] Figure 2 According to some embodiments of the present application, a flow chart of a control method is shown;
[0020] Figure 3 Figure A in the middle shows a static schematic diagram of a first electronic device according to some embodiments of the present application;
[0021] Figure 3 Figure B in the middle shows a schematic diagram of a curve showing a displacement of a first electronic device changing over time according to some embodiments of the present application;
[0022] Figure 3 Figure C in the figure shows a schematic diagram of movement of a first electronic device according to some embodiments of the present application;
[0023] Figure 4 Figure A in the middle shows a static schematic diagram of a first electronic device according to some embodiments of the present application;
[0024] Figure 4 Figure B in the middle shows a schematic diagram of a curve showing a displacement of a first electronic device changing over time according to some embodiments of the present application;
[0025] Figure 4 Figure C in the figure shows a schematic diagram of movement of a first electronic device according to some embodiments of the present application;
[0026] Figure 5 Figure A in the middle shows a static schematic diagram of a first electronic device according to some embodiments of the present application;
[0027] Figure 5 Figure B in the middle shows a schematic diagram of a curve showing a displacement of a first electronic device changing over time according to some embodiments of the present application;
[0028] Figure 5Figure C in the figure shows a schematic diagram of movement of a first electronic device according to some embodiments of the present application;
[0029] Figure 6 Figure A in the middle shows a static schematic diagram of a first electronic device according to some embodiments of the present application;
[0030] Figure 6 Figure B in the middle shows a schematic diagram of a curve showing a displacement of a first electronic device changing over time according to some embodiments of the present application;
[0031] Figure 6 Figure C shows a schematic diagram of the movement of a first electronic device according to some embodiments of the present application. DETAILED DESCRIPTION
[0032] The illustrative embodiments of the present application include, but are not limited to, a control method, a chip, a storage medium, and an electronic device.
[0033] The technical solutions of some embodiments of the present application are described below in conjunction with the accompanying drawings.
[0034] When the host computer controls the controlled object, it sends instructions to the driver chip in the controlled object. When the driver chip receives the instruction, the driver chip switches the state and drives the controlled object to switch the working mode according to the state of the driver chip. The following takes the controlled object as the first electronic device and the host computer as the second electronic device as an example to explain the embodiments of the present application.
[0035] Figure 1 A schematic diagram of a scenario of the present application is shown. Figure 1 As shown, the first electronic device includes a driving chip, and the second electronic device communicates with the driving chip in the first electronic device when controlling the first electronic device. The second electronic device controls the controlled object by sending instructions to the driving chip.
[0036] The first electronic device mentioned in this application includes machine tools, car computers, etc., and the second electronic device mentioned in this application includes computers, etc.
[0037] At present, the driver chip in the first electronic device is designed to be in two states, namely, a low power consumption state and a working state, which correspond to two modes of the first electronic device. In the low power consumption state, the driver chip has only a microampere-level power consumption current, and the driver chip drives the first electronic device to enter the sleep mode. In the working state, the power consumption of the driver chip can be set according to the needs of the first electronic device, and the driver chip drives the first electronic device to enter the working mode.
[0038] As mentioned above, after receiving the state switching instruction, the driver chip switches from the first state to the second state, and drives the first electronic device to switch from the first mode to the second mode. Since the state switching time of the driver chip is too short, the driver chip drives the first electronic device to switch modes quickly, causing severe mechanical friction and abnormal noise in the first electronic device, which may reduce the service life of the first electronic device.
[0039] In order to solve the problem of severe mechanical friction and abnormal noise in the first electronic device, in some embodiments, the second electronic device sends multiple instructions to the driver chip to increase the time for the driver chip to switch from the first state to the second state, so that the first electronic device switches smoothly from the first mode to the second mode, reducing the mechanical friction of the first electronic device. However, since the process of the second electronic device sending instructions to the driver chip each time includes microsecond communication time and millisecond scheduling time (hereinafter referred to as instruction time), when the second electronic device sends multiple instructions to the driver chip, the instruction time between the second electronic device and the driver chip is increased, which correspondingly increases the time for the first electronic device to switch from the first mode to the second mode, affecting the response speed of the first electronic device.
[0040] To this end, the present application proposes a control method for a first electronic device, the method comprising: receiving a first instruction sent by a second electronic device, the first instruction being used to control the first electronic device to switch from a first mode to a second mode; in response to the first instruction, the first electronic device switches from the first mode to a preset mode, and from the preset mode to the second mode, wherein a first displacement of the first electronic device when it is in the preset mode relative to when it is in the first mode is smaller than a second displacement of the first electronic device when it is in the second mode relative to when it is in the first mode.
[0041] In some embodiments, the first mode is a sleep mode and the second mode is a work mode; or the first mode is a work mode and the second mode is a sleep mode.
[0042] In the solution provided in the embodiment of the present application, when the first electronic device switches modes, there is a preset mode buffer, so that the first electronic device switches smoothly from the first mode to the second mode, reducing the displacement of the first electronic device and reducing the mechanical friction of the first electronic device.
[0043] Furthermore, compared to the above-mentioned method in which the second electronic device sends multiple instructions to the driver chip, in the solution provided in the embodiment of the present application, the second electronic device only needs to send one instruction to the driver chip, thereby reducing the time for the first electronic device to switch from the first mode to the second mode and speeding up the response speed of the first electronic device.
[0044] It can be understood that the preset state of the driver chip can drive the first electronic device to enter a preset mode. The preset mode of the first electronic device includes a soft landing mode (i.e., a mode in which the first electronic device switches from a working mode to a sleep mode) and a soft start mode (i.e., a mode in which the first electronic device switches from a sleep mode to a working mode). Among them, the preset state of the driver chip can be set when the driver chip leaves the factory.
[0045] It can be understood that when the first electronic device is in sleep mode, the power consumption of the driving chip is less than that in preset mode; and when the first electronic device is in preset mode, the power consumption of the driving chip is less than that in working mode.
[0046] In some embodiments, when the first electronic device is in sleep mode, the driver chip can be regarded as being in a low power consumption state; when the first electronic device is in a preset mode, the driver chip can be regarded as being in a half power consumption state; when the first electronic device is in working mode, the driver chip can be regarded as being in a full power consumption state.
[0047] It can be understood that when the first electronic device is in the preset mode, the power consumption of the driving chip can also be any power consumption whose difference with the half power consumption is less than or equal to the preset threshold.
[0048] Combine the following Figure 2 The specific process of the control method in this application is introduced. Figure 2 A flow chart of a control method is shown. Figure 2 As shown, the method comprises the following steps:
[0049] S101: receiving a first instruction sent by a second electronic device, where the first instruction is used to control the first electronic device to switch from a first mode to a second mode.
[0050] The first electronic device includes a driving chip, and the second electronic device sends a first instruction to the first electronic device, including: the second electronic device sends the first instruction to the driving chip in the first electronic device.
[0051] In some embodiments, the first mode is a sleep mode and the second mode is a working mode.
[0052] In some embodiments, the first mode is a working mode and the second mode is a sleeping mode.
[0053] S102: In response to the first instruction, the first electronic device switches from the first mode to the preset mode, and then switches from the preset mode to the second mode, wherein a first displacement of the first electronic device when in the preset mode relative to when the first electronic device is in the first mode is smaller than a second displacement of the first electronic device when in the second mode relative to when the first electronic device is in the first mode.
[0054] In response to the first instruction, the first electronic device switches modes from the first mode to the second mode. Specifically, the driving chip drives the first electronic device to switch from the first mode to the preset mode, and then from the preset mode to the second mode.
[0055] When the first electronic device switches from the first mode to the second mode, there is mechanical movement, and the corresponding first electronic device is displaced. The first displacement of the first electronic device in the preset mode relative to the first electronic device in the first mode is less than the second displacement of the first electronic device in the second mode relative to the first electronic device in the first mode. For example, the first displacement of the first electronic device in the preset mode relative to the first electronic device in the first mode is 80um, and the second displacement of the first electronic device in the second mode relative to the first electronic device in the first mode is 200um.
[0056] In some embodiments, the first displacement is the displacement that occurs when the first electronic device switches from the first mode to the second mode; and the second displacement is the displacement that occurs when the first electronic device switches from the first mode to the second mode.
[0057] In some embodiments, the first displacement may also be a displacement whose difference with the half-distance displacement is less than or equal to a preset threshold.
[0058] In some embodiments, the power consumption of the driver chip in the sleep mode is less than the power consumption of the driver chip in the preset mode; the power consumption of the driver chip in the preset mode is less than the power consumption of the driver chip in the working mode.
[0059] In some embodiments, when the first mode is the sleep mode and the second mode is the working mode, the preset mode is the soft start mode.
[0060] In some embodiments, when the first mode is the working mode and the second mode is the sleeping mode, the preset mode is the soft landing mode.
[0061] Through the control method provided by the present application, when the first electronic device switches modes, there is a buffer of the preset mode, so that the first electronic device switches smoothly from the first mode to the second mode, reducing the mechanical friction of the first electronic device. In addition, the second electronic device only needs to send one instruction to the driving chip, which reduces the time for the first electronic device to switch from the first mode to the second mode and speeds up the response speed of the first electronic device.
[0062] The following takes the first mode of the first electronic device as the sleep mode and the second mode as the working mode as an example, and combines Figure 3 Figure AC in the figure introduces the process of the first electronic device changing over time. Figure 3 Figure A shows a static schematic diagram of a first electronic device. Figure 3As shown in Figure A, the first electronic device includes a driving chip, and in the first mode, the first electronic device is in a stationary state.
[0063] Figure 3 Figure B shows a curve diagram of the displacement of a first electronic device changing with time. Figure 3 As shown in Figure B, the horizontal axis represents time t / s, and the vertical axis represents displacement / um. The displacement can be the distance of the electronic device relative to a reference position (for example, a stationary position). At time T0, the first electronic device is in the first mode, and the corresponding displacement is 0um (corresponding to Figure 3 The first electronic device is in a stationary state in Figure A). When the second electronic device sends an instruction to the driver chip, the driver chip drives the first electronic device to move. The driver chip first drives the first electronic device to enter a preset mode. For example, at time T0', the first electronic device is in the preset mode, and the corresponding displacement is 80um. Then the driver chip drives the first electronic device from the preset mode to the second mode. For example, at time T1, the first electronic device is in the second mode, and the corresponding displacement is 200um.
[0064] Figure 3 Figure C shows a schematic diagram of the movement of a first electronic device. Figure 3 As shown in Figure C, the first electronic device moves upward from position 1, passes through position 2 and finally moves to position 3. Position 1 is the position corresponding to the first mode (corresponding to Figure 3 At time T0 in the middle B figure), position 2 is the position corresponding to the first electronic device being in the preset mode (corresponding to Figure 3 At time T0' in FIG. B, position 3 is the position corresponding to the first electronic device being in the second mode (corresponding to Figure 3 (at time T1 in Figure B).
[0065] The present application adds a preset state between the sleep mode and the working mode of the driver chip, and the preset state of the driver chip drives the first electronic device to switch to the preset mode. Figure 3 In Figure B, when the first electronic device switches from the first mode (corresponding to the T0 moment) to the second mode (corresponding to the T1 moment), a preset mode (corresponding to the T0' moment) is added, so that the displacement of the first electronic device first increases to 80um in the preset mode, and then increases to 200um in the second mode. That is, when the first electronic device switches modes, there is a displacement buffer of the preset mode, so that the first electronic device smoothly switches from the first mode to the preset mode, and then switches from the preset mode to the second mode, reducing the mechanical friction of the first electronic device. In addition, the second electronic device only needs to send one instruction to the driver chip, which reduces the time for the first electronic device to switch from the first mode to the second mode and speeds up the response speed of the first electronic device.
[0066] The following example takes the first mode of the first electronic device as the working mode and the second mode as the sleep mode as an example, and combines Figure 4 Figure AC in the figure introduces the process of the first electronic device changing over time. Figure 4 Figure A shows a static schematic diagram of a first electronic device. Figure 4 As shown in Figure A, the first electronic device includes a driving chip, and in the first mode, the first electronic device is in motion.
[0067] Figure 4 Figure B shows a curve diagram of the displacement of a first electronic device changing with time. Figure 4 As shown in Figure B, the horizontal axis represents time t / s, and the vertical axis represents displacement / um. At time T0, the first electronic device is in the first mode, and the corresponding displacement is 200um (corresponding to Figure 4 The motion state of the first electronic device in Figure A). When the second electronic device sends an instruction to the driver chip, the driver chip drives the first electronic device to gradually stop. The driver chip first drives the first electronic device to enter the preset mode. For example, at time T0', the first electronic device is in the preset mode, and the corresponding vibration displacement is 80um. Then the driver chip drives the first electronic device from the preset mode to the second mode. For example, at time T1, the first electronic device is in the second mode, and the corresponding displacement is 0um, that is, it enters the static state.
[0068] Figure 4 Figure C shows a schematic diagram of the movement of a first electronic device. Figure 4 As shown in Figure C, the first electronic device moves downward from position 1, passes through position 2 and finally moves to position 3. Among them, position 1 is the position corresponding to the first mode of the first electronic device (corresponding to Figure 4 At time T0 in the middle B figure), position 2 is the position corresponding to the first electronic device being in the preset mode (corresponding to Figure 4 At time T0' in FIG. B, position 3 is the position corresponding to the first electronic device being in the second mode (corresponding to Figure 4 (at time T1 in Figure B).
[0069] The present application adds a preset state between the working mode and the sleep mode of the driver chip, and the preset state of the driver chip drives the first electronic device to switch to the preset mode. Figure 4In Figure B, when the first electronic device switches from the first mode (corresponding to the T0 moment) to the second mode (corresponding to the T1 moment), a preset mode (corresponding to the T0' moment) is added, so that the displacement of the first electronic device is first reduced to 80um in the preset mode, and then reduced to 0um in the second mode. That is, when the first electronic device switches modes, there is a displacement buffer of the preset mode, so that the first electronic device smoothly switches from the first mode to the preset mode, and then switches from the preset mode to the second mode, reducing the mechanical friction of the first electronic device. In addition, the second electronic device only needs to send one instruction to the driver chip, which reduces the time for the first electronic device to switch from the first mode to the second mode and speeds up the response speed of the first electronic device.
[0070] The following takes the first mode of the first electronic device as the sleep mode and the second mode as the working mode as an example, and combines Figure 5 Figures AC in the middle introduce the process of the first electronic device changing over time in the comparative embodiment. Figure 5 Figure A shows a static schematic diagram of a first electronic device. Figure 5 As shown in Figure A, the first electronic device includes a driving chip, and in the first mode, the first electronic device is in a stationary state.
[0071] Figure 5 Figure B shows a curve diagram of the displacement of a first electronic device changing with time. Figure 5 As shown in Figure B, the horizontal axis represents time t / s, and the vertical axis represents displacement / um. At T0, the first electronic device is in the first mode, and the corresponding displacement is 0um. When the second electronic device sends an instruction to the driver chip, the driver chip drives the first electronic device to move, and the driver chip drives the first electronic device from the first mode to the second mode. For example, at T1, the first electronic device is in the second mode, and the corresponding displacement is 200um.
[0072] Figure 5 Figure C shows a schematic diagram of the movement of a first electronic device. Figure 5 As shown in Figure C, the first electronic device moves upward from position 1 to position 2. Position 1 is the position of the first electronic device corresponding to the first mode (corresponding to Figure 5 At time T0 in the figure B, position 2 is the position corresponding to the first electronic device being in the second mode (corresponding to Figure 5 (at time T1 in Figure B).
[0073] Continue to refer Figure 5In Figure B, when the first electronic device switches from the first mode to the second mode, the displacement of the first electronic device jumps directly from 0um to 200um. The first electronic device quickly switches modes, causing severe mechanical friction and abnormal noise in the first electronic device, which may reduce the service life of the first electronic device.
[0074] The following example takes the first mode of the first electronic device as the working mode and the second mode as the sleep mode as an example, and combines Figure 6 Figures AC in the middle introduce the process of the first electronic device changing over time in the comparative embodiment. Figure 6 Figure A shows a static schematic diagram of a first electronic device. Figure 6 As shown in Figure A, the first electronic device includes a driving chip, and in the first mode, the first electronic device is in a stationary state.
[0075] Figure 6 Figure B shows a curve diagram of the displacement of a first electronic device changing with time. Figure 6 As shown in Figure B, the horizontal axis represents time t / s, and the vertical axis represents displacement / um. At T0, the first electronic device is in the first mode, and the corresponding displacement is 200um. When the second electronic device sends an instruction to the driver chip, the driver chip drives the first electronic device to move, and the driver chip drives the first electronic device from the first mode to the second mode. For example, at T1, the first electronic device is in the second mode, and the corresponding displacement is 0um.
[0076] Figure 6 Figure C shows a schematic diagram of the movement of a first electronic device. Figure 6 As shown in Figure C, the first electronic device moves downward from position 1 to position 2. Position 1 is the position of the first electronic device corresponding to the first mode (corresponding to Figure 6 At time T0 in the figure B, position 2 is the position corresponding to the first electronic device being in the second mode (corresponding to Figure 6 (at time T1 in Figure B).
[0077] Continue to refer Figure 6 In Figure B, when the first electronic device switches from the first mode to the second mode, the displacement of the first electronic device jumps directly from 200um to 0um. The first electronic device quickly switches modes, causing severe mechanical friction and abnormal noise in the first electronic device, which may reduce the service life of the first electronic device.
[0078] The present application adds a preset state between the working mode and the sleep mode of the driver chip, and the preset state of the driver chip drives the first electronic device to switch to the preset mode. That is, when the first electronic device switches modes, there is a displacement buffer of the preset mode, so that the first electronic device smoothly switches from the first mode to the preset mode, and then switches from the preset mode to the second mode, reducing the mechanical friction of the first electronic device. In addition, the second electronic device only needs to send one instruction to the driver chip, which reduces the time for the first electronic device to switch from the first mode to the second mode and speeds up the response speed of the first electronic device.
[0079] The present application also provides a driver chip for executing the control method mentioned in the present application.
[0080] The present application also provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on an electronic device, the electronic device implements the control method mentioned in the present application.
[0081] The present application also provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device; and a processor for executing the instructions stored in the memory to implement the control method mentioned in the present application.
[0082] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0083] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0084] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0085] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.
Claims
1. A control method, characterized in that: For a first electronic device, comprising: receiving a first instruction sent by a second electronic device, where the first instruction is used to control the first electronic device to switch from a first mode to a second mode; In response to the first instruction, the first electronic device switches from the first mode to the preset mode, and switches from the preset mode to the second mode, wherein a first displacement of the first electronic device when in the preset mode relative to when the first electronic device is in the first mode is smaller than a second displacement of the first electronic device when in the second mode relative to when the first electronic device is in the first mode.
2. The method according to claim 1, characterized in that The first mode is a sleep mode, and the second mode is a working mode.
3. The method according to claim 1, characterized in that: The first mode is a working mode, and the second mode is a sleeping mode.
4. The method according to claim 2 or 3, characterized in that: The first electronic device includes a driving chip, and the receiving of a first instruction sent by the second electronic device includes: The driving chip receives a first instruction sent by a second electronic device; The first electronic device switches from the first mode to a preset mode, and then switches from the preset mode to the second mode, including: The driving chip drives the first electronic device to switch from the first mode to the preset mode, and then to switch from the preset mode to the second mode.
5. The method according to claim 4, characterized in that The power consumption of the driver chip in the sleep mode is less than that in the preset mode; and the power consumption of the driver chip in the preset mode is less than that in the working mode.
6. The method according to claim 2, characterized in that The preset mode is a soft start mode.
7. The method according to claim 3, characterized in that The preset mode is a soft landing mode.
8. A driver chip, characterized in that: Used to execute the control method described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on an electronic device, the electronic device implements the control method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: a memory for storing instructions to be executed by one or more processors of the electronic device; and a processor, configured to execute instructions stored in the memory to implement the control method according to any one of claims 1 to 7.