Method, device and intelligent device for controlling electronic equipment
By detecting the boot conditions in the environment detection module of the electronic device and controlling the device to enter the background startup program, the problem of the waiting time for the electronic device to boot is solved, improving the user experience and reducing performance misunderstandings.
Patent Information
- Application Number
- CN202010042150.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-15
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2040-01-15
AI Technical Summary
It takes a while for existing electronic devices to start after receiving the power-on command, resulting in an increase in user waiting time, causing the user to have the illusion of poor equipment performance and affecting the user experience.
The environment detection module obtains the motion data of the environment in which the electronic device is located. When the data meets the startup conditions, the electronic device is controlled to enter the background to start the program. After receiving the official startup command, start the device's screen.
By entering the backend startup program in advance, the waiting time for electronic devices is shortened, the user experience is improved, and the performance misunderstandings arise from users due to the waiting time is avoided.
Smart Images

Figure CN113127073B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a method and apparatus for controlling an electronic device and a smart device. Background Art
[0002] In the related art, it takes a while for electronic devices such as large-screen TVs to start up and enter the working interface after receiving a power-on command, which wastes a lot of user time and gives users the illusion that the electronic device has poor performance, affecting user experience. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide a method, an apparatus and an intelligent device for controlling an electronic device, so as to solve the defects in the related art.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a method for controlling an electronic device, including:
[0005] If the environment in which the electronic device is located meets the boot condition, controlling the electronic device to enter a background startup program;
[0006] Within a preset time period after the operation of controlling the electronic device to enter the background startup program is executed, if a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started.
[0007] In one embodiment, the method further comprises:
[0008] If the formal startup instruction is not received, the electronic device is controlled to enter a shutdown procedure.
[0009] In one embodiment, the environment in which the electronic device is located satisfies the power-on condition, including:
[0010] Acquire motion data of various objects in the environment where the electronic device is located through the environment detection module;
[0011] When the motion data of each object meets the startup condition, it is determined that the environment in which the electronic device is located meets the startup condition.
[0012] In one embodiment, the motion data of each object in the environment where the electronic device is located includes one or a combination of the following:
[0013] The current speed of the object;
[0014] The speed of the object before the set time;
[0015] The current position of the object;
[0016] The position of the object before the set time;
[0017] Object size.
[0018] In one embodiment, the startup conditions have multiple groups;
[0019] When the motion data of each object meets any set of startup conditions, it is determined that the environment in which the electronic device is located meets the startup conditions.
[0020] In one embodiment, the method further comprises:
[0021] The startup conditions that meet the abandonment conditions are discarded, and the startup conditions that meet the abandonment conditions include one or a combination of the following:
[0022] Start conditions that are not used within the set time;
[0023] A startup condition in which the probability of starting the electronic device is lower than a set threshold.
[0024] In one embodiment, the method further comprises:
[0025] After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data;
[0026] The startup condition is updated according to historical startup data.
[0027] In one embodiment, updating the startup condition according to historical startup data includes:
[0028] When the update conditions are met, the same values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup conditions are updated or one or more new startup conditions are formed.
[0029] In one embodiment, the method further comprises:
[0030] The historical boot data that meets the data discarding condition is discarded, and the historical boot data that meets the data discarding condition includes one or a combination of the following:
[0031] The historical startup data has been used to update the startup conditions;
[0032] Historical boot data before the set time;
[0033] Historical startup data before the set number.
[0034] According to a second aspect of an embodiment of the present disclosure, a device for controlling an electronic device is provided, the device comprising:
[0035] A startup program control module, used to control the electronic device to enter a background startup program when the environment in which the electronic device is located meets the startup conditions;
[0036] The device screen startup module is used to start the screen of the electronic device if a formal startup instruction for starting the electronic device is received within a preset time period after executing the operation of controlling the electronic device to enter the background startup program.
[0037] In one embodiment, the device further comprises:
[0038] The shutdown program control module is used to control the electronic device to enter the shutdown program when the formal startup instruction is not received.
[0039] In one embodiment, the startup program control module is further used to:
[0040] Acquire motion data of various objects in the environment where the electronic device is located through the environment detection module;
[0041] When the motion data of each object meets the startup condition, it is determined that the environment in which the electronic device is located meets the startup condition.
[0042] In one embodiment, the motion data of each object in the environment where the electronic device is located includes one or a combination of the following:
[0043] The current speed of the object;
[0044] The speed of the object before the set time;
[0045] The current position of the object;
[0046] The position of the object before the set time;
[0047] Object size.
[0048] In one embodiment, the startup conditions have multiple groups;
[0049] The startup program control module is also used to determine that the environment of the electronic device meets the startup conditions when the motion data of each object meets any set of startup conditions.
[0050] In one embodiment, the device further comprises:
[0051] The startup condition discarding module is used to discard the startup condition that meets the discarding condition, and the startup condition that meets the discarding condition includes one or a combination of the following:
[0052] Start conditions that are not used within the set time;
[0053] A startup condition in which the probability of starting the electronic device is lower than a set threshold.
[0054] In one embodiment, the startup program control module further includes a startup condition updating unit;
[0055] The start condition updating unit is used for:
[0056] After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data;
[0057] The startup condition is updated according to historical startup data.
[0058] In one embodiment, the start condition updating unit is used to:
[0059] When the update conditions are met, the same values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup conditions are updated or one or more new startup conditions are formed.
[0060] In one embodiment, the device further comprises:
[0061] The boot data discarding module is used to discard the historical boot data that meets the data discarding condition, and the historical boot data that meets the data discarding condition includes one or a combination of the following:
[0062] The historical startup data has been used to update the startup conditions;
[0063] Historical boot data before the set time;
[0064] Historical startup data before the set number.
[0065] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0066] A processor, an environment detection module connected to the processor, an instruction receiving module, and a memory for storing instructions executable by the processor;
[0067] Wherein, the environment detection module is used to obtain motion data of various objects in the environment where the electronic device is located;
[0068] The instruction receiving module is used to receive instructions sent by the user;
[0069] The processor is configured to:
[0070] If the motion data of each object meets the startup condition, determining that the environment of the electronic device meets the startup condition, and controlling the electronic device to enter the background startup program;
[0071] Within a preset time period after the operation of controlling the electronic device to enter the background startup program is executed, if a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started.
[0072] In one embodiment, the environment monitoring module includes a millimeter wave module.
[0073] In one embodiment, the millimeter wave module is located on the front side of the electronic device.
[0074] In one embodiment, the millimeter wave module is used for:
[0075] Sending electromagnetic waves in the millimeter wave band to a preset area in the environment where the electronic device is located;
[0076] Receiving an echo reflected by the electromagnetic wave after it hits an object;
[0077] Using a set algorithm to detect the echo, and obtain motion data of each object in the environment where the electronic device is located;
[0078] The motion data is sent to the processor.
[0079] In one embodiment, the motion data of each object in the environment where the electronic device is located includes one or a combination of the following:
[0080] The current speed of the object;
[0081] The speed of the object before the set time;
[0082] The current position of the object;
[0083] The position of the object before the set time;
[0084] Object size.
[0085] In one embodiment, the startup conditions have multiple groups;
[0086] The processor is further configured to:
[0087] When the motion data of each object meets any set of startup conditions, it is determined that the environment in which the electronic device is located meets the startup conditions.
[0088] In one embodiment, the processor is further configured to:
[0089] The startup conditions that meet the abandonment conditions are discarded, and the startup conditions that meet the abandonment conditions include one or a combination of the following:
[0090] Start conditions that are not used within the set time;
[0091] A startup condition in which the probability of starting the electronic device is lower than a set threshold.
[0092] In one embodiment, the processor is further configured to:
[0093] After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data;
[0094] The startup condition is updated according to historical startup data.
[0095] In one embodiment, the processor is further configured to:
[0096] When the update conditions are met, the same values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup conditions are updated or one or more new startup conditions are formed.
[0097] In one embodiment, the processor is further configured to:
[0098] The historical boot data that meets the data discarding condition is discarded, and the historical boot data that meets the data discarding condition includes one or a combination of the following:
[0099] The historical startup data has been used to update the startup conditions;
[0100] Historical boot data before the set time;
[0101] Historical startup data before the set number.
[0102] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
[0103] If the environment in which the electronic device is located meets the boot condition, controlling the electronic device to enter a background startup program;
[0104] Within a preset time period after the operation of controlling the electronic device to enter the background startup program is executed, if a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started.
[0105] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0106] The present disclosure controls the electronic device to enter a background startup program when the environment in which the electronic device is located meets the startup conditions, and within a preset time period after executing the operation of controlling the electronic device to enter the background startup program, if a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started. Since the electronic device starts to start only when the power button of the startup device is pressed in the related technology, this embodiment is improved to start the background startup of the electronic device when it is detected that the environment in which the electronic device is located meets the startup conditions, thereby shortening the waiting time for the electronic device to start up by starting the electronic device in advance.
[0107] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0109] Figure 1 is a flowchart of a method for controlling an electronic device according to a first exemplary embodiment;
[0110] Figure 2 is a flow chart of a method for controlling an electronic device according to a second exemplary embodiment;
[0111] Figure 3 is a flow chart showing how to determine whether the environment of an electronic device meets the power-on condition according to an exemplary embodiment;
[0112] Figure 4 is a flow chart showing how to determine whether the environment of an electronic device meets the power-on condition according to another exemplary embodiment;
[0113] Figure 5 is a flow chart showing how to determine whether the environment of an electronic device meets the power-on condition according to another exemplary embodiment;
[0114] Fig. 6A is a flow chart showing how to determine whether the environment of an electronic device meets the power-on condition according to yet another exemplary embodiment;
[0115] Figure 6B is a schematic diagram of an application scenario of controlling an electronic device according to an embodiment;
[0116] Figure 7 is a block diagram of a device for controlling an electronic device according to an exemplary embodiment;
[0117] Figure 8 is a block diagram of another apparatus for controlling an electronic device according to an exemplary embodiment;
[0118] Fig. 9 The invention is a block diagram of a smart device according to an exemplary embodiment. DETAILED DESCRIPTION
[0119] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0120] Figure 1 is a flowchart of a method for controlling an electronic device according to a first exemplary embodiment; the method for controlling an electronic device can be applied to a control device of a device such as a television. Figure 1 As shown, the method for controlling an electronic device includes the following steps S101-S102:
[0121] In step S101: if the environment of the electronic device meets the boot condition, the electronic device is controlled to enter a background startup program.
[0122] In this embodiment, the control device can determine in real time whether the environment of the electronic device (such as a television, etc.) meets the startup conditions, and when it is determined that the environment of the electronic device meets the startup conditions, the electronic device can be controlled to enter the background startup program.
[0123] Optionally, the control device may be disposed in the electronic device to be controlled, or may be disposed in a remote control device (eg, a remote controller) for controlling the electronic device, which is not limited in this embodiment.
[0124] For example, the control device may collect relevant information about the environment in which the electronic device is located in real time through preset sensors, and then determine whether the environment in which the electronic device is located meets the power-on conditions based on the relevant information.
[0125] It is worth noting that the above-mentioned background startup program can only start the electronic device in the background, but cannot turn on the screen of the electronic device. Since the screen of the electronic device is still turned off at this time, the user does not know that the electronic device has been started in the background. For the user, the electronic device is still in a turned-off state; if a formal startup command is received subsequently, the screen can be turned on to realize the output of the picture.
[0126] In another embodiment, the method for detecting whether the environment of the electronic device meets the power-on condition can also refer to the following Figure 3 The illustrated embodiment will not be described in detail here.
[0127] In step S102: within a preset time period after the operation of controlling the electronic device to enter the background startup program is executed, if a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started.
[0128] It is worth noting that the above preset time period can be set by the developer or user according to actual needs, such as 1 minute, 1.5 minutes, etc., or can be determined based on the statistical results of historical data. For details, please refer to the following Figure 4 The illustrated embodiment will not be described in detail here.
[0129] In this embodiment, after controlling the electronic device to enter the background startup program, if a formal startup instruction for starting the electronic device is received within a preset time period, the screen of the electronic device is started. At this time, since the electronic device has been pre-started, only the screen needs to be started. The startup can be completed within a very short time after the user sends the formal startup instruction, thereby shortening the boot time perceived by the user and improving the user experience.
[0130] From the above description, it can be seen that in this embodiment, when the environment in which the electronic device is located meets the startup conditions, the electronic device is controlled to enter the background startup program and within a preset time period after executing the operation of controlling the electronic device to enter the background startup program, when a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started. It can be understood that the waiting time for the electronic device to start up refers to the time from the user pressing the power button of the startup device to the completion of the startup of the electronic device. In this embodiment, the electronic device starts to start up when the power button of the startup device is pressed in the related technology, and is improved to start the background startup of the electronic device when it is detected that the environment in which the electronic device is located meets the startup conditions, thereby shortening the waiting time for the electronic device to start up by starting the electronic device in advance.
[0131] Figure 2 is a flow chart of a method for controlling an electronic device according to a second exemplary embodiment; the method for controlling an electronic device can be applied to a control device of a device such as a television. Figure 1 As shown, the method for controlling an electronic device includes the following steps S201-S204:
[0132] In step S201: if the environment of the electronic device meets the boot condition, the electronic device is controlled to enter a background startup program.
[0133] The background startup instruction is used to control the electronic device to enter a background startup program.
[0134] In step S202: within a preset time period after executing the operation of controlling the electronic device to enter the background startup program, determine whether a formal startup instruction for starting the electronic device is received: if so, execute step S203; if not, execute step S204.
[0135] In step S203: starting the screen of the electronic device;
[0136] In step S204: a shutdown instruction is sent to the electronic device.
[0137] The shutdown instruction is used to control the electronic device to enter a shutdown procedure.
[0138] The relevant explanations and descriptions of steps S201 - S203 may be found in the above embodiments and will not be elaborated here.
[0139] In this embodiment, within a preset time period after executing the operation of controlling the electronic device to enter the background startup program, if no formal startup instruction for starting the electronic device is received, a shutdown instruction is sent to the electronic device to control the electronic device to enter the shutdown program.
[0140] As can be seen from the above description, this embodiment controls the electronic device to enter a background startup program when the environment in which the electronic device is located meets the startup conditions, and within a preset time period after executing the operation of controlling the electronic device to enter the background startup program, when a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started, and when the formal startup instruction for starting the electronic device is not received, a shutdown instruction is sent to the electronic device to control the electronic device to enter the shutdown program. Since the electronic device starts to start only when the power button of the startup device is pressed in the related technology, it is improved to detect that the electronic device starts the background startup when the environment in which the electronic device is located meets the startup conditions, thereby shortening the waiting time for the electronic device to start up by starting the electronic device in advance, and since the electronic device is controlled to enter the shutdown program when the formal startup instruction is not received, more accurate control of the power on and off of the electronic device can be achieved to meet user needs.
[0141] Figure 3 This is a flowchart showing how to determine whether the environment of an electronic device meets the power-on condition according to an exemplary embodiment; this embodiment is based on the above embodiment and takes how to determine whether the environment of an electronic device meets the power-on condition as an example for exemplary description. Figure 3 As shown, the environment where the electronic device is located meets the power-on condition, which may include the following steps S301-S302:
[0142] In step S301, the motion data of each object in the environment where the electronic device is located is obtained through the environment detection module.
[0143] In this embodiment, the control device of the electronic device can obtain the motion data of each object in the environment where the electronic device is located through the environment detection module.
[0144] Among them, the above-mentioned environment detection module may include a millimeter wave module, etc., and the millimeter wave module can be installed on the front of the electronic device.
[0145] For example, the above-mentioned millimeter wave module can send electromagnetic waves in the millimeter wave band to a preset area in the environment where the electronic device is located, and receive echoes reflected back after the electromagnetic waves hit an object, and then use a set algorithm to detect the echoes to obtain motion data of each object in the environment where the electronic device is located.
[0146] In one embodiment, the motion data of each object in the environment where the electronic device is located may include one or a combination of the following:
[0147] The current speed of the object;
[0148] The speed of the object before the set time;
[0149] The current position of the object;
[0150] The position of the object before the set time;
[0151] Object size.
[0152] In step S302, when the motion data of each object meets the startup condition, it is determined that the environment in which the electronic device is located meets the startup condition.
[0153] In this embodiment, after the motion data of each object in the environment where the electronic device is located is obtained by the environment detection module, it can be determined that the environment where the electronic device is located meets the startup condition when the motion data of each object meets the startup condition.
[0154] In one embodiment, the start-up conditions matching the types of the above-mentioned motion data can be freely set based on actual business needs, such as being set to include one or a combination of the following:
[0155] The current speed of the object is less than or equal to the set speed threshold;
[0156] The speed of the object before the set time is less than or equal to the set speed threshold;
[0157] The current position of the object is in the area where objects such as sofas or chairs are located;
[0158] The position of the object before the set time is in the area where objects such as sofas or chairs are located;
[0159] The size of the objects matches the size of the human body.
[0160] From the above description, it can be seen that this embodiment obtains the motion data of each object in the environment where the electronic device is located through the environment detection module, and when the motion data of each object meets the startup conditions, it is determined that the environment where the electronic device is located meets the startup conditions. This can accurately judge whether the motion data of each object in the environment where the electronic device is located meets the startup conditions, and then determine whether the environment where the electronic device is located meets the startup conditions. This can lay the foundation for controlling the electronic device to enter the background startup program when the environment where the electronic device is located meets the startup conditions.
[0161] Figure 4 FIG. 1 is a flowchart showing how to determine whether the environment of an electronic device meets the power-on condition according to another exemplary embodiment; based on the above embodiment, this embodiment takes how to determine whether the environment of an electronic device meets the power-on condition as an example for exemplary description. Figure 4 As shown, the environment where the electronic device is located meets the power-on condition, and the following steps S401-S403 may be included:
[0162] In step S401, the motion data of each object in the environment where the electronic device is located is obtained through the environment detection module.
[0163] In step S402, when the motion data of each object meets the startup condition, it is determined that the environment in which the electronic device is located meets the startup condition.
[0164] The relevant explanations and descriptions of steps S401 - S402 can be found in the above embodiments and will not be elaborated here.
[0165] In step S403, the start condition that meets the abandonment condition is discarded.
[0166] In this embodiment, it can be determined whether the current start condition meets the discard condition based on the set period or frequency, and then the start condition that meets the discard condition can be discarded.
[0167] In one embodiment, the above-mentioned set period can be set by the developer or user according to actual business needs, such as after each boot, every day or every week, etc. This embodiment does not limit this.
[0168] The start-up conditions that meet the abandonment conditions may include one or a combination of the following:
[0169] Start conditions that are not used within the set time;
[0170] A startup condition in which the probability of starting the electronic device is lower than a set threshold.
[0171] It is worth noting that the above-mentioned set time can be set by developers or users according to actual business needs, such as setting it to every day or every week, etc., and this embodiment does not limit this.
[0172] In this embodiment, the probability of starting the electronic device can be statistically calculated based on a set period or frequency, and then when the probability is lower than a set threshold, the corresponding starting condition can be deleted.
[0173] From the above description, it can be seen that this embodiment judges whether the current startup condition meets the abandonment condition, and when the startup condition meets the abandonment condition, discards the startup condition that meets the abandonment condition, which is beneficial to improving the accuracy and efficiency of subsequent judgment of the motion data of various objects in the environment where the electronic device is located based on the retained startup condition, and can further lay the foundation for controlling the electronic device to enter the background startup program when the environment where the electronic device is located meets the power-on condition.
[0174] Figure 5 FIG. 1 is a flowchart showing how to determine whether the environment of an electronic device meets the power-on condition according to another exemplary embodiment; based on the above embodiment, this embodiment takes how to determine whether the environment of an electronic device meets the power-on condition as an example for exemplary description. Figure 3 As shown, the environment where the electronic device is located meets the power-on condition, and the following steps S501-S504 may be included:
[0175] In step S501, after receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data.
[0176] In this embodiment, each time the control device receives the formal startup instruction, it can obtain the motion data of each object in the environment where the electronic device is located, and then store and mark the motion data of each object in the environment where the electronic device is located as historical startup data.
[0177] Among them, the explanation and description of the above motion data can be found in the above embodiments, and will not be repeated here.
[0178] In step S502, the startup condition is updated according to historical startup data.
[0179] In this embodiment, after receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data, and the startup condition can be updated according to the historical startup data.
[0180] In one embodiment, after the motion data of each object in the environment of the electronic device is stored and marked as historical startup data, the current startup condition can be updated based on the characteristics of the historical startup data, for example, the range of relevant data in the current startup condition can be modified based on the value of the historical startup data. For example, if the current historical data contains that the current speed of the user is 0.5 m / s, and the current speed of the object in the current startup condition is 0.2-0.3 m / s, the range can be modified to 0.2-0.5 m / s.
[0181] In step S503, the motion data of each object in the environment where the electronic device is located is obtained through the environment detection module.
[0182] In step S504, when the motion data of each object meets the startup condition, it is determined that the environment in which the electronic device is located meets the startup condition.
[0183] The relevant explanations and descriptions of steps S503 - S504 can be found in the above embodiments and will not be elaborated here.
[0184] From the above description, it can be seen that this embodiment stores and marks the motion data of each object in the environment where the electronic device is located as historical startup data after receiving the formal startup instruction, and updates the startup conditions according to the historical startup data. This can improve the accuracy of the currently stored startup conditions, and further improve the accuracy of subsequent judgment of the motion data of each object in the environment where the electronic device is located based on the startup conditions and control of the electronic device to enter the background startup program.
[0185] Fig. 6A FIG. 1 is a flowchart showing how to determine whether the environment of an electronic device meets the power-on condition according to another exemplary embodiment; based on the above embodiment, this embodiment takes how to determine whether the environment of an electronic device meets the power-on condition as an example for exemplary description. Figure 3 As shown, the environment where the electronic device is located meets the power-on condition, and the following steps S601-S605 may be included:
[0186] In step S601, after receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data.
[0187] In step S602, the startup condition is updated according to historical startup data.
[0188] In step S603, the motion data of each object in the environment where the electronic device is located is obtained through the environment detection module.
[0189] In step S604, when the motion data of each object meets the startup condition, it is determined that the environment in which the electronic device is located meets the startup condition.
[0190] The relevant explanations and descriptions of steps S601 to S604 can be found in the above embodiments and will not be elaborated here.
[0191] In step S605, the historical boot data that meets the data discarding condition is discarded, and the historical boot data that meets the data discarding condition includes one or a combination of the following:
[0192] The historical startup data has been used to update the startup conditions;
[0193] Historical boot data before the set time;
[0194] Historical startup data before the set number.
[0195] In this embodiment, the control device of the electronic device may also determine whether the current historical startup data meets the data discarding condition based on a set period or frequency, and then discard the historical startup data that meets the data discarding condition.
[0196] In one embodiment, the above-mentioned set period can be set by the developer or user according to actual business needs, such as after each boot, every day or every week, etc. This embodiment does not limit this.
[0197] From the above description, it can be seen that this embodiment judges whether the current historical startup data meets the data discard conditions, and when the historical startup data meets the data discard conditions, discards the historical startup data that meets the data discard conditions, which is beneficial to improving the accuracy and efficiency of subsequent determination of startup conditions based on the retained historical startup data, and can further lay the foundation for controlling the electronic device to enter the background startup program when the environment in which the electronic device is located meets the startup conditions.
[0198] Figure 6B is a schematic diagram of an application scenario of controlling an electronic device according to an embodiment; Figure 6B As shown, the control device of the TV 100 can obtain the motion data of each object in the environment where the TV 100 is located through its own environment detection module, and then when the motion data of an object that meets the startup conditions (such as the motion data of the user 200) is obtained, it is determined that the environment where the TV 100 is located meets the startup conditions, and then the TV 100 can be controlled to enter the background startup program. Furthermore, within a preset time period after executing the operation of controlling the TV 100 to enter the background startup program, if a formal startup instruction for starting the TV 100 is received, the screen of the TV 100 is started.
[0199] Figure 7 is a block diagram of a device for controlling an electronic device according to an exemplary embodiment; Figure 7As shown, the device includes: a startup program control module 110 and a device screen startup module 120, wherein:
[0200] The startup program control module 110 is used to control the electronic device to enter the background startup program when the environment of the electronic device meets the startup conditions;
[0201] The device screen startup module 120 is used to start the screen of the electronic device if a formal startup instruction for starting the electronic device is received within a preset time period after executing the operation of controlling the electronic device to enter the background startup program.
[0202] From the above description, it can be seen that in this embodiment, when the environment in which the electronic device is located meets the startup conditions, the electronic device is controlled to enter the background startup program and within a preset time period after executing the operation of controlling the electronic device to enter the background startup program, when a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started. It can be understood that the waiting time for the electronic device to start up refers to the time from the user pressing the power button of the startup device to the completion of the startup of the electronic device. In this embodiment, the electronic device starts to start up when the power button of the startup device is pressed in the related technology, and is improved to start the background startup of the electronic device when it is detected that the environment in which the electronic device is located meets the startup conditions, thereby shortening the waiting time for the electronic device to start up by starting the electronic device in advance.
[0203] Figure 8 is a block diagram of another device for controlling an electronic device according to an exemplary embodiment; wherein the startup program control module 210 and the device screen startup module 220 are the same as the aforementioned Figure 7 The functions of the startup program control module 110 and the device screen startup module 120 in the illustrated embodiment are the same and will not be described in detail herein.
[0204] like Figure 8 As shown, the device also includes:
[0205] The shutdown program control module 230 is used to control the electronic device to enter the shutdown program when the formal startup instruction is not received.
[0206] In one embodiment, the startup program control module 210 may also be used to:
[0207] Acquire motion data of various objects in the environment where the electronic device is located through the environment detection module;
[0208] When the motion data of each object meets the startup condition, it is determined that the environment in which the electronic device is located meets the startup condition.
[0209] In one embodiment, the motion data of each object in the environment of the electronic device includes one or a combination of the following:
[0210] The current speed of the object;
[0211] The speed of the object before the set time;
[0212] The current position of the object;
[0213] The position of the object before the set time;
[0214] Object size.
[0215] In one embodiment, the start condition may have multiple groups;
[0216] The startup program control module 210 can also be used to determine whether the environment of the electronic device meets the startup conditions when the motion data of each object meets any set of startup conditions.
[0217] In one embodiment, the above device may further include:
[0218] The start condition discarding module 240 may be used to discard the start condition that meets the discarding condition, wherein the start condition that meets the discarding condition includes one or a combination of the following:
[0219] Start conditions that are not used within the set time;
[0220] A startup condition in which the probability of starting the electronic device is lower than a set threshold.
[0221] In one embodiment, the startup program control module 210 may further include a startup condition updating unit 211;
[0222] The start condition updating unit 211 may be used to:
[0223] After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data;
[0224] The startup condition is updated according to historical startup data.
[0225] In one embodiment, the start condition updating unit 211 may also be used for:
[0226] When the update conditions are met, the same values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup conditions are updated or one or more new startup conditions are formed.
[0227] In one embodiment, the above device may further include:
[0228] The boot data discarding module 250 is used to discard the historical boot data that meets the data discarding condition, and the historical boot data that meets the data discarding condition includes one or a combination of the following:
[0229] The historical startup data has been used to update the startup conditions;
[0230] Historical boot data before the set time;
[0231] Historical startup data before the set number.
[0232] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0233] Fig. 9 900 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0234] Reference Fig. 9 , the electronic device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0235] The processing component 902 generally controls the overall operation of the electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0236] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0237] In this embodiment, an environment detection module and an instruction receiving module connected to the processing component 902 may also be included;
[0238] The environment detection module is used to obtain the motion data of each object in the environment where the electronic device 900 is located;
[0239] The command receiving module (such as an infrared remote control unit, a wireless or wired transceiver unit, etc.) is used to receive commands sent by the user;
[0240] The processing component 902 is configured to:
[0241] If the motion data of each object meets the startup condition, it is determined that the environment of the electronic device 900 meets the startup condition, and the electronic device 900 is controlled to enter the background startup program;
[0242] Within a preset time period after executing the operation of controlling the electronic device 900 to enter the background startup program, if a formal startup instruction for starting the electronic device 900 is received, the screen of the electronic device 900 is started.
[0243] In one embodiment, the environment monitoring module includes a millimeter wave module.
[0244] In one embodiment, the millimeter wave module is located on the front side of the electronic device 900 .
[0245] In one embodiment, the millimeter wave module is used for:
[0246] Sending electromagnetic waves in the millimeter wave band to a preset area in the environment where the electronic device 900 is located;
[0247] Receive the echo reflected by the electromagnetic wave after it hits the object;
[0248] The echo is detected by using a set algorithm (e.g., a variety of reflection wave identification algorithms such as Doppler frequency shift) to obtain motion data of various objects in the environment where the electronic device 900 is located;
[0249] The motion data is sent to the processing component 902 .
[0250] In one embodiment, the motion data of each object in the environment where the electronic device 900 is located includes one or a combination of the following:
[0251] The current speed of the object;
[0252] The speed of the object before the set time;
[0253] The current position of the object;
[0254] The position of the object before the set time;
[0255] Object size.
[0256] In one embodiment, the start condition has multiple groups;
[0257] The processing component 902 is also configured to:
[0258] When the motion data of each object meets any set of startup conditions, it is determined that the environment in which the electronic device 900 is located meets the startup conditions.
[0259] In one embodiment, the processing component 902 is further configured to:
[0260] The startup conditions that meet the discard conditions are discarded, and the startup conditions that meet the discard conditions include one or a combination of the following:
[0261] Start conditions that are not used within the set time;
[0262] The probability of starting the electronic device 900 is lower than the start-up condition of the set threshold.
[0263] In one embodiment, the processing component 902 is further configured to:
[0264] After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device 900 is located is stored and marked as historical startup data;
[0265] The startup condition is updated according to historical startup data.
[0266] In one embodiment, the processing component 902 is further configured to:
[0267] When the update condition is reached, the similar values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup condition is updated or one or more new startup conditions are formed.
[0268] In one embodiment, the processing component 902 is further configured to:
[0269] The historical boot data that meets the data discarding condition is discarded, and the historical boot data that meets the data discarding condition includes one or a combination of the following:
[0270] The historical startup data has been used to update the startup conditions;
[0271] Historical boot data before the set time;
[0272] Historical startup data before the set number.
[0273] The power component 906 provides power to various components of the electronic device 900900. The power component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 900900.
[0274] The multimedia component 908 includes a screen that provides an output interface between the electronic device 900900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the electronic device 900900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0275] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the electronic device 900900 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0276] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0277] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the electronic device 900900. For example, the sensor assembly 914 can detect the open / closed state of the electronic device 900900, the relative positioning of the components, such as the display and keypad of the electronic device 900900, and the sensor assembly 914 can also detect the position change of the electronic device 900900 or a component of the electronic device 900900, the presence or absence of contact between the user and the electronic device 900900, the orientation or acceleration / deceleration of the electronic device 900900, and the temperature change of the electronic device 900900. The sensor assembly 914 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0278] The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900900 and other devices. The electronic device 900900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0279] In an exemplary embodiment, the electronic device 900900 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processing components 902 (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessor components 902 or other electronic components to execute the above-mentioned method of controlling the electronic device 900.
[0280] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the above instructions can be executed by the processing component 902920 of the electronic device 900900 to complete the above method of controlling the electronic device 900. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0281] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0282] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for controlling an electronic device, characterized in that: The method comprises: If the environment in which the electronic device is located meets the boot condition, controlling the electronic device to enter a background startup program; Within a preset time period after the operation of controlling the electronic device to enter the background startup program is performed, if a formal startup instruction for starting the electronic device is received, starting the screen of the electronic device; The environment in which the electronic device is located meets the power-on conditions, including: Acquire motion data of various objects in the environment where the electronic device is located through an environment detection module, wherein the environment detection module includes a millimeter wave module, and the millimeter wave module is installed on the front of the electronic device, and the motion data includes the size of the object; When the motion data of each object meets the start-up condition, it is determined that the environment of the electronic device meets the start-up condition, and the start-up condition matching the size of the object is: the size of the object meets the size of the human body.
2. The method according to claim 1, characterized in that The method further comprises: If the formal startup instruction is not received, the electronic device is controlled to enter a shutdown procedure.
3. The method according to claim 1, characterized in that The motion data of each object in the environment where the electronic device is located also includes one or a combination of the following: The current speed of the object; The speed of the object before the set time; The current position of the object; The position of an object before a set time.
4. The method according to claim 1, characterized in that: The starting conditions have multiple groups; When the motion data of each object meets any set of startup conditions, it is determined that the environment in which the electronic device is located meets the startup conditions.
5. The method according to claim 4, characterized in that The method further comprises: The startup conditions that meet the abandonment conditions are discarded, and the startup conditions that meet the abandonment conditions include one or a combination of the following: Start conditions that are not used within the set time; A startup condition in which the probability of starting the electronic device is lower than a set threshold.
6. The method according to claim 1, characterized in that The method further comprises: After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data; The startup condition is updated according to historical startup data.
7. The method according to claim 6, characterized in that The updating of the startup condition according to the historical startup data includes: When the update conditions are met, the same values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup conditions are updated or one or more new startup conditions are formed.
8. The method according to claim 6, characterized in that The method further comprises: The historical boot data that meets the data discarding condition is discarded, and the historical boot data that meets the data discarding condition includes one or a combination of the following: The historical startup data has been used to update the startup conditions; Historical boot data before the set time; Historical startup data before the set number.
9. A device for controlling an electronic device, characterized in that: The device comprises: A startup program control module, used to control the electronic device to enter a background startup program when the environment in which the electronic device is located meets the startup conditions; A device screen startup module, configured to start the screen of the electronic device if a formal startup instruction for starting the electronic device is received within a preset time period after the operation of controlling the electronic device to enter the background startup program is executed; The startup program control module is also used for: Acquire motion data of various objects in the environment where the electronic device is located through an environment detection module, wherein the environment detection module includes a millimeter wave module, and the millimeter wave module is installed on the front of the electronic device, and the motion data includes the size of the object; When the motion data of each object meets the start-up condition, it is determined that the environment of the electronic device meets the start-up condition, and the start-up condition matching the size of the object is: the size of the object meets the size of the human body.
10. The device according to claim 9, characterized in that The device also includes: The shutdown program control module is used to control the electronic device to enter the shutdown program when the formal startup instruction is not received.
11. The device according to claim 9, characterized in that The motion data of each object in the environment where the electronic device is located also includes one or a combination of the following: The current speed of the object; The speed of the object before the set time; The current position of the object; The position of an object before a set time.
12. The device according to claim 9, characterized in that The starting conditions have multiple groups; The startup program control module is also used to determine that the environment of the electronic device meets the startup conditions when the motion data of each object meets any set of startup conditions.
13. The device according to claim 12, characterized in that The device also includes: The startup condition discarding module is used to discard the startup condition that meets the discarding condition, and the startup condition that meets the discarding condition includes one or a combination of the following: Start conditions that are not used within the set time; A startup condition in which the probability of starting the electronic device is lower than a set threshold.
14. The device according to claim 9, characterized in that The startup program control module also includes a startup condition updating unit; The start condition updating unit is used for: After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data; The startup condition is updated according to historical startup data.
15. The device according to claim 14, characterized in that The start condition updating unit is used for: When the update conditions are met, the same values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup conditions are updated or one or more new startup conditions are formed.
16. The device according to claim 14, characterized in that The device also includes: The boot data discarding module is used to discard the historical boot data that meets the data discarding condition, and the historical boot data that meets the data discarding condition includes one or a combination of the following: The historical startup data has been used to update the startup conditions; Historical boot data before the set time; Historical startup data before the set number.
17. An electronic device, characterized in that: include: A processor, an environment detection module connected to the processor, an instruction receiving module, and a memory for storing instructions executable by the processor, wherein the environment detection module includes a millimeter wave module, and the millimeter wave module is installed on the front of the electronic device; The environment detection module is used to obtain motion data of each object in the environment where the electronic device is located, and the motion data includes the size of the object; The instruction receiving module is used to receive instructions sent by the user; The processor is configured to: If the motion data of each object meets the startup condition, it is determined that the environment of the electronic device meets the startup condition, and the electronic device is controlled to enter the background startup program. The startup condition matching the size of the object is: the size of the object meets the size of the human body; Within a preset time period after the operation of controlling the electronic device to enter the background startup program is executed, if a formal startup instruction for starting the electronic device is received, the screen of the electronic device is started.
18. The electronic device according to claim 17, characterized in that: The millimeter wave module is used for: Sending electromagnetic waves in the millimeter wave band to a preset area in the environment where the electronic device is located; Receiving an echo reflected by the electromagnetic wave after it hits an object; Using a set algorithm to detect the echo, and obtain motion data of each object in the environment where the electronic device is located; The motion data is sent to the processor.
19. The electronic device according to claim 17, characterized in that: The motion data of each object in the environment where the electronic device is located also includes one or a combination of the following: The current speed of the object; The speed of the object before the set time; The current position of the object; The position of an object before a set time.
20. The electronic device according to claim 19, characterized in that The starting conditions have multiple groups; The processor is further configured to: When the motion data of each object meets any set of startup conditions, it is determined that the environment in which the electronic device is located meets the startup conditions.
21. The electronic device according to claim 19, characterized in that: The processor is further configured to: The startup conditions that meet the abandonment conditions are discarded, and the startup conditions that meet the abandonment conditions include one or a combination of the following: Start conditions that are not used within the set time; A startup condition in which the probability of starting the electronic device is lower than a set threshold.
22. The electronic device according to claim 17, characterized in that: The processor is further configured to: After receiving the formal startup instruction, the motion data of each object in the environment where the electronic device is located is stored and marked as historical startup data; The startup condition is updated according to historical startup data.
23. The electronic device according to claim 22, characterized in that: The processor is further configured to: When the update conditions are met, the same values in the historical startup data are compared, and according to the values whose differences are within the set range, the startup conditions are updated or one or more new startup conditions are formed.
24. The electronic device according to claim 22, characterized in that: The processor is further configured to: The historical boot data that meets the data discarding condition is discarded, and the historical boot data that meets the data discarding condition includes one or a combination of the following: The historical startup data has been used to update the startup conditions; Historical boot data before the set time; Historical startup data before the set number.
25. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, the following steps are implemented: If the environment in which the electronic device is located meets the boot condition, controlling the electronic device to enter a background startup program; Within a preset time period after the operation of controlling the electronic device to enter the background startup program is performed, if a formal startup instruction for starting the electronic device is received, starting the screen of the electronic device; The environment in which the electronic device is located meets the power-on conditions, including: Acquire motion data of various objects in the environment where the electronic device is located through an environment detection module, wherein the environment detection module includes a millimeter wave module, and the millimeter wave module is installed on the front of the electronic device, and the motion data includes the size of the object; When the motion data of each object meets the start-up condition, it is determined that the environment of the electronic device meets the start-up condition, and the start-up condition matching the size of the object is: the size of the object meets the size of the human body.
Citation Information
Patent Citations
Electronic equipment, method for booting same and booting equipment of electronic equipment
CN104484036A