Multi-ray machine automatic identification method, equipment, medium and product

By obtaining the unique identifier of the VR device's optical engine and utilizing the optical engine parameter library, the compatibility issue between the VR headset host and the optical engine was resolved, enabling automatic identification and firmware upgrades for multiple optical engines, thereby improving the display quality and user experience of VR devices.

CN121858052APending Publication Date: 2026-04-14PIMAX TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, the compatibility and flexibility between the host and optical engine of VR headsets are poor, making it difficult to be compatible with multiple optical engines, which leads to display problems.

Method used

By obtaining the unique identifier of the optical engine through the communication channel with the VR device, and using the optical engine parameter library to obtain distortion parameters, chromatic aberration parameters and pixel density, a visual connection is established between the PC and the VR device, enabling automatic identification and firmware upgrade of multiple optical engines.

Benefits of technology

Ensuring accurate matching of optical engine identifiers eliminates display problems, improves the display quality of VR devices, and provides users with a realistic and comfortable visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121858052A_ABST
    Figure CN121858052A_ABST
Patent Text Reader

Abstract

The invention provides a multi-ray machine automatic identification method and device, a medium and a product. The method is applied to a personal computer (PC) terminal, and comprises the following steps: acquiring a unique identifier of an optical machine in VR equipment through a communication channel with the VR equipment; based on an optical machine parameter library, according to the unique identifier, obtaining a distortion parameter, a chromatic aberration parameter and a pixel density corresponding to an optical machine in the VR equipment; and based on the distortion parameter, the chromatic aberration parameter and the pixel density corresponding to the ray machine in the VR equipment, establishing visual connection between the PC terminal and the VR equipment, so as to achieve the effect of being compatible with various ray machines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of hardware interaction technology, and in particular to a method, device, medium and product for automatic identification of multiple optical engines. Background Technology

[0002] A VR headset consists of two parts: the main unit and the optical engine. The optical engine integrates optical modules and display-related devices such as the screen, and is responsible for converting digital signals into stereoscopic visual images. The main unit of the VR headset is responsible for tasks such as real-time rendering, sensor data processing, and logical operations.

[0003] In related technologies, the host can read the EDID data of the optical engine via a DP cable or obtain the optical engine model information via a serial port to achieve pairing between the host and the slave, which has problems with poor flexibility and compatibility.

[0004] Therefore, there is an urgent need for an automatic multi-optical-mechanism identification scheme that is compatible with multiple optical engines. Summary of the Invention

[0005] Based on the defects and shortcomings of the existing technology, this application proposes a method, device, medium and product for automatic identification of multiple optical engines, which can achieve the effect of being compatible with multiple optical engines.

[0006] According to a first aspect of the embodiments of this application, a multi-optical-mechanical automatic identification method is provided, the method being applied to a personal computer PC, comprising: Obtain the unique identifier of the optical engine within the VR device through the communication channel with the virtual reality (VR) device; Based on the optical engine parameter library, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device are obtained according to the unique identifier; Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device, a visual connection is established between the PC and the VR device.

[0007] In one possible implementation, the unique identifier of the optical engine within the VR device is obtained through a communication channel with the VR device, including: A first request message is sent to the VR headset through the communication channel with the VR device. The first request message is used to request the VR headset to obtain the unique identifier of the optical engine. Based on the VR device's response to the first request information, a unique identifier for the optical engine within the VR device is obtained.

[0008] In one possible implementation, the unique identifier includes the optical module and screen type of the optical engine. Based on the optical engine parameter library, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device are obtained according to the unique identifier, including: Based on the optical engine parameter library, the distortion parameters and chromatic aberration parameters corresponding to the optical engine in the VR device are obtained according to the optical module and screen type. Based on the optical engine parameter library, the screen size and resolution corresponding to the optical engine in the VR device are obtained according to the screen type; Based on the screen size and resolution, the pixel density corresponding to the optical engine within the VR device is obtained.

[0009] In one possible implementation, the method further includes: Obtain the target VR device that needs upgrading; Search the preset firmware library for the firmware information corresponding to the target device to obtain the target firmware for the target device; Based on the target device and target firmware, generate and send the first firmware upgrade information to the VR device.

[0010] In one possible implementation, the target device includes a microcontroller unit (MCU) and / or a bridge chip. The unique identifier includes the MCU type and the bridge chip type. The firmware information corresponding to the target device is searched in a preset firmware library to obtain the target firmware corresponding to the target device, including: When the target device is an MCU, the firmware information corresponding to the MCU is searched in the preset firmware library by MCU type to obtain the target firmware for the MCU. And / or, When the target device is a bridge chip, the firmware information corresponding to the bridge chip is searched in the preset firmware library by bridge chip type to obtain the target firmware corresponding to the bridge chip.

[0011] According to a second aspect of the embodiments of this application, a multi-optical engine automatic identification method is provided. The method is applied to a VR device, wherein the host and optical engine within the VR device are pluggably connected, including: The host receives and responds to the first request information sent by the PC, and generates the second request information; Based on the communication channel between the host and the optical machine, the host sends a second request message to the optical machine. The second request message is used to request the optical machine to obtain the unique identifier of the optical machine. The optical engine receives and responds to the second request information, sending the optical engine's unique identifier to the host; The host receives the unique identifier of the optical engine and sends the unique identifier of the optical engine to the PC through the communication channel between the host and the PC.

[0012] In one possible implementation, the method is further used for: The host receives and responds to the first firmware upgrade information sent by the PC, and obtains the second firmware upgrade information corresponding to the first firmware upgrade information. The second firmware upgrade information is used to instruct the optical engine to upgrade the target device. Based on the communication channel between the host and the optical engine, the host sends the second firmware upgrade information to the optical engine; The optical engine receives and responds to the second firmware upgrade information, and upgrades the firmware of the target device to the target firmware.

[0013] According to a third aspect of the embodiments of this application, an electronic device is provided, including: a memory and a processor; the memory is connected to the processor and is used to store a program; the processor is used to implement the method of the first aspect of the embodiments of this application by running the program in the memory.

[0014] According to a fourth aspect of the embodiments of this application, a VR device is provided, wherein a host and an optical engine within the VR device are pluggably connected to implement the method of the second aspect of the embodiments of this application.

[0015] According to a fifth aspect of the embodiments of this application, a multi-optical-mechanical automatic identification device is provided, the device being deployed on a PC, including: The acquisition module is used to acquire the unique identifier of the optical engine within the VR device through the communication channel between the VR device and the VR device. The processing module is used to obtain the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device based on the optical engine parameter library and the unique identifier; and to establish a visual connection between the PC and the VR device based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device.

[0016] In one possible implementation, the acquisition module is specifically used for: A first request message is sent to the VR headset through the communication channel with the VR device. The first request message is used to request the VR headset to obtain the unique identifier of the optical engine. Based on the VR device's response to the first request information, a unique identifier for the optical engine within the VR device is obtained.

[0017] In one possible implementation, the unique identifier includes the optical module and screen type of the optomechanical system, and based on the optomechanical parameter library, the processing module is specifically used for: Based on the optical engine parameter library, the distortion parameters and chromatic aberration parameters corresponding to the optical engine in the VR device are obtained according to the optical module and screen type. Based on the optical engine parameter library, the screen size and resolution corresponding to the optical engine in the VR device are obtained according to the screen type; Based on the screen size and resolution, the pixel density corresponding to the optical engine within the VR device is obtained.

[0018] In one possible implementation, the processing module is further configured to: Obtain the target VR device that needs upgrading; Search the preset firmware library for the firmware information corresponding to the target device to obtain the target firmware for the target device; Based on the target device and target firmware, generate and send the first firmware upgrade information to the VR device.

[0019] In one possible implementation, the target device includes an MCU and / or a bridge chip, the MCU type and the bridge chip type included in the unique identifier, and a processing module specifically used for: When the target device is an MCU, the firmware information corresponding to the MCU is searched in the preset firmware library by MCU type to obtain the target firmware for the MCU. And / or, When the target device is a bridge chip, the firmware information corresponding to the bridge chip is searched in the preset firmware library by bridge chip type to obtain the target firmware corresponding to the bridge chip.

[0020] According to a sixth aspect of the embodiments of this application, a multi-optical engine automatic identification device is provided. The device is deployed in the optical engine of a VR device, and the host and optical engine in the VR device are pluggably connected, including: The processing module is used for the host to receive and respond to the first request information sent by the PC and generate the second request information; it is used for the host to send the second request information to the optical machine based on the communication channel between the host and the optical machine, the second request information being used to request the optical machine to obtain the unique identifier of the optical machine; the host receives the unique identifier of the optical machine and sends the unique identifier of the optical machine to the PC through the communication channel between the host and the PC. The response module is used for the optical engine to receive and respond to the second request information and send the optical engine's unique identifier to the host.

[0021] In one possible implementation, the processing module is further configured to: The host receives and responds to the first firmware upgrade information sent by the PC, and obtains the second firmware upgrade information corresponding to the first firmware upgrade information. The second firmware upgrade information is used to instruct the optical engine to upgrade the target device. Based on the communication channel between the host and the optical engine, the host sends the second firmware upgrade information to the optical engine; The optical engine receives and responds to the second firmware upgrade information, and upgrades the firmware of the target device to the target firmware.

[0022] According to a seventh aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the computer program is run by a processor, it implements the method of the first aspect of the present application.

[0023] According to an eighth aspect of the embodiments of this application, a computer program product is provided, including computer program instructions that, when executed by a processor, cause the processor to implement the method as described in the first aspect of the embodiments of this application.

[0024] According to a seventh aspect of the embodiments of this application, a chip is provided, including a processor and a data interface, wherein the processor reads and runs a program stored in a memory through the data interface to perform a method as described in any of the first aspects of the embodiments of this application.

[0025] This application provides a method, device, medium, and product for automatic identification of multiple optical engines. Through a communication channel with a virtual reality (VR) device, it obtains the unique identifier of the optical engine within the VR device. This ensures accurate matching between the obtained unique identifier and the optical engine in the VR device, avoiding display problems caused by confusion between the unique identifiers of different optical engines. Based on an optical engine parameter library, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device are obtained according to the unique identifier. The optical engine parameters obtained from the parameter library allow for correct display adjustments during VR device use. Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device, a visual connection is established between the PC and the VR device. This enables the VR device to accurately display images sent from the PC based on the unique identifier of the optical engine, eliminating image display problems caused by differences in optical engine parameters, improving the display quality of the VR device, and providing users with a more realistic and comfortable visual experience. Attached Figure Description

[0026] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0027] Figure 1 A flowchart illustrating the multi-optical-mechanical automatic identification method provided in the embodiments of this application. Figure 1 .

[0028] Figure 2 A flowchart illustrating the multi-optical-mechanical automatic identification method provided in the embodiments of this application. Figure 2 .

[0029] Figure 3 A flowchart illustrating the multi-optical-mechanical automatic identification method provided in the embodiments of this application. Figure 3 .

[0030] Figure 4This is a schematic diagram of the structure of a multi-optical automatic identification device provided in an embodiment of this application.

[0031] Figure 5 This is a schematic diagram of the structure of a multi-optical automatic identification device provided in an embodiment of this application.

[0032] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0033] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0034] First, the technical terms involved in the embodiments of this application will be explained: VR devices are simulation systems used to create and experience virtual worlds. The optical engine is the core optical display component in a VR device. It is responsible for converting image signals into visible optical images and projecting them into the user's eyes to enable the user's experience of the virtual world. The performance of the optical engine directly affects the display effect of the VR device. The host and optical engine have different pins, enabling power and DP signal transmission between them. Typically, one host can be connected to one optical engine to form a functional VR headset.

[0035] A communication channel is the pathway for information transmission between the VR device and the PC. Through the communication channel, data and commands can be transmitted between the VR device and the PC. Optionally, the communication channel can be implemented via a wired connection or a wireless connection. For example, when the communication channel is implemented via a wired connection, the wired connection method can be any of UCB, PCLe, or other wired connections.

[0036] The optical engine parameter library is a database that stores the optical engine parameters corresponding to various models of optical engines. These parameters include, but are not limited to, distortion parameters, chromatic aberration parameters, and pixel density. The optical engine parameter library provides accurate parameter information for different optical engines, allowing for the correct display adjustments during VR device use.

[0037] Distortion parameters describe the image distortion generated during the optomechanical imaging process. Optionally, distortion parameters include at least one of pincushion distortion, barrel distortion, etc. Distortion parameters can be used to correct the image displayed within the optomechanical system, making the displayed image more accurate and realistic.

[0038] Color difference parameters reflect potential deviations in the optical engine's performance when displaying colors. By utilizing color difference parameters to correct for differences between different colors, the accuracy and consistency of displayed colors can be guaranteed.

[0039] Pixel density refers to the number of pixels per unit area. Pixel density determines the clarity and detail of an image; the higher the pixel density, the more refined the image display.

[0040] Visual connectivity is a connection established between VR devices and PCs. It ensures that the PC correctly processes and adjusts the image data sent to the VR device based on the acquired optical and mechanical parameters, enabling the VR device to display images accurately and clearly, thus achieving a good visual experience.

[0041] Optical modules are the key components of an optomechanic responsible for optical imaging, and different optical modules have different optical characteristics.

[0042] Screen type refers to the type of screen used in an optical engine. Different screen types differ in display characteristics and other aspects.

[0043] A pre-built firmware library is a database or storage area that stores firmware information for various hardware devices. It contains different versions of firmware for different types of hardware devices.

[0044] Firmware information includes the firmware version number, applicable device type, file size, update content, and other relevant information.

[0045] The target firmware is compatible with the target device and can be used to upgrade the target device to the latest or appropriate firmware version.

[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only one component of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0047] Before introducing the solution proposed in this application, the relevant technologies will first be introduced: In related technologies, the host can read the EDID data of the optical engine via a DP cable or obtain the optical engine model information via a serial port to achieve pairing between the host and the slave, which has problems with poor flexibility and compatibility.

[0048] Based on this, embodiments of this application provide a novel method, device, medium, and product that obtains a unique identifier for the optical engine within a VR device through a communication channel with the VR device. This ensures that the obtained unique identifier for the optical engine accurately matches the optical engine in the VR device, avoiding display problems caused by confusion between unique identifiers of different optical engines. Based on an optical engine parameter library, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device are obtained according to the unique identifier. The optical engine parameters can be obtained through the optical engine parameter library, allowing for correct display adjustments during VR device use. Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device, a visual connection is established between the PC and the VR device, enabling the VR device to accurately display images sent from the PC based on the unique identifier of the optical engine. This eliminates image display problems caused by differences in the optical engine parameters, improves the display quality of the VR device, and provides users with a more realistic and comfortable visual experience.

[0049] Figure 1 A flowchart illustrating the multi-optical-mechanical automatic identification method provided in the embodiments of this application. Figure 1 Please see. Figure 1 In an exemplary embodiment, the provided multi-optical-mechanical automatic identification method is applied to a personal computer PC and may include the following steps: Step 101: Obtain the unique identifier of the optical engine within the VR device through the communication channel between the VR device and the VR device.

[0050] The PC sends a request command to the VR device to obtain a unique identifier for the optical engine via a communication channel. The PC receives feedback from the VR device regarding the request command, thus obtaining the unique identifier of the optical engine within the VR device. This feedback information, including the unique identifier of the optical engine within the VR device, ensures that the obtained unique identifier accurately matches the optical engine in the VR device, avoiding display problems caused by confusion between unique identifiers of different optical engines. Optionally, the VR device includes at least one of VR headsets, VR glasses, etc. Optionally, the optical engine includes optical modules and display-related components such as screens.

[0051] For example, a communication channel is established between the PC and the VR device via USB, resulting in a UCB communication channel. Then, the software program corresponding to the VR device runs on the PC. This VR device software program sends a request command to the VR device via the USB communication channel to obtain the unique identifier of the optical engine. Upon receiving the request command, the VR device reads the unique identifier of the optical engine within the VR device and sends it back to the PC software via the USB communication channel. The VR device software program receives and displays the unique identifier.

[0052] For example, the unique identifier is a 2-byte identifier. The 2 bytes include 16 bits, represented as bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7, bit8, bit9, bit10, bit11, bit12, bit13, bit14, and bit15. Specifically, bits 0, 1, 2, and 3 identify the screen type; bits 4 and 5 identify the bridge chip type; bits 6 and 7 identify the MCU type; bits 8, 9, 10, and 11 identify the ID of the left optical module; and bits 12, 13, 14, and 15 identify the ID of the right optical module.

[0053] Step 102: Based on the optical engine parameter library, obtain the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device according to the unique identifier.

[0054] After obtaining the unique identifier of the optical engine within the VR device, this unique identifier is used as a query condition to search and match within a pre-established optical engine parameter database. The optical engine parameters corresponding to the unique identifier are then found. Subsequently, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the unique identifier are extracted from these parameters. This provides data support for subsequent precise correction and optimization of the VR device's display, ensuring that the VR device can present high-quality and accurate images.

[0055] For example, the optical-mechanical parameter database is deployed on a cloud server. The PC establishes a connection with the cloud server via the Internet and sends the obtained unique optical-mechanical identifier to the cloud server. After receiving the unique identifier, the cloud server queries the optical-mechanical parameter database to find the optical-mechanical parameter corresponding to the unique identifier, and the cloud database transmits the optical-mechanical parameter back to the PC via the Internet.

[0056] Step 103: Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device, establish a visual connection between the PC and the VR device.

[0057] After obtaining the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device, the PC preprocesses the image data to be sent to the VR device based on these parameters. Optionally, image data preprocessing includes at least one of the following methods: distortion correction based on distortion parameters, color correction based on chromatic aberration parameters, and resolution adjustment based on pixel density. The PC sends the processed image data to the VR device through a communication channel. Upon receiving the processed image data, the VR device displays it, thus establishing an effective visual connection between the PC and the VR device. This allows the VR device to accurately display the image sent by the PC based on the unique identifier of the optical engine, eliminating image display problems caused by differences in the optical engine parameters, improving the display quality of the VR device, and providing users with a more realistic and comfortable visual experience. Optionally, display problems include at least one of distortion and chromatic aberration.

[0058] The multi-optical engine automatic identification method provided in this application obtains the unique identifier of the optical engine within the VR device through a communication channel with the VR device. This ensures that the obtained unique identifier of the optical engine accurately matches the optical engine in the VR device, avoiding display problems caused by confusion between the unique identifiers of different optical engines. Based on an optical engine parameter library, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device are obtained according to the unique identifier. The optical engine parameters obtained through the optical engine parameter library allow for correct display adjustments during VR device use. Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device, a visual connection is established between the PC and the VR device. This enables the VR device to accurately display the image sent from the PC based on the unique identifier of the optical engine, eliminating image display problems caused by differences in the optical engine parameters, improving the display quality of the VR device, and providing users with a more realistic and comfortable visual experience.

[0059] Figure 2 A flowchart illustrating the multi-optical-mechanical automatic identification method provided in the embodiments of this application. Figure 2 . Figure 2 exist Figure 1 Based on this, the automatic identification method for multiple optical machines is described in detail. In an exemplary embodiment, the method may include the following steps: In some exemplary embodiments, step 101 may further include: Step 1011: Send a first request message to the VR device through the communication channel between the VR device and the VR device. The first request message is used to request the VR device to obtain the unique identifier of the optical engine.

[0060] A first request message is sent to the VR device via the communication channel between the VR device and the VR device. The first request message is used to request the VR device to obtain the unique identifier of the optical engine.

[0061] For example, when the communication channel between the PC and the VR device is a Wi-Fi communication channel, the PC sends a first request message to the VR device via the Wi-Fi communication channel. The software program on the PC corresponding to the VR device generates a data packet containing a request to obtain the unique identifier of the optical engine according to a predetermined protocol, and sends the request data packet to the VR device through the Wi-Fi module. The VR device receives the request data packet and processes it accordingly.

[0062] Step 1012: Based on the VR device's response to the first request information, obtain the unique identifier of the optical engine within the VR device.

[0063] Based on the VR device's response to the first request, a unique identifier for the optical engine within the VR device is extracted from the response information. Through this unique identifier, the PC can accurately distinguish between different optical engines, enabling targeted operations based on the characteristics of each optical engine.

[0064] For example, after receiving the first request information, the VR device's processing module reads the unique identifier of the optical engine from the storage unit. Then, according to the communication protocol, it encapsulates the unique identifier into a response data packet and sends it back to the PC via the WIFI communication channel. The PC receives and parses the response data packet to obtain the unique identifier.

[0065] In some exemplary embodiments, the unique identifier includes the optical module of the optical engine and the screen type, and step 102 above may further include: Step 1021: Based on the optical engine parameter library, obtain the distortion parameters and chromatic aberration parameters corresponding to the optical engine in the VR device according to the optical module and screen type.

[0066] Based on the optomechanical parameter library, the optical module and screen type information obtained from the unique identifiers are used as query conditions to search for records in the parameter library that match both the optical module and screen type information. This yields the distortion and chromatic aberration parameters corresponding to the optomechanical system within the VR device. These distortion and chromatic aberration parameters are crucial for subsequent evaluation and correction of the optomechanical imaging quality.

[0067] Step 1022: Based on the optical engine parameter library, obtain the screen size and resolution corresponding to the optical engine in the VR device according to the screen type.

[0068] Based on an optical engine parameter library, and using the screen type obtained from unique identifiers as the query criterion, information matching the screen type is searched in the parameter library to obtain the screen size and resolution corresponding to the optical engine in the VR device. The screen size and resolution corresponding to the optical engine are of great significance for understanding the display capabilities of the optical engine and adapting it to different application scenarios.

[0069] For example, in a system that uses key-value pairs to store parameters, the screen type is stored as the key, and the screen size and resolution are stored as values. The program code retrieves the corresponding value from the key-value pair set based on the obtained screen type information, thus obtaining the screen size and resolution.

[0070] Step 1023: Based on the screen size and resolution, obtain the pixel density corresponding to the optical engine in the VR device.

[0071] Pixel density refers to the number of pixels per unit area, which reflects the level of detail in a screen display.

[0072] Based on the screen size and resolution information obtained in the steps, the pixel density corresponding to the optical engine in the VR device is calculated. This helps to evaluate the display clarity and precision of the optical engine and provides a reference for users to select suitable optical engine equipment or to carry out related application development.

[0073] In some exemplary embodiments, the multi-optical-mechanical automatic identification method further includes: Step A: Obtain the target device among the VR devices that needs to be upgraded.

[0074] By detecting the hardware devices in the VR device, the hardware devices in the VR device that require firmware upgrades are identified as target devices. A target device refers to a specific hardware device in the VR device that needs to be upgraded; optionally, the hardware device includes at least one key component such as an MCU and a bridge chip.

[0075] For example, in the system management software of a VR device, a device status monitoring module can be set up to periodically check the firmware version information of each hardware device. When a hardware device's firmware version is found to be lower than the preset latest version, that hardware device is marked as a target device.

[0076] Step B: Search for the firmware information corresponding to the target device in the preset firmware library to obtain the target firmware corresponding to the target device.

[0077] In the preset firmware library, the firmware information corresponding to the target device type and model information is found by querying or matching, based on the target device type and model information, so as to obtain the target firmware corresponding to the target device, ensuring the smooth operation of the target device and the normal operation of the upgraded target device.

[0078] Step C: Based on the target device and target firmware, generate and send the first firmware upgrade information to the VR device.

[0079] The first firmware upgrade information is a data packet or instruction set containing the target device and the target firmware, used to instruct the VR device to perform a firmware upgrade operation on the target device.

[0080] The target device and target firmware information are integrated, and first firmware upgrade information is generated according to a specific communication protocol and format. Then, the first firmware upgrade information is sent to the VR device through the communication channel between the PC and the VR device, initiating the VR device's firmware upgrade process. This allows the target device to update to the firmware version corresponding to the target firmware, improving the VR device's performance or fixing known issues in the VR device.

[0081] For example, the PC connects to the VR device via Bluetooth. The upgrade tool software on the PC encapsulates the target device's identification information and the target firmware file in a specific binary format to generate a first firmware upgrade information data packet. Then, it sends the data packet to the VR device via the Bluetooth communication interface. After receiving the data packet, the VR device parses out the target device and target firmware information and initiates the firmware upgrade process.

[0082] In some exemplary embodiments, the target device includes a microcontroller unit (MCU) and / or a bridge chip. The unique identifier includes the MCU type of the MCU and the bridge chip type of the bridge chip. The target device is obtained by searching for the corresponding firmware information in a preset firmware library. This includes: when the target device is an MCU, searching for the corresponding firmware information in the preset firmware library by MCU type to obtain the target firmware for the MCU; and / or, when the target device is a bridge chip, searching for the corresponding firmware information in the preset firmware library by bridge chip type to obtain the target firmware for the bridge chip.

[0083] When the target device is determined to be an MCU, the firmware information corresponding to the MCU type is searched in a preset firmware library to obtain the target firmware for the MCU. When the target device is a bridge chip, the bridge chip type is used as the search criterion to search for matching bridge chip firmware information in the firmware library to obtain the target firmware for the bridge chip. If the target device includes both an MCU and a bridge chip, the search is performed separately using the two methods described above to obtain the target firmware for each. By accurately and quickly finding the corresponding target firmware from the firmware library according to the different types of target devices, the efficiency and accuracy of firmware search are improved, ensuring that different types of devices can obtain suitable firmware for upgrades.

[0084] Figure 3 A flowchart illustrating the multi-optical-mechanical automatic identification method provided in the embodiments of this application. Figure 3 Please see. Figure 3 In an exemplary embodiment, the provided multi-optical-engine automatic identification method is applied to a VR device, wherein the host and optical engine within the VR device are pluggably connected, and may include the following steps: Step 301: The host receives and responds to the first request information sent by the PC, and generates the second request information.

[0085] The host unit is the core control device of a VR device.

[0086] The second request information is generated by the host based on the first request information sent by the PC and is prepared to be sent to the optical machine. It is used to request the optical machine to obtain a unique identifier.

[0087] After receiving the first request information from the PC, the host analyzes and processes it, generating a second request information according to preset logic and procedures. Through the host's response to the PC's first request information, a second request information for the optical engine is further generated, establishing an indirect communication bridge between the PC and the optical engine. This allows the PC to indirectly control the host to obtain the required first request information from the optical engine, enhancing the system's flexibility and controllability.

[0088] Step 302: Based on the communication channel between the host and the optical engine, the host sends a second request message to the optical engine. The second request message is used to request the optical engine to obtain the unique identifier of the optical engine.

[0089] The host computer uses a pre-established communication channel with the optical engine to send the generated second request information to the optical engine according to the corresponding communication protocol, which ensures the reliability and accuracy of the communication between the host computer and the optical engine, enabling the optical engine to correctly receive the host computer's request and respond accordingly.

[0090] Step 303: The optical engine receives and responds to the second request information and sends the optical engine's unique identifier to the host.

[0091] After receiving the second request information sent by the host, the optical engine reads the unique identifier from the optical engine's storage unit, encapsulates the unique identifier according to the communication format agreed with the host, and sends it to the host, providing a basis for the host to further process and use the unique identifier.

[0092] Step 304: The host receives the unique identifier of the optical engine and sends the unique identifier of the optical engine to the PC through the communication channel between the host and the PC.

[0093] After receiving the unique identifier sent by the optical engine, the host sends the unique identifier to the PC through the pre-established communication channel between the host and the PC, which facilitates users to perform device management, configuration and other operations, and improves the overall management efficiency and convenience of the system.

[0094] In one exemplary embodiment, the method may include the following steps: Step A: The host receives and responds to the first firmware upgrade information sent by the PC, and obtains the second firmware upgrade information corresponding to the first firmware upgrade information. The second firmware upgrade information is used to instruct the optical engine to upgrade the target device.

[0095] The host computer receives the first firmware upgrade information sent by the PC through a communication interface. The processor inside the host then analyzes and processes this information, generating corresponding second firmware upgrade information according to preset rules and the communication format agreed upon with the optical engine. This provides accurate instructions for subsequent firmware upgrades of the target device by the optical engine, enhancing the system's compatibility and scalability.

[0096] Step B: Based on the communication channel between the host and the optical engine, the host sends the second firmware upgrade information to the optical engine.

[0097] The host computer uses a pre-established communication channel with the optical engine to send the second firmware upgrade information to the optical engine according to the corresponding communication protocol. The upgrade command is sent to the optical engine accurately and timely through the specific communication channel, which ensures smooth communication between the host computer and the optical engine. This allows the optical engine to obtain the upgrade information in a timely manner, prepare for subsequent firmware upgrade operations, and improve the real-time performance and reliability of the system.

[0098] Step C: The optical engine receives and responds to the second firmware upgrade information, and upgrades the firmware of the target device to the target firmware.

[0099] After receiving the second firmware upgrade information from the host through its communication interface, the optical engine's internal processor analyzes and parses the information, identifying the upgrade instructions and related information. Then, based on this information, the optical engine retrieves the upgrade file from the designated location and replaces the target device's current firmware with the target firmware according to a preset upgrade process. This improves the target device's performance and stability, thereby enhancing the overall performance and reliability of the entire multi-optical engine system and providing users with a better experience.

[0100] Accordingly, embodiments of this application also provide a multi-optical-mechanical automatic identification device, such as... Figure 4 As shown, the multi-optical-mechanical automatic identification device 400 provided in this embodiment can be deployed on a PC and includes: The acquisition module 401 is used to acquire the unique identifier of the optical engine in the VR device through the communication channel between the VR device and the VR device; The processing module 402 is used to obtain the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device based on the optical engine parameter library and the unique identifier; and to establish a visual connection between the PC and the VR device based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device.

[0101] In one possible implementation, the acquisition module 401 is specifically used to: send a first request message to the VR headset through a communication channel with the VR device, the first request message being used to request the VR headset to obtain the unique identifier of the optical engine; and obtain the unique identifier of the optical engine in the VR device based on the VR device's response to the first request message.

[0102] In one possible implementation, the unique identifier includes the optical module and screen type of the optical engine. Based on the optical engine parameter library, the processing module 402 is specifically used to: obtain the distortion parameters and chromatic aberration parameters corresponding to the optical engine in the VR device according to the optical module and screen type; obtain the screen size and resolution corresponding to the optical engine in the VR device according to the screen type; and obtain the pixel density corresponding to the optical engine in the VR device based on the screen size and resolution.

[0103] In one possible implementation, the processing module 402 is further configured to: obtain the target device in the VR device that needs to be upgraded; search for the firmware information corresponding to the target device in a preset firmware library to obtain the target firmware corresponding to the target device; and generate and send first firmware upgrade information to the VR device based on the target device and the target firmware.

[0104] In one possible implementation, the target device includes an MCU and / or a bridge chip, and the unique identifier includes the MCU type of the MCU and the bridge chip type of the bridge chip. The processing module 402 is specifically used for: when the target device is an MCU, searching for the firmware information corresponding to the MCU in a preset firmware library by MCU type to obtain the target firmware corresponding to the MCU; and / or, when the target device is a bridge chip, searching for the firmware information corresponding to the bridge chip in a preset firmware library by bridge chip type to obtain the target firmware corresponding to the bridge chip.

[0105] Accordingly, embodiments of this application also provide a multi-optical-mechanical automatic identification device, such as... Figure 4 As shown, the multi-optical engine automatic identification device 500 provided in this embodiment can be installed on the optical engine of a VR device. The host and optical engine in the VR device are pluggable and detachable, including: The processing module 501 is used for the host to receive and respond to the first request information sent by the PC and generate the second request information; it is used for the host to send the second request information to the optical machine based on the communication channel between the host and the optical machine, the second request information being used to request the optical machine to obtain the unique identifier of the optical machine; the host receives the unique identifier of the optical machine and sends the unique identifier of the optical machine to the PC through the communication channel between the host and the PC. The response module 502 is used for the optical engine to receive and respond to the second request information and send the optical engine's unique identifier to the host.

[0106] In one possible implementation, the processing module 501 is further configured to: The host receives and responds to the first firmware upgrade information sent by the PC, and obtains the second firmware upgrade information corresponding to the first firmware upgrade information. The second firmware upgrade information is used to instruct the optical engine to upgrade the target device. Based on the communication channel between the host and the optical engine, the host sends the second firmware upgrade information to the optical engine; The optical engine receives and responds to the second firmware upgrade information, and upgrades the firmware of the target device to the target firmware.

[0107] The apparatus provided in this embodiment belongs to the same concept as the method provided in the above embodiments of this application, and can execute the method provided in any of the above embodiments of this application, possessing the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the specific processing content of the method provided in the above embodiments of this application, and will not be repeated here.

[0108] It should be understood that the modules in the above device can be implemented by a processor calling software. For example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of each unit of the device. The processor can be a general-purpose processor, such as a CPU or microprocessor, and the memory can be internal or external to the device. Alternatively, the units in the device can be implemented as hardware circuits. By designing the hardware circuits, some or all of the unit functions can be implemented. The hardware circuits can be understood as one or more processors. For example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are implemented by designing the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented by a PLD, such as an FPGA, which can include a large number of logic gates. The connection relationships between the logic gates are configured through configuration files to implement the functions of some or all of the above units. All units of the above device can be implemented entirely by a processor calling software, entirely by hardware circuits, or partially by a processor calling software with the remaining parts implemented by hardware circuits.

[0109] In this application embodiment, a processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, microprocessor, GPU, or DSP. In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented as an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the processor loading instructions to implement the functions of some or all of the above units. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, or DPU.

[0110] As can be seen, each unit in the above device can be one or more processors (or processing circuits) configured to implement the above methods, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.

[0111] Furthermore, the units in the above devices can be integrated in whole or in part, or they can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a System-on-Chip (SoC). The SoC may include at least one processor for implementing any of the above methods or implementing the functions of the units in the device. The at least one processor may be of different types, such as CPU and FPGA, CPU and artificial intelligence processor, CPU and GPU, etc.

[0112] Exemplary electronic devices This application provides an electronic device, see [link to relevant documentation] Figure 6 As shown, the electronic device includes a memory 600 and a processor 610 connected to the memory 600.

[0113] The memory 600 is used to store programs.

[0114] The processor 610 is configured to obtain a unique identifier for the optical engine within the VR device via a communication channel with the VR device by executing any of the methods described in any of the above embodiments. This ensures that the obtained unique identifier for the optical engine accurately matches the optical engine in the VR device, avoiding display problems caused by confusion between unique identifiers of different optical engines. Based on an optical engine parameter library, the processor obtains the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device according to the unique identifier. The optical engine parameters can be obtained through the optical engine parameter library, enabling correct display adjustments during VR device use. Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device, a visual connection is established between the PC and the VR device, allowing the VR device to accurately display the image sent from the PC according to the unique identifier of the optical engine. This eliminates image display problems caused by differences in the optical engine parameters, improves the display quality of the VR device, and provides users with a more realistic and comfortable visual experience.

[0115] For details on the specific processing procedure of the processor 610 described above, please refer to the description of the above method embodiments. For details on the specific implementation of the processor 610, please refer to the description of the above embodiments.

[0116] Specifically, the aforementioned electronic device may also include: a bus, a communication interface 620, an input device 630, and an output device 640.

[0117] The processor 610, memory 600, communication interface 620, input device 630, and output device 640 are interconnected via a bus. Among them: A bus can include a pathway for transmitting information between various components of a computer system.

[0118] The processor 610 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present invention. It can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0119] The processor 610 may include a main processor, as well as a baseband chip, modem, etc.

[0120] The memory 600 stores a program that executes the technical solution of this invention, and may also store an operating system and other key business functions. Specifically, the program may include program code, which includes computer operation instructions. More specifically, the memory 600 may include read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), other types of dynamic storage devices capable of storing information and instructions, disk storage, flash memory, etc.

[0121] Input device 630 may include a device for receiving user input data and information, such as an error microphone, keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor.

[0122] Output device 640 may include devices that allow information to be output to a user, such as a speaker, display screen, printer, etc.

[0123] The communication interface 620 may include a device that uses any transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.

[0124] The processor 610 executes the program stored in the memory 600 and calls other devices, and can be used to implement the various steps of any of the methods provided in the above embodiments of this application.

[0125] This application also proposes a chip that includes a processor and a data interface. The processor reads and runs a program stored in a memory through the data interface to execute the method described in any of the above embodiments. For details of the processing and its beneficial effects, please refer to the embodiments of the above methods.

[0126] Exemplary computer program products and storage media In addition to the methods and apparatus described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps of the methods according to various embodiments of this application as described in any of the foregoing embodiments of this specification.

[0127] Computer program products can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this application. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0128] Furthermore, embodiments of this application may also be storage media storing a computer program, which is executed by a processor to perform the steps of the methods according to various embodiments of this application described in any of the above embodiments of this specification, specifically implementing the following steps: Step 101: Obtain the unique identifier of the optical engine within the VR device through the communication channel between the VR device and the VR device.

[0129] Step 102: Based on the optical engine parameter library, obtain the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device according to the unique identifier.

[0130] Step 103: Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device, establish a visual connection between the PC and the VR device.

[0131] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0132] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0133] The steps in the methods of the various embodiments of this application can be adjusted, merged, or deleted in order according to actual needs, and the technical features described in each embodiment can be replaced or combined.

[0134] The modules and sub-modules in the various embodiments of the present application's devices and terminals can be merged, divided, and deleted according to actual needs.

[0135] It should be understood that the disclosed terminals, devices, and methods can be implemented in other ways, given the several embodiments provided in this application. For example, the terminal embodiments described above are merely illustrative. For instance, the division of modules or sub-modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple sub-modules or modules may be combined or integrated into another module, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.

[0136] The modules or submodules described as separate components may or may not be physically separate. The components that constitute a module or submodule may or may not be physical modules or submodules; that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules can be selected to achieve the purpose of this embodiment's solution, depending on actual needs.

[0137] Furthermore, the functional modules or sub-modules in the various embodiments of this application can be integrated into one processing module, or each module or sub-module can exist physically separately, or two or more modules or sub-modules can be integrated into one module. The integrated modules or sub-modules described above can be implemented in hardware or in the form of software functional modules or sub-modules.

[0138] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0139] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software unit executed by a processor, or a combination of both. The software unit can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0140] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0141] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for automatic identification of multiple optical systems, characterized in that, The method is applied to personal computer PCs, including: Obtain the unique identifier of the optical engine within the VR device through the communication channel with the virtual reality (VR) device; Based on the optical engine parameter library, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device are obtained according to the unique identifier; Based on the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine in the VR device, a visual connection is established between the PC and the VR device.

2. The method according to claim 1, characterized in that, By using the communication channel with the VR device, obtain the unique identifier of the optical engine within the VR device, including: A first request message is sent to the VR headset through the communication channel with the VR device. The first request message is used to request the VR headset to obtain the unique identifier of the optical engine. Based on the VR device's response to the first request information, a unique identifier for the optical engine within the VR device is obtained.

3. The method according to claim 1, characterized in that, The unique identifier includes the optical module and screen type of the optical engine. Based on the optical engine parameter library, the distortion parameters, chromatic aberration parameters, and pixel density corresponding to the optical engine within the VR device are obtained according to the unique identifier, including: Based on the optical engine parameter library, the distortion parameters and chromatic aberration parameters corresponding to the optical engine in the VR device are obtained according to the optical module and screen type. Based on the optical engine parameter library, the screen size and resolution corresponding to the optical engine in the VR device are obtained according to the screen type; Based on the screen size and resolution, the pixel density corresponding to the optical engine within the VR device is obtained.

4. The method according to claim 1, characterized in that, The method also includes: Obtain the target VR device that needs upgrading; Search the preset firmware library for the firmware information corresponding to the target device to obtain the target firmware for the target device; Based on the target device and target firmware, generate and send the first firmware upgrade information to the VR device.

5. The method according to claim 4, characterized in that, The target device includes a microcontroller unit (MCU) and / or a bridge chip. The unique identifier includes the MCU type and the bridge chip type. The firmware information corresponding to the target device is searched in a preset firmware library to obtain the target firmware, including: When the target device is an MCU, the firmware information corresponding to the MCU is searched in the preset firmware library by MCU type to obtain the target firmware for the MCU. And / or, When the target device is a bridge chip, the firmware information corresponding to the bridge chip is searched in the preset firmware library by bridge chip type to obtain the target firmware corresponding to the bridge chip.

6. A method for automatic identification of multiple optical systems, characterized in that, The method is applied to VR devices, where the host and optical engine within the VR device are pluggably connected, including: The host receives and responds to the first request information sent by the PC, and generates the second request information; Based on the communication channel between the host and the optical machine, the host sends a second request message to the optical machine. The second request message is used to request the optical machine to obtain the unique identifier of the optical machine. The optical engine receives and responds to the second request information, sending the optical engine's unique identifier to the host; The host receives the unique identifier of the optical engine and sends the unique identifier of the optical engine to the PC through the communication channel between the host and the PC.

7. The method according to claim 6, characterized in that, The method is also used for: The host receives and responds to the first firmware upgrade information sent by the PC, and obtains the second firmware upgrade information corresponding to the first firmware upgrade information. The second firmware upgrade information is used to instruct the optical engine to upgrade the target device. Based on the communication channel between the host and the optical engine, the host sends the second firmware upgrade information to the optical engine; The optical engine receives and responds to the second firmware upgrade information, and upgrades the firmware of the target device to the target firmware.

8. An electronic device, characterized in that, include: Memory and processor; The memory is connected to the processor and is used to store programs; A processor for implementing the method of any one of claims 1-5 by running a program in memory.

9. A VR device, characterized in that, The host and optical engine within the VR device are pluggable and detachable, and the VR device is used to implement the method of any one of claims 6-7.

10. A storage medium, characterized in that, A computer program is stored on the storage medium, and when the computer program is run by a processor, it implements the method as described in any one of claims 1-7.