Electric quantity display control method and device, control equipment and storage medium

Through the virtual power setting interface and preset attenuation rules, the power display of electronic devices is controlled, which solves the problems of inaccurate power control and long waiting time in the prior art, and improves the working efficiency in power scenarios.

CN119225594APending Publication Date: 2024-12-31ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411021791.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

When controlling the power of electronic equipment, it is difficult to accurately control the power attenuation to the target value, and manual discharge has the problem of a long wait time, which affects working efficiency.

Method used

It provides a power display control method, which obtains the virtual power target value by displaying the virtual power setting interface, and controls the power display of electronic devices based on the preset attenuation rules, avoids manual discharge process, and directly displays the power according to the virtual power.

Benefits of technology

The discharge waiting time in specific power scenarios is reduced, the accuracy and working efficiency of power control are improved, and the waiting time is too long and the unwell speed of power change caused by manual discharge is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225594A_ABST
    Figure CN119225594A_ABST
Patent Text Reader

Abstract

The invention provides an electric quantity display control method and device, control equipment and a computer readable storage medium. The electric quantity display control method comprises the steps that a virtual electric quantity setting interface of the electronic equipment is displayed, and the virtual electric quantity setting interface comprises a virtual electric quantity switch control; acquiring a virtual electric quantity target value of the electronic equipment; and in response to a starting click operation of a virtual electric quantity switch control in the virtual electric quantity setting interface, controlling the electronic equipment to display the electric quantity based on the virtual electric quantity target value. According to the application, the discharge waiting time in a specific electric quantity scene can be reduced, the control accuracy of the specific electric quantity is improved, and the working efficiency in the specific electric quantity scene is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display processing technology, and in particular to a power display control method, device, control equipment and computer-readable storage medium. Background Art

[0002] The power of electronic devices plays an important role in the control and operation of electronic devices. In order to ensure the stable operation of electronic devices, the power changes of electronic devices are usually monitored in real time. In some cases (such as when electronic devices need to be tested), the power of electronic devices needs to be controlled at a specified value to meet the working requirements of specific power scenarios. In related technologies, the power of electronic devices is decayed to a target value by manual discharge. However, manual discharge has problems such as long waiting time and difficulty in accurately controlling the power decay to the target value. Summary of the invention

[0003] The present application provides a power display control method, device, control equipment and computer-readable storage medium, which can reduce the discharge waiting time in a specific power scenario, improve the control accuracy of the specific power, and improve the work efficiency in the specific power scenario.

[0004] In a first aspect, the present application provides a method for controlling a power display, the method comprising:

[0005] Displaying a virtual power setting interface of the electronic device, wherein the virtual power setting interface includes a virtual power switch control;

[0006] Acquiring a virtual power target value of the electronic device;

[0007] In response to a click operation on a virtual power switch control in the virtual power setting interface, the electronic device is controlled to display power based on the virtual power target value.

[0008] In some embodiments, the virtual power setting interface further includes a virtual power input control, and obtaining the virtual power target value of the electronic device includes:

[0009] In response to an input operation on a virtual power input control in the virtual power setting interface, a virtual power input value is received as a virtual power target value of the electronic device.

[0010] In some embodiments, the method further comprises:

[0011] Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law;

[0012] According to the virtual power monitoring value, the power is displayed on the home page of the test software, on the device list page, on the device details page of the electronic device, or on the virtual power setting interface.

[0013] In some embodiments, controlling the electronic device to display power based on the virtual power target value includes:

[0014] The electronic device is controlled to determine and display the virtual power monitoring value of the electronic device according to the virtual power target value and a preset attenuation rule.

[0015] In some embodiments, the method further comprises:

[0016] Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law;

[0017] When the virtual power monitoring value of the electronic device is less than a preset power threshold, sending a test instruction to the electronic device, wherein the test instruction includes at least one of a factory reset test instruction and an upgrade test instruction;

[0018] Alternatively, when the virtual power monitoring value of the electronic device is less than a preset power threshold, it is detected whether the electronic device has low power reminder information.

[0019] In some embodiments, the method further comprises:

[0020] In response to a click-off operation of a virtual power switch control in the virtual power setting interface, controlling the electronic device to display power according to an actual power monitoring value;

[0021] Alternatively, when the control device for the power display of the electronic device is disconnected from the electronic device, the electronic device is controlled to display the power according to the actual power monitoring value;

[0022] Alternatively, when the electronic device is restarted, the electronic device is controlled to display the power level according to the actual power monitoring value.

[0023] In some embodiments, the virtual power setting interface of the display electronic device includes:

[0024] Displays the test page containing test mode controls;

[0025] In response to a click operation on the test mode control, displaying a power entry interface including a virtual power entry control;

[0026] In response to a click operation on the virtual power entry control, a virtual power setting interface of the electronic device is displayed.

[0027] In a second aspect, the present application provides a power display control device, the power display control device comprising:

[0028] A display unit, used to display a virtual power setting interface of the electronic device, wherein the virtual power setting interface includes a virtual power switch control;

[0029] An acquisition unit, used to acquire a virtual power target value of the electronic device;

[0030] The control unit is used to control the electronic device to display the power based on the virtual power target value in response to the on-click operation of the virtual power switch control in the virtual power setting interface.

[0031] In some embodiments, the virtual power setting interface further includes a virtual power input control, and the acquisition unit is specifically used to:

[0032] In response to an input operation on a virtual power input control in the virtual power setting interface, a virtual power input value is received as a virtual power target value of the electronic device.

[0033] In some embodiments, the control unit is specifically configured to:

[0034] Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law;

[0035] According to the virtual power monitoring value, the power is displayed on the home page of the test software, on the device list page, on the device details page of the electronic device, or on the virtual power setting interface.

[0036] In some embodiments, the control unit is specifically configured to:

[0037] The electronic device is controlled to determine and display the virtual power monitoring value of the electronic device according to the virtual power target value and a preset attenuation rule.

[0038] In some embodiments, the control unit is specifically configured to:

[0039] Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law;

[0040] When the virtual power monitoring value of the electronic device is less than a preset power threshold, sending a test instruction to the electronic device, wherein the test instruction includes at least one of a factory reset test instruction and an upgrade test instruction;

[0041] Alternatively, when the virtual power monitoring value of the electronic device is less than a preset power threshold, it is detected whether the electronic device has low power reminder information.

[0042] In some embodiments, the control unit is specifically configured to:

[0043] In response to a click-off operation of a virtual power switch control in the virtual power setting interface, controlling the electronic device to display power according to an actual power monitoring value;

[0044] Alternatively, when the control device for the power display of the electronic device is disconnected from the electronic device, the electronic device is controlled to display the power according to the actual power monitoring value;

[0045] Alternatively, when the electronic device is restarted, the electronic device is controlled to display the power level according to the actual power monitoring value.

[0046] In some embodiments, the display unit is specifically used for:

[0047] Displays the test page containing test mode controls;

[0048] In response to a click operation on the test mode control, displaying a power entry interface including a virtual power entry control;

[0049] In response to a click operation on the virtual power entry control, a virtual power setting interface of the electronic device is displayed.

[0050] In a third aspect, the present application further provides a control device, which includes a processor and a memory, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, it executes any one of the power display control methods provided in the present application.

[0051] In a fourth aspect, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the power display control method.

[0052] This application displays a virtual power setting interface including a virtual power switch control, and in response to an opening click operation on the virtual power switch control, controls the electronic device to display the power based on the virtual power target value; thereby, the electronic device can be controlled to shield the actual power and directly display the power according to the virtual power; on the one hand, it can avoid the problem of long waiting time caused by manual discharge, thereby avoiding fatigue caused by observing power changes, and thus improving the work efficiency of specific power scenarios; on the other hand, it can solve the problem that the power changes too fast or too slow during manual discharge and cannot reach a specific power, thereby avoiding the problem of difficulty in accurately controlling the power attenuation to the target value. It can be seen that this embodiment can reduce the discharge waiting time in a specific power scenario, improve the control accuracy of a specific power, and improve the work efficiency in a specific power scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 is a schematic block diagram of the structure of a control device provided in an embodiment of the present application;

[0055] Figure 2 This is a flow chart of a method for controlling power display provided by an embodiment of the present application;

[0056] Figure 3 This is a schematic diagram illustrating a scenario of a virtual power setting interface in an embodiment of the present application;

[0057] Figure 4 This is a schematic diagram illustrating a scenario in which power is displayed according to a virtual power monitoring value in an embodiment of the present application;

[0058] Figure 5 This is a schematic diagram illustrating a scenario of a virtual power setting interface display process in an embodiment of the present application;

[0059] Figure 6 is a schematic diagram of an embodiment of a power display control process in an embodiment of the present application;

[0060] Figure 7 It is a schematic diagram of the structure of an embodiment of the power display control device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0062] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0063] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0064] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can also be implemented without using these specific details. In other examples, the known process will not be elaborated in detail to avoid unnecessary details that make the description of the present application embodiment obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in accordance with the embodiments of the present application.

[0065] The embodiments of the present application provide a method, device, control device and computer-readable storage medium for controlling power display. The power display control device can be integrated in a control device. The control device can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a server, etc.

[0066] The executor of the power display control method of the embodiment of the present application may be the power display control device provided in the embodiment of the present application, or a control device integrating the power display control device, wherein the power display control device may be implemented in hardware or software.

[0067] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0068] Figure 1It is a structural schematic block diagram of a control device provided in an embodiment of the present application.

[0069] like Figure 1 As shown, the control device 100 includes a processor 101 and a memory 102 , and the processor 101 and the memory 102 are connected via a bus 103 , such as an I2C (Inter-integrated Circuit) bus.

[0070] Specifically, the processor 101 is used to provide computing and control capabilities to support the operation of the entire control device 100. The processor 101 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0071] Specifically, the memory 102 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.

[0072] Those skilled in the art will understand that Figure 1 The structure shown in the figure is merely a block diagram of a partial structure related to the embodiment scheme of the present application, and does not constitute a limitation on the control device to which the embodiment scheme of the present application is applied. The specific control device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0073] The processor 101 is used to run a computer program stored in the memory 102, and implements any one of the power display control methods provided in the embodiments of the present application when executing the computer program. For example, the processor 101 is used to run a computer program stored in the memory 102, and can implement the following steps when executing the computer program:

[0074] Displaying a virtual power setting interface of an electronic device, wherein the virtual power setting interface includes a virtual power switch control; obtaining a virtual power target value of the electronic device; and in response to an on-click operation of the virtual power switch control in the virtual power setting interface, controlling the electronic device to display power based on the virtual power target value.

[0075] In some embodiments, the virtual power setting interface further includes a virtual power input control, and the processor 101 is used to run a computer program stored in the memory 102, and can implement the following steps when executing the computer program:

[0076] In response to an input operation on a virtual power input control in the virtual power setting interface, a virtual power input value is received as a virtual power target value of the electronic device.

[0077] In some embodiments, the processor 101 is used to run a computer program stored in the memory 102, and when executing the computer program, the following steps may be implemented:

[0078] Obtain a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law; according to the virtual power monitoring value, display the power on the home page of the test software, on the device list page, on the device details page of the electronic device, or on the virtual power setting interface.

[0079] In some embodiments, the processor 101 is used to run a computer program stored in the memory 102, and when executing the computer program, the following steps may be implemented:

[0080] The electronic device is controlled to determine and display the virtual power monitoring value of the electronic device according to the virtual power target value and a preset attenuation rule.

[0081] In some embodiments, the processor 101 is used to run a computer program stored in the memory 102, and when executing the computer program, the following steps may be implemented:

[0082] Obtain a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law; when the virtual power monitoring value of the electronic device is less than a preset power threshold, send a test instruction to the electronic device, wherein the test instruction includes at least one of a factory reset test instruction and an upgrade test instruction; or, when the virtual power monitoring value of the electronic device is less than a preset power threshold, detect whether the electronic device has low power reminder information.

[0083] In some embodiments, the processor 101 is used to run a computer program stored in the memory 102, and when executing the computer program, the following steps may be implemented:

[0084] In response to a click-off operation on a virtual power switch control in the virtual power setting interface, the electronic device is controlled to display the power according to the actual power monitoring value; or, when a control device for the power display of the electronic device is disconnected from the electronic device, the electronic device is controlled to display the power according to the actual power monitoring value; or, when the electronic device is restarted, the electronic device is controlled to display the power according to the actual power monitoring value.

[0085] In some embodiments, the processor 101 is used to run a computer program stored in the memory 102, and when executing the computer program, the following steps may be implemented:

[0086] Display a test page including a test mode control; in response to a click operation on the test mode control, display a power entry interface including a virtual power entry control; in response to a click operation on the virtual power entry control, display a virtual power setting interface of the electronic device.

[0087] It should be noted that technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the control device described above can refer to the corresponding process in the following power display control method embodiment, and will not be repeated here.

[0088] In the following, Figure 1 The control device shown in is used as the execution subject of the power display control method as an example to introduce the power display control method provided by the embodiment of the present application in detail. For the sake of simplicity and convenience of description, the execution subject will be omitted in the subsequent method embodiments. Figure 1 The scenario is only used to explain the power display control method provided in the embodiment of the present application, but does not constitute a limitation on the application scenario of the power display control method provided in the embodiment of the present application.

[0089] See also Figure 2 , Figure 2 201 to 203, wherein:

[0090] 201. Display a virtual power setting interface of an electronic device.

[0091] Wherein, the virtual power setting interface includes a virtual power switch control.

[0092] Among them, the control device is a device used to control the power display of the electronic device. The control device can be a mobile phone, tablet computer, desktop computer, laptop computer, etc.

[0093] Among them, the electronic device is a device whose power display is controlled. The electronic device can be a mobile phone, a wearable device, etc. The wearable device can be smart glasses, a smart helmet, etc. The smart glasses can be AR (augmented reality) glasses, VR (Virtual Reality) glasses, MR (Mixed Reality) glasses, XR (eXtended Reality) glasses, etc. The smart helmet can be an AR helmet, etc.

[0094] Among them, the control is a visual interface element used to interact with the user. The control can be used to display information, accept user input, and perform specific functions. In this embodiment, the control can be in the form of a button (a user clicks it to trigger an operation or event), a text box (a user can enter text in it), a check box (a user can select or deselect an option), a drop-down list (a user can select one from a predefined list of options), a slider (a user selects a value by dragging the slider), etc.

[0095] There are many ways to display the virtual power setting interface in step 201, illustratively including:

[0096] (1) In a scenario where an electronic device is tested using a control device, a test software is installed on the control device, and a virtual power setting interface is displayed on the control device through the test software. In this case, step 201 may specifically include the following steps 2011A to 2013A:

[0097] 2011A. Display a test page containing test mode controls.

[0098] Among them, the test mode control is a control used to enter the test mode.

[0099] 2012A. In response to a click operation on the test mode control, a power entry interface including a virtual power entry control is displayed.

[0100] Among them, the virtual power entry control is a control used to enter the virtual power setting interface.

[0101] 2013A. In response to a click operation on the virtual power entry control, a virtual power setting interface of the electronic device is displayed.

[0102] For example, Figure 5As shown, taking the control device as a mobile phone and the electronic device as smart glasses as an example, the test software can be installed in the mobile phone, and the mobile phone and the smart glasses are connected via Bluetooth. Figure 5 As shown in (a), in the "My" page of the test software (i.e. the test page containing the test mode control), click "Debug Mode" (i.e. the test mode control) to enter the following Figure 5 The power input interface shown in (b); Figure 5 As shown in (b), the user clicks on "Virtual Power Settings" (i.e., virtual power entry control) to enter the following Figure 5 The virtual power setting interface shown in (c); Figure 5 As shown in (c), the virtual power setting interface can display the virtual power switch control (reference Figure 5 (c) as shown in the rectangular dotted box), actual power and virtual power input controls.

[0103] By responding to a click operation on a virtual power switch control in a test scenario and controlling the electronic device to display the power based on a virtual power target value, the electronic device can be controlled to shield the actual power and directly display the power according to the virtual power, which can reduce the discharge waiting time in the test scenario, enable the power in the test scenario to be quickly and accurately adjusted to a specific value, and improve test efficiency.

[0104] (2) After the control device establishes a connection with the electronic device via Bluetooth, personal hotspot, local area network, etc., the control device can directly display the setting page of the electronic device, wherein the setting page of the electronic device includes a virtual power entry control; click the virtual power entry control in the setting page of the electronic device to jump to the virtual power setting interface of the electronic device. At this time, step 201 can specifically include the following steps 2011B to 2012B:

[0105] 2011B. After the control device for displaying the power of the electronic device establishes a connection with the electronic device, a setting page of the electronic device is displayed.

[0106] Among them, the setting page of the electronic device includes a virtual power entry control.

[0107] 2012B. In response to a click operation on a virtual power entry control in the setting page, a virtual power setting interface of the electronic device is displayed.

[0108] 202. Obtain a virtual power target value of the electronic device.

[0109] The virtual power target value is an initial value set for the virtual power of the electronic device.

[0110] The virtual power switch control is a control for controlling the virtual power switch of an electronic device. The virtual power switch control can be a button or a text control. Figure 3 As shown, the virtual power switch control may be a button-shaped control, and the user triggers the virtual power "on" or "off" by clicking the virtual power switch control; Figure 3 (a) indicates that the virtual power display mode is turned off. Figure 3 (b) indicates that the virtual power display mode is turned on. Figure 3 The virtual power switch control shown in (a) can turn on the virtual power display mode. Figure 3 The virtual power switch control shown in (b) can turn off the virtual power display mode.

[0111] The virtual power input control is a control used to set the virtual power value of the electronic device. The virtual power input control can be a control in the form of a text box, a drop-down list, a slider, etc. Figure 3 As shown, the virtual power input control may be a control in the form of a text box, and the user can set the virtual power value of the electronic device by inputting text in the virtual power input control.

[0112] There are many ways to obtain the virtual power target value in step 202, which include, for example:

[0113] (1) Using the preset virtual power default value as the virtual power target value. At this time, the preset virtual power default value can be obtained in step 202 as the virtual power target value of the electronic device. For example, taking the control device as a mobile phone and the electronic device as smart glasses as an example, the mobile phone can be installed with test software, and the mobile phone and the smart glasses are connected via Bluetooth. The user can set the virtual power default value (such as 30%) in the test software installed on the mobile phone, and the mobile phone can display a virtual power setting interface including a virtual power switch control. When the user clicks the virtual power switch control in the virtual power setting interface, the set virtual power default value (such as 30%) is directly used as the virtual power target value of the smart glasses.

[0114] (2) Using the virtual power input value as the virtual power target value. In this case, step 202 may specifically include: in response to an input operation of a virtual power input control in the virtual power setting interface, receiving the virtual power input value as the virtual power target value of the electronic device. Thus, the user can set the virtual power according to actual needs, so that the power of the electronic device can be accurately and quickly controlled to reach the target value, avoiding the need to wait for the power decay process of the electronic device, thereby improving the work efficiency in a specific power scenario.

[0115] like Figure 3As shown, taking the control device as a mobile phone and the electronic device as smart glasses as an example, the test software can be installed in the mobile phone, the mobile phone and the smart glasses are connected via Bluetooth, and the mobile phone can display a virtual power switch control (such as Figure 3 ), and virtual power input controls (such as Figure 3 In the virtual power setting interface (shown by the lower line and “Please enter virtual power” in (a), the user can enter a virtual power value (such as 20%) in the virtual power input control of the mobile phone virtual power setting page, and the mobile phone can obtain the virtual power input value as the virtual power target value of the smart glasses.

[0116] 203. In response to a click operation on a virtual power switch control in the virtual power setting interface, control the electronic device to display power based on the virtual power target value.

[0117] Exemplarily, in step 203, in response to a click operation on a virtual power switch control in a virtual power setting interface, the control device transmits a virtual power turn-on instruction to the electronic device, wherein the virtual power turn-on instruction carries a virtual power target value; after receiving the virtual power turn-on instruction, the electronic device suspends the monitoring process of the actual power, suspends the power display according to the actual power monitoring value, and switches from displaying the power according to the actual power monitoring value to displaying the power according to the virtual power monitoring value.

[0118] When the electronic device displays power according to the actual power monitoring value, it is specifically as follows: the electronic device monitors the actual power of the electronic device in real time to obtain the actual power monitoring value of the electronic device; the electronic device displays power according to the latest actual power monitoring value.

[0119] Among them, when the electronic device displays the power according to the virtual power monitoring value, it is specifically as follows: the electronic device determines and continuously updates the virtual power monitoring value of the electronic device according to the virtual power target value and the virtual power target value and the preset attenuation law; the electronic device displays the power according to the latest virtual power monitoring value. As a result, the electronic device can gradually attenuate the power according to the use of the electronic device from the set virtual power target value, so that the electronic device can be effectively controlled to work according to the virtual power, and then the electronic device can be quickly controlled to enter the specified power to meet the needs of specific power scenarios.

[0120] For example, if the control device is a mobile phone and the electronic device is smart glasses, the test software can be installed in the mobile phone, the mobile phone and the smart glasses are connected via Bluetooth, and the mobile phone can display a virtual power switch control (such as Figure 3 ), and virtual power input controls (such as Figure 3(a) The virtual power setting interface is as shown in the lower line and "Please enter the virtual power" in the middle of the mobile phone. First, the user can enter the virtual power value (such as 20%) in the virtual power input control of the mobile phone's virtual power setting page, and the mobile phone can obtain the virtual power input value as the virtual power target value of the smart glasses. Then, the user can click the virtual power "on" button on the mobile phone's virtual power setting page. At this time, the mobile phone will transmit the virtual power start instruction to the smart glasses. After receiving the virtual power start instruction, the smart glasses suspend the actual power monitoring process, and display the power according to the actual power monitoring value (for example, the current actual power monitoring value starts from 80% and continuously decays), and switch to the virtual power monitoring value (for example, the virtual power target value starts from 20% and continuously decays) for power display.

[0121] Furthermore, the electronic device will also feed back the real-time virtual power monitoring value to the control device. The control device can obtain the virtual power monitoring value of the electronic device and display the power according to the virtual power monitoring value, so that the control device can synchronously display the virtual power, avoiding the problem that the staff needs to switch back and forth between the electronic device and the control device in scenarios such as testing (for example, observe the power on the electronic device side, and then switch to the control device to perform operations such as testing), thereby improving the operating efficiency in virtual power scenarios. In some embodiments, the control device can display the power on the homepage of the test software according to the virtual power monitoring value, such as Figure 4 As shown in the dashed box in (a), Figure 4 (a) is a schematic diagram of a scenario in which the power is displayed on the home page of the test software. In some embodiments, the control device can also display the power on the device list page according to the virtual power monitoring value, such as Figure 4 As shown in the dashed box in (b), Figure 4 (b) is a schematic diagram of a scenario in which power is displayed on a device list page. In some embodiments, the control device may also display power on the device details page of the electronic device according to the virtual power monitoring value, such as Figure 4 As shown in the dashed box (c), Figure 4 (c) is a schematic diagram of a scenario in which the power is displayed on the device details page of the electronic device. In some embodiments, the control device can also display the power in the virtual power setting interface according to the virtual power monitoring value, such as Figure 4 As shown in the dashed box in (d), Figure 4 (d) is a schematic diagram of a scenario in which power is displayed in a virtual power setting interface.

[0122] The device list page is a page for displaying electronic devices connected to the control device. The device list page is displayed on the control device.

[0123] The test software homepage is a page used to display the test status of the control device. The test software homepage is displayed on the control device.

[0124] The device details page of the electronic device is a page for displaying device information of the electronic device (such as device name, device icon, power level, etc.). The device details page of the electronic device is displayed on the control device.

[0125] Further, in order to meet the specific power requirements of the test scenario, the power display control method can be used in the test scenario of the electronic device. In some embodiments, after the electronic device is controlled to obtain the virtual power monitoring value based on the virtual power target value for power display in step 203, when the virtual power monitoring value of the electronic device is less than the preset power threshold, the control device sends a test instruction to the electronic device, wherein the test instruction includes at least one of the factory reset test instruction and the upgrade test instruction; the feedback result of the electronic device under the test instruction is obtained to test whether the electronic device function is normal. In some embodiments, after the electronic device is controlled to obtain the virtual power monitoring value based on the virtual power target value for power display in step 203, when the virtual power monitoring value of the electronic device is less than the preset power threshold, the control device detects whether the electronic device has low power reminder information. Thus, the power of the electronic device can be accurately and quickly controlled to reach the target value, avoiding the need to wait for the power attenuation process of the electronic device, thereby improving the work efficiency in a specific power test scenario.

[0126] For example, taking the control device as a mobile phone and the electronic device as smart glasses as an example, the test software can be installed in the mobile phone. After the mobile phone and the smart glasses are connected via Bluetooth, first, the user can enter the virtual power value (such as 22%) in the virtual power input control of the virtual power setting page of the mobile phone test software, and the mobile phone can obtain the virtual power input value as the virtual power target value of the smart glasses. Then, the user can click the virtual power "on" button on the mobile phone virtual power setting page, and the mobile phone will transmit the virtual power on instruction carrying the virtual power target value to the smart glasses. After the smart glasses receive the virtual power start instruction, the actual power monitoring process is suspended, and the power display is switched from the actual power monitoring value (for example, continuously decaying from 80%) to the virtual power monitoring value (for example, continuously decaying from 22%); when the virtual power monitoring value of the smart glasses decays to less than the preset power threshold (such as 20%), the mobile phone test software sends a factory reset test instruction to the smart glasses to test whether the smart glasses can normally prohibit the factory reset operation when the power is less than the preset power threshold (such as 20%); the mobile phone test software sends an upgrade test instruction to the smart glasses to test whether the smart glasses can normally prohibit the operation when the power is less than the preset power threshold (such as 20%); the mobile phone test software can also detect whether the smart Yajing has low power reminder information (such as a global reminder of the smart glasses when the power is less than 20%) to test whether the smart glasses can normally provide a low power reminder when the power is less than the preset power threshold (such as 20%).

[0127] Furthermore, after the virtual power display mode is turned on, the actual power display mode can be restored to ensure that the actual power of the electronic device is displayed normally. In some embodiments, the user can click the virtual power switch control in the virtual power setting interface to turn off the virtual power display mode. In response to the off click operation of the virtual power switch control in the virtual power setting interface, the electronic device is controlled to switch from displaying power according to the virtual power monitoring value to displaying power according to the actual power monitoring value. For example, taking the control device as a mobile phone and the electronic device as smart glasses as an example, the test software can be installed in the mobile phone. After the mobile phone and the smart glasses are connected via Bluetooth, the user can click the virtual power "on" button in the virtual power setting page of the mobile phone. At this time, the mobile phone will transmit a virtual power on instruction carrying a virtual power target value to the smart glasses; after the smart glasses receive the virtual power on instruction, the actual power monitoring process is suspended, and the power display is switched from the actual power monitoring value (for example, continuously decaying from 80%) to the virtual power monitoring value (for example, continuously decaying from 22%). When the user clicks the virtual power "off" button in the virtual power setting page of the mobile phone, the mobile phone test software will stop transmitting the virtual power on instruction to the smart glasses to control the smart glasses to resume the actual power monitoring and display the power according to the actual power monitoring value; or, when the user clicks the virtual power "off" button in the virtual power setting page of the mobile phone, the mobile phone test software can transmit the virtual power off instruction to the smart glasses to control the smart glasses to resume the actual power monitoring and display the power according to the actual power monitoring value.

[0128] In some embodiments, when the control device is disconnected from the electronic device, the control device stops transmitting the virtual power on instruction to the electronic device to control the electronic device to display the power according to the virtual power monitoring value, and switches to displaying the power according to the actual power monitoring value. For example, the control device is a mobile phone and the electronic device is smart glasses. The test software can be installed in the mobile phone. After the mobile phone and the smart glasses are connected via Bluetooth, the user can click the virtual power "on" button in the virtual power setting page of the mobile phone. At this time, the mobile phone will transmit the virtual power on instruction with the virtual power target value to the smart glasses; after the smart glasses receive the virtual power on instruction, the actual power monitoring process is suspended, and the power is displayed according to the actual power monitoring value (such as continuously decaying from 80%), and switched to displaying the power according to the virtual power monitoring value (such as continuously decaying from 22%). When the mobile phone and the smart glasses are disconnected from the Bluetooth connection, the mobile phone test software will stop transmitting the virtual power on instruction to the smart glasses to control the smart glasses to resume the actual power monitoring and display the power according to the actual power monitoring value.

[0129] In some embodiments, when the electronic device is restarted, the control device stops transmitting the virtual power on instruction to the electronic device to control the electronic device to display the power according to the virtual power monitoring value, and switches to displaying the power according to the actual power monitoring value.

[0130] In order to better understand this embodiment, the following takes the control device as a mobile phone, the electronic device as AR glasses, and the mobile phone controlling the AR to enter a virtual power display mode to test the performance of the AR glasses (including the AR glasses low power page power is less than 30% AR glasses global reminder, AR glasses cannot be restored to factory settings when the power is less than 30%, and AR glasses cannot be upgraded OTA when the power is less than 30%) as an example to illustrate the control process of the power display. Figure 3 , Figure 4 and Figure 6 , the control process of power display is as follows:

[0131] 1. The mobile phone is connected to the AR glasses via Bluetooth, and the test software installed in the mobile phone is bound to the AR glasses for testing. (Refer to Figure 6 "APP and AR glasses binding" section)

[0132] 2. The user opens the mobile phone test software, which displays the test page containing the test mode control, and clicks the test mode control to enter the power entry interface containing the virtual power entry control. For example, the user clicks the "Debug" control in the "My" page of the mobile phone test software, and the mobile phone enters the test mode. At this time, the mobile phone test software displays the power entry interface containing the virtual power entry control in the test mode. (Refer to Figure 6 "Quickly click the APP icon on the About screen" and "Enter Debug mode" section)

[0133] 3. The user clicks the virtual power entry control in the power entry interface to enter the virtual power setting interface of the AR glasses. Figure 3 As shown in (a), at this time, the virtual power setting interface can simultaneously display the actual power of the AR glasses, the virtual power switch, and the virtual power input box. (Refer to Figure 6 "Find the virtual power entry" and "The page displays the actual power" section)

[0134] 4. After the user clicks the virtual power switch to turn on the virtual power display mode, the virtual power on command is transmitted to the AR glasses to control the AR glasses to stop power monitoring. The AR glasses switch from displaying power according to the actual power monitoring value to displaying power according to the virtual power monitoring value. (Refer to Figure 6 "Turn on the virtual power switch" section)

[0135] 5. The user manually inputs the virtual power target value and clicks the confirmation button. The mobile phone uses the user-input virtual power value as the virtual power target value of the AR glasses. Based on the virtual power target value and the power attenuation law of the AR glasses, the virtual power monitoring value of the AR glasses is continuously updated. According to the latest virtual power monitoring value of the AR glasses, the power is synchronously displayed on the AR glasses, the test software homepage, the AR glasses device details page, and the test device list page, such as Figure 4 As shown. (Ref. Figure 6 "Manually input virtual power" and "APP and AR glasses display virtual power" sections)

[0136] 6. When the battery level of the AR glasses meets the test requirements, the mobile phone test software can send test instructions to the AR glasses to test whether the following conditions are met: when the battery level is less than 30%, the AR glasses cannot be restored to factory settings; when the battery level is less than 30%, the AR glasses cannot be upgraded via OTA. The mobile phone test software can also detect whether the AR glasses low battery page will output a global reminder when the battery level is less than 30% to test whether the low battery reminder of the AR glasses is normal.

[0137] 7. When the AR glasses are restarted, the AR glasses are disconnected from the mobile phone Bluetooth, or the virtual power switch control is clicked to turn off, the mobile phone test software stops transmitting the virtual power on command to the AR glasses, and the AR glasses resume real-time monitoring of the actual power of the AR glasses to control the AR glasses to display the power according to the virtual power monitoring value and restore it to display the power according to the actual power monitoring value. (Refer to Figure 6 "Disconnecting the APP and AR glasses" and "Turning off the virtual power switch" section)

[0138] From the above content, it can be seen that by displaying a virtual power setting interface including a virtual power switch control, in response to an on-click operation for the virtual power switch control, the electronic device is controlled to display the power based on the virtual power target value; thereby, the electronic device can be controlled to shield the actual power and directly display the power according to the virtual power; on the one hand, the problem of long waiting time caused by manual discharge can be avoided, thereby avoiding fatigue caused by observing power changes, and thus improving the work efficiency of specific power scenarios; on the other hand, the problem of power changes being too fast or too slow to reach a specific power during manual discharge can be solved, thereby avoiding the problem of difficulty in accurately controlling the power attenuation to the target value. It can be seen that this embodiment can reduce the discharge waiting time in a specific power scenario, improve the control accuracy of a specific power, and improve the work efficiency in a specific power scenario.

[0139] In addition, in order to better implement the power display control method in the embodiment of the present application, based on the power display control method, the embodiment of the present application also provides a power display control device, such as Figure 7FIG. 1 is a schematic diagram of a structure of an embodiment of a power display control device provided in an embodiment of the present application. The power display control device 700 includes:

[0140] A display unit 701 is used to display a virtual power setting interface of the electronic device, wherein the virtual power setting interface includes a virtual power switch control;

[0141] An acquisition unit 702 is used to acquire a virtual power target value of the electronic device;

[0142] The control unit 703 is used to control the electronic device to display the power based on the virtual power target value in response to the on-click operation of the virtual power switch control in the virtual power setting interface.

[0143] In some embodiments, the virtual power setting interface further includes a virtual power input control, and the acquisition unit 702 is specifically used to:

[0144] In response to an input operation on a virtual power input control in the virtual power setting interface, a virtual power input value is received as a virtual power target value of the electronic device.

[0145] In some embodiments, the control unit 703 is specifically used to:

[0146] Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law;

[0147] According to the virtual power monitoring value, the power is displayed on the home page of the test software, on the device list page, on the device details page of the electronic device, or on the virtual power setting interface.

[0148] In some embodiments, the control unit 703 is specifically used to:

[0149] The electronic device is controlled to determine and display the virtual power monitoring value of the electronic device according to the virtual power target value and a preset attenuation rule.

[0150] In some embodiments, the control unit 703 is specifically used to:

[0151] Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law;

[0152] When the virtual power monitoring value of the electronic device is less than a preset power threshold, sending a test instruction to the electronic device, wherein the test instruction includes at least one of a factory reset test instruction and an upgrade test instruction;

[0153] Alternatively, when the virtual power monitoring value of the electronic device is less than a preset power threshold, it is detected whether the electronic device has low power reminder information.

[0154] In some embodiments, the control unit 703 is specifically used to:

[0155] In response to a click-off operation of a virtual power switch control in the virtual power setting interface, controlling the electronic device to display power according to an actual power monitoring value;

[0156] Alternatively, when the control device for the power display of the electronic device is disconnected from the electronic device, the electronic device is controlled to display the power according to the actual power monitoring value;

[0157] Alternatively, when the electronic device is restarted, the electronic device is controlled to display the power level according to the actual power monitoring value.

[0158] In some embodiments, the display unit 701 is specifically used for:

[0159] Displays the test page containing test mode controls;

[0160] In response to a click operation on the test mode control, displaying a power entry interface including a virtual power entry control;

[0161] In response to a click operation on the virtual power entry control, a virtual power setting interface of the electronic device is displayed.

[0162] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous power display control method embodiment, which will not be repeated here.

[0163] A person of ordinary skill in the art can understand that all or part of the steps in the above-mentioned power display control method can be completed by instructions, or by controlling related hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0164] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored. The computer programs can be loaded by a processor to execute any one of the power display control methods provided in the embodiments of the present application.

[0165] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0166] In the above-mentioned power display control device, computer-readable storage medium, and control device embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the power display control device, computer-readable storage medium, control device and its corresponding units described above can refer to the description of the power display control method in the above embodiment, and will not be repeated here.

[0167] The above is a detailed introduction to a power display control method, device, control equipment and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for controlling power display, characterized in that: The method comprises: Displaying a virtual power setting interface of the electronic device, wherein the virtual power setting interface includes a virtual power switch control; Acquiring a virtual power target value of the electronic device; In response to a click operation on a virtual power switch control in the virtual power setting interface, the electronic device is controlled to display power based on the virtual power target value.

2. The power display control method according to claim 1, characterized in that: The virtual power setting interface also includes a virtual power input control, and obtaining the virtual power target value of the electronic device includes: In response to an input operation on a virtual power input control in the virtual power setting interface, a virtual power input value is received as a virtual power target value of the electronic device.

3. The power display control method according to claim 1, characterized in that: The method further comprises: Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law; According to the virtual power monitoring value, the power is displayed on the home page of the test software, on the device list page, on the device details page of the electronic device, or on the virtual power setting interface.

4. The method for controlling the electric quantity display according to claim 1, characterized in that: The controlling the electronic device to display power based on the virtual power target value includes: The electronic device is controlled to determine and display the virtual power monitoring value of the electronic device according to the virtual power target value and a preset attenuation rule.

5. The method for controlling the electric quantity display according to claim 1, characterized in that: The method further comprises: Acquire a virtual power monitoring value of the electronic device, wherein the virtual power monitoring value is determined based on the virtual power target value and a preset attenuation law; When the virtual power monitoring value of the electronic device is less than a preset power threshold, sending a test instruction to the electronic device, wherein the test instruction includes at least one of a factory reset test instruction and an upgrade test instruction; Alternatively, when the virtual power monitoring value of the electronic device is less than a preset power threshold, it is detected whether the electronic device has low power reminder information.

6. The method for controlling the electric quantity display according to claim 1, characterized in that: The method further comprises: In response to a click-off operation of a virtual power switch control in the virtual power setting interface, controlling the electronic device to display power according to an actual power monitoring value; Alternatively, when the control device for the power display of the electronic device is disconnected from the electronic device, the electronic device is controlled to display the power according to the actual power monitoring value; Alternatively, when the electronic device is restarted, the electronic device is controlled to display the power level according to the actual power monitoring value.

7. The method for controlling the electric quantity display according to any one of claims 1 to 6, characterized in that: The virtual power setting interface of the display electronic device includes: Displays the test page containing test mode controls; In response to a click operation on the test mode control, displaying a power entry interface including a virtual power entry control; In response to a click operation on the virtual power entry control, a virtual power setting interface of the electronic device is displayed.

8. A power display control device, characterized in that: The power display control device comprises: A display unit, used to display a virtual power setting interface of the electronic device, wherein the virtual power setting interface includes a virtual power switch control; An acquisition unit, used to acquire a virtual power target value of the electronic device; The control unit is used to control the electronic device to display the power based on the virtual power target value in response to the on-click operation of the virtual power switch control in the virtual power setting interface.

9. A control device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the method for controlling the power display according to any one of claims 1 to 7 is executed.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the power display control method according to any one of claims 1 to 7.