Test method, device, medium and head-mounted device for extended interface
By acquiring and comparing the real interface and extended interface of the head-mounted device, the test results of the extended interface are determined when the device posture changes, which solves the problem of the extended interface changing with posture and achieves optimization of the stability and consistency of the extended interface.
Patent Information
- Application Number
- CN202311738131.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-12-15
AI Technical Summary
When the extended interface is triggered on the display interface of a head-mounted device, the extended interface is prone to change with the device's posture, making it difficult to predict the effect.
By acquiring the real-world interface observed through the head-mounted device, an extended interface is triggered based on the real-world interface, and a second test interface is acquired when the device's posture changes. The test results of the extended interface are determined by comparing the first and second test interfaces, thereby optimizing the effect of the extended interface.
It enables effective detection and optimization of the extended interface when the posture of the head-mounted device changes, ensuring the stability and consistency of the extended interface under different postures.
Smart Images

Figure CN117724915B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of extended interface technology, and more specifically, to a testing method, apparatus, medium, and head-mounted device for extended interfaces. Background Technology
[0002] With the development of technology, head-mounted devices are gradually being applied to users' lives. Before being sold, head-mounted devices need to undergo special testing. At this time, the display interface observed by the head-mounted device is obtained so that the corresponding extended interface can be triggered based on the display interface. However, when the corresponding extended interface is triggered by the display interface, the extended interface is arranged relative to the display interface and is prone to change with the posture of the head-mounted device, making it impossible to infer the effect of the extended interface. Summary of the Invention
[0003] The embodiments of this application provide a testing method, apparatus, medium, and head-mounted device for an extended interface, thereby determining the test results of the extended interface based at least to a certain extent on a comparison between a second test interface and a first test interface, and inferring the effect of the extended interface based on the test results of the extended interface, so as to examine the changes of the extended interface when the head-mounted device undergoes posture changes, and thus optimize the extended interface.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0005] According to one aspect of the embodiments of this application, a testing method for an extended interface is provided, comprising:
[0006] To obtain the real-world interface observed through a head-mounted device;
[0007] The extended interface is triggered based on the real interface, and the first test interface is formed based on the real interface and the extended interface.
[0008] When the head-mounted device undergoes a change in posture, a second test interface is acquired;
[0009] The test results of the extended interface are determined by comparing the second test interface with the first test interface.
[0010] Optionally, acquiring the real-world interface observed through the head-mounted device includes:
[0011] When the head-mounted device is in operation, the guide light output by the infrared laser calibrator is acquired;
[0012] Adjust the position between the head-mounted device and the mobile terminal along the guide light output by the infrared laser calibrator until the head-mounted device and the mobile terminal are aligned vertically.
[0013] When the head-mounted device and the mobile terminal are aligned vertically, the head-mounted device observes the mobile terminal and captures the real-world interface.
[0014] Optionally, acquiring the real-world interface observed through the head-mounted device further includes:
[0015] Activate LiDAR and cameras;
[0016] The distance between the head-mounted device and the mobile terminal is measured by combining lidar and camera.
[0017] If the distance between the head-mounted device and the mobile terminal is less than or equal to a first preset distance, the real-world interface will be captured.
[0018] Optionally, the step of triggering an extended interface based on the real interface and forming a first test interface based on the real interface and the extended interface includes:
[0019] Mark the real-world interface;
[0020] The extended interface is triggered based on the real interface, and the extended interface is located on the outer periphery of the real interface.
[0021] The first test interface is formed based on the actual interface and the extended interface.
[0022] Optionally, the step of triggering an extended interface based on the real interface and forming a first test interface based on the real interface and the extended interface further includes:
[0023] The interface style is determined based on the actual interface.
[0024] Match the corresponding second preset distance based on the interface style;
[0025] The position between the real interface and the extended interface is adjusted based on the second preset distance to form the first test interface.
[0026] Optionally, acquiring the second test interface when the head-mounted device undergoes a posture change includes:
[0027] Mark the first posture of the head-mounted device;
[0028] Within a preset time period, acquire the second posture of the head-mounted device;
[0029] If the second posture is inconsistent with the first posture, the head-mounted device will undergo a posture change;
[0030] Acquire the second test interface during the second pose of the head-mounted device;
[0031] The second test interface includes the real interface and the modified extended interface.
[0032] Alternatively, the second test interface is a preset interface that matches the second posture.
[0033] Optionally, determining the test result of the extended interface based on the comparison between the second test interface and the first test interface includes:
[0034] The second parameter is determined based on the second test interface, and the first parameter is determined based on the first test interface;
[0035] The first parameter is compared with the second parameter to determine the amount of parameter difference;
[0036] The test results are matched with the corresponding extended interface based on the parameter differences.
[0037] According to one aspect of the embodiments of this application, a testing apparatus for an extended interface is provided, comprising:
[0038] The acquisition module is used to acquire the real-world interface observed through the head-mounted device;
[0039] The first interface module is used to trigger the extended interface based on the real interface, and to form the first test interface based on the real interface and the extended interface.
[0040] The second interface module is used to obtain the second test interface when the head-mounted device undergoes a change in posture;
[0041] The testing module is used to determine the test results of the extended interface based on the comparison between the second test interface and the first test interface.
[0042] According to one aspect of the embodiments of this application, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the testing method for the extended interface as described in the above embodiments.
[0043] According to one aspect of the embodiments of this application, a head-mounted device is provided, comprising: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the extended interface testing method as described in the above embodiments.
[0044] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the testing method for the extended interface provided in the above embodiments.
[0045] In some embodiments of this application, the technical solutions provided involve: acquiring a real interface observed through a head-mounted device; triggering an extended interface based on the real interface; forming a first test interface based on the real interface and the extended interface; acquiring a second test interface when the head-mounted device undergoes a posture change; determining the test result of the extended interface based on a comparison between the second test interface and the first test interface; inferring the effect of the extended interface based on the test result of the extended interface; verifying the changes of the extended interface when the head-mounted device undergoes a posture change; and optimizing the extended interface.
[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0048] Figure 1 A flowchart illustrating a testing method for an extended interface according to an embodiment of this application is shown;
[0049] Figure 2 It shows Figure 1 A flowchart of the S11 process;
[0050] Figure 3 It shows Figure 1 A flowchart of the S12 process;
[0051] Figure 4 It shows Figure 1 Flowchart of S13 in China;
[0052] Figure 5 It shows Figure 1 Flowchart of S14 in China;
[0053] Figure 6 A block diagram of a testing apparatus for an extended interface according to an embodiment of this application is shown;
[0054] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing the head-mounted device of the present application is shown. Detailed Implementation
[0055] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0056] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0057] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0058] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0059] Head-mounted devices are gradually being used in users' lives, and smart glasses are a type of head-mounted device. Figure 1 A flowchart illustrating a testing method for an extended interface according to an embodiment of this application is shown. This method can be applied to extended interfaces of head-mounted devices. Head-mounted devices include, but are not limited to, AR (Augmented Reality), VR (Virtual Reality), and MR (Mixed Reality).
[0060] ,refer to Figures 1 to 5 The testing method for the extended interface includes at least steps S110 to S140, which are detailed below:
[0061] refer to Figure 2 In step S110, the real-world interface observed through the head-mounted device is acquired.
[0062] In embodiments of this application, the user wears a head-mounted device and observes a real-world interface through the head-mounted device. This display interface includes the display interface of a mobile terminal associated with the head-mounted device.
[0063] The specific steps are as follows:
[0064] Step S111: When the head-mounted device is in working condition, acquire the guide light output by the infrared laser calibrator;
[0065] In the embodiments of this application, the head-mounted device is switched from a closed state to a working state. When the head-mounted device is in the working state, the infrared laser is also in the working state and outputs guide light outward, thereby obtaining the guide light output by the infrared laser calibrator, so as to adjust the position between the head-mounted device and the mobile terminal based on the guide light.
[0066] Step S112: Adjust the position between the head-mounted device and the mobile terminal along the guide light output by the infrared laser calibrator until the head-mounted device and the mobile terminal are aligned vertically.
[0067] In the embodiments of this application, the position between the head-mounted device and the mobile terminal is adjusted along the guide light output by the infrared laser calibrator to calibrate the position between the head-mounted device and the mobile terminal, thereby ensuring that the head-mounted device and the mobile terminal are aligned in the vertical direction, and then the subsequent interface capture is performed when the head-mounted device and the mobile terminal are aligned.
[0068] Step S113: When the head-mounted device and the mobile terminal are aligned vertically, the head-mounted device observes the mobile terminal and captures the real-world interface.
[0069] In the embodiments of this application, when the head-mounted device and the mobile terminal are aligned vertically, the head-mounted device observes the mobile terminal vertically to capture the real interface. The display interface includes the display interface of the mobile terminal associated with the head-mounted device. The real interface is captured by the head-mounted device observing the mobile terminal, and then displayed in the head-mounted device so as to trigger the corresponding extended interface based on the real interface.
[0070] The process of acquiring the real-world interface observed by the head-mounted device further includes: activating the lidar and camera; calculating the distance between the head-mounted device and the mobile terminal using the combination of lidar and camera; and capturing the real-world interface if the distance between the head-mounted device and the mobile terminal is less than or equal to a first preset distance.
[0071] In the embodiments of this application, the lidar and the camera are used as measurement components. During operation, the lidar scans the surrounding environment and forms numerous point clouds to facilitate the virtualization of matter based on the numerous point clouds, thereby locating the mobile terminal. The camera is used to capture the display interface of the mobile terminal and use the display interface of the mobile terminal as the real interface.
[0072] Furthermore, the distance between the head-mounted device and the mobile terminal is measured using a combination of LiDAR and a camera to facilitate real-time monitoring of this distance. This distance is then compared to a first preset distance. If the distance is less than or equal to the first preset distance, the real-world interface is captured. Optionally, the first preset distance is a manually preset distance.
[0073] refer to Figure 3 In step S120, an extended interface is triggered based on the real interface, and a first test interface is formed based on the real interface and the extended interface.
[0074] In the embodiments of this application, a real interface is obtained so as to trigger an extended interface based on the real interface, thereby forming an extended interface under the trigger of the real interface, and then associating the real interface and the extended interface so as to form a first test interface based on the real interface and the extended interface. The first test interface is compared with the subsequent interfaces as a whole, thereby controlling the changes of the extended interface as a whole.
[0075] The specific steps are as follows:
[0076] Step S121: Mark the display interface;
[0077] In the embodiments of this application, the real interface serves as the display interface of the mobile terminal and is observed by the head-mounted device. Similarly, the display interface of the mobile terminal can also be transmitted to the head-mounted device via a communication connection so that the real interface can be displayed on the head-mounted device and thus marked.
[0078] Step S122: Trigger the extended interface based on the real interface. The extended interface is located on the outer periphery of the real interface.
[0079] In the embodiments of this application, the real interface serves as the triggering condition for the extended interface. After the real interface is marked, the extended interface is triggered based on the real interface, so as to form an extended interface around the real interface, thereby facilitating the association between the extended interface and the real interface.
[0080] Step S123: Form the first test interface based on the real interface and the extended interface;
[0081] In the embodiments of this application, both the real interface and the extended interface are located on the display screen of the head-mounted device. A first test interface is formed based on the real interface and the extended interface to facilitate the control of the effect of the extended interface based on the first test interface, thereby facilitating the subsequent comparison of the first test interface.
[0082] In addition, the step of triggering an extended interface based on the real interface and forming a first test interface based on the real interface and the extended interface further includes: determining an interface style based on the real interface; matching a corresponding second preset distance based on the interface style; adjusting the position between the real interface and the extended interface based on the second preset distance, and forming the first test interface.
[0083] At this point, the real-world interface is divided into regions to form multiple real-world regions. The corresponding regional styles of these regions are then determined, and these regional styles are input into the interface style learning model to determine the interface style. This process controls the interface style of the real-world interface. The interface style is then matched with a corresponding second preset distance, and the matching relationship between the interface style and the second preset distance is presented in the matching table.
[0084] After determining the second preset distance, the second preset distance is used as the preset distance between the real interface and the extended interface. Based on the second preset distance, the position between the real interface and the extended interface is adjusted, the position between the real interface and the extended interface is controlled, and then the first test interface is formed according to the real interface and the extended interface, thus ensuring the standardization of the first test interface.
[0085] Please refer to Figure 4 In step S130, when the head-mounted device undergoes a posture change, the second test interface is acquired.
[0086] In the embodiments of this application, the posture of the head-mounted device is recorded within a preset time period so as to control the posture change of the head-mounted device within the preset time period. Therefore, when the posture of the head-mounted device changes, a second test interface is obtained, wherein the second test interface includes the real interface and the changed extended interface; or, the second test interface is a preset interface matched with the second posture.
[0087] The specific steps are as follows:
[0088] Step S131: Mark the first posture of the head-mounted device;
[0089] In the embodiments of this application, the current position of the head-mounted device is obtained, and the attitude coordinates of the head-mounted device are located, so as to mark the first attitude of the head-mounted device based on the attitude coordinates of the head-mounted device, thereby fixing the first attitude of the head-mounted device.
[0090] Step S132: Within a preset time, acquire the second pose of the head-mounted device;
[0091] In the embodiments of this application, the position of the head-mounted device is repositioned within a preset time. At this time, the position of the head-mounted device is not its current position, but its changed position. Therefore, the posture of the head-mounted device has changed, and the second posture of the head-mounted device is obtained based on its position, thereby fixing the second posture of the head-mounted device.
[0092] Step S133: If the second posture is inconsistent with the first posture, the head-mounted device will undergo a posture change.
[0093] Step S134: In the second pose of the head-mounted device, obtain the second test interface.
[0094] In the embodiments of this application, the second posture is compared with the first posture. If the second posture is inconsistent with the first posture, the head-mounted device undergoes a posture change so as to trigger the acquisition of the second test interface based on the posture change of the head-mounted device. The second test interface includes the real interface and the changed extended interface; or, the second test interface is a preset interface matched with the second posture.
[0095] When the second test interface is a preset interface matched with the second posture, the second posture is mapped to the interface matching table to determine the second test interface. Thus, the second test interface is virtualized based on the second posture. The second test interface is directly fixed through the second posture, which makes it easier to fix the corresponding test interface in each posture, so as to compare the second test interface with the first test interface and thus measure the difference between the second test interface and the first test interface.
[0096] Please refer to Figure 5 In step S140, the test result of the extended interface is determined by comparing the second test interface with the first test interface.
[0097] In the embodiments of this application, the second test interface is compared with the first test interface, and the test result of the extended interface is determined based on the comparison between the second test interface and the first test interface. The effect of the extended interface is inferred based on the test result of the extended interface, so as to verify the changes of the extended interface when the posture of the head-mounted device changes, and then optimize the extended interface.
[0098] The specific steps are as follows:
[0099] Step S141: Determine the second parameter based on the second test interface, and determine the first parameter based on the first test interface;
[0100] In the embodiments of this application, the second test interface and the first test interface are marked with corresponding parameters. At this time, the second parameter is determined based on the second test interface, and the first parameter is determined based on the first test interface. The first parameter and the second parameter can be distance parameters, brightness parameters, refresh rate parameters, and frame rates.
[0101] Step S142: Compare the first parameter with the second parameter to determine the parameter difference.
[0102] In the embodiments of this application, a first parameter is compared with a second parameter to determine the parameter difference based on the comparison between the first parameter and the second parameter, thereby determining the difference between the first parameter and the second parameter based on the parameter difference, so as to determine the corresponding test result based on the parameter difference.
[0103] Step S143: Match the test results of the corresponding extended interface based on the parameter difference.
[0104] In the embodiments of this application, parameter difference quantities are obtained and fixed. These quantities are then matched with a test table to determine the test results associated with them. These test results are used as the test results for the extended interface. Based on these results, the effectiveness of the extended interface is inferred, allowing for the verification of its changes when the head-mounted device undergoes posture changes, thereby optimizing the extended interface. Furthermore, the test results are further processed, and corresponding abnormal events, such as interface latency or interface jitter, are matched.
[0105] In addition, the method also includes: obtaining the ambient brightness value and scene type of the head-mounted device; if the ambient brightness value of the head-mounted device is less than the preset brightness value, triggering the head-mounted device to provide supplementary lighting; and matching the corresponding supplementary lighting scheme according to the scene type.
[0106] At this point, the ambient brightness value and scene type of the head-mounted device are compared with the preset brightness value. If the ambient brightness value is lower than the preset brightness value, the head-mounted device's supplementary lighting is triggered. A corresponding supplementary lighting scheme is matched according to the scene type, thus achieving adaptive supplementary lighting for the head-mounted device in different scenarios. Optionally, the position of the LED supplementary lights can be changed to alter the light angle, simulating strong light, backlight, weak light, and normal lighting environments, thereby conducting specific accuracy and stability tests for different scenarios.
[0107] In some embodiments of this application, the technical solutions provided involve: acquiring a real interface observed through a head-mounted device; triggering an extended interface based on the real interface; forming a first test interface based on the real interface and the extended interface; acquiring a second test interface when the head-mounted device undergoes a posture change; determining the test result of the extended interface based on a comparison between the second test interface and the first test interface; inferring the effect of the extended interface based on the test result of the extended interface, so as to verify the changes of the extended interface when the head-mounted device undergoes a posture change, and thereby optimizing the extended interface.
[0108] The following describes an embodiment of the apparatus described in this application, which can be used to execute the testing method for the extended interface in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the testing method for the extended interface described above.
[0109] Figure 6 A block diagram of a test apparatus for an extended interface according to an embodiment of this application is shown.
[0110] Reference Figure 6 As shown, a testing apparatus for an extended interface according to an embodiment of this application includes:
[0111] The acquisition module 210 is used to acquire the real-world interface observed through the head-mounted device;
[0112] The first interface module 220 is used to trigger an extended interface based on the real interface, and to form a first test interface based on the real interface and the extended interface.
[0113] The second interface module 230 is used to acquire a second test interface when the head-mounted device undergoes a posture change;
[0114] Test module 240 is used to determine the test results of the extended interface based on the comparison between the second test interface and the first test interface.
[0115] In one embodiment of this application, the acquisition module 210 is further configured to: acquire the guide light output by the infrared laser calibrator when the head-mounted device is in working state;
[0116] Adjust the position between the head-mounted device and the mobile terminal along the guide light output by the infrared laser calibrator until the head-mounted device and the mobile terminal are aligned vertically.
[0117] When the head-mounted device and the mobile terminal are aligned vertically, the head-mounted device observes the mobile terminal and captures the real-world interface.
[0118] In one embodiment of this application, the acquisition module 210 is further configured to: enable the lidar and the camera;
[0119] The distance between the head-mounted device and the mobile terminal is measured by combining lidar and camera.
[0120] If the distance between the head-mounted device and the mobile terminal is less than or equal to a first preset distance, the real-world interface will be captured.
[0121] In one embodiment of this application, the first interface module 220 is further configured to:
[0122] Mark the real-world interface;
[0123] The extended interface is triggered based on the real interface, and the extended interface is located on the outer periphery of the real interface.
[0124] The first test interface is formed based on the actual interface and the extended interface.
[0125] In one embodiment of this application, the first interface module 220 is further configured to:
[0126] The interface style is determined based on the actual interface.
[0127] Match the corresponding second preset distance based on the interface style;
[0128] The position between the real interface and the extended interface is adjusted based on the second preset distance to form the first test interface.
[0129] In one embodiment of this application, the second interface module 230 is further configured to:
[0130] Mark the first posture of the head-mounted device;
[0131] Within a preset time period, acquire the second posture of the head-mounted device;
[0132] If the second posture is inconsistent with the first posture, the head-mounted device will undergo a posture change;
[0133] The second test interface is acquired during the second pose of the head-mounted device.
[0134] In one embodiment of this application, the test module 240 is further configured to:
[0135] The second parameter is determined based on the second test interface, and the first parameter is determined based on the first test interface;
[0136] The first parameter is compared with the second parameter to determine the amount of parameter difference;
[0137] The test results are matched with the corresponding extended interface based on the parameter differences.
[0138] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing the head-mounted device of the present application is shown.
[0139] It should be noted that, Figure 7 The computer system of the head-mounted device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0140] like Figure 7 As shown, the computer system includes a Central Processing Unit (CPU) 301, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 302 or programs loaded from storage portion 308 into Random Access Memory (RAM) 303, such as performing the methods described in the above embodiments. The RAM 303 also stores various programs and data required for system operation. The CPU 301, ROM 302, and RAM 303 are interconnected via a bus 304. An Input / Output (I / O) interface 305 is also connected to the bus 304.
[0141] The following components are connected to I / O interface 305: an input section 306 including a keyboard, mouse, etc.; an output section 307 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to I / O interface 305 as needed. Removable media 311, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 310 as needed so that computer programs read from them can be installed into storage section 308 as needed.
[0142] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 309, and / or installed from removable medium 311. When the computer program is executed by central processing unit (CPU) 301, it performs various functions defined in the system of this application.
[0143] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. The transmitted data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0144] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0145] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0146] In another aspect, this application also provides a computer-readable medium, which may be included in the head-mounted device described in the above embodiments; or it may exist independently and not assembled into the head-mounted device. The computer-readable medium carries one or more programs that, when executed by one or more of the head-mounted devices, cause the head-mounted device to perform the methods described in the above embodiments.
[0147] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0148] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.
[0149] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0150] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A testing method for an extended interface, characterized in that, include: To obtain the real-world interface observed through a head-mounted device; The extended interface is triggered based on the real interface, and the first test interface is formed based on the real interface and the extended interface. When the head-mounted device undergoes a posture change, a second test interface is acquired, including: marking the first posture of the head-mounted device; acquiring the second posture of the head-mounted device within a preset time; if the second posture is inconsistent with the first posture, the head-mounted device undergoes a posture change; and acquiring the second test interface when the head-mounted device is in the second posture; wherein the second test interface includes the current interface and the extended interface after the change; or, the second test interface is a preset interface matched with the second posture. The test results of the extended interface are determined by comparing the second test interface with the first test interface, including: determining the second parameter based on the second test interface and determining the first parameter based on the first test interface; comparing the first parameter with the second parameter to determine the parameter difference; and matching the test results of the corresponding extended interface according to the parameter difference. The first parameter and the second parameter are distance parameter, brightness parameter, refresh rate parameter, and frame rate.
2. The method according to claim 1, characterized in that, The acquisition of the real-world interface observed through the head-mounted device includes: When the head-mounted device is in operation, the guide light output by the infrared laser calibrator is acquired; Adjust the position between the head-mounted device and the mobile terminal along the guide light output by the infrared laser calibrator until the head-mounted device and the mobile terminal are aligned vertically. When the head-mounted device and the mobile terminal are aligned vertically, the head-mounted device observes the mobile terminal and captures the real-world interface.
3. The method according to claim 2, characterized in that, The acquisition of the real-world interface observed through the head-mounted device also includes: Activate LiDAR and cameras; The distance between the head-mounted device and the mobile terminal is measured by combining lidar and camera. If the distance between the head-mounted device and the mobile terminal is less than or equal to a first preset distance, the real-world interface will be captured.
4. The method according to claim 1, characterized in that, The step of triggering an extended interface based on the real interface, and forming a first test interface based on the real interface and the extended interface, includes: Mark the real-world interface; The extended interface is triggered based on the real interface, and the extended interface is located on the outer periphery of the real interface. The first test interface is formed based on the actual interface and the extended interface.
5. The method according to claim 4, characterized in that, The method of triggering an extended interface based on the real interface, and forming a first test interface based on the real interface and the extended interface, further includes: The interface style is determined based on the actual interface. Match the corresponding second preset distance based on the interface style; The position between the real interface and the extended interface is adjusted based on the second preset distance to form the first test interface.
6. A testing device with an extended interface, characterized in that, include: The acquisition module is used to acquire the real-world interface observed through the head-mounted device; The first interface module is used to trigger the extended interface based on the real interface, and to form the first test interface based on the real interface and the extended interface. The second interface module is used to acquire a second test interface when the head-mounted device undergoes a posture change, including: marking the first posture of the head-mounted device; acquiring the second posture of the head-mounted device within a preset time; if the second posture is inconsistent with the first posture, the head-mounted device undergoes a posture change; acquiring the second test interface when the head-mounted device is in the second posture; wherein the second test interface includes the current interface and the extended interface after the change; or, the second test interface is a preset interface matched with the second posture. The testing module is used to determine the test results of the extended interface based on the comparison between the second test interface and the first test interface, including: determining a second parameter based on the second test interface and determining a first parameter based on the first test interface; comparing the first parameter with the second parameter to determine the parameter difference; and matching the test results of the corresponding extended interface according to the parameter difference. The first parameter and the second parameter can be a distance parameter, a brightness parameter, a refresh rate parameter, or a frame rate.
7. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the test method for the extended interface as described in any one of claims 1 to 5.
8. A head-mounted device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the test method for the extended interface as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Virtual scene display method, head-mounted display device and computer readable medium
CN116185537A
Method and device for adjusting AR display interface, equipment and medium
CN117093124A
