Power consumption test method and device of AR glasses, electronic equipment and storage medium

By establishing a communication connection with AR glasses, and real-time monitoring and controlling its power consumption functional modules, the existing AR glasses' power consumption testing methods are solved, and automated and accurate power consumption testing is achieved.

CN119716235APending Publication Date: 2025-03-28ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311261317.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing AR glasses power consumption testing methods require manual operation, which is time-consuming and inefficient, making it difficult to accurately capture power changes, and the test process is not intelligent enough.

Method used

By establishing a communication connection with AR glasses, sending test commands to control AR glasses to turn on the power consumption function module, obtaining the current power in real time until the target power is reached, and then sending a stop command to stop the power consumption function module.

Benefits of technology

It automatically tests the power consumption of AR glasses, accurately controls the power consumption of AR glasses to the target power, improves the testing efficiency and accuracy, and can test multiple AR glasses at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119716235A_ABST
    Figure CN119716235A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of AR glasses, and provides a power consumption test method and system for AR glasses, electronic equipment and a storage medium, and the method comprises the steps: building communication connection with the AR glasses; a test instruction is sent to the AR glasses to control the AR glasses to start a power consumption function module, and the power consumption function module can perform power consumption; when the power consumption function module of the AR glasses operates, the current electric quantity of the AR glasses is obtained in real time until the current electric quantity of the AR glasses reaches the target electric quantity, and a stop instruction is sent to the AR glasses to control the AR glasses to stop operating the power consumption function module. In addition, power consumption testing can be carried out on multiple AR glasses at the same time, the electric quantity of the AR glasses can be accurately obtained in real time, electric quantity change data during operation of the power consumption function modules can be recorded, and the electric quantity consumption condition of each power consumption function module is more visual.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of AR glasses, and in particular to a power consumption test method, device, electronic device and storage medium for AR glasses. Background Art

[0002] At present, the power consumption test of AR glasses is carried out by manually operating the AR glasses and observing the changes in the power of the AR glasses in real time with the human eye. When the AR glasses are discharged normally, the discharge process takes a long time. Users operate and observe the AR glasses for a long time to observe the changes in power. It is difficult to concentrate at all times, resulting in that the changes in power may be difficult to capture in time, which in turn leads to the failure to discharge to a fixed power. In addition, the test time is long and the test efficiency is low. It is also necessary to manually record the discharge data of the AR glasses, and the test process is not smart enough. Summary of the invention

[0003] In order to solve or at least partially solve the above technical problems, the present application provides a power consumption test method, device, electronic device and storage medium for AR glasses, which can automatically test the power consumption of AR glasses and accurately control the power consumption of AR glasses to the target power.

[0004] In a first aspect, the present application provides a power consumption test method for AR glasses, comprising:

[0005] Establish communication connection with AR glasses;

[0006] Sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module;

[0007] When the power-consuming functional module of the AR glasses is running, the current power of the AR glasses is obtained in real time until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

[0008] In a second aspect, the present application provides a power consumption test device for AR glasses, comprising:

[0009] A communication module, used to establish a communication connection with the AR glasses;

[0010] A sending module, used for sending a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module;

[0011] The control module is used to obtain the current power of the AR glasses in real time when the power-consuming functional module of the AR glasses is running, until the current power of the AR glasses reaches the target power, and control the sending module to send a stop instruction to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

[0012] In a third aspect, an embodiment of the present application also provides an electronic device comprising a processor and a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes steps of a power consumption test method for AR glasses as described in any one of claims 1 to 7.

[0013] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing program instructions, which, when executed by a computer, enables the computer to execute the aforementioned power consumption test method for AR glasses.

[0014] The implementation mode of the present application establishes a communication connection with the AR glasses, so as to transmit data with the AR glasses and control the AR glasses; sends a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module, and the power consumption function module can consume power; when the power consumption function module of the AR glasses is running, the current power of the AR glasses is obtained in real time, specifically, the current power reported by the AR glasses in real time can be received until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power consumption function module. Through the above method, the power consumption of the AR glasses can be automatically tested, and the power consumption of the AR glasses can be accurately controlled to the target power, and the power consumption of multiple AR glasses can be tested at the same time. Compared with manual testing, observation and recording of power data, this solution can accurately and real-time obtain the power of the AR glasses, and can record the power change data when the power consumption function module is running, so that the power consumption of each power consumption function module is more intuitive. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the implementation of the present application, the following is a brief introduction to the relevant drawings. It is understood that the drawings described below are only used to illustrate some implementations of the present application, and those skilled in the art can also obtain many other technical features and connection relationships not mentioned in this document based on these drawings.

[0016] Figure 1 A schematic diagram of a flow chart of a power consumption test method for AR glasses provided in an embodiment of the present application;

[0017] Figure 2 A flow chart of another power consumption test method for AR glasses provided in an embodiment of the present application;

[0018] Figure 3 A schematic diagram of the structure of a power consumption test device for AR glasses provided in an embodiment of the present application;

[0019] Figure 4A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] 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 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 ordinary technicians in this field without creative work are within the scope of protection of this application.

[0021] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0022] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0023] The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.

[0024] Embodiment 1

[0025] like Figure 1 As shown, one embodiment of the present application proposes a power consumption test method for AR glasses. Figure 1 A schematic flow chart of a power consumption test method for AR glasses provided in an embodiment of the present application, the method comprising:

[0026] 101. Establish a communication connection with the AR glasses.

[0027] This method can be applied to an electronic device for power consumption testing of AR glasses. The device can be, for example, a computer or other electronic device. The electronic device can establish a communication connection with the AR glasses. For example, if the AR glasses include a first Bluetooth module, the electronic device can be connected to a Bluetooth adapter. For example, the Bluetooth adapter can be connected to the electronic device through a USB interface, and then the electronic device establishes a Bluetooth communication connection with the AR glasses through the Bluetooth adapter; or, if the electronic device includes a second Bluetooth module, the electronic device can establish a Bluetooth communication connection with the first Bluetooth module of the AR glasses through the second Bluetooth module. Optionally, the electronic device can also establish a communication connection with the AR glasses in other ways, for example, by establishing a wireless communication connection through a WiFi module, or by communicating with the AR glasses based on other wireless network modules. By establishing a communication connection with the AR glasses, the electronic device can transmit data with the AR glasses, and interact with and control the AR glasses.

[0028] 102. Send a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module.

[0029] Among them, the electronic device sends a test instruction to the AR glasses to control the AR glasses to turn on the power-consuming functional module. Specifically, after receiving the test instruction, the AR glasses can turn on the power-consuming functional module. The power-consuming functional module includes a functional module on the AR glasses that can realize certain functions and consumes power. For example, the power-consuming functional module may include at least one of the following: a display module, a communication module, a sensor module, a processor module, an audio module, etc., wherein the display module may further include a brightness adjustment module, a display adjustment module, etc. By turning on a certain power-consuming functional module, the AR glasses can increase the power consumption of the AR glasses.

[0030] Specifically, the AR glasses can simultaneously turn on multiple power-consuming functional modules according to the test instructions to make the AR glasses consume power quickly; different power-consuming functional modules can also be turned on at different times to analyze the power consumption of different power-consuming functional modules through the current power of the AR glasses obtained in real time.

[0031] 103. When the power-consuming functional module of the AR glasses is running, the current power of the AR glasses is obtained in real time until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

[0032] Among them, the AR glasses can record the current power level in real time and report it to the electronic device. Specifically, the AR glasses can record the current power level according to a preset collection frequency and transmit the collected current power level to the electronic device. In this way, the electronic device can receive the current power level of the AR glasses in real time.

[0033] The embodiments of the present application establish a communication connection with the AR glasses, thereby enabling data transmission with the AR glasses and controlling the AR glasses; sending a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module, so that the power consumption function module can consume power; when the power consumption function module of the AR glasses is running, the current power of the AR glasses is obtained in real time, specifically, the current power reported by the AR glasses in real time can be received until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power consumption function module. Through the above method, the power consumption of the AR glasses can be automatically tested, and the power consumption of the AR glasses can be accurately controlled to the target power, and power consumption of multiple AR glasses can be tested at the same time. Compared with manual testing, observation and recording of power data, this solution can accurately and real-time obtain the power of the AR glasses, and can record the power change data when the power consumption function module is running, so that the power consumption of each power consumption function module is more intuitive.

[0034] Optionally, in the above step 101, the AR glasses include at least one, and establishing a communication connection with the AR glasses includes:

[0035] A communication connection is established with at least one of the AR glasses through at least one Bluetooth adapter, and each of the Bluetooth adapters corresponds to one AR glass.

[0036] In this solution, the electronic device can be connected to multiple AR glasses at the same time, so that the power consumption of multiple AR glasses can be tested at the same time, improving the test efficiency.

[0037] Optionally, the power-consuming functional modules include multiple ones, and the multiple power-consuming functional modules operate in the following manner: the AR glasses are always on at maximum brightness, the communication module transmits signals at maximum power, the analog touch bar switches the display screen, the sensor collects data at the maximum sampling rate, the microprocessor is in a high-load state, and music is played at maximum volume while recording.

[0038] Optionally, in the above step 102, sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module includes:

[0039] Setting a target power consumption of the AR glasses;

[0040] Determine the operating time corresponding to each of the plurality of power-consuming functional modules according to the initial power of the AR glasses and the target power;

[0041] A test instruction is sent to the AR glasses according to the operating time periods respectively corresponding to the multiple power-consuming functional modules, and the test instruction carries the operating time periods respectively corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to sequentially run the multiple power-consuming functional modules according to the operating time periods respectively corresponding to the multiple power-consuming functional modules.

[0042] Among them, the target power consumption of the AR glasses can be set according to the test requirements. Taking into account the different power consumption of each power-consuming functional module during operation, the power consumption rates of different power-consuming functional modules will also be different. Furthermore, the operating time corresponding to multiple power-consuming functional modules can be determined according to the initial power and target power of the AR glasses, so as to control the AR glasses to run the multiple power-consuming functional modules in sequence according to the operating time corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to reach the target power by controlling the operating time corresponding to the multiple power-consuming functional modules, so as to accurately control the AR glasses to reach the target power.

[0043] Optionally, determining the operating time corresponding to each of the plurality of power-consuming functional modules according to the initial power of the AR glasses and the target power includes:

[0044] Determining the power consumption of the AR glasses according to the initial power and the target power;

[0045] estimating the module power consumptions respectively corresponding to the plurality of power-consuming functional modules according to the preset operating time ratios corresponding to the plurality of power-consuming functional modules and the power consumption;

[0046] The operation time periods respectively corresponding to the plurality of power-consuming functional modules are determined according to the module power consumptions respectively corresponding to the plurality of power-consuming functional modules.

[0047] Among them, the electronic device can pre-set the operating time ratio relationship corresponding to multiple power-consuming functional modules, and the operating time ratio relationship is the operating time ratio relationship determined according to the power consumption corresponding to different power-consuming functional modules determined by historical test data under the test environment. Therefore, the electronic device can determine the power consumption of the AR glasses according to the initial power and the target power, that is, the power consumption is equal to the difference between the initial power and the target power; then, the module power consumption corresponding to the multiple power-consuming functional modules is estimated according to the operating time ratio relationship and the power consumption, and then, the operating time corresponding to the multiple power-consuming functional modules can be determined according to the module power consumption corresponding to the multiple power-consuming functional modules. Specifically, the mapping relationship between the power consumption corresponding to each power-consuming functional module and the operating time can be pre-set, and the mapping relationship can be determined according to the test power consumption rate of the power-consuming functional module determined according to the historical test data under the test environment. Then, the operating time corresponding to the multiple power-consuming functional modules can be determined according to the mapping relationship between the power consumption corresponding to each power-consuming functional module and the operating time and the module power consumption corresponding to the multiple power-consuming functional modules.

[0048] Optionally, sending a test instruction to the AR glasses according to the operating time periods respectively corresponding to the multiple power-consuming functional modules includes:

[0049] estimating the start-up time corresponding to each of the plurality of power-consuming functional modules according to the longest operation time among the plurality of power-consuming functional modules and the operation time corresponding to each of the plurality of power-consuming functional modules;

[0050] A test instruction is sent to the AR glasses according to the respective turn-on times corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to turn on the multiple power-consuming functional modules.

[0051] Among them, the longest operating time among multiple power-consuming functional modules can be determined as the estimated operating time for the AR glasses to reach the target power consumption. The actual operating time for the AR glasses to reach the target power consumption is approximately close to the longest operating time, and may be greater than, less than or equal to the maximum operating time. Therefore, the turn-on time corresponding to the multiple power-consuming functional modules can be estimated according to the longest operating time and the operating time corresponding to the multiple power-consuming functional modules, so that the multiple power-consuming functional modules can operate within the estimated operating time, so that the AR glasses can reach the target power consumption according to the operating time required by the test.

[0052] Optionally, in the above step 102, sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module includes:

[0053] Sending a test instruction to the AR glasses to control the AR glasses to sequentially turn on a first power-consuming functional module among the multiple power-consuming functional modules according to a preset turn-on sequence;

[0054] Determine whether the current power acquired in real time reaches the power threshold corresponding to the power consumption function module currently running;

[0055] If so, a test instruction is sent to the AR glasses to control the AR glasses to turn on the next power-consuming functional module until the current power of the AR glasses reaches the target power.

[0056] In the present application, the time when different power consumption modules are turned on can also be controlled according to the current power of the AR glasses obtained in real time. In this way, the power control of the AR glasses can be accurately performed to accurately control the AR glasses to reach the target power. Specifically, when the current power of the AR glasses reaches a certain threshold, the next power consumption function module of the AR glasses can be controlled to be turned on, so that the AR glasses continue to run to reach the next power threshold. For example, there are 5 power consumption function modules. After the first power consumption function module is turned on, it is determined whether the current power obtained in real time reaches the first power threshold corresponding to the currently running power consumption function module. If so, the second power consumption function module is turned on. During the operation of each functional module, determine whether the current power obtained in real time reaches the second power threshold corresponding to the currently running power consumption functional module. If so, turn on the third power consumption functional module. During the operation of three power consumption functional modules, determine whether the current power obtained in real time reaches the third power threshold corresponding to the currently running power consumption functional module. If so, turn on the fourth power consumption functional module. During the operation of four power consumption functional modules, determine whether the current power obtained in real time reaches the fourth power threshold corresponding to the currently running power consumption functional module. If so, turn on the fifth power consumption functional module until the current power of the AR glasses reaches the target power.

[0057] Optionally, after turning on the third power consumption function module, the power change rate of the AR glasses can be measured. If the power change rate of the AR glasses is greater than the first change rate threshold, the first power consumption function module is turned off. Alternatively, if the power change rate of the AR glasses is less than or equal to the first change rate threshold, the first power consumption function module is not turned off. During the operation of two or three power consumption function modules, it is determined whether the current power obtained in real time reaches the third power threshold corresponding to the currently running power consumption function module. If so, the fourth power consumption function module is turned on. During the operation of three or four power consumption function modules, it is determined whether the current power obtained in real time reaches the fourth power threshold corresponding to the currently running power consumption function module. If so, the fifth power consumption function module is turned on until the current power of the AR glasses reaches the target power. This can reduce the power consumption function modules that are turned on at the same time in the AR glasses, and avoid excessive temperature of the AR glasses affecting the life of the AR glasses.

[0058] Optionally, the electronic device can determine the rate of change of power based on the current power collected in real time, and adjust the power collection frequency of the AR glasses according to the rate of change of power. When the rate of change of power increases, the collection frequency can be increased accordingly. In this way, when the rate of change of power changes rapidly, more power data can be obtained to analyze the power change situation. When the rate of change of power decreases, the collection frequency can be reduced accordingly. When the rate of change of power decreases, the difference between the current power of two adjacent collections becomes smaller, and the collection frequency can be reduced. In this way, after the electronic device receives the power data reported by the AR device, the amount of data processing can be reduced.

[0059] Optionally, the AR glasses collect the current power in real time according to the first collection frequency, and report the current power to the electronic device. After receiving the current power reported in real time, the electronic device determines the power difference according to the current power reported in real time and the target power; the electronic device determines the power change rate of the AR glasses according to the current power reported in real time received in the most recent preset time period. If the power difference is less than the first preset threshold, and the power change rate is less than the second preset threshold, the collection frequency of the AR glasses is increased to the second collection frequency. In a specific implementation, when the power difference is less than the first preset threshold, it indicates that the current power of the AR glasses is relatively close to the target power. If the power change rate is less than the second preset threshold, the collection frequency of the AR glasses can be increased to the second collection frequency. By increasing the collection frequency, it is possible to pay real-time attention to the power change of the AR glasses when they are about to reach the target power.

[0060] Embodiment 2

[0061] Consistent with the above embodiment, Figure 2 As shown, one embodiment of the present application proposes a power consumption test method for AR glasses. Figure 2 A flowchart of a power consumption test method for AR glasses provided in an embodiment of the present application, the method comprising:

[0062] 201. Establish a communication connection with the AR glasses through a Bluetooth adapter.

[0063] Among them, the AR glasses may include multiple, and the electronic device may be connected to multiple Bluetooth adapters at the same time to achieve wireless Bluetooth connection with multiple AR glasses.

[0064] 202. Set a target power consumption of the AR glasses.

[0065] 203. Determine the power consumption of the AR glasses according to the initial power and the target power.

[0066] 204. Estimate the module power consumption corresponding to each of the plurality of power-consuming functional modules according to the preset operating time ratio relationship corresponding to the plurality of power-consuming functional modules and the power consumption;

[0067] 205. Determine the operating time corresponding to each of the multiple power-consuming functional modules according to the module power consumptions corresponding to each of the multiple power-consuming functional modules.

[0068] 206 . Estimate the start-up time corresponding to each of the multiple power-consuming functional modules according to the longest operation time of the multiple power-consuming functional modules and the operation time corresponding to each of the multiple power-consuming functional modules.

[0069] 207. Sending a test instruction to the AR glasses according to the respective start-up times corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to start the multiple power-consuming functional modules, so as to control the AR glasses to sequentially run the multiple power-consuming functional modules according to the respective running times corresponding to the multiple power-consuming functional modules;

[0070] 208. When the power-consuming functional module of the AR glasses is running, the current power of the AR glasses is obtained in real time until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

[0071] By determining the operating time corresponding to multiple power-consuming functional modules according to the initial power of the AR glasses and the target power, the AR glasses are controlled to run the multiple power-consuming functional modules in sequence according to the operating time corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to reach the target power by controlling the operating time corresponding to the multiple power-consuming functional modules, and the start-up time corresponding to the multiple power-consuming functional modules is estimated according to the longest operating time and the operating time corresponding to the multiple power-consuming functional modules, so that the multiple power-consuming functional modules run within the estimated operating time, so that the AR glasses reach the target power consumption according to the operating time required by the test, so as to accurately control the AR glasses to reach the target power.

[0072] Embodiment 3

[0073] like Figure 3 As shown, Figure 3 This is a schematic diagram of the structure of a power consumption test device for AR glasses provided in an embodiment of the present application. An embodiment of the present application proposes a power consumption test device for AR glasses, including a communication module 100, a sending module 200 and a control module 300:

[0074] Communication module 100, used to establish a communication connection with the AR glasses;

[0075] The sending module 200 is used to send a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module;

[0076] The control module 300 is used to obtain the current power of the AR glasses in real time when the power-consuming functional module of the AR glasses is running, until the current power of the AR glasses reaches the target power, and control the sending module 200 to send a stop instruction to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

[0077] Optionally, the AR glasses include at least one communication module 100 specifically configured to:

[0078] A communication connection is established with at least one of the AR glasses through at least one Bluetooth adapter, and each of the Bluetooth adapters corresponds to one AR glass.

[0079] Optionally, the power-consuming functional modules include multiple ones, and the multiple power-consuming functional modules operate in the following manner: the AR glasses are always on at maximum brightness, the communication module transmits signals at maximum power, the analog touch bar switches the display screen, the sensor collects data at the maximum sampling rate, the microprocessor is in a high-load state, and music is played at maximum volume while recording.

[0080] Optionally, in the aspect of sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming functional module, the control module 300 is specifically used to:

[0081] Setting a target power consumption of the AR glasses;

[0082] Determine the operating time corresponding to each of the plurality of power-consuming functional modules according to the initial power of the AR glasses and the target power;

[0083] According to the operating time periods respectively corresponding to the multiple power-consuming functional modules, the sending module 200 is controlled to send a test instruction to the AR glasses, and the test instruction carries the operating time periods respectively corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to run the multiple power-consuming functional modules in sequence according to the operating time periods respectively corresponding to the multiple power-consuming functional modules.

[0084] Optionally, in determining the operation durations respectively corresponding to the plurality of power-consuming functional modules according to the initial power of the AR glasses and the target power, the control module 300 is specifically configured to:

[0085] Determining the power consumption of the AR glasses according to the initial power and the target power;

[0086] estimating the module power consumptions respectively corresponding to the plurality of power-consuming functional modules according to the preset operating time ratios corresponding to the plurality of power-consuming functional modules and the power consumption;

[0087] The operation time periods respectively corresponding to the plurality of power-consuming functional modules are determined according to the module power consumptions respectively corresponding to the plurality of power-consuming functional modules.

[0088] Optionally, in the aspect of sending a test instruction to the AR glasses according to the operating time periods respectively corresponding to the multiple power-consuming functional modules, the control module 300 is specifically configured to:

[0089] estimating the start-up time corresponding to each of the plurality of power-consuming functional modules according to the longest operation time among the plurality of power-consuming functional modules and the operation time corresponding to each of the plurality of power-consuming functional modules;

[0090] The sending module 200 is controlled to send a test instruction to the AR glasses according to the respective turn-on times corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to turn on the multiple power-consuming functional modules.

[0091] Optionally, sending a test instruction to the AR glasses to control the AR glasses to turn on a power consumption function module includes:

[0092] Sending a test instruction to the AR glasses to control the AR glasses to sequentially turn on a first power-consuming functional module among the multiple power-consuming functional modules according to a preset turn-on sequence;

[0093] Determine whether the current power acquired in real time reaches the power threshold corresponding to the power consumption function module currently running;

[0094] If so, a test instruction is sent to the AR glasses to control the AR glasses to turn on the next power-consuming functional module until the current power of the AR glasses reaches the target power.

[0095] This embodiment establishes a communication connection with the AR glasses to transmit data with the AR glasses and control the AR glasses; sends a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module, and the power consumption function module can consume power; when the power consumption function module of the AR glasses is running, the current power of the AR glasses is obtained in real time, specifically, the current power reported by the AR glasses in real time can be received until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power consumption function module. Through the above method, the power consumption of the AR glasses can be automatically tested, and the power consumption of the AR glasses can be accurately controlled to the target power, and the power consumption of multiple AR glasses can be tested at the same time. Compared with manual testing, observation and recording of power data, this solution can accurately and real-time obtain the power of the AR glasses, and can record the power change data when the power consumption function module is running, so that the power consumption of each power consumption function module is more intuitive.

[0096] Embodiment 4

[0097] like Figure 4 As shown, Figure 4 An electronic device provided in an embodiment of the present application is characterized by comprising a processor 410 and a memory 420; and one or more programs, one or more programs are stored in the memory, the memory 420 can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 4000 is used to store a set of program codes, and the processor 410 is used to call the program code stored in the memory 420 to perform the following operations:

[0098] Establish communication connection with AR glasses;

[0099] Sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module;

[0100] When the power-consuming functional module of the AR glasses is running, the current power of the AR glasses is obtained in real time until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

[0101] In a possible example, the AR glasses include at least one, and in terms of establishing a communication connection with the AR glasses, the processor 410 is specifically configured to:

[0102] A communication connection is established with at least one of the AR glasses through at least one Bluetooth adapter, and each of the Bluetooth adapters corresponds to one AR glass.

[0103] In one possible example, the power-consuming functional modules include multiple ones, and the multiple power-consuming functional modules operate in the following manner: the AR glasses are always on at maximum brightness, the communication module transmits signals at maximum power, the analog touch bar switches the display screen, the sensor collects data at the maximum sampling rate, the microprocessor is in a high-load state, and music is played at maximum volume while recording.

[0104] In a possible example, in the aspect of sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module, the processor 410 is specifically configured to:

[0105] Setting a target power consumption of the AR glasses;

[0106] Determine the operating time corresponding to each of the plurality of power-consuming functional modules according to the initial power of the AR glasses and the target power;

[0107] A test instruction is sent to the AR glasses according to the operating time periods respectively corresponding to the multiple power-consuming functional modules, and the test instruction carries the operating time periods respectively corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to sequentially run the multiple power-consuming functional modules according to the operating time periods respectively corresponding to the multiple power-consuming functional modules.

[0108] In a possible example, in determining the operation durations respectively corresponding to the plurality of power-consuming functional modules according to the initial power of the AR glasses and the target power, the processor 410 is specifically configured to:

[0109] Determining the power consumption of the AR glasses according to the initial power and the target power;

[0110] estimating the module power consumptions respectively corresponding to the plurality of power-consuming functional modules according to the preset operating time ratios corresponding to the plurality of power-consuming functional modules and the power consumption;

[0111] The operation time periods respectively corresponding to the plurality of power-consuming functional modules are determined according to the module power consumptions respectively corresponding to the plurality of power-consuming functional modules.

[0112] In a possible example, in terms of sending a test instruction to the AR glasses according to the operating time periods respectively corresponding to the multiple power-consuming functional modules, the processor 410 is specifically configured to:

[0113] estimating the start-up time corresponding to each of the plurality of power-consuming functional modules according to the longest operation time among the plurality of power-consuming functional modules and the operation time corresponding to each of the plurality of power-consuming functional modules;

[0114] A test instruction is sent to the AR glasses according to the respective turn-on times corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to turn on the multiple power-consuming functional modules.

[0115] In a possible example, in the aspect of sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module, the processor 410 is specifically configured to:

[0116] Sending a test instruction to the AR glasses to control the AR glasses to sequentially turn on a first power-consuming functional module among the multiple power-consuming functional modules according to a preset turn-on sequence;

[0117] Determine whether the current power acquired in real time reaches the power threshold corresponding to the power consumption function module currently running;

[0118] If so, a test instruction is sent to the AR glasses to control the AR glasses to turn on the next power-consuming functional module until the current power of the AR glasses reaches the target power.

[0119] This embodiment establishes a communication connection with the AR glasses to transmit data with the AR glasses and control the AR glasses; sends a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module, and the power consumption function module can consume power; when the power consumption function module of the AR glasses is running, the current power of the AR glasses is obtained in real time, specifically, the current power reported by the AR glasses in real time can be received until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power consumption function module. Through the above method, the power consumption of the AR glasses can be automatically tested, and the power consumption of the AR glasses can be accurately controlled to the target power, and the power consumption of multiple AR glasses can be tested at the same time. Compared with manual testing, observation and recording of power data, this solution can accurately and real-time obtain the power of the AR glasses, and can record the power change data when the power consumption function module is running, so that the power consumption of each power consumption function module is more intuitive.

[0120] An embodiment of the present application further provides a computer-readable storage medium storing program instructions, which, when executed by a computer, enables the computer to execute the aforementioned power consumption test method for AR glasses.

[0121] The present application also provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any of the power consumption test methods for AR glasses described in the embodiments of the present application. The computer program product may be a software installation package.

[0122] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0123] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment), or computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The computer program is stored / distributed in a suitable medium, provided together with other hardware or as a part of hardware, and other distribution forms may also be adopted, such as by Internet or other wired or wireless telecommunication systems.

[0124] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatus (devices) and computer program products of the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable human-vehicle trajectory analysis device to produce a machine, so that the instructions executed by the processor of the computer or other programmable human-vehicle trajectory analysis device generate instructions for implementing the processes in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0125] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable human-vehicle trajectory analysis device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0126] These computer program instructions can also be loaded onto a computer or other programmable vehicle trajectory analysis device, so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0127] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A power consumption test method for AR glasses, characterized in that: include: Establish communication connection with AR glasses; Sending a test instruction to the AR glasses to control the AR glasses to turn on a power-consuming function module; When the power-consuming functional module of the AR glasses is running, the current power of the AR glasses is obtained in real time until the current power of the AR glasses reaches the target power, and a stop instruction is sent to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

2. The power consumption test method of AR glasses according to claim 1, characterized in that: The AR glasses include at least one, and establishing a communication connection with the AR glasses includes: A communication connection is established with at least one of the AR glasses through at least one Bluetooth adapter, and each of the Bluetooth adapters corresponds to one AR glass.

3. The power consumption test method of AR glasses according to claim 1, characterized in that: The power-consuming functional modules include multiple ones, and the multiple power-consuming functional modules operate in the following manner: the AR glasses are always on at maximum brightness, the communication module transmits signals at maximum power, the analog touch bar switches the display screen, the sensor collects data at the maximum sampling rate, the microprocessor is in a high-load state, and music is played at the maximum volume while recording.

4. The power consumption test method of AR glasses according to claim 3, characterized in that: The sending a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module includes: Setting a target power consumption of the AR glasses; Determine the operating time corresponding to each of the plurality of power-consuming functional modules according to the initial power of the AR glasses and the target power; A test instruction is sent to the AR glasses according to the operating time periods respectively corresponding to the multiple power-consuming functional modules, and the test instruction carries the operating time periods respectively corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to sequentially run the multiple power-consuming functional modules according to the operating time periods respectively corresponding to the multiple power-consuming functional modules.

5. The power consumption test method of AR glasses according to claim 4, characterized in that: The determining, according to the initial power level of the AR glasses and the target power level, respectively corresponding operating time of the plurality of power-consuming functional modules includes: Determining the power consumption of the AR glasses according to the initial power and the target power; estimating the module power consumptions respectively corresponding to the plurality of power-consuming functional modules according to the preset operating time ratios corresponding to the plurality of power-consuming functional modules and the power consumption; The operation time periods respectively corresponding to the plurality of power-consuming functional modules are determined according to the module power consumptions respectively corresponding to the plurality of power-consuming functional modules.

6. The power consumption test method of AR glasses according to claim 5, characterized in that: The sending a test instruction to the AR glasses according to the operating time corresponding to the multiple power-consuming functional modules respectively includes: estimating the start-up time corresponding to each of the plurality of power-consuming functional modules according to the longest operation time among the plurality of power-consuming functional modules and the operation time corresponding to each of the plurality of power-consuming functional modules; A test instruction is sent to the AR glasses according to the respective turn-on times corresponding to the multiple power-consuming functional modules, so as to control the AR glasses to turn on the multiple power-consuming functional modules.

7. The power consumption test method of AR glasses according to claim 3, characterized in that: The sending a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module includes: Sending a test instruction to the AR glasses to control the AR glasses to sequentially turn on a first power-consuming functional module among the multiple power-consuming functional modules according to a preset turn-on sequence; Determine whether the current power acquired in real time reaches the power threshold corresponding to the power consumption function module currently running; If so, a test instruction is sent to the AR glasses to control the AR glasses to turn on the next power-consuming functional module until the current power of the AR glasses reaches the target power.

8. A power consumption test device for AR glasses, characterized in that: include: A communication module, used to establish a communication connection with the AR glasses; A sending module, used for sending a test instruction to the AR glasses to control the AR glasses to turn on the power consumption function module; The control module is used to obtain the current power of the AR glasses in real time when the power-consuming functional module of the AR glasses is running, until the current power of the AR glasses reaches the target power, and control the sending module to send a stop instruction to the AR glasses to control the AR glasses to stop running the power-consuming functional module.

9. An electronic device, characterized in that: It comprises a processor and a memory; and one or more programs, which are stored in the memory and configured to be executed by the processor, and the programs include steps of a power consumption test method for AR glasses as described in any one of claims 1 to 7.

10. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the power consumption test method for AR glasses according to any one of claims 1 to 7 are implemented.