Device calibration method and apparatus, and electronic device and computer-readable storage medium
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- FALCON INNOVATIONS TECH (SHENZHEN) CO LTD
- Filing Date
- 2025-08-05
- Publication Date
- 2026-06-25
AI Technical Summary
As the number of users and scenarios for extended reality devices increases, the addition of auxiliary components affects device performance, leading to a negative user experience.
By acquiring the status of auxiliary components, the device calibration parameters are determined, and the current device parameters of the extended reality device are calibrated based on these parameters to optimize device performance.
The impact of accessory attachments on the performance of extended reality devices has been improved, enhancing the user experience.
Smart Images

Figure CN2025112631_25062026_PF_FP_ABST
Abstract
Description
Equipment calibration methods, apparatus, electronic devices and computer-readable storage media
[0001] This application claims priority to Chinese patent application filed on December 19, 2024, with application number 202411890599.0 and entitled "Equipment Calibration Method, Apparatus, Electronic Device and Computer-Readable Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of extended reality technology, specifically to a device calibration method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0003] Extended Reality (XR) is a comprehensive term encompassing Virtual Reality (VR), Augmented Reality (AR), and Mixed Reality (MR). Extended Reality technology expands human perception and interaction, allowing interaction with the real world through digital technology to create virtual, augmented, and mixed reality experiences. Extended Reality devices are widely used in navigation, information display, and augmented reality experiences, among other applications. Technical issues
[0004] However, with the promotion of extended reality devices, the number of users and usage scenarios for extended reality devices is constantly increasing. In order to adapt to the needs of usage scenarios, it is also necessary to combine auxiliary parts to complete the application based on extended reality devices. For example, it is necessary to attach sunglasses lenses to extended reality devices to adapt to strong light environments, and it is necessary to attach myopia lenses to extended reality devices to adapt to myopic people.
[0005] However, the addition of assistive devices to augmented reality devices can negatively impact their performance and functionality, leading to a negative user experience. Technical solutions
[0006] This application provides a device calibration method, apparatus, electronic device, and computer-readable storage medium, which can improve the impact of additional auxiliary components on the performance of extended reality devices and enhance the user experience.
[0007] In a first aspect, embodiments of this application provide a device calibration method applied to an extended reality device. The method includes: acquiring an auxiliary component attachment state, wherein the auxiliary component attachment state indicates the attachment state of the auxiliary component on the extended reality device, and the auxiliary component is used to expand the usage scenarios of the extended reality device;
[0008] The equipment calibration parameters are determined based on the attached status of the auxiliary components.
[0009] The current device parameters of the extended reality device are calibrated according to the device calibration parameters to obtain the target device parameters. Secondly, embodiments of this application also provide a device calibration apparatus applied to an extended reality device. The apparatus includes: an acquisition module, configured to acquire an auxiliary component attachment status, wherein the auxiliary component attachment status indicates the attachment status of the auxiliary component on the extended reality device, and the auxiliary component is used to expand the usage scenarios of the extended reality device;
[0010] The determination module is used to determine the equipment calibration parameters based on the attached state of the auxiliary components;
[0011] The calibration module is used to calibrate the current device parameters of the extended reality device according to the device calibration parameters to obtain the target device parameters.
[0012] Optionally, in some embodiments of this application, determining the device calibration parameters based on the auxiliary component's attachment status includes:
[0013] If the attachment status of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter;
[0014] If the auxiliary component attachment status indicates that the auxiliary component is not attached to the extended reality device, then the second interference parameter when it is not attached is used as the device calibration parameter.
[0015] Optionally, in some embodiments of this application, the auxiliary component attachment status includes attached or not attached, and before determining the device calibration parameters based on the auxiliary component attachment status, the method further includes:
[0016] Store a first interference parameter and a second interference parameter. The first interference parameter is obtained by recording interference parameters when the auxiliary component is attached, and the second interference parameter is obtained by recording interference parameters when the auxiliary component is not attached.
[0017] If the attachment state of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter, including:
[0018] If the auxiliary component attachment status indicates that the auxiliary component is attached to the extended reality device, then the stored first interference parameter is used as the device calibration parameter.
[0019] Optionally, in some embodiments of this application, the auxiliary component includes an auxiliary lens, which includes at least one of sunglasses lenses, myopia lenses, hyperopia lenses, or blue light blocking lenses;
[0020] The auxiliary lens is provided with a first magnetic attraction component, and the extended reality device is provided with a second magnetic attraction component. The first magnetic attraction component and the second magnetic attraction component attract each other.
[0021] The step of determining the equipment calibration parameters based on the attached state of the auxiliary components includes:
[0022] If the auxiliary component attachment status indicates that the auxiliary lens is attached to the extended reality device, then the magnetic field interference parameter of the auxiliary lens is determined, and the magnetic field interference parameter is used as the device calibration parameter.
[0023] Optionally, in some embodiments of this application, the extended reality device is provided with a first contact and a second contact, the first contact and the second contact having different voltage levels, and the auxiliary component is provided with a shorting piece, which changes the voltage level of the first contact or the second contact after contacting the first contact and the second contact.
[0024] The acquisition of the auxiliary component's attached state includes:
[0025] Determine the voltage level change of the first contact or the second contact;
[0026] The auxiliary component's additional state is determined based on the aforementioned level changes.
[0027] Optionally, in some embodiments of this application, obtaining the auxiliary component's attached state includes:
[0028] The auxiliary component's additional state is obtained by identifying the additional state of the auxiliary component based on the sensing component, wherein the sensing component includes at least one of a distance sensor, a light sensor, or a Hall switch.
[0029] Optionally, in some embodiments of this application, if the auxiliary component attachment state indicates that the auxiliary component is attached to the extended reality device, then using the first interference parameter at the time of attachment as the device calibration parameter includes:
[0030] If the attachment status indicates that the auxiliary component is attached to the extended reality device, then the evaluation information of the auxiliary component is obtained;
[0031] A first interference parameter is determined based on the evaluation information, and the first interference parameter is used as the device calibration parameter.
[0032] The evaluation information includes at least one of the following: the weight, material, density, or distribution location of the interference components in the auxiliary component.
[0033] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the device calibration method described above.
[0034] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the device calibration method described above.
[0035] Fifthly, embodiments of this application also provide a computer program product or computer program, 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 methods provided in the various optional implementations described in embodiments of this application. Beneficial effects
[0036] The extended reality device of this application acquires the auxiliary component attachment status, which indicates the attachment status of the auxiliary component on the extended reality device. The auxiliary component is used to expand the usage scenarios of the extended reality device. The device calibration parameters are determined according to the auxiliary component attachment status, and the current device parameters of the extended reality device are calibrated according to the device calibration parameters to obtain the target device parameters.
[0037] Specifically, by calibrating the current device parameters of the extended reality device based on whether or not an accessory is attached, the parameters of the extended reality device are optimized, the impact of accessory attachment on the performance of the extended reality device is reduced, the performance of the extended reality device is guaranteed, and the user experience is improved. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1 is a schematic diagram of a scenario in which an extended reality device performs the device calibration method according to an embodiment of this application;
[0040] Figure 2 is a flowchart illustrating the device calibration method provided in an embodiment of this application;
[0041] Figure 3 is a schematic diagram of the extended reality device and accessories provided in the embodiments of this application;
[0042] Figure 4 is a schematic diagram of the device calibration apparatus provided in an embodiment of this application;
[0043] Figure 5 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application. Embodiments of the present invention
[0044] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0045] This application provides a device calibration method, apparatus, electronic device, and computer-readable storage medium. Specifically, this application provides a device calibration apparatus suitable for electronic devices to improve the impact of additional auxiliary components on the performance of extended reality devices and enhance user experience. Specifically, the electronic device includes an extended reality device, which includes, but is not limited to, head-mounted displays, wearable glasses, and can also be an integrated extended reality device built into a computing processing unit, or a separate extended reality device external to the computing processing unit. The extended reality device includes, but is not limited to, airborne optical display systems (i.e., head-up display systems) applied to vehicles such as aircraft, automobiles, and ships, such as AR-HUD (Augmented Reality Hud-up Display) mounted on intelligent connected vehicles, extended reality applications applied to handheld mobile devices such as mobile phones, laptops, and tablets (such as extended reality games, virtual tourism, telemedicine, or virtual experiments), and near-eye display systems applied to wearable devices such as head-mounted displays and smart glasses.
[0046] Please refer to Figure 1. Figure 1 is a schematic diagram of a scenario in which an extended reality device performs the device calibration method according to an embodiment of this application. The specific execution process of the extended reality device performing the device calibration method is as follows:
[0047] The extended reality device 10 determines whether an auxiliary component is attached to obtain the auxiliary component attachment status, determines the device calibration parameters based on the auxiliary component attachment status, and calibrates the current device parameters based on the device calibration parameters to obtain the target device parameters.
[0048] The auxiliary components are used to expand the usage scenarios of the extended reality device and are typically attached to the device by the user based on actual needs. For example, nearsighted users may need to attach prescription lenses to the screen to use the extended reality device, while outdoor users may need to attach sunglasses to the screen in bright outdoor light. In summary, this application embodiment calibrates the current device parameters of the extended reality device based on whether or not the auxiliary components are attached, thereby optimizing the parameters of the extended reality device, mitigating the impact of auxiliary component attachment on the performance of the extended reality device, ensuring the performance of the extended reality device, and improving the user experience.
[0049] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.
[0050] Please refer to Figure 2, which is a flowchart illustrating the device calibration method provided in this embodiment. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. Specifically, the device calibration method is performed by an extended reality device. Specifically, the process of the extended reality device performing the device calibration method includes:
[0051] 101. Obtain the auxiliary component attachment status, wherein the auxiliary component attachment status indicates the attachment status of the auxiliary component on the extended reality device, and the auxiliary component is used to expand the usage scenarios of the extended reality device.
[0052] It is understandable that the accessory attachment state indicates whether the accessory is attached to the extended reality device, and includes at least one of the two states: attached and not attached.
[0053] Among them, auxiliary components are devices used to expand the usage scenarios of extended reality devices, such as sunglasses lenses, myopia lenses, hyperopia lenses, or blue light blocking lenses.
[0054] In this embodiment of the application, the auxiliary component can be attached and fixed to the augmented reality device by means of snap-fit, magnetic attraction, etc. For example, taking the augmented reality device as a product form of smart glasses, the myopia lens can be magnetically attached to the front frame of the smart glasses, so that the smart glasses lens and the myopia lens are superimposed in the field of vision direction.
[0055] 102. Determine the equipment calibration parameters based on the attached status of the auxiliary components.
[0056] Among them, the auxiliary components attached to the augmented reality device will affect the performance of the augmented reality device. For example, when a nearsighted lens is attached, it will affect the light intensity that reaches the human eye through the physical screen of the augmented reality device. When an auxiliary component with magnetic influence is attached, it will interfere with the magnetic field parameters of the augmented reality device.
[0057] Therefore, in this embodiment of the application, determining the device calibration parameters by the status of the auxiliary component helps to correct the current device parameters of the extended reality device based on whether the auxiliary component is attached, so as to improve the impact of the attachment of the auxiliary component on the performance of the extended reality device.
[0058] 103. The current device parameters of the extended reality device are calibrated according to the device calibration parameters to obtain the target device parameters.
[0059] Among them, by calibrating the current device parameters based on the device calibration parameters of the auxiliary component's additional state, the device parameters under different additional states can be optimized, which helps to ensure the performance of the extended reality device and improve the user experience.
[0060] For example, by adding an accessory with magnetic attraction, the magnetic field parameters of the augmented reality device can be corrected to optimize its navigation or compass functions. When an accessory with high light transmittance is added, the visual environment can be improved by adjusting the light transmittance of the augmented reality device's physical screen, thus enhancing the visual experience when wearing the device.
[0061] In summary, by calibrating the current device parameters of the extended reality device based on whether or not an accessory is attached, the parameters of the extended reality device can be optimized, the impact of accessory attachment on the performance of the extended reality device can be reduced, the performance of the extended reality device can be guaranteed, and the user experience can be improved.
[0062] Optionally, in this embodiment, since the auxiliary component's attachment state includes both attached and unattached states, the interference parameters corresponding to different states can be used as the device calibration parameters for different situations. That is, optionally, in some embodiments of this application, the step "determine the device calibration parameters according to the auxiliary component's attachment state" includes:
[0063] If the attachment status of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter;
[0064] If the auxiliary component attachment status indicates that the auxiliary component is not attached to the extended reality device, then the second interference parameter when it is not attached is used as the device calibration parameter.
[0065] Specifically, the first interference parameter is the interference parameter generated by the auxiliary component when it is attached, and the second interference parameter is the interference parameter generated based on the actual environment when the auxiliary component is not attached.
[0066] It is understandable that by determining different equipment calibration parameters based on different situations, the accuracy of equipment calibration parameters can be improved.
[0067] It is understood that the equipment calibration parameters for each situation can be collected and recorded in advance. That is, optionally, in some embodiments of this application, the auxiliary component attachment status includes attached or unattached. Before the step "determine the equipment calibration parameters based on the auxiliary component attachment status", the method further includes:
[0068] Store a first interference parameter and a second interference parameter. The first interference parameter is obtained by recording interference parameters when the auxiliary component is attached, and the second interference parameter is obtained by recording interference parameters when the auxiliary component is not attached.
[0069] If the attachment state of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter, including:
[0070] If the auxiliary component attachment status indicates that the auxiliary component is attached to the extended reality device, then the stored first interference parameter is used as the device calibration parameter.
[0071] For example, the interference parameters are recorded separately for the cases with and without interference to obtain the first interference parameter or the second interference parameter, and then the first interference parameter and the second interference parameter are stored in advance.
[0072] It should be noted that magnetic field parameters are important parameters of extended reality devices, affecting the use of navigation, compass, and other functions. In existing technologies, for ease of use, auxiliary components are typically attached to the extended reality device magnetically. This causes the magnetic components on the auxiliary component to interfere with the magnetic field parameters of the extended reality device, necessitating correction of the magnetic field parameters after the auxiliary component is attached. Correspondingly, the interference parameters in this case are primarily magnetic field interference parameters. Optionally, in some embodiments of this application, the auxiliary component includes an auxiliary lens, which includes at least one of sunglasses lenses, myopia lenses, hyperopia lenses, or blue light blocking lenses.
[0073] The auxiliary lens is provided with a first magnetic attraction component, and the extended reality device is provided with a second magnetic attraction component. The first magnetic attraction component and the second magnetic attraction component attract each other.
[0074] The step "Determine equipment calibration parameters based on the attached status of the auxiliary components" includes:
[0075] If the auxiliary component attachment status indicates that the auxiliary lens is attached to the extended reality device, then the magnetic field interference parameter of the auxiliary lens is determined, and the magnetic field interference parameter is used as the device calibration parameter.
[0076] Correspondingly, the magnetic field interference parameter can also be collected based on the situation where the auxiliary lens is attached to the extended reality device. For example, the magnetic field interference parameter can be collected for two cases: one with an auxiliary lens that has magnetic attraction and the other without an auxiliary lens that has magnetic attraction, to obtain the corresponding device calibration parameters for each case.
[0077] Understandably, the auxiliary lens is attached to the augmented reality device through the mutual attraction of the first and second magnetic components. Consequently, once the auxiliary lens is attached to the augmented reality device, the first magnetic component on the auxiliary lens will interfere with the magnetic field parameters of the augmented reality device.
[0078] Optionally, in this embodiment of the application, a contact point can be provided on the extended reality device to identify whether the auxiliary component is attached to the extended reality device. For example, the attachment of the auxiliary component can be sensed by contact with the contact point.
[0079] In addition, based on the contacts, a level can be configured for the contacts. The presence of an auxiliary component can be determined by changing the contact level after the auxiliary component comes into contact. That is, the extended reality device is provided with a first contact and a second contact, and the first contact and the second contact have different levels. The auxiliary component is provided with a shorting piece. After the shorting piece comes into contact with the first contact and the second contact, it changes the level of the first contact or the second contact.
[0080] The acquisition of the auxiliary component's attached state includes:
[0081] Determine the voltage level change of the first contact or the second contact;
[0082] The auxiliary component's additional state is determined based on the aforementioned level changes.
[0083] For example, please refer to Figure 3, which is a schematic diagram of the extended reality device and auxiliary component provided in an embodiment of this application. The extended reality device is illustrated in the form of smart glasses. The smart glasses A are provided with a first contact a and a second contact b, which are respectively at high and low levels. The auxiliary component (e.g., a magnetically attached auxiliary lens) B is provided with a shorting piece c (in some scenarios, other components with conduction capabilities may also be provided). When the shorting piece c contacts the first contact a and the second contact b, the high-level first contact a is short-circuited to a low level, thereby generating a falling edge interruption. In this embodiment, based on the design of the first contact, the second contact, and the shorting piece, when a falling edge interruption is detected, it is considered that the auxiliary component is attached to the extended reality device; otherwise, it is considered that no auxiliary component is attached. In this embodiment, in addition to judging the attachment state of the auxiliary component based on the change in contact level, related sensors can also be used to analyze the attachment state of the auxiliary component. That is, optionally, in some embodiments of this application, the step "obtaining the attachment state of the auxiliary component" includes:
[0084] The auxiliary component's additional state is obtained by identifying the additional state of the auxiliary component based on the sensing component, wherein the sensing component includes at least one of a distance sensor, a light sensor, or a Hall switch.
[0085] For example, a distance sensor installed on the augmented reality device can detect if an auxiliary device is approaching. If the distance is less than a set value, it is considered that an auxiliary device has been added to the augmented reality device. If a light sensor detects a change in light, it is considered that an auxiliary device has been added to the augmented reality device.
[0086] Correspondingly, the interference parameters generated by the auxiliary component can also be obtained through multi-dimensional analysis based on multiple parameters such as the weight, material, density, or distribution location of the auxiliary component. That is, optionally, in some embodiments of this application, the step "if the auxiliary component's attachment state indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter" includes:
[0087] If the attachment status indicates that the auxiliary component is attached to the extended reality device, then the evaluation information of the auxiliary component is obtained;
[0088] A first interference parameter is determined based on the evaluation information, and the first interference parameter is used as the device calibration parameter.
[0089] The evaluation information includes at least one of the following: the weight, material, density, or distribution location of the interference components in the auxiliary component.
[0090] Among them, the interference component is a component in the auxiliary parts that has an interfering effect. For example, in the correction of magnetic field interference, the interference component mainly refers to the component in the auxiliary parts that has a magnetic attraction effect. For example, based on the magnetic material of the interference component, the first interference parameter is analyzed in combination with the position of the interference component.
[0091] In summary, the embodiments of this application calibrate the current device parameters of the extended reality device based on whether or not the auxiliary component is attached, thereby optimizing the parameters of the extended reality device, mitigating the impact of the auxiliary component's attachment on the performance of the extended reality device, ensuring the performance of the extended reality device, and improving the user experience.
[0092] Among them, by correcting the magnetic interference during attachment based on magnetically attached auxiliary parts, the magnetic field parameters of the augmented reality device are optimized, ensuring the navigation and compass functions of the augmented reality device and improving the user experience.
[0093] Among them, the design based on high and low level contacts and shorting pieces enables accurate judgment of whether auxiliary components are attached to the extended reality device, thereby improving the accuracy of parameter calibration of the extended reality device.
[0094] To facilitate better implementation of the device calibration method of this application, this application also provides a device calibration apparatus based on the above-described device calibration method. The meanings of the terms used are the same as in the above-described device calibration method, and specific implementation details can be found in the descriptions of the method embodiments.
[0095] Please refer to Figure 4, which is a schematic diagram of the device calibration apparatus provided in an embodiment of this application. This device calibration apparatus is applied to an extended reality device, and the device calibration apparatus can be specifically as follows:
[0096] The acquisition module 201 is used to acquire the auxiliary component attachment status, wherein the auxiliary component attachment status indicates the attachment status of the auxiliary component on the extended reality device, and the auxiliary component is used to expand the usage scenarios of the extended reality device;
[0097] The determination module 202 is used to determine the equipment calibration parameters based on the attached state of the auxiliary component;
[0098] The calibration module 203 is used to calibrate the current device parameters of the extended reality device according to the device calibration parameters to obtain the target device parameters.
[0099] Optionally, in some embodiments of this application, determining the device calibration parameters based on the auxiliary component's attachment status includes:
[0100] If the attachment status of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter;
[0101] If the auxiliary component attachment status indicates that the auxiliary component is not attached to the extended reality device, then the second interference parameter when it is not attached is used as the device calibration parameter.
[0102] Optionally, in some embodiments of this application, the auxiliary component attachment status includes attached or not attached, and before determining the device calibration parameters based on the auxiliary component attachment status, the method further includes:
[0103] Store a first interference parameter and a second interference parameter. The first interference parameter is obtained by recording interference parameters when the auxiliary component is attached, and the second interference parameter is obtained by recording interference parameters when the auxiliary component is not attached.
[0104] If the attachment state of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter, including:
[0105] If the auxiliary component attachment status indicates that the auxiliary component is attached to the extended reality device, then the stored first interference parameter is used as the device calibration parameter.
[0106] Optionally, in some embodiments of this application, the auxiliary component includes an auxiliary lens, which includes at least one of sunglasses lenses, myopia lenses, hyperopia lenses, or blue light blocking lenses;
[0107] The auxiliary lens is provided with a first magnetic attraction component, and the extended reality device is provided with a second magnetic attraction component. The first magnetic attraction component and the second magnetic attraction component attract each other.
[0108] The step of determining the equipment calibration parameters based on the attached state of the auxiliary components includes:
[0109] If the auxiliary component attachment status indicates that the auxiliary lens is attached to the extended reality device, then the magnetic field interference parameter of the auxiliary lens is determined, and the magnetic field interference parameter is used as the device calibration parameter.
[0110] Optionally, in some embodiments of this application, the extended reality device is provided with a first contact and a second contact, the first contact and the second contact having different voltage levels, and the auxiliary component is provided with a shorting piece, which changes the voltage level of the first contact or the second contact after contacting the first contact and the second contact.
[0111] The acquisition of the auxiliary component's attached state includes:
[0112] Determine the voltage level change of the first contact or the second contact;
[0113] The auxiliary component's additional state is determined based on the aforementioned level changes.
[0114] Optionally, in some embodiments of this application, obtaining the auxiliary component's attached state includes:
[0115] The auxiliary component's additional state is obtained by identifying the additional state of the auxiliary component based on the sensing component, wherein the sensing component includes at least one of a distance sensor, a light sensor, or a Hall switch.
[0116] Optionally, in some embodiments of this application, if the auxiliary component attachment state indicates that the auxiliary component is attached to the extended reality device, then using the first interference parameter at the time of attachment as the device calibration parameter includes:
[0117] If the attachment status indicates that the auxiliary component is attached to the extended reality device, then the evaluation information of the auxiliary component is obtained;
[0118] A first interference parameter is determined based on the evaluation information, and the first interference parameter is used as the device calibration parameter.
[0119] The evaluation information includes at least one of the following: the weight, material, density, or distribution location of the interference components in the auxiliary component.
[0120] In this embodiment, the acquisition module 201 acquires the auxiliary component attachment status, which indicates the attachment status of the auxiliary component on the extended reality device. The auxiliary component is used to expand the usage scenarios of the extended reality device. The determination module 202 determines the device calibration parameters based on the auxiliary component attachment status. The calibration module 203 calibrates the current device parameters of the extended reality device based on the device calibration parameters to obtain the target device parameters.
[0121] In this embodiment, the current device parameters of the extended reality device are calibrated based on whether or not the auxiliary component is attached, thereby optimizing the parameters of the extended reality device, reducing the impact of the auxiliary component's attachment on the performance of the extended reality device, ensuring the performance of the extended reality device, and improving the user experience.
[0122] In addition, this application also provides an electronic device, as shown in Figure 5, which illustrates the structural schematic diagram of the electronic device involved in this application. Specifically:
[0123] The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will understand that the electronic device structure shown in FIG5 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0124] The processor 301 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 302, and by calling data stored in the memory 302, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 301. The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and device calibration by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the electronic device. Furthermore, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory 302 may also include a memory controller to provide processor 301 with access to memory 302.
[0125] The electronic device also includes a power supply 303 that supplies power to the various components. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 303 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0126] The electronic device may further include an input unit 304, which can be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 301 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 runs the application programs stored in the memory 302, thereby implementing the steps in any of the device calibration methods provided in the embodiments of this application.
[0127] The extended reality device of this application acquires the auxiliary component attachment status, which indicates the attachment status of the auxiliary component on the extended reality device. The auxiliary component is used to expand the usage scenarios of the extended reality device. The device calibration parameters are determined according to the auxiliary component attachment status, and the current device parameters of the extended reality device are calibrated according to the device calibration parameters to obtain the target device parameters.
[0128] Specifically, by calibrating the current device parameters of the extended reality device based on whether or not an accessory is attached, the parameters of the extended reality device are optimized, the impact of accessory attachment on the performance of the extended reality device is reduced, the performance of the extended reality device is guaranteed, and the user experience is improved.
[0129] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0130] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0131] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to perform the steps in any of the device calibration methods provided in this application.
[0132] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0133] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0134] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the device calibration methods provided in this application, the beneficial effects that any of the device calibration methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0135] The above provides a detailed description of a device calibration method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A device calibration method, wherein, Applied to an extended reality device, the method includes: acquiring an auxiliary component attachment state, the auxiliary component attachment state indicating the attachment state of the auxiliary component on the extended reality device, the auxiliary component being used to expand the usage scenarios of the extended reality device; The equipment calibration parameters are determined based on the attached status of the auxiliary components. The current device parameters of the extended reality device are calibrated according to the device calibration parameters to obtain the target device parameters.
2. The equipment calibration method according to claim 1, wherein, The step of determining the equipment calibration parameters based on the attached state of the auxiliary components includes: If the attachment status of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter; If the auxiliary component attachment status indicates that the auxiliary component is not attached to the extended reality device, then the second interference parameter when it is not attached is used as the device calibration parameter.
3. The equipment calibration method according to claim 1, wherein, The auxiliary component's attachment status includes whether it is attached or not. Before determining the equipment calibration parameters based on the auxiliary component's attachment status, the method further includes: The system stores a first interference parameter and a second interference parameter. The first interference parameter is obtained by recording interference parameters when the auxiliary component is attached, and the second interference parameter is obtained by recording interference parameters when the auxiliary component is not attached.
4. The equipment calibration method according to claim 3, wherein, If the attachment state of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter, including: If the auxiliary component attachment status indicates that the auxiliary component is attached to the extended reality device, then the stored first interference parameter is used as the device calibration parameter.
5. The equipment calibration method according to claim 1, wherein, The auxiliary component includes an auxiliary lens, which includes at least one of sunglasses lenses, myopia lenses, hyperopia lenses, or blue light blocking lenses. The auxiliary lens is provided with a first magnetic attraction component, and the extended reality device is provided with a second magnetic attraction component. The first magnetic attraction component and the second magnetic attraction component attract each other.
6. The equipment calibration method according to claim 5, wherein, The step of determining the equipment calibration parameters based on the attached state of the auxiliary components includes: If the auxiliary component attachment status indicates that the auxiliary lens is attached to the extended reality device, then the magnetic field interference parameter of the auxiliary lens is determined, and the magnetic field interference parameter is used as the device calibration parameter.
7. The equipment calibration method according to claim 1, wherein, The extended reality device is provided with a first contact and a second contact, the first contact and the second contact having different voltage levels. The auxiliary component is provided with a shorting piece, which changes the voltage level of the first contact or the second contact after contacting the first contact and the second contact. The acquisition of the auxiliary component's attached state includes: Determine the voltage level change of the first contact or the second contact; The auxiliary component's additional state is determined based on the aforementioned level changes.
8. The equipment calibration method according to claim 1, wherein, The acquisition of the auxiliary component's attached state includes: The auxiliary component's additional state is obtained by identifying the additional state of the auxiliary component based on the sensing component, wherein the sensing component includes at least one of a distance sensor, a light sensor, or a Hall switch.
9. The equipment calibration method according to claim 2, wherein, If the attachment state of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter, including: If the attachment status indicates that the auxiliary component is attached to the extended reality device, then the evaluation information of the auxiliary component is obtained; A first interference parameter is determined based on the evaluation information, and the first interference parameter is used as the device calibration parameter. The evaluation information includes at least one of the following: the weight, material, density, or distribution location of the interference components in the auxiliary component.
10. The equipment calibration method according to claim 1, wherein, The auxiliary component is a device used to expand the usage scenarios of the extended reality device, and the auxiliary component includes one or more of the following: sunglasses lenses, myopia lenses, hyperopia lenses, or blue light blocking lenses.
11. The equipment calibration method according to claim 1, wherein, The auxiliary component is attached to the augmented reality device by means of snap-fit or magnetic attraction.
12. The equipment calibration method according to claim 1, wherein, The extended reality device is provided with a contact point, which is used to identify whether the auxiliary component is attached to the extended reality device.
13. The equipment calibration method according to claim 12, wherein, The contact is configured with a voltage level, and the change in the voltage level is used to determine whether the auxiliary component has been added.
14. A device calibration apparatus, wherein, Applied to an extended reality device, the device includes: An acquisition module is used to acquire the attachment status of an auxiliary component, wherein the attachment status of the auxiliary component indicates the attachment status of the auxiliary component on the extended reality device, and the auxiliary component is used to expand the usage scenarios of the extended reality device; The determination module is used to determine the equipment calibration parameters based on the attached state of the auxiliary components; The calibration module is used to calibrate the current device parameters of the extended reality device according to the device calibration parameters to obtain the target device parameters.
15. The equipment calibration apparatus according to claim 14, wherein, The step of determining the equipment calibration parameters based on the attached state of the auxiliary components includes: If the attachment status of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter; If the auxiliary component attachment status indicates that the auxiliary component is not attached to the extended reality device, then the second interference parameter when it is not attached is used as the device calibration parameter.
16. The equipment calibration apparatus according to claim 14, wherein, The auxiliary component's attachment status includes being attached or not attached. Before determining the equipment calibration parameters based on the auxiliary component's attachment status, the device further includes: The system stores a first interference parameter and a second interference parameter. The first interference parameter is obtained by recording interference parameters when the auxiliary component is attached, and the second interference parameter is obtained by recording interference parameters when the auxiliary component is not attached.
17. The equipment calibration apparatus according to claim 16, wherein, If the attachment state of the auxiliary component indicates that the auxiliary component is attached to the extended reality device, then the first interference parameter at the time of attachment is used as the device calibration parameter, including: If the auxiliary component attachment status indicates that the auxiliary component is attached to the extended reality device, then the stored first interference parameter is used as the device calibration parameter.
18. The equipment calibration apparatus according to claim 14, wherein, The auxiliary component includes an auxiliary lens, which includes at least one of sunglasses lenses, myopia lenses, hyperopia lenses, or blue light blocking lenses. The auxiliary lens is provided with a first magnetic attraction component, and the extended reality device is provided with a second magnetic attraction component. The first magnetic attraction component and the second magnetic attraction component attract each other.
19. An electronic device, wherein, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the device calibration method as described in any one of claims 1-13.
20. A computer-readable storage medium, wherein, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the device calibration method as described in any one of claims 1-13.