Control method and electronic equipment

By setting the operable components in the electronic device to change from the first relative position to the second relative position, the trigger control circuit establishes an electrical connection between the battery and the system circuit, solving the problem that the user needs to plug in a power adapter to exit the shipping mode in the prior art, and achieving a better user experience.

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

Patent Information

Application Number
CN202510123570.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-26
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Before the user uses the existing electronic devices for the first time, they need to plug in a power adapter to exit the shipping mode, resulting in a poor user experience.

Method used

By providing an operable component in the electronic device, changing from the first relative position of the body to which it is connected, the trigger control circuit establishes an electrical connection between the battery and the system circuit, thereby exiting the shipping mode.

Benefits of technology

The exit operation of shipping mode is simplified, and users can exit the shipping mode with just a simple operation, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119882970A_ABST
    Figure CN119882970A_ABST
Patent Text Reader

Abstract

The invention provides a control method and electronic equipment, and relates to the technical field of terminal equipment. The control method comprises the following steps: an operable part of the electronic equipment is changed from a first relative position of a body connected with the operable part to a second relative position; a control circuit of the electronic device establishes an electrical connection between the battery and the system circuit in response to the operable member being in the second relative position satisfying a trigger condition, where the control circuit, the battery and the system circuit are located within the body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of terminal equipment, and in particular to a control method and electronic equipment. Background Art

[0002] At present, in order to ensure that electronic devices can be shut down for a long time, the shutdown policy of the manufactured electronic devices is usually set to a shipping mode when they leave the factory. This saves battery power consumed during transportation and storage of the electronic devices and ensures that the electronic devices can still be used normally when they are received by users.

[0003] In the related art, before a user uses an electronic device for the first time, the user can only exit the shipping mode by plugging in a power adapter to charge the electronic device, resulting in a poor user experience. Summary of the invention

[0004] In view of this, the present disclosure provides a control method and an electronic device.

[0005] According to a first aspect of the present disclosure, a control method is provided, comprising: an operable component of an electronic device changes from a first relative position to a second relative position of a main body to which the operable component is connected; a control circuit of the electronic device establishes an electrical connection between a battery and a system circuit in response to the operable component being in the second relative position to satisfy a trigger condition, wherein the control circuit, the battery and the system circuit are located in the main body.

[0006] According to an embodiment of the present disclosure, the operable component being in the second relative position satisfies the trigger condition including: the moving distance between the second relative position and the first relative position satisfies a predetermined distance requirement; or the angle between the second relative position and the first relative position satisfies a predetermined angle requirement.

[0007] According to an embodiment of the present disclosure, after establishing an electrical connection between the battery and the system circuit, it also includes: detecting whether there is a status identifier in a designated storage area of ​​the electronic device; the status identifier indicates that the electronic device is in a monitoring state; in response to the existence of the status identifier, monitoring the status information of the electronic device; determining whether an abnormality occurs in the electronic device based on the status information; in the event that an abnormality occurs in the electronic device, controlling the electronic device to shut down, and controlling the control circuit to disconnect the electrical connection between the battery and the system circuit.

[0008] According to an embodiment of the present disclosure, determining whether an abnormality occurs in the electronic device according to the status information includes: determining that an abnormality occurs in the electronic device when the electronic device is in a loading startup state.

[0009] According to an embodiment of the present disclosure, the status information includes identity information of the user of the electronic device; determining whether the electronic device has an abnormality based on the status information includes: determining that the electronic device has no abnormality when the identity information of the user of the electronic device is configured.

[0010] According to an embodiment of the present disclosure, after determining whether an abnormality occurs in the electronic device, the method further includes: if no abnormality occurs in the electronic device, deleting a status identifier of a designated storage area.

[0011] According to an embodiment of the present disclosure, after establishing an electrical connection between the battery and the system circuit, it also includes: obtaining a switching instruction sent by a user of the electronic device; the switching instruction is used to instruct the control circuit to disconnect the electrical connection between the battery and the system circuit; according to the switching instruction, the control circuit is controlled to disconnect the electrical connection between the battery and the system circuit, and a status identifier is written in a designated storage area of ​​the electronic device; the status identifier indicates that the electronic device is in a monitoring state.

[0012] A second aspect of the present disclosure provides an electronic device, comprising: an operable component, the operable component having a first relative position and a second relative position relative to a body to which the operable component is connected; the operable component can change from the first relative position to the second relative position; a control circuit, in response to the operable component being in the second relative position to meet a trigger condition, establishing an electrical connection between a battery and a system circuit; wherein the control circuit, the battery and the system circuit are located in the body.

[0013] According to an embodiment of the present disclosure, the electronic device also includes a first processor, which is used to: detect whether there is a status identifier in a designated storage area of ​​the electronic device; the status identifier indicates that the electronic device is in a monitoring state; in response to the existence of the status identifier, monitor the status information of the electronic device; determine whether the electronic device has an abnormality based on the status information; in the event that the electronic device has an abnormality, control the electronic device to shut down, and control the control circuit to disconnect the electrical connection between the battery and the system circuit.

[0014] According to an embodiment of the present disclosure, the electronic device also includes a second processor, which is used to: obtain a switching instruction sent by a user of the electronic device; the switching instruction is used to instruct the control circuit to disconnect the electrical connection between the battery and the system circuit; according to the switching instruction, the control circuit is controlled to disconnect the electrical connection between the battery and the system circuit, and write a status identifier in a designated storage area of ​​the electronic device; the status identifier indicates that the electronic device is in a monitoring state.

[0015] A third aspect of an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned control method.

[0016] The fifth aspect of the embodiments of the present disclosure also provides a computer-readable storage medium on which executable instructions are stored, and when the instructions are executed by a processor, the processor executes the above-mentioned control method.

[0017] The sixth aspect of the embodiments of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned control method when executed by a processor.

[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0020] Figure 1 The structure diagram of an electronic device according to an embodiment of the present disclosure is schematically shown;

[0021] Figure 2 A flow chart schematically shows a control method according to a first embodiment of the present disclosure;

[0022] Figure 3 A flow chart schematically shows a control method according to a second embodiment of the present disclosure;

[0023] Figure 4 A flow chart schematically shows a control method according to a third embodiment of the present disclosure;

[0024] Figure 5 A block diagram of an electronic device suitable for implementing a control method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0025] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0029] Figure 1 The structure diagram of an electronic device according to an embodiment of the present disclosure is schematically shown.

[0030] like Figure 1 As shown, the electronic device 10 according to this embodiment includes an operable component 11, a body 12, a control circuit, a battery, and a system circuit.

[0031] The operable component 11 has a first relative position D1 and a second relative position D2 relative to the body 12 to which the operable component 11 is connected; the operable component 11 can change from the first relative position D1 to the second relative position D2. In response to the operable component being in the second relative position D2 and satisfying the trigger condition, the control circuit establishes an electrical connection between the battery and the system circuit, wherein the control circuit, the battery and the system circuit are located in the body 12.

[0032] For example, the electronic device 10 of the embodiment of the present disclosure may be a smart phone, a tablet computer, a laptop computer, a laptop computer, a desktop computer, a smart home appliance, a wearable device such as a smart watch, etc. The electronic device 10 of the embodiment of the present disclosure may also have a foldable form or a retractable scroll form. However, the embodiment of the present disclosure does not impose any special restrictions on the specific device form of the electronic device 10.

[0033] The body 12 may be a collection of components that can realize different functions of the electronic device 10. For example, the body 11 may be a smartphone body, a laptop body, or the like.

[0034] It should be noted that the embodiment of the present disclosure does not specifically limit the number of bodies 12 of the electronic device 10. The electronic device 10 may be a device with one body, such as a tablet computer with one body. The electronic device 10 may also be a device with multiple bodies, such as a foldable screen mobile phone with three bodies, a foldable laptop computer with two bodies, etc.

[0035] Both the operable component 11 and the body 12 may be components within the electronic device 10 . The operable component 11 is connected to the body 12 and can change position relative to the body 12 , that is, can change from a first relative position D1 to a second relative position D2 .

[0036] In one example, the electronic device is a smart phone, the body 12 may be the body of the phone, and the operable component 11 may be a power button (power), or other function buttons, such as a volume button, etc. By pressing the power button, the power button may be changed from the first relative position D1 to the second relative position D2.

[0037] In one example, the electronic device is a foldable laptop computer having two bodies, including a first body and a second body, wherein the first body 11 and the second body 11 are movably connected by a connecting device such as a rotating shaft. Among them, the body 12 can be the first body, and the operable component 11 can be the second body, and the second body is in a folded or unfolded state with the first body through the connecting device. By adjusting the opening and closing state between the two bodies, the operable component 11 can change from the first relative position D1 to the second relative position D2. For example, the position of the second body when it is in the folded state can be set as the first relative position D1; the position of the second body in the unfolded state and unfolded at a predetermined angle can be set as the second relative position D2.

[0038] The first relative position D1 may be a position that the electronic device 10 usually has, and the second relative position D2 is a position that is used less frequently than the first relative position D1. Taking the operable component 11 as an example, the first relative position D1 may be a normal position of the power button, such as an unpressed position, and the second relative position D2 may be a position after the power button is pressed.

[0039] In response to the operable component being in the second relative position D2 satisfying the trigger condition, the control circuit establishes an electrical connection between the battery and the system circuit. Exemplarily, the system circuit may be a circuit composed of a microprocessor, a camera drive circuit, a graphics processor, etc. The battery is used to provide power, for example, the battery may be a lithium battery.

[0040] It is understandable that establishing an electrical connection between the battery and the system circuit means that the battery can power the system circuit, thereby exiting the shipping mode. In the shipping mode, the control circuit continues to be powered by the battery, and the control circuit can cause the electronic device to exit the shipping mode.

[0041] On the contrary, the electrical connection between the battery and the system circuit is disconnected, that is, the battery does not supply power to the system circuit, so that the electronic device enters the shipping mode. When the electronic device needs to be transported over a long distance or stored for a long time, the electronic device can enter the shipping mode. In the shipping mode, the battery cannot supply power to the system circuit, which can save a lot of battery power. Moreover, in the shipping mode, at least some units of the electronic device are stopped from being powered, which can reduce the power consumption of the battery, reduce the current consumption of the electronic device, and improve the battery power retention time.

[0042] For example, the trigger condition that the operable component is in the second relative position D2 includes: the moving distance between the second relative position and the first relative position meets the predetermined distance requirement; or the angle between the second relative position and the first relative position meets the predetermined angle requirement. In this way, after the user gets the mobile phone for the first time, the shipping mode can be exited relatively simply by controlling the moving distance of the operable component or the angle between the operable component and the body, so as to facilitate normal use.

[0043] Through the embodiments of the present disclosure, after the electronic device leaves the factory, when the operable component changes from the first relative position to the second relative position and the second relative position satisfies the trigger condition, the control circuit can be used to establish an electrical connection between the battery and the system circuit to exit the shipping mode. The electronic device provided by this embodiment has a simpler operation for exiting the shipping mode than the traditional operation. After the user gets the electronic device, only a simple operation is required to exit the shipping mode of the electronic device, and the electronic device can be used normally after being turned on, which improves the user experience and can meet the needs of different scenarios.

[0044] In some embodiments, the electronic device 10 also includes a first processor, which is used to: detect whether there is a status identifier in a designated storage area of ​​the electronic device; the status identifier indicates that the electronic device is in a monitoring state; in response to the existence of the status identifier, monitor the status information of the electronic device; determine whether the electronic device has an abnormality based on the status information; if the electronic device has an abnormality, control the electronic device to shut down, and control the control circuit to disconnect the electrical connection between the battery and the system circuit.

[0045] It should be noted that the specific details of the processing flow of the first processor will be described in detail in the control method of the subsequent embodiments and will not be repeated here.

[0046] In some embodiments, the electronic device 10 also includes a second processor, which is used to: obtain a switching instruction sent by a user of the electronic device; the switching instruction is used to instruct the control circuit to disconnect the electrical connection between the battery and the system circuit; according to the switching instruction, the control circuit is controlled to disconnect the electrical connection between the battery and the system circuit, and write a status mark in a designated storage area of ​​the electronic device; the status mark indicates that the electronic device is in a monitoring state.

[0047] It should be noted that the specific details of the processing flow of the second processor will be described in detail in the control method of the subsequent embodiments and will not be repeated here.

[0048] The first processor and the second processor of the embodiment of the present disclosure may be the same or different. The first processor or the second processor may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The first processor or the second processor may also include an onboard memory for caching purposes. The first processor or the second processor may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.

[0049] Based on the above electronic device, the present disclosure also provides a control method. Figure 2~Figure 4 The control method of the embodiment of the present disclosure is described in detail.

[0050] Figure 2 The flowchart of the control method according to the first embodiment of the present disclosure is schematically shown.

[0051] like Figure 2 As shown, the control method of this embodiment includes operations S210 to S220.

[0052] In operation S210, an operable component of an electronic device changes from a first relative position to a body to which the operable component is connected to a second relative position.

[0053] In operation S220, in response to the operable component being in the second relative position satisfying a trigger condition, the control circuit of the electronic device establishes an electrical connection between the battery and the system circuit, wherein the control circuit, the battery, and the system circuit are located in the body.

[0054] In some embodiments, the operable component being in the second relative position satisfies the trigger condition including: the moving distance between the second relative position and the first relative position satisfies a predetermined distance requirement; or the angle between the second relative position and the first relative position satisfies a predetermined angle requirement. In this way, after the user gets the mobile phone for the first time, the shipping mode can be exited relatively simply by controlling the moving distance of the operable component or the angle between the operable component and the main body, so as to facilitate normal use.

[0055] Through the embodiments of the present disclosure, after the electronic device leaves the factory, when the operable component changes from the first relative position to the second relative position and the second relative position satisfies the trigger condition, the control circuit can be used to establish an electrical connection between the battery and the system circuit to exit the shipping mode. The control method provided by this embodiment makes the exit operation of the shipping mode simpler than the traditional operation. After the user gets the electronic device, only a simple operation is required to exit the shipping mode of the electronic device, and the electronic device can be turned on and used normally, which improves the user experience and can meet the needs of different scenarios.

[0056] Figure 3 The flowchart of the control method according to the second embodiment of the present disclosure is schematically shown.

[0057] like Figure 3 As shown, in some embodiments, after the above operation S220 establishes the electrical connection between the battery and the system circuit, it also includes operations S321 to S324 performed by the first processor of the electronic device.

[0058] In operation S321, it is detected whether a status mark exists in a designated storage area of ​​the electronic device; the status mark indicates that the electronic device is in a monitoring state.

[0059] Exemplarily, the designated storage area of ​​the electronic device may be a non-volatile storage space in the electronic device for storing programs and data. For example, the designated storage area may be a register, a memory, a hard disk, a cache, etc. To increase the access speed of the status identifier, preferably, the designated storage area may be a register.

[0060] The status identifier is used to indicate that the electronic device is in a monitoring state. The specific form of the status identifier is not limited, for example, the status identifier can be a code, text, symbol, pattern, etc.

[0061] For example, after the control circuit establishes an electrical connection between the battery and the system circuit, the electronic device enters the startup process. At this time, the first processor of the electronic device can continuously scan the designated storage area of ​​the electronic device to determine whether there is a status mark in the designated storage area.

[0062] When there is a status mark in the designated storage area, it can be determined that the electronic device is in a monitoring state, and subsequent logical judgment is required to determine whether the current startup is a normal startup to prevent users from mistakenly thinking that there is a problem with the electronic device.

[0063] For example, if the designated storage area of ​​the electronic device has a status mark, it can be understood that the first processor is monitoring the shipping mode of the electronic device. Correspondingly, if the designated storage area of ​​the electronic device does not have a status mark, it can be understood that the first processor no longer monitors the shipping mode of the electronic device, and the electronic device will no longer set the shipping mode when it is shut down in the future, so that the user can use the electronic device normally and improve the user experience.

[0064] For example, before the electronic device leaves the factory, at the configuration detection site of the electronic device, and when the electronic device is in the Fastboot state, the host computer can issue a shipping instruction to instruct the control circuit to disconnect the electrical connection between the battery and the system circuit, and adjust the electronic device to the shipping mode for the first time to reduce the power consumption of the battery. When the electronic device is adjusted to the shipping mode for the first time, the host computer can write the status identifier in the designated storage area of ​​the electronic device to indicate that the electronic device is in the monitoring state.

[0065] Therefore, during the transportation process of the electronic device after leaving the factory, the first processor of the electronic device can continuously scan the designated storage area of ​​the electronic device to determine whether there is a status mark in the designated storage area.

[0066] In operation S322, in response to the presence status identification, status information of the electronic device is monitored.

[0067] When the electronic device is in a monitoring state, the first processor of the electronic device can monitor the state information of the electronic device in real time.

[0068] In operation S323, it is determined whether an abnormality occurs in the electronic device according to the status information.

[0069] The first processor can determine whether an abnormality currently occurs in the electronic device based on the real-time monitoring result.

[0070] In operation S324, when an abnormality occurs in the electronic device, the electronic device is controlled to shut down, and the control circuit is controlled to disconnect the battery from the system circuit.

[0071] It is understandable that by disconnecting the electrical connection between the battery and the system circuit, that is, the battery stops supplying power to the system circuit, the electronic device enters the shipping mode to save power during the long-term transportation and storage of the electronic device.

[0072] When an abnormality occurs in the electronic device, the first processor can control the electronic device to shut down, and control the electronic device to re-enter the shipping mode during the shutdown process.

[0073] For example, the first processor may send a first signal to the control circuit to control the control circuit to disconnect the battery from the system circuit. The generation of the first signal may be implemented by software or hardware, which is not limited in the present disclosure.

[0074] In some embodiments, when an abnormality occurs in the electronic device, a prompt message may be output in the display area of ​​the electronic device to remind the user that an abnormality has occurred during startup and the device is about to enter a shutdown state, thereby improving the user experience.

[0075] In some embodiments, when an electronic device is abnormal, the electronic device is not immediately shut down, but is shut down within a preset period of time after the electronic device is abnormal, so as to avoid the loss of actual operation data, battery failure, power supply line failure, etc. caused by sudden power failure of the device. The preset period of time can be pre-configured in the electronic device by the first processor. For example, if the electronic device is a laptop computer, a preset period of time can be set in the BIOS system (Basic Input Output System) to perform a timed shutdown of the electronic device.

[0076] Specifically, when the electronic device exits the shipping mode and enters the boot process, the status information of the electronic device can be monitored in real time if there is a status mark in the designated storage area, and whether the current boot is a normal boot can be determined based on the monitoring result. When it is determined that the current boot is an abnormal boot, the electronic device can be shut down in time, and the electronic device can be controlled to re-enter the shipping mode during the shutdown process.

[0077] Considering that the traditional shipping mode is a one-time shutdown strategy, the shipping mode can only be exited by plugging in a power adapter during the transportation process of the electronic device after it leaves the factory. In addition, for example, when carrying or transporting the electronic device, it is easy to be accidentally squeezed or dropped, causing the power button to be pressed, causing the electronic device to exit the shipping mode and enter the boot process, resulting in power loss and waste.

[0078] The control method provided in this embodiment can promptly determine that the current startup is an abnormal startup after the electronic device exits the shipping mode and enters the startup process due to an accidental touch of an operable component, and promptly shut down the electronic device, and control the electronic device to re-enter the shipping mode during the shutdown process. In this way, when the shipping mode of the electronic device is exited at an unexpected time, for example, when the electronic device exits the shipping mode and enters the startup process due to accidental squeezing or falling of the electronic device, the shipping mode can be re-entered during the shutdown process, thereby reducing the power consumption of the electronic device under misoperation and ensuring that the shipping mode plays its role to the greatest extent.

[0079] In some embodiments, the operation S323 determines whether an abnormality occurs in the electronic device according to the status information, including: when the electronic device is in a loading startup state (BootLoader), determining that an abnormality occurs in the electronic device.

[0080] For example, when the electronic device exits the shipping mode and enters the boot process due to an accidental touch of an operable component, if there is a status mark in the designated storage area, the status information of the electronic device is monitored in real time, and if it is detected that the electronic device is in the BootLoader state, it can be determined that the current boot is an abnormal boot. At this time, the electronic device can be shut down in time, and the electronic device can be controlled to re-enter the shipping mode during the shutdown process.

[0081] In this way, when the shipping mode of the electronic device is exited when it is not as expected, the shipping mode can be re-entered during the shutdown process, thereby reducing the power consumption of the electronic device under misoperation and ensuring that the shipping mode plays a maximum role.

[0082] In some embodiments, the status information of the above operation S323 includes identity information of the user of the electronic device; determining whether the electronic device has an abnormality based on the status information includes: determining that the electronic device has no abnormality when the identity information of the user of the electronic device is configured.

[0083] Specifically, when the electronic device exits the shipping mode and enters the boot process, the status information of the electronic device can be monitored in real time when there is a status mark in the designated storage area. When the configuration of the identity information of the user of the electronic device is completed, the user information is guaranteed to be initialized, and it can be determined that this boot is a normal boot. Then, the electronic device can be used normally.

[0084] For example, the user of the electronic device is a user, and the user can configure his / her identity information according to a startup wizard program preset in the electronic device. After the configuration is completed, it can be determined that this startup is a normal startup.

[0085] In this way, when the electronic device exits the shipping mode and enters the boot process, and the user completes the personal information configuration of the electronic device, the electronic device can be turned on and used, so as to facilitate the user's normal use of the electronic device and improve the user's experience.

[0086] On the contrary, when the electronic device exits the shipping mode and enters the boot process, and it is detected that the identity information configuration of the user of the electronic device is not completed, it can be determined that this boot is an abnormal boot. At this time, the electronic device can be shut down in time, and the electronic device can be controlled to re-enter the shipping mode during the shutdown process. In this way, when the shipping mode of the electronic device is exited when it does not meet expectations, it can re-enter the shipping mode during the shutdown process, reducing the power consumption of the electronic device under misoperation and ensuring that the shipping mode plays a role to the greatest extent.

[0087] In some embodiments, after the above operation S323 determines whether the electronic device has an abnormality, it also includes: if the electronic device has no abnormality, deleting the status identifier of the designated storage area.

[0088] It can be understood that the electronic device has no abnormality, which can be understood as the electronic device exiting the shipping mode is in line with expectations, there is no startup abnormality, and the electronic device can be used normally. At this time, this embodiment deletes the status identifier in the designated storage area of ​​the electronic device. Since the status identifier is deleted, the first processor no longer monitors the shipping mode of the electronic device, and the electronic device will no longer set the shipping mode when it is shut down in the future, so that the user can use the electronic device normally and improve the user experience.

[0089] In some embodiments, the status information of the above operation S323 includes the number of times the electronic device is shut down within a preset time period; determining whether the electronic device is abnormal based on the status information includes: determining that the electronic device is abnormal when the number of shutdowns exceeds a preset threshold.

[0090] It is understandable that if the operable component is always in the second relative position, for example, the power button is always in the resisting state, the electronic device will shut down frequently due to the mis-touch of the operable component. In this case, the control method provided by this embodiment can determine that the electronic device is abnormal when the first processor detects a large number of shutdowns, shut down the electronic device in time, and control the electronic device to re-enter the shipping mode during the shutdown process, thereby reducing the power consumption of the electronic device under mis-operation and protecting the electronic device.

[0091] Figure 4 The flowchart of the control method according to the third embodiment of the present disclosure is schematically shown.

[0092] like Figure 4 As shown, in some embodiments, after the above operation S220 establishes the electrical connection between the battery and the system circuit, it also includes operations S421 to S422 performed by the second processor of the electronic device.

[0093] In operation S421, a switching instruction sent by a user of the electronic device is obtained; the switching instruction is used to instruct the control circuit to disconnect the battery from the system circuit.

[0094] For example, when the electronic device exits the shipping mode and enters the boot process, the user can select the shipping mode of the electronic device in the BIOS system according to his or her actual needs, thereby generating a switching instruction to instruct the control circuit to disconnect the electrical connection between the battery and the system circuit.

[0095] For example, when the electronic device has exited the shipping mode and is in normal use, and when the electronic device needs to be transported over long distances or stored for a long time, the user can instruct the control circuit to disconnect the electrical connection between the battery and the system circuit by sending a switching instruction.

[0096] In operation S422, according to the switching instruction, the control circuit is controlled to disconnect the battery from the system circuit, and a status mark is written into a designated storage area of ​​the electronic device; the status mark indicates that the electronic device is in a monitoring state.

[0097] Thus, the electronic device can re-enter the shipping mode according to the switching instruction sent by the user according to actual needs. Moreover, when entering the shipping mode, a state identifier is written in the designated storage area of ​​the electronic device, and the electronic device is in the monitoring state at this time, and the first processor of the electronic device can monitor the state information of the electronic device in real time.

[0098] In this way, after the electronic device has exited the shipping mode and is in normal use, the user can put the electronic device back into the shipping mode according to the actual needs of the user, for example, when the electronic device needs to be transported over a long distance or stored for a long time. In the shipping mode, the battery cannot supply power to the system circuit, which can save a lot of battery power. Moreover, in the shipping mode, at least some units of the electronic device are stopped from supplying power, which can reduce the power consumption of the battery, reduce the current consumption of the electronic device, and improve the battery power retention time.

[0099] In some embodiments, in the above operation S422, the control circuit disconnects the electrical connection between the battery and the system circuit, and the electronic device also enters the shutdown process. After the state identifier is written in the designated storage area of ​​the electronic device, it can also return to the above operations S210 to S220, that is, when the operable component changes from the first relative position to the second relative position and the second relative position meets the trigger condition, the control circuit establishes the electrical connection between the battery and the system circuit to exit the shipping mode and enter the startup process again.

[0100] Next, in some embodiments, after the electronic device exits the shipping mode and enters the boot process, it can return to the above-mentioned operations S321 to S324. That is, after the electronic device exits the shipping mode and enters the boot process due to an accidental touch of an operable component, it can promptly determine that the current boot is an abnormal boot, and promptly shut down the electronic device, and control the electronic device to re-enter the shipping mode during the shutdown process.

[0101] It should be noted that the control method implemented in the present disclosure can be applied to the electronic device of any of the aforementioned embodiments. The electronic device, the operable component, the main body, the control circuit, the battery, the system circuit, the first processor, and the second processor can all refer to the description of the electronic device of any of the aforementioned embodiments, and will not be repeated here.

[0102] It should also be noted that the implementation method of the device part is similar to the implementation method of the method part, and the technical effects achieved are also similar. The specific details can be referenced to each other and will not be repeated here.

[0103] Figure 5 A block diagram of an electronic device suitable for implementing a control method according to an embodiment of the present disclosure is schematically shown.

[0104] like Figure 5 As shown, the electronic device 500 according to an embodiment of the present disclosure includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 to a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include an onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0105] In RAM 503, various programs and data required for the operation of electronic device 500 are stored. Processor 501, ROM 502 and RAM 503 are connected to each other via bus 504. Processor 501 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 502 and / or RAM 503. It should be noted that the program can also be stored in one or more memories other than ROM 502 and RAM 503. Processor 501 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0106] According to an embodiment of the present disclosure, the electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to the bus 504. The electronic device 500 may further include one or more of the following components connected to the I / O interface 505: an input portion 506 including a keyboard, a mouse, etc.; an output portion 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 508 including a hard disk, etc.; and a communication portion 509 including a network interface card such as a LAN card, a modem, etc. The communication portion 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage portion 508 as needed.

[0107] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0108] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 502 and / or the RAM 503 described above and / or one or more memories other than the ROM 502 and the RAM 503.

[0109] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the control method provided by the embodiment of the present disclosure.

[0110] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 501. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0111] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 509, and / or installed from the removable medium 511. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0112] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the processor 501, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0113] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0114] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0115] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A control method, comprising: The operable component of the electronic device changes from a first relative position of a body to which the operable component is connected to a second relative position; The control circuit of the electronic device establishes an electrical connection between the battery and the system circuit in response to the operable component being in the second relative position and satisfying a trigger condition, wherein the control circuit, the battery and the system circuit are located in the body.

2. The control method according to claim 1, wherein the operable component is in the second relative position and satisfies the trigger condition, comprising: The moving distance between the second relative position and the first relative position meets a predetermined distance requirement; or An angle between the second relative position and the first relative position meets a predetermined angle requirement.

3. The control method according to claim 1, after establishing the electrical connection between the battery and the system circuit, further comprising: Detecting whether a status mark exists in a designated storage area of ​​the electronic device; The state identifier indicates that the electronic device is in a monitoring state; In response to the presence of the status identifier, monitoring status information of the electronic device; Determining whether an abnormality occurs in the electronic device according to the status information; In the event that an abnormality occurs in the electronic device, the electronic device is controlled to shut down, and the control circuit is controlled to disconnect the electrical connection between the battery and the system circuit.

4. The control method according to claim 3, determining whether the electronic device is abnormal according to the status information, comprises: When the electronic device is in a loading startup state, it is determined that an abnormality occurs in the electronic device.

5. The control method according to claim 3, wherein the state information includes identity information of a user of the electronic device; and determining whether the electronic device is abnormal based on the state information comprises: When the identity information of the user of the electronic device is configured, it is determined that no abnormality occurs in the electronic device.

6. The control method according to claim 3, after determining whether the electronic device is abnormal, further comprising: When no abnormality occurs to the electronic device, the status identifier of the designated storage area is deleted.

7. The control method according to claim 1, after establishing the electrical connection between the battery and the system circuit, further comprising: Obtaining a switching instruction sent by a user of the electronic device; The switching instruction is used to instruct the control circuit to disconnect the battery from the system circuit; According to the switching instruction, the control circuit is controlled to disconnect the electrical connection between the battery and the system circuit, and a status mark is written into a designated storage area of ​​the electronic device; the status mark indicates that the electronic device is in a monitoring state.

8. An electronic device comprising: an operable component having a first relative position and a second relative position relative to a body to which the operable component is connected; The operable member is capable of changing from the first relative position to the second relative position; The control circuit establishes an electrical connection between the battery and the system circuit in response to the operable component being in the second relative position and satisfying a trigger condition; wherein the control circuit, the battery and the system circuit are located in the body.

9. The electronic device according to claim 8, further comprising a first processor configured to: Detecting whether there is a status mark in a designated storage area of ​​the electronic device; the status mark indicates that the electronic device is in a monitoring state; In response to the presence of the status identifier, monitoring status information of the electronic device; Determining whether an abnormality occurs in the electronic device according to the status information; In the event that an abnormality occurs in the electronic device, the electronic device is controlled to shut down, and the control circuit is controlled to disconnect the electrical connection between the battery and the system circuit.

10. The electronic device according to claim 8, further comprising a second processor configured to: Obtaining a switching instruction sent by a user of the electronic device; the switching instruction is used to instruct the control circuit to disconnect the electrical connection between the battery and the system circuit; According to the switching instruction, the control circuit is controlled to disconnect the electrical connection between the battery and the system circuit, and a status mark is written into a designated storage area of ​​the electronic device; the status mark indicates that the electronic device is in a monitoring state.