AR glasses testing method and device, AR glasses and medium
Patent Information
- Application Number
- CN202211019875.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2026-10-13
- Estimated Expiration
- 2042-08-24
AI Technical Summary
[0005]本申请的目的是提供一种解决长时间开启测试应用程序会导致灼伤屏幕的AR眼镜测试方法、装置、AR眼镜及介质
[0044]本申请所提供的AR眼镜测试方法,应用于AR眼镜侧,包括:在进入测试模式且当测试应用程序处理完成一个测试指令后,开始静默计时,当静默时间大于预设静默时间时,向测试设备发送进入静默模式申请;当接收到测试设备发送的允许进入静默模式指令时,控制进入静默模式。通过本申请,在AR眼镜处于测试模式下,接收并处理测试指令,当未接收到测试指令的持续时间大于预设静默时间后,向测试设备发送进入静默模式申请,由测试设备判断是否使测试应用程序进入静默模式,若测试设备发送允许进入静默模式指令,控制测试应用程序进入静默模式,使得测试应用程序不需要长时间处于打开且显示状态的状态等待测试指令,避免了灼伤屏幕使得屏幕存在图标残影。
Smart Images

Figure CN115373992B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of AR, and in particular to an AR glasses testing method, apparatus, AR glasses, and medium. Background Technology
[0002] Augmented Reality (AR) smart glasses are poised to become the next big thing in consumer electronics. Given the advantages of Organic Light-Emitting Diode (OLED) displays compared to Liquid Crystal Displays (LCDs), such as ultra-small size, high pixel density, single-pixel light control, wide color gamut, and low response latency, OLED displays are widely used in AR glasses. During the testing and repair of AR glasses in semi-finished or finished products, an APK (Android application package) will be installed and launched to interact with a PC (Personal Computer) or await user interaction.
[0003] During the testing process, it may be necessary to wait for the next test phase to begin. During this process, the test APK may remain open and displayed for an extended period of time, which can cause screen burn-in and result in icon ghosting on the screen.
[0004] Therefore, how to solve the problem of screen burn-in caused by running test APKs for extended periods is a technical problem that urgently needs to be solved by those in the field. Summary of the Invention
[0005] The purpose of this application is to provide a testing method, apparatus, AR glasses, and medium for AR glasses that can cause screen burn-in when the test application is opened for a long time.
[0006] To address the aforementioned technical problems, this application provides an AR glasses testing method, applied to the AR glasses side, comprising:
[0007] A silent timer begins after the test application enters test mode and completes processing a test instruction.
[0008] When the silence time exceeds the preset silence time, a request to enter the silence mode is sent to the test device.
[0009] When a command to enter silent mode is received from the test device, the system is controlled to enter silent mode.
[0010] Preferably, in the above AR glasses testing method, after sending a request to the testing device to enter silent mode when the silence time is greater than a preset silence time, the method further includes:
[0011] Start waiting for response timer;
[0012] If the waiting time exceeds the preset waiting time and no instruction is received from the test device, the control enters the silent mode step.
[0013] Preferably, in the above AR glasses testing method, before controlling the test application to enter silent mode, the method further includes:
[0014] Determine if any other applications are running;
[0015] If so, close the other applications and switch the test application to run in the background.
[0016] Preferably, in the above AR glasses testing method, if after sending a request to enter silent mode to the testing device, a command to restart the silent timing is received from the testing device, the method further includes:
[0017] Restart the silence timer and return to the step of sending a request to enter silence mode to the test device when the silence time is greater than the preset silence time.
[0018] Preferably, the above-mentioned AR glasses testing method further includes:
[0019] Real-time monitoring of remaining battery power;
[0020] Determine whether the current remaining battery power is less than the preset minimum battery power value;
[0021] If so, the test application is controlled to enter charging mode; wherein, in charging mode, the test device stops sending the test commands.
[0022] Preferably, the above-mentioned AR glasses testing method further includes:
[0023] In the charging mode, it is determined whether the current remaining power is greater than a preset maximum power value;
[0024] If so, control the system to enter the test mode.
[0025] To address the aforementioned technical problems, this application also provides an AR glasses testing method, applied to the testing equipment side, comprising:
[0026] Send a test command to the AR glasses in test mode so that the test application starts a silent timer after processing one of the test commands.
[0027] Receive the request to enter silent mode sent by the AR glasses when the silent time is longer than the preset silent time;
[0028] Send a command to the AR glasses to allow them to enter silent mode, so that the AR glasses enter silent mode.
[0029] Preferably, in the above AR glasses testing method, after receiving the request to enter silent mode sent by the AR glasses when the silent time is greater than a preset silent time, the method further includes:
[0030] Determine if there are any test instructions to be executed;
[0031] If not, proceed to the step of sending a command to the AR glasses to allow entry into silent mode;
[0032] If so, send a restart silent timing command to the AR glasses to restart the silent timing.
[0033] To address the aforementioned technical problems, this application also provides AR glasses, comprising:
[0034] The timing module is used to start a silent timer after entering test mode and when the test application has finished processing a test instruction;
[0035] The application sending module is used to send an application to enter silent mode to the test device when the silence time is longer than the preset silence time.
[0036] The control module is used to control the entry into silent mode when it receives a command from the test device to allow entry into silent mode.
[0037] To address the aforementioned technical problems, this application also provides an AR glasses testing device, applied to the testing equipment side, comprising:
[0038] The receiving module is used to receive the request to enter silent mode sent by the AR glasses when the silent time is longer than the preset silent time, wherein the AR glasses start the silent timer after the test application has finished processing a test instruction in test mode.
[0039] The instruction sending module is used to send an instruction to the AR glasses to allow them to enter silent mode, so that the AR glasses enter silent mode.
[0040] To address the aforementioned technical problems, this application also provides AR glasses, comprising:
[0041] Memory, used to store computer programs;
[0042] A processor is used to implement the steps of the AR glasses testing method described above when executing the computer program.
[0043] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the AR glasses testing method described above.
[0044] The AR glasses testing method provided in this application, applied to the AR glasses side, includes: entering test mode and, after the test application completes processing a test command, starting a silent timer; when the silent time exceeds a preset silent time, sending a silent mode entry request to the test device; and controlling the entry into silent mode upon receiving a silent mode entry permission command from the test device. Through this application, when the AR glasses are in test mode, they receive and process test commands. If the duration of no received test command exceeds a preset silent time, a silent mode entry request is sent to the test device. The test device then determines whether to allow the test application to enter silent mode. If the test device sends a silent mode entry permission command, it controls the test application to enter silent mode. This prevents the test application from remaining open and displayed for extended periods while waiting for test commands, avoiding screen burn-in and resulting in icon ghosting.
[0045] In addition, this application also provides an AR glasses testing method, apparatus, AR glasses and medium, including the above-mentioned AR glasses testing method applied to the AR glasses side, with the same effect. Attached Figure Description
[0046] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 A flowchart of an AR glasses testing method provided in this application embodiment;
[0048] Figure 2 A flowchart of an AR glasses testing method provided in another embodiment of this application;
[0049] Figure 3 A structural diagram of an AR glasses testing device provided in an embodiment of this application;
[0050] Figure 4 A structural diagram of an AR glasses testing device provided in another embodiment of this application;
[0051] Figure 5 This is a structural diagram of an AR glasses provided in an embodiment of this application. Detailed Implementation
[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0053] The core of this application is to provide an AR glasses testing method, device, AR glasses, and medium.
[0054] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0055] With the popularization of the metaverse concept and the continuous development of science and technology, augmented reality (AR) products are poised to become the next explosive growth area for consumer electronics. Augmented reality technology is a technology that cleverly integrates virtual information with the real world. It can simulate and apply computer-generated text, images, 3D models, music, videos, and other virtual information to the real world, thereby "enhancing" the real world. AR glasses are an important device for realizing augmented reality. AR glasses consist of optical lenses with specific optical properties and a screen assembly; both of these components directly affect the performance of the AR glasses. Given that organic light-emitting diode (OLED) displays offer advantages over liquid crystal displays (LCDs) such as extremely small size, high pixel density, single-pixel light control, high color gamut, and low response latency, OLED displays are widely used in AR glasses products. During the testing and repair of semi-finished or finished AR glasses products, test applications are installed and launched to interact with the test equipment or await clicks from testers. Prolonged operation of the test application can burn the screen, resulting in icon ghosting. To address the problem of screen burn-in caused by prolonged operation of the test application, this embodiment provides an AR glasses testing method applied to the AR glasses side. Figure 1 A flowchart of an AR glasses testing method provided in this application embodiment is shown below. Figure 1 As shown, it includes:
[0056] S11: Start a silent timer after entering test mode and after the test application has finished processing a test instruction;
[0057] S12: When the silence time is longer than the preset silence time, send a request to the test device to enter the silence mode;
[0058] S13: When a command to enter silent mode is received from the test device, control the system to enter silent mode.
[0059] It should be noted that the application environment of this embodiment is AR glasses and testing equipment, and the AR glasses and testing equipment are connected. The testing equipment mentioned in this embodiment includes, but is not limited to, smartphones, tablets, personal computers (PCs), etc.
[0060] The testing device sends test commands to the AR glasses, and the AR glasses' test application executes the test commands to complete the test. Additionally, the AR glasses can receive touch or click events from the user to respond and complete the test. This embodiment does not limit the source of the test commands processed by the test application.
[0061] Preferably, after the AR glasses are powered on, the test application is launched. At the same time, the test device launches the host computer test software. After the AR glasses are launched, the test device checks the serial port connection to ensure normal subsequent communication.
[0062] The key point of this embodiment is that when the AR glasses are in test mode and the test application has finished processing a test instruction, a silent timer is started; that is, the timer starts whenever the test application finishes executing a test instruction sent by the test device through the serial port or a test instruction represented by a touch click event issued by the user, and the timer restarts after each test instruction ends.
[0063] Step S12: When the silence time exceeds the preset silence time, a request to enter silent mode is sent to the test device; that is, if the timer exceeds the preset silence time and the next test command has not been processed, a request to enter silent mode is sent to the test device. The test device determines whether to enter test mode. When a permission to enter silent mode command is received from the test device, the device is controlled to enter silent mode. This embodiment does not limit how the test device determines whether to enter test mode; it can be designed according to actual needs.
[0064] It should be noted that in silent mode, the test application is minimized and switched to the background. The test application does not need to be open and displayed for a long time to wait for test instructions, thus avoiding screen burn-in and the presence of icon ghosting on the screen.
[0065] Specifically, after the AR glasses enter test mode and the test application completes processing a test command, a silent timer begins. When the silent time exceeds a preset silent time, a silent mode entry request is sent to the test device. Upon receiving a silent mode entry permission command from the test device, the application enters silent mode. This application ensures that while the AR glasses are in test mode, they receive and process test commands. If no test command is received for a duration exceeding the preset silent time, a silent mode entry request is sent to the test device. The test device then determines whether to allow the test application to enter silent mode. If the test device sends a silent mode entry permission command, it controls the test application to enter silent mode. This prevents the test application from remaining open and displayed for extended periods while waiting for test commands, avoiding screen burn-in and resulting in icon ghosting.
[0066] Correspondingly, this embodiment provides a testing method for AR glasses applied to the testing equipment side. Figure 2 A flowchart of an AR glasses testing method provided in another embodiment of this application is shown below. Figure 2 As shown, it includes:
[0067] S21: Receive a request to enter silent mode from the AR glasses when the silent time is longer than the preset silent time. The AR glasses start the silent timer after the test application finishes processing a test instruction in test mode.
[0068] S22: Send a command to the AR glasses to allow them to enter silent mode, so that the AR glasses enter silent mode.
[0069] When the AR glasses are in test mode and the test application finishes processing a test instruction, a silent timer begins. When the silent time exceeds the preset silent time, the test device receives a request from the AR glasses to enter silent mode. The test device then determines whether to enter test mode. This embodiment does not limit how the test device determines whether to enter test mode; it can be designed according to actual needs.
[0070] When the testing equipment determines that the AR device has entered silent mode, it sends a command to the AR glasses to allow entry into silent mode, thus enabling the AR glasses to enter silent mode. In silent mode, the test application does not need to remain open and displayed for an extended period while waiting for test commands, avoiding screen burn-in and resulting icon ghosting.
[0071] Specifically, the testing device receives a silent mode entry request from the AR glasses when the silent period exceeds a preset silent period. The silent timer begins after the AR glasses are in test mode and the test application has completed processing a test command. The device then sends a permission command to the AR glasses to enter silent mode. Through this application, when the AR glasses are in test mode, they receive and process test commands. If no test command is received for a period exceeding the preset silent period, a silent mode entry request is sent to the testing device. The testing device then determines whether to allow the test application to enter silent mode. If the testing device sends a permission command, it controls the test application to enter silent mode. This prevents the test application from remaining open and displayed for extended periods while waiting for test commands, thus avoiding screen burn-in and icon ghosting.
[0072] In actual operation, after the AR device sends a request to enter silent mode to the test device, it may not receive a response from the test device due to communication failures or other reasons. To avoid the test application remaining open and displayed for an extended period while waiting for test instructions, which could burn the screen and cause icon ghosting, this embodiment provides a preferred solution. After sending the request to enter silent mode to the test device when the silent time exceeds a preset silent time, the method further includes:
[0073] Start waiting for response timer;
[0074] If the waiting time exceeds the preset waiting time and no instruction is received from the test device, the control enters the silent mode step.
[0075] After the AR glasses send a request to enter silent mode to the test device, they begin to wait for a response timer. If the waiting time exceeds the preset waiting time and no instruction is received from the test device, the system will enter silent mode. This is to prevent the AR device from not receiving a response instruction from the test device for a long time, which would cause the test application to remain open and displayed for a long time while waiting for test instructions, potentially burning the screen and causing icon ghosting.
[0076] Whether a command to enter silent mode is received from the test device or the waiting time exceeds a preset waiting time without receiving a command from the test device, entering silent mode is required. To avoid other applications besides the test application running for extended periods, this embodiment provides a preferred solution: before controlling the test application to enter silent mode, the following steps are also included:
[0077] Determine if any other applications are running;
[0078] If so, close the other applications and switch the test application to run in the background.
[0079] The other applications mentioned in this embodiment refer to some other functional applications that are opened during the testing process. If other applications are running, they are closed to prevent other applications besides the test application from being open for a long time. The test application is switched to run in the background to prevent it from being open and displayed for a long time.
[0080] According to the above embodiments, if the testing device determines that the AR device cannot enter silent mode, this embodiment provides a preferred solution: if after sending a request to enter silent mode to the testing device, a restart silent timing command is received from the testing device, then the solution further includes:
[0081] Restart the silence timer and return to the step of sending a request to enter silence mode to the test device when the silence time is greater than the preset silence time.
[0082] When the AR device sends a request to enter silent mode to the test device, the test device determines that the AR device cannot enter silent mode. The test device then sends a command to the AR device to restart the silent timer. The AR device restarts a new round of silent timer. When the silent time exceeds the preset silent time, the AR device sends a request to enter silent mode to the test device again.
[0083] Correspondingly, on the testing device side, this embodiment provides a preferred scheme for determining whether to enter silent mode. After receiving the request to enter silent mode sent by the AR glasses when the silent time is greater than a preset silent time in step S21, it further includes:
[0084] Determine if there are any test instructions to be executed;
[0085] If not, proceed to the step of sending a command to the AR glasses to allow entry into silent mode;
[0086] If so, send a command to the AR glasses to restart the silent timing, so that the AR glasses can restart the silent timing.
[0087] The test command to be executed mentioned in this embodiment can be a test command to be executed directly or a test command that needs to be entered into the system for burning. The test command can be about to be executed or it can require waiting for a period of time, depending on the actual needs. In this case, it is better for the AR device to keep in test mode. Then, a command to restart the silent timing is sent to the AR glasses so that the AR glasses restart the silent timing until the silent time is greater than the preset silent time. Then, a request to enter silent mode is sent to the test device again. If there is no test command to be executed, a command to allow entering silent mode is sent to the AR glasses so that the AR device enters silent mode. This avoids the test application being in an open and displayed state for a long time while waiting for test commands, which could burn the screen and cause icon ghosting.
[0088] In practical AR devices, single or dual batteries are typically used for power supply. These batteries often employ built-in charging. When the battery level drops below 3%, a system crash and inability to boot occurs during client software flashing and self-starting. The battery must be removed and individually activated and charged to restore normal operation. To avoid this problem, this embodiment provides a preferred solution. The aforementioned AR glasses testing method further includes:
[0089] Real-time monitoring of remaining battery power;
[0090] Determine if the current remaining battery level is less than the preset minimum battery level.
[0091] If so, the test application is controlled to enter charging mode; in charging mode, the test device stops sending test commands.
[0092] By monitoring the remaining battery level in real time, the system determines if the remaining battery level is below a preset minimum. If the remaining battery level is below the preset minimum, the test application enters charging mode. In charging mode, the test device stops sending test commands. This embodiment does not limit the size of the preset minimum battery level; it can be set according to actual needs. In charging mode, the test device stops sending test commands, and the AR glasses do not respond to any test commands until the remaining battery level exceeds a preset maximum. This effectively avoids battery self-locking issues caused by operating with low battery power.
[0093] In charging mode, determine whether the current remaining battery level is greater than the preset maximum battery level;
[0094] If so, control the entry into test mode.
[0095] In charging mode, if the remaining battery level is greater than the preset maximum battery level, the system will enter test mode, receive and process test commands. If the duration of not receiving a test command exceeds the preset silent time, the system will send a silent mode request to the test device. The test device will then determine whether to allow the test application to enter silent mode. If the test device sends a command to allow entering silent mode, the system will control the test application to enter silent mode. This prevents the test application from being in an open and displayed state for a long time while waiting for test commands, thus avoiding screen burn-in and the presence of icon ghosting on the screen.
[0096] Furthermore, preferably, the application scenario of this application also includes an indicating device, which is connected to the testing equipment.
[0097] Once the AR glasses enter test mode, the control indicator device indicates that the AR glasses are in test mode;
[0098] When the AR glasses enter silent mode, the control indicator device indicates that the AR glasses are in silent mode;
[0099] Once the AR glasses enter charging mode, the control indicator will show that the AR glasses are in charging mode.
[0100] This embodiment does not limit the specific type of indicator device; it can be a three-color indicator light, a display screen, etc., and can be designed according to actual needs. For example, when the AR glasses are in test mode, the green light is controlled to illuminate; when the AR glasses are in silent mode, the red light is controlled to illuminate; and when the AR glasses are in charging mode, the yellow light is controlled to illuminate.
[0101] The AR glasses testing method has been described in detail in the above embodiments. This application also provides embodiments corresponding to the AR glasses testing device. It should be noted that this application describes the embodiments of the device part from two perspectives: one is based on the functional modules, and the other is based on the hardware.
[0102] Figure 3 A structural diagram of an AR glasses testing device provided in this application embodiment, applied to the AR glasses side, includes:
[0103] The timing module 31 is used to start a silent timer after entering the test mode and after the test application has finished processing a test instruction;
[0104] The application sending module 32 is used to send an application to enter silent mode to the test device when the silent time is longer than the preset silent time.
[0105] The control module 33 is used to control the entry into silent mode when it receives a command from the test device to allow entry into silent mode.
[0106] Specifically, the timing module 31 starts silent timing after entering test mode and the test application completes processing a test command. The request module 32 sends a silent mode entry request to the test device when the silent time exceeds a preset silent time. The control module 33 controls the entry into silent mode upon receiving a permission command from the test device. When the AR glasses are in test mode, they receive and process test commands. If the duration of no received test commands exceeds the preset silent time, a silent mode entry request is sent to the test device. The test device then determines whether to allow the test application to enter silent mode. If the test device sends a permission command, it controls the test application to enter silent mode. This prevents the test application from remaining open and displayed for extended periods while waiting for test commands, avoiding screen burn-in and resulting in icon ghosting.
[0107] Preferably, it further includes:
[0108] The response timing module is used to start the response waiting timer;
[0109] The control module 33 is also used to enter the silent mode if the waiting time for response exceeds the preset waiting time and no instruction is received from the test device.
[0110] The first judgment module is used to determine whether other applications are running.
[0111] If so, enable the shutdown module to close other applications and switch the test application to run in the background.
[0112] The timing module 31 is also used to restart the silent timing and return to the steps of sending an application to enter silent mode to the test device when the silent time is greater than the preset silent time.
[0113] The power monitoring module is used to monitor the current remaining power in real time;
[0114] The second judgment module is used to determine whether the current remaining battery power is less than the preset minimum battery power value;
[0115] If so, the charging module is triggered to control the test application to enter charging mode; in charging mode, the test device stops sending test commands.
[0116] The third judgment module is used to determine whether the current remaining power is greater than the preset maximum power value in charging mode;
[0117] The control module 33 is also used to control the entry into test mode if the current remaining power is greater than the preset maximum power value.
[0118] Figure 4This application provides a structural diagram of an AR glasses testing device, applied to the testing equipment side, such as... Figure 4 As shown, it includes:
[0119] The receiving module 41 is used to receive the request to enter the silent mode sent by the AR glasses when the silent time is longer than the preset silent time, wherein the AR glasses start the silent timer after the test application has finished processing a test instruction in the test mode.
[0120] The instruction sending module 42 is used to send an instruction to the AR glasses to allow them to enter silent mode, so that the AR glasses enter silent mode.
[0121] Specifically, the receiving module 41 receives a silent mode entry request sent by the AR glasses when the silent period exceeds a preset silent period. The AR glasses begin silent timing after the test application completes processing a test command while in test mode. The sending command module 42 sends a permission to enter silent mode command to the AR glasses, causing them to enter silent mode. While the AR glasses are in test mode, they receive and process test commands. If the duration of no received test command exceeds the preset silent period, a silent mode entry request is sent to the test device. The test device determines whether to allow the test application to enter silent mode. If the test device sends a permission to enter silent mode command, it controls the test application to enter silent mode. This prevents the test application from remaining open and displayed for extended periods while waiting for test commands, avoiding screen burn-in and resulting in icon ghosting.
[0122] Preferably, it further includes:
[0123] The test instruction determination module is used to determine whether there are test instructions to be executed;
[0124] If not, proceed to the step of sending a command to the AR glasses to allow entry into silent mode;
[0125] If so, send a restart silent timing command to the AR glasses to restart the silent timing.
[0126] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.
[0127] Figure 5 A structural diagram of another AR glasses provided in the embodiments of this application is shown below. Figure 5 As shown, the AR glasses include: a memory 50 for storing computer programs;
[0128] The processor 51 is used to execute a computer program to implement the steps of the method for obtaining user operation habit information as described in the above embodiment (AR glasses testing method).
[0129] The AR glasses provided in this embodiment may include, but are not limited to, smartphones, tablets, laptops, or desktop computers.
[0130] The processor 51 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 51 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 51 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 51 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 51 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.
[0131] The memory 50 may include one or more computer-readable storage media, which may be non-transitory. The memory 50 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 50 is used to store at least the following computer program 501, which, after being loaded and executed by the processor 51, is capable of implementing the relevant steps of the AR glasses testing method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 50 may also include an operating system 502 and data 503, and the storage method may be temporary or permanent storage. The operating system 502 may include Windows, Unix, Linux, etc. The data 503 may include, but is not limited to, the data involved in implementing the AR glasses testing method.
[0132] In some embodiments, the AR glasses may further include a display screen 52, an input / output interface 53, a communication interface 54, a power supply 55, and a communication bus 56.
[0133] Those skilled in the art will understand that Figure 5 The structure shown is not a limitation on AR glasses and may include more or fewer components than illustrated.
[0134] The AR glasses provided in this application include a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: an AR glasses testing method. After the AR glasses enter test mode and the test application completes processing a test command, a silent timer begins. When the silent time exceeds a preset silent time, a silent mode entry request is sent to the test device. When a silent mode entry permission command is received from the test device, the system controls the entry into silent mode. Through this application, when the AR glasses are in test mode, they receive and process test commands. If the duration of no received test commands exceeds a preset silent time, a silent mode entry request is sent to the test device. The test device determines whether to allow the test application to enter silent mode. If the test device sends a silent mode entry permission command, the system controls the test application to enter silent mode. This prevents the test application from remaining open and displayed for extended periods while waiting for test commands, avoiding screen burn-in and resulting in icon ghosting.
[0135] Finally, this application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above-described AR glasses testing method embodiment (which can be a method corresponding to the AR glasses side or a method corresponding to the testing device side).
[0136] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0137] The computer-readable storage medium provided in this embodiment stores a computer program. When the processor executes the program, it can implement the following method: an AR glasses testing method. The AR glasses, upon entering test mode and after the test application completes processing a test instruction, begin a silent timer. When the silent time exceeds a preset silent time, a silent mode entry request is sent to the test device. Upon receiving a silent mode entry permission instruction from the test device, the system controls the entry into silent mode. Through this application, when the AR glasses are in test mode, they receive and process test instructions. When the duration of no received test instructions exceeds a preset silent time, a silent mode entry request is sent to the test device. The test device determines whether to allow the test application to enter silent mode. If the test device sends a silent mode entry permission instruction, the system controls the test application to enter silent mode. This prevents the test application from remaining open and displayed for extended periods while waiting for test instructions, avoiding screen burn-in and resulting in icon ghosting.
[0138] The AR glasses testing method, apparatus, AR glasses, and medium provided in this application have been described in detail above. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
[0139] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A method for testing AR glasses, characterized in that, Applications to AR glasses include: After entering test mode and the test application finishes processing a test command, a silent timer begins. Specifically, the timer starts whenever the test application finishes executing a test command sent by the test device via serial port or a test command represented by a touch click event issued by the user. When the silence time exceeds the preset silence time, a request to enter silence mode is sent to the test device. When the test device receives a command to allow entry into silent mode, it controls the entry into silent mode. The test device determines whether there is a test command to be executed. If not, it sends a command to allow entry into silent mode to the AR glasses. If so, it sends a command to restart the silent timing to the AR glasses so that the AR glasses restart the silent timing.
2. The AR glasses testing method according to claim 1, characterized in that, After sending a request to enter silent mode to the test device when the silence time exceeds the preset silence time, the method further includes: Start waiting for response timer; If the waiting time exceeds the preset waiting time and no instruction is received from the test device, the control enters the silent mode step.
3. The AR glasses testing method according to claim 2, characterized in that, Before the control enters silent mode, it also includes: Determine if any other applications are running; If so, close the other applications and switch the test application to run in the background.
4. The AR glasses testing method according to claim 3, characterized in that, If, after sending a request to enter silent mode to the test device, a command to restart the silent timing is received from the test device, then the method further includes: Restart the silence timer and return to the step of sending a request to enter silence mode to the test device when the silence time is greater than the preset silence time.
5. The AR glasses testing method according to any one of claims 1 to 4, characterized in that, Also includes: Real-time monitoring of remaining battery power; Determine whether the current remaining battery power is less than the preset minimum battery power value; If so, the test application is controlled to enter charging mode; wherein, in charging mode, the test device stops sending the test commands.
6. The AR glasses testing method according to claim 5, characterized in that, Also includes: In the charging mode, it is determined whether the current remaining power is greater than a preset maximum power value; If so, control the system to enter the test mode.
7. A method for testing AR glasses, characterized in that, Applications on the testing equipment side include: The system receives a request from the AR glasses to enter silent mode when the silent time exceeds a preset silent time. The AR glasses are in test mode and the silent timer starts after the test application has completed processing a test instruction. Send a command to the AR glasses to allow them to enter silent mode, so that the AR glasses enter silent mode; The method further includes, after receiving the AR glasses' request to enter silent mode when the silent period is longer than a preset silent period, the method also includes: Determine if there are any test instructions to be executed; If not, proceed to the step of sending a command to the AR glasses to allow entry into silent mode; If so, send a restart silent timing command to the AR glasses to restart the silent timing.
8. An AR glasses testing device, characterized in that, Applications to AR glasses include: The timing module is used to start silent timing after entering test mode and after the test application has finished processing a test instruction. Specifically, timing starts whenever the test application finishes executing a test instruction sent by the test device via serial port or a test instruction represented by a touch click event issued by the user. The application sending module is used to send an application to enter silent mode to the test device when the silence time is longer than the preset silence time. The control module is used to control the entry into silent mode when it receives a command from the test device to allow entry into silent mode; wherein, the test device determines whether there is a test command to be executed, and if not, sends a command to the AR glasses to allow entry into silent mode, and if so, sends a command to the AR glasses to restart the silent timing, so that the AR glasses restart the silent timing.
9. An AR glasses testing device, characterized in that, Applications on the testing equipment side include: The receiving module is used to receive the request to enter silent mode sent by the AR glasses when the silent time is longer than the preset silent time, wherein the AR glasses start the silent timer after the test application has finished processing a test instruction in test mode. The instruction sending module is used to send an instruction to the AR glasses to allow them to enter silent mode, so that the AR glasses enter silent mode. The method further includes, after receiving the AR glasses' request to enter silent mode when the silent period is longer than a preset silent period, the method also includes: Determine if there are any test instructions to be executed; If not, proceed to the step of sending a command to the AR glasses to allow entry into silent mode; If so, send a restart silent timing command to the AR glasses to restart the silent timing.
10. An AR glasses, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the AR glasses testing method as described in any one of claims 1 to 7 when executing the computer program.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the AR glasses testing method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Sleep control method, sleep control device and sleep control system for virtual desktop
CN105100125A
Equipment charging control method and device, electronic equipment and storage medium
CN110568916A