Head-mounted device
By setting electrode contacts and a power detection component on a head-mounted device, the power of the lens component can be automatically identified, solving the problem of difficult identification of lens power and improving the efficiency and convenience of lens use.
Patent Information
- Application Number
- CN202411853134.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2044-12-16
AI Technical Summary
In scenarios where multiple people share a head-mounted device, the lens prescription is difficult to identify, leading to frequent replacements and reduced efficiency.
Electrode contacts and a diopter detection component are set in a head-mounted device. The diopter of the lens component is automatically identified by measuring the resistance signal of the resistance component. The resistance component and the diopter detection component form a path to achieve automatic identification of the lens component.
The prescription of the lens assembly can be determined without frequently wearing and removing the head-mounted device, improving the efficiency and convenience of using external lenses.
Smart Images

Figure CN119414604B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of extended reality, and particularly relates to a head-mounted device. BACKGROUND
[0002] A head-mounted device (HMD) is a head-mounted device that can be worn on the head, which usually includes display screens, earphones, cameras, sensors and other elements. The head-mounted device includes virtual reality (VR) devices, augmented reality (AR) devices and mixed reality (MR) devices, which can track the head movement of the user and provide corresponding digital content according to the user's perspective, create an interactive interface with the real world or the virtual world, and thus provide the user with an immersive digital experience.
[0003] At present, in order to facilitate the use of head-mounted devices by people with abnormal vision, lenses can be externally connected to the head-mounted device. Users can select corresponding myopia, astigmatism or hyperopia lenses according to their own vision conditions and embed them in the head-mounted device for use.
[0004] However, due to considerations of aesthetics, field of view guarantee and the like, there is no obvious degree mark on the lenses, and confusion between lenses for different vision conditions is prone to occur. In a scenario where a head-mounted device is shared by multiple people at home, in the office or in an experience store, when the degree of the lens is unknown, the user needs to frequently put on and take off the head-mounted device to replace the lens that matches the user's vision condition, thereby reducing the efficiency of using externally connected lenses on the head-mounted device. SUMMARY
[0005] The purpose of the embodiments of the application is to provide a head-mounted device that can improve the efficiency of using externally connected lenses on the head-mounted device.
[0006] In a first aspect, the embodiments of the application provide a head-mounted device, which includes: a main body, the main body being provided with a mounting slot, the mounting slot being provided with a first electrode contact and a second electrode contact; a lens assembly, which is detachably arranged in the mounting slot, the lens assembly including a resistance assembly, a third electrode contact and a fourth electrode contact, the resistance assembly being used to be connected between the third electrode contact and the fourth electrode contact; and a degree detection assembly, which is arranged in the main body and connected between the first electrode contact and the second electrode contact; wherein, in the case where the lens assembly is mounted in the mounting slot, the first electrode contact and the third electrode contact are connected, and the second electrode contact and the fourth electrode contact are connected, so that the resistance assembly and the degree detection assembly form a path, and the degree detection assembly is used to measure a resistance signal of the resistance assembly and determine degree information of the lens assembly according to the resistance signal.
[0007] In a second aspect, the embodiments of the present application provide a method for determining diopter information, applied to the head-mounted device of the first aspect. The method comprises: measuring a resistance signal of a resistance component; converting the resistance signal into a digital signal; determining the diopter information of a lens component according to the digital signal; and displaying the diopter information.
[0008] In a third aspect, the embodiments of the present application provide a device for determining diopter information, applied to the head-mounted device of the first aspect. The device comprises: a measuring unit configured to measure a resistance signal of a resistance component; a processing unit configured to convert the resistance signal into a digital signal; the processing unit is further configured to determine the diopter information of a lens component according to the digital signal; and a display unit configured to display the diopter information.
[0009] In a fourth aspect, the embodiments of the present application provide a head-mounted device, comprising a processor and a memory. The memory stores programs or instructions executable on the processor. When the programs or instructions are executed by the processor, the steps of the method for determining diopter information according to the second aspect are implemented.
[0010] In a fifth aspect, the embodiments of the present application provide a readable storage medium, which stores programs or instructions. When the programs or instructions are executed by a processor, the steps of the method for determining diopter information according to the second aspect are implemented.
[0011] In a sixth aspect, the embodiments of the present application provide a chip, which comprises a processor and a communication interface. The communication interface and the processor are coupled. The processor is configured to run programs or instructions, and implement the steps of the method for determining diopter information according to the second aspect.
[0012] In a seventh aspect, the embodiments of the present application provide a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the steps of the method for determining diopter information according to the second aspect.
[0013] The head-mounted device provided by the embodiment of the present application comprises a main body, a lens assembly and a degree detection assembly. The main body is provided with a mounting slot, and the mounting slot is provided with a first electrode contact and a second electrode contact. The lens assembly is detachably arranged in the mounting slot, and the lens assembly comprises a resistance assembly, a third electrode contact and a fourth electrode contact. The resistance assembly is arranged between the third electrode contact and the fourth electrode contact. The degree detection assembly is arranged in the main body and is connected between the first electrode contact and the second electrode contact. Further, when the lens assembly is arranged in the mounting slot, the first electrode contact and the third electrode contact are connected, and the second electrode contact and the fourth electrode contact are connected, so that the resistance assembly and the degree detection assembly form a path. The degree detection assembly is used for measuring the resistance signal of the resistance assembly and determining the degree information of the lens assembly according to the resistance signal. The head-mounted device provided by the embodiment of the present application is provided with the resistance assembly on the lens assembly. When the lens assembly is used, the resistance signal of the resistance assembly is measured to determine the degree information of the lens assembly. In this way, the user does not need to frequently wear and take off the head-mounted device to determine the degree of the lens assembly connected to the head-mounted device, thereby improving the efficiency of using the external lens on the head-mounted device. BRIEF DESCRIPTION OF DRAWINGS
[0014] Figure 1 One of the structural block diagrams of the head-mounted device provided by the embodiment of the present application;
[0015] Figure 2 The second structural block diagram of the head-mounted device provided by the embodiment of the present application;
[0016] Figure 3 One of the structural schematic diagrams of the lens assembly provided by the embodiment of the present application;
[0017] Figure 4 The structural schematic diagram of the main body provided by the embodiment of the present application;
[0018] Figure 5 The circuit structural diagram of the head-mounted device provided by the embodiment of the present application;
[0019] Figure 6 One of the working flowcharts of the head-mounted device provided by the embodiment of the present application;
[0020] Figure 7 The second structural schematic diagram of the lens assembly provided by the embodiment of the present application;
[0021] Figure 8 The structural schematic diagram of the resistance assembly provided by the embodiment of the present application;
[0022] Figure 9 The second working flowchart of the head-mounted device provided by the embodiment of the present application;
[0023] Figure 10 A flowchart of a method for determining diopter information according to an embodiment of the present application is shown in FIG. 1.
[0024] Figure 11 A block diagram of a device for determining diopter information according to an embodiment of the present application is shown in FIG. 2.
[0025] Figure 12 A block diagram of a head-mounted device according to an embodiment of the present application is shown in FIG. 3.
[0026] Figure 13 A schematic diagram of a hardware structure of a head-mounted device according to an embodiment of the present application is shown in FIG. 4.
[0027] Reference signs:
[0028] 100 head-mounted device, 102 main body, 104 mounting slot, 106 first electrode contact, 108 second electrode contact, 110 lens assembly, 112 resistance assembly, 114 third electrode contact, 116 fourth electrode contact, 118 diopter detection assembly, 120 frame, 122 lens, 124 resistance element, 126 wire, 128 fifth electrode contact, 130 sixth electrode contact, 132 sensor, 134 analog-to-digital converter, 136 microcontroller, 138 processor, 140 display screen, 142 rated power supply. DETAILED DESCRIPTION
[0029] Embodiments of the present application will be described in detail below with reference to drawings, examples of which are shown in the drawings, in which the same or similar notations are used to denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are examples for explaining the present application and are not intended to limit the present application. All other embodiments obtained by those skilled in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.
[0030] The terms "first", "second" in the description and claims of the present application can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise specified and limited.
[0031] In the description of the present application, it should be noted that, unless otherwise explicitly specified and limited, the terms "connected", "connected" should be understood broadly, for example, it can be fixedly connected, or detachably connected, or integrally connected; it can be mechanically connected, or electrically connected; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0032] The following detailed description of the application will be made in connection with Figures 1-13 a head-mounted device according to embodiments of the application.
[0033] As shown in Figure 1 , the present application provides a head-mounted device 100. Wherein, the head-mounted device 100 comprises a main body 102, a lens assembly 110 and a power detection assembly 118.
[0034] Further, as shown in Figure 1 , Figure 2 and Figure 4 , the main body 102 is provided with a mounting slot 104, and the mounting slot 104 is provided with a first electrode contact 106 and a second electrode contact 108.
[0035] Further, the lens assembly 110 is detachably arranged in the mounting slot 104.
[0036] Specifically, when the user uses the lens assembly 110 on the head-mounted device 100, the user can gently slide the lens assembly 110 along the mounting slot 104 on the main body 102 of the head-mounted device 100 until the lens assembly 110 enters the correct position of the mounting slot 104. Wherein, in the process of the lens assembly 110 entering the mounting slot 104, the lens assembly 110 can be attracted by the magnetic attraction device in the mounting slot 104, so that the lens assembly 110 is fixed. Once the lens assembly 110 reaches the correct position and is fixed, the user will feel a certain resistance to remind the user that the lens assembly 110 has been correctly installed, and at the same time, the lens assembly 110 will be firmly installed in the mounting slot 104 to ensure that it will not move or loosen.
[0037] Further, as shown in Figure 1 , Figure 2 , Figure 3 and Figure 7 , the lens assembly 110 comprises a resistance assembly 112, a third electrode contact 114 and a fourth electrode contact 116, and the resistance assembly 112 is used to connect between the third electrode contact 114 and the fourth electrode contact 116.
[0038] Further, the power detection assembly 118 is arranged in the main body 102, and the power detection assembly 118 is connected with the first electrode contact 106 and the second electrode contact 108.
[0039] When the lens assembly 110 is installed in the mounting slot 104, the first electrode contact 106 and the third electrode contact 114 are connected, the second electrode contact 108 and the fourth electrode contact 116 are connected, and the resistance assembly 112 and the power detection assembly 118 form a path through the first electrode contact 106, the second electrode contact 108, the third electrode contact 114, and the fourth electrode contact 116.
[0040] Further, after the resistance assembly 112 and the power detection assembly 118 form a path, the power detection assembly 118 can start to work, and the power detection assembly 118 is configured to measure a resistance signal of the resistance assembly 112 and determine the power information of the lens assembly 110 according to the resistance signal. Specifically, once the resistance assembly 112 and the power detection assembly 118 form a path, the resistance value of the resistance assembly 112 will cause a change in current, and this changed current will be transmitted through the circuit to the power detection assembly 118, and the power detection assembly 118 will detect the change in the value of this current and calculate the resistance value of the resistance assembly 112 according to the change in the value of this current to obtain the resistance signal of the resistance assembly 112.
[0041] In this way, by arranging the resistance assembly 112 on the lens assembly 110, after the lens assembly 110 is installed on the main body 102, that is, in the case of using an external lens assembly 110 for the head-mounted device 100, the head-mounted device 100 can automatically identify the power information of the installed lens assembly 110 by measuring the resistance value of the resistance assembly 112, without the need for the user to manually mark or remember the power information of the lens assembly 110, thereby solving the problem that the lens assembly 110 cannot be matched with the user's vision due to the placement confusion of the lens assembly 110. Moreover, the user does not need to frequently wear and take off the head-mounted device 100 and replace the lens assembly 110 installed on the main body 102 to select a lens assembly 110 that matches the user's vision, thereby simplifying the user's operation of selecting the lens assembly 110 and improving the user's convenience of using the lens assembly 110 on the head-mounted device 100.
[0042] According to the head-mounted device 100 provided by the embodiment of the present application, the head-mounted device 100 comprises a main body 102, a lens assembly 110 and a degree detection assembly 118. The main body 102 is provided with a mounting slot 104, and the mounting slot 104 is provided with a first electrode contact 106 and a second electrode contact 108. The lens assembly 110 is detachably arranged in the mounting slot 104, and the lens assembly 110 comprises a resistance assembly 112, a third electrode contact 114 and a fourth electrode contact 116. The resistance assembly 112 is arranged between the third electrode contact 114 and the fourth electrode contact 116. The degree detection assembly 118 is arranged in the main body 102, and the degree detection assembly 118 is connected between the first electrode contact 106 and the second electrode contact 108. Further, when the lens assembly 110 is arranged in the mounting slot 104, the first electrode contact 106 is connected with the third electrode contact 114, and the second electrode contact 108 is connected with the fourth electrode contact 116, so that the resistance assembly 112 and the degree detection assembly 118 form a path. The degree detection assembly 118 is used for measuring a resistance signal of the resistance assembly 112, and determining degree information of the lens assembly 110 according to the resistance signal. According to the head-mounted device 100 provided by the embodiment of the present application, the resistance assembly 112 is arranged on the lens assembly 110. When the lens assembly 110 is used, the resistance signal of the resistance assembly 112 is measured, and the degree information of the lens assembly 110 is determined. In this way, the degree of the lens assembly 110 connected to the head-mounted device 100 can be determined without frequently wearing and taking off the head-mounted device 100, and the efficiency of using the lens assembly 110 connected to the head-mounted device 100 is improved.
[0043] According to some embodiments of the present application, optionally, as shown in Figure 3 and Figure 7 , the lens assembly 110 further comprises a frame 120 and a lens 122.
[0044] The third electrode contact 114 and the fourth electrode contact 116 are arranged on the frame 120.
[0045] Further, the lens 122 is arranged in the frame 120, and at least one lens 122 is arranged in each frame 120.
[0046] Further, as shown in Figure 3 , Figure 7 and Figure 8 , the resistance assembly 112 comprises a resistance element 124 and a wire 126.
[0047] The resistance element 124 is arranged between the third electrode contact 114 and the fourth electrode contact 116.
[0048] Further, the resistance element 124 is configured to mark the power information of the lens assembly 110.
[0049] Further, the wire 126 is connected with the resistance element 124, and the wire 126 is configured to connect the resistance element 124 to the circuit path so as to measure the resistance value of the resistance element 124.
[0050] When the lens assembly 110 is installed in the mounting slot 104, the first electrode contact 106 and the third electrode contact 114 are connected, and the second electrode contact 108 and the fourth electrode contact 116 are connected, so that the resistance element 124 and the power detection assembly 118 form a path.
[0051] According to the head-mounted device 100 provided by the embodiments of the present application, the lens assembly 110 further includes a frame 120 and a lens 122, the third electrode contact 114 and the fourth electrode contact 116 are arranged on the frame 120, and the lens 122 is installed in the frame 120; the resistance assembly 112 includes a resistance element 124 and a wire 126, the resistance element 124 is configured to be connected between the third electrode contact 114 and the fourth electrode contact 116, and the wire 126 is connected with the resistance element 124. In this way, the resistance element 124 is arranged on the lens assembly 110, and when the head-mounted device 100 uses the externally connected lens assembly 110, the head-mounted device 100 can automatically identify the power information of the installed lens assembly 110 by measuring the resistance value of the resistance element 124, so as to facilitate the user to select the lens assembly 110 that matches the user's eyesight, and the convenience of the user to use the lens assembly 110 on the head-mounted device 100 is improved.
[0052] According to some embodiments of the present application, optionally, as shown in Figure 3 The resistance assembly 112 is arranged in the frame 120.
[0053] The wire 126 in the resistance assembly 112 is connected between the third electrode contact 114 and the first end of the resistance element, between the second end of the resistance element 124 and the fourth electrode contact 116, so that the resistance element 124 is connected between the third electrode contact 114 and the fourth electrode contact 116, and the resistance element 124 is connected to the circuit path, so as to facilitate the measurement of the resistance value of the resistance element 124.
[0054] Further, when the resistance assembly 112 is arranged in the frame 120, the resistance assemblies 112 with different resistance values correspond to the lens assemblies 110 with different powers, and the correspondence between the resistance values of the resistance assemblies 112 and the power information is stored in the head-mounted device 100.
[0055] According to the head-mounted device 100 of the embodiments of the present application, the resistance component 112 is arranged in the frame 120, and the wires 126 are connected between the third electrode contact 114 and the first end of the resistance element 124, and between the second end of the resistance element 124 and the fourth electrode contact 116. In this way, the resistance component 112 is built in the lens component 110, and in the case that the head-mounted device 100 uses an external lens component 110, the head-mounted device 100 can automatically identify the degree information of the installed lens component 110 by measuring the resistance value of the resistance component 112, so as to facilitate the user to select the lens component 110 matching the user's own eyesight, and improve the convenience of the user to use the lens component 110 on the head-mounted device 100.
[0056] According to some embodiments of the present application, as shown in Figure 7 Optionally, the resistance component 112 is detachably mounted on the frame 120.
[0057] Specifically, the resistance component 112 can be mounted and adsorbed to the frame 120 of the lens component 110 by magnetic attraction, frame embedding, etc.
[0058] Further, as shown in Figure 8 The resistance component 112 further includes a fifth electrode contact 128 and a sixth electrode contact 130.
[0059] The fifth electrode contact 128 is connected with the resistance element 124 through the wire 126, and the sixth electrode contact 130 is connected with the resistance element 124 through the wire 126.
[0060] Further, the fifth electrode contact 128 corresponds to the third electrode contact 114, and the sixth electrode contact 130 corresponds to the fourth electrode contact 116, so as to connect the resistance element 124 in the path through the fifth electrode contact 128, the third electrode contact 114, the sixth electrode contact 130 and the fourth electrode contact 116.
[0061] Further, in the case that the resistance component 112 is detachably mounted on the frame 120, the resistance components 112 with different resistance values correspond to the lens components 110 with different degrees, and the resistance component 112 is used in combination with the corresponding lens component 110. In actual application process, the user can customize and modify the degree information associated with the resistance components 112 with different resistance values, so as to mark the degree of the lens component 110 in a personalized manner in the case that multiple people use the head-mounted device 100.
[0062] According to the head-mounted device 100 of the embodiments of the present application, the resistance component 112 is detachably mounted on the frame 120; the resistance component 112 further comprises: a fifth electrode contact 128 connected with the resistance element 124 through the wire 126, the fifth electrode contact 128 corresponding to the third electrode contact 114; a sixth electrode contact 130 connected with the resistance element 124 through the wire 126, the sixth electrode contact 130 connected with the resistance element 124 through the wire 126. In this way, the resistance component 112 is externally connected on the lens component 110, which facilitates automatic identification of the power information of the installed lens component 110 through the resistance value of the resistance component 112, facilitates the user to select the lens component 110 matching the user's eyesight, and improves the convenience of the user to use the lens component 110 on the head-mounted device 100; on the other hand, it is convenient for the user to customize the power information associated with the resistance component 112, and facilitates the user to mark the power of the lens component 110 individually.
[0063] According to some embodiments of the present application, as shown in Figure 7 When the resistance component 112 is mounted on the frame 120, the third electrode contact 114 and the fifth electrode contact 128 are connected, and the fourth electrode contact 116 and the sixth electrode contact 130 are connected.
[0064] In this way, the resistance element 124 is connected between the third electrode contact 114 and the fourth electrode contact 116 through the fifth electrode contact 128 and the fourth electrode contact 116, thereby forming a path with the power detection component 118, which facilitates automatic identification of the power information of the installed lens component 110 by detecting the resistance value of the resistance element 124.
[0065] According to the head-mounted device 100 of the embodiments of the present application, when the resistance component 112 is mounted on the frame 120, the third electrode contact 114 and the fifth electrode contact 128 are connected, and the fourth electrode contact 116 and the sixth electrode contact 130 are connected, so that the resistance element 124 is connected between the third electrode contact 114 and the fourth electrode contact 116. In this way, the resistance component 112 is externally connected on the lens component 110, which can automatically identify the power information of the installed lens component 110 by measuring the resistance value of the resistance component 112 in the case of using the lens component 110 on the head-mounted device 100, facilitates the user to select the lens component 110 matching the user's eyesight, and improves the convenience of the user to use the lens component 110 on the head-mounted device 100.
[0066] According to some embodiments of the present application, as shown in Figure 2 The power detection component 118 comprises a sensor 132, an analog-to-digital converter 134 and a microcontroller 136.
[0067] The sensor 132 is connected to both the first electrode contact 106 and the second electrode contact 108, and is configured to measure a resistance signal of the resistance assembly 112.
[0068] Specifically, after the lens assembly 110 is installed in the mounting slot 104, as shown in FIG. 2, the first electrode contact 106 and the third electrode contact 114 are connected, the second electrode contact 108 and the fourth electrode contact 116 are connected, and the sensor 132 forms a path with the resistance assembly 112, and a current flows through the resistance element 124 and the wire 126. Figure 5 The resistance value of the resistance element 124 is different, which results in different current values. The current values are obtained and measured by the sensor 132. The sensor 132 calculates the resistance value of the resistance element 124 based on the change of the current value, and obtains the resistance signal of the resistance assembly 112.
[0069] In actual application, as shown in FIG. 3, the main body 102 is provided with a rated power supply 142, and the rated power supply 142 is connected to the sensor 132, the first electrode contact 106 and the second electrode contact 108, so as to provide appropriate power source for the power detection assembly 118, and to ensure that the power detection assembly 118 has stable power supply when working. Figure 5
[0070] Further, the analog-to-digital converter 134 is connected to the sensor 132, and is configured to convert the resistance signal measured by the sensor 132 into a digital signal.
[0071] Specifically, after the sensor 132 obtains the resistance signal, the sensor 132 transmits the resistance signal to the analog-to-digital converter 134. The analog-to-digital converter 134 converts the analog and continuous resistance signal into a discrete digital signal. Specifically, after receiving the resistance signal, the analog-to-digital converter 134 samples the resistance signal, i.e. samples the resistance signal at a certain time interval to obtain a plurality of sample values. Further, the analog-to-digital converter 134 quantizes the plurality of sample values, i.e. divides the continuous resistance signal into a plurality of discrete levels, and converts the continuous resistance signal into a corresponding digital signal, so as to process and store the digital signal.
[0072] Further, the microcontroller 136 is connected to the analog-to-digital converter 134, and is configured to receive the digital signal converted by the analog-to-digital converter 134, and determine the power information of the lens assembly 110 according to the digital signal.
[0073] Specifically, after obtaining the digital signal, the analog-to-digital converter 134 transmits the digital signal to the microcontroller 136, and the microcontroller 136 receives the digital signal and performs a preset conversion algorithm. The conversion algorithm can convert the digital signal into corresponding degree information according to a preset relationship between the resistance value (i.e., the numerical value of the digital signal) and the degree information.
[0074] In actual application, the microcontroller 136 can also perform relevant data processing, storage or transmission on the digital signal, and the microcontroller 136 can also interact with other modules on the head-mounted device 100 to display the degree information or perform further operations.
[0075] According to the head-mounted device 100 of the embodiments of the present application, the degree detection assembly 118 includes the sensor 132, the analog-to-digital converter 134 and the microcontroller 136. The sensor 132 is connected with the first electrode contact 106 and the second electrode contact 108, and is used to measure the resistance signal of the resistance assembly 112. The analog-to-digital converter 134 is connected with the sensor 132, and is used to convert the resistance signal into a digital signal. The microcontroller 136 is connected with the analog-to-digital converter 134, and is used to determine the degree information of the lens assembly 110 according to the digital signal. In this way, in the case that the head-mounted device 100 uses an external lens assembly 110, the degree information of the installed lens assembly 110 can be automatically recognized by measuring the resistance signal of the resistance assembly 112, which facilitates the user to select a lens assembly 110 that matches his / her eyesight, and improves the convenience of the user to use the lens assembly 110 on the head-mounted device 100.
[0076] According to some embodiments of the present application, the microcontroller 136 specifically converts the digital signal into the degree information of the lens assembly 110 according to the preset conversion relationship and the digital signal.
[0077] The preset conversion relationship is used to indicate the conversion relationship between different resistance values (i.e., the numerical value of the digital signal) and the degree information.
[0078] In actual application, the preset conversion relationship can be implemented by a preset conversion algorithm. The conversion algorithm can be a pre-set algorithm or an algorithm implemented by programming, and the purpose is to convert the digital signal into actual degree information.
[0079] Specifically, after the microcontroller 136 receives the digital signal output by the analog-to-digital converter 134, the digital signal is transmitted to the conversion algorithm inside the microcontroller 136. The microcontroller 136 performs the conversion algorithm to perform a series of mathematical operations and conversion operations on the digital signal according to the preset conversion relationship and the calibration data, such as numerical value interpolation, correction and unit conversion, etc., to convert the digital signal into the degree information of the lens assembly 110.
[0080] For example, the resistance value 10Ω corresponds to a myopia degree of 200°, and after the microcontroller 136 receives the digital signal corresponding to the resistance value 10Ω, the microcontroller 136 obtains the current degree of the lens assembly 110 as 200° by performing a series of mathematical operations and conversion operations on the digital signal.
[0081] According to the head-mounted device 100 provided by the embodiments of the present application, the microcontroller 136 is specifically configured to: convert the digital signal into the degree information of the lens assembly 110 according to the digital signal and the preset conversion relationship. In this way, the degree information of the installed lens assembly 110 is automatically identified, which facilitates the user to select the lens assembly 110 that matches the user's own vision, and improves the convenience of the user to use the lens assembly 110 on the head-mounted device 100.
[0082] According to some embodiments of the present application, optionally, as shown in Figure 2 The head-mounted device 100 further includes a processor 138.
[0083] The processor 138 is arranged in the main body 102, and the processor 138 is connected with the microcontroller 136.
[0084] Further, the microcontroller 136 is further configured to transmit the digital signal to the processor 138.
[0085] Specifically, after the microcontroller 136 receives the digital signal output by the analog-to-digital converter 134, the microcontroller 136 transmits the digital signal to the processor 138 for processing through a specific communication protocol.
[0086] Further, after the processor 138 receives the digital signal, the processor 138 compares the digital signal with data in a register, a buffer or a storage unit of the processor 138 through an internal algorithm to find the degree setting information corresponding to the digital signal, so as to determine whether the digital signal is set, and in the case that the resistance assembly 112 is detachably mounted on the lens frame 120, it can be determined whether the resistance assembly 112 is assembled on the lens assembly 110 for the first time. Specifically, in the case that the processor 138 finds the degree setting information corresponding to the digital signal, it is indicated that the digital signal is set, that is, it is indicated that the resistance assembly 112 is not assembled on the lens assembly 110 for the first time. At this time, the processor 138 will retrieve the degree setting information corresponding to the digital signal stored in the processor 138, and take the degree setting information as the degree information of the lens assembly 110.
[0087] In the process of searching the degree setting information corresponding to the digital signal by the processor 138, the storage system and the database inside the processor 138 can be involved. The processor 138 processes and converts the acquired digital signal, and maps it to the degree setting information set by the user before, which can include a series of algorithms and conversion processes to ensure the accurate mapping and conversion between the digital signal and the degree information.
[0088] The head-mounted device 100 according to the embodiments of the present application further includes a processor 138 arranged in the main body 102, the processor 138 is connected with the microcontroller 136, and the microcontroller 136 is further configured to transmit the digital signal to the processor 138; the processor 138 is specifically configured to: search the degree setting information corresponding to the digital signal; and in the case that the degree setting information corresponding to the digital signal is found, take the degree setting information as the degree information of the lens assembly 110. In this way, the degree information of the installed lens assembly 110 is automatically identified, which facilitates the user to select the lens assembly 110 matching the user's own eyesight, and improves the convenience of the user using the lens assembly 110 on the head-mounted device 100.
[0089] According to some embodiments of the present application, optionally, as shown in Figure 2 The head-mounted device 100 further includes a display screen 140.
[0090] The display screen 140 is arranged on the main body 102.
[0091] In the case that the degree setting information corresponding to the digital signal is not found by the processor 138, it indicates that the digital signal has not been set, i.e., the resistor assembly 112 is assembled on the lens assembly 110 for the first time. At this time, the processor 138 displays the guide information through the display screen 140 to prompt and guide the setting of the degree information associated with the current resistor assembly 112 and the digital signal corresponding thereto. On this basis, the user can set the degree information associated with the current resistor assembly 112 and the digital signal corresponding thereto based on the guiding indication of the guide information through the button, the touch screen or the voice command and the like. Further, the display screen 140 can receive the user input, and the processor 138 further sets the degree information associated with the digital signal and the resistor assembly 112 according to the user input, and the degree information is the degree setting information corresponding to the digital signal. After the processor 138 sets the degree information associated with the digital signal and the resistor assembly 112, the association relationship between the digital signal and the degree information is stored in the storage system inside the processor 138, such as the database, the register, the buffer or the storage unit inside the processor 138, to ensure the reliability and safety of the association relationship. Moreover, the processor 138 also stores the degree setting information corresponding to the set digital signal, so as to directly call the degree setting information subsequently.
[0092] According to the head-mounted device 100 provided by the embodiment of the present application, the display screen 140 is arranged on the main body 102, and the processor 138 is further configured to: in the case where the diopter setting information corresponding to the digital signal is not found, display the guide information through the display screen 140; and the display screen 140 is further configured to: receive the user input; and the processor 138 is further configured to: determine the diopter information corresponding to the digital signal and the resistance component 112 according to the user input. In this way, the user can customize the diopter information associated with the resistance component 112, and the user can mark the diopter of the lens component 110 individually.
[0093] According to some embodiments of the present application, the processor 138 is further configured to compare the diopter information and the historical diopter data.
[0094] The diopter information can be calculated by the processor 138, or the diopter information can be transmitted to the processor 138 by the microcontroller 136.
[0095] In the case where the diopter information is transmitted to the processor 138 by the microcontroller 136, after the microcontroller 136 calculates the diopter information of the lens component 110, the microcontroller 136 stores the diopter information in the register or buffer of the microcontroller 136, and then transmits the diopter information to the processor 138 through a specific communication interface supported by the processor 138, such as Bluetooth, Universal Serial Bus (USB) or other custom communication protocol interface.
[0096] For example, the microcontroller 136 transmits the diopter information to the processor 138 through Bluetooth. The microcontroller 136 sends an instruction to the Bluetooth module to transmit the diopter information of the lens component 110, and then sends the diopter information to the processor 138 through the Bluetooth connection. For other wireless communication protocols, the corresponding communication means is used to realize the transmission of the diopter information.
[0097] Further, the historical diopter data can be the ideal diopter information after user calibration, user personal preference setting information or other related data previously stored in the processor 138. In actual application, the historical diopter data can be the diopter information or diopter setting information recorded by the processor 138 last time.
[0098] On this basis, after the processor 138 obtains the diopter information of the lens component 110, the processor 138 stores the diopter information in the buffer or register of the processor 138, reads the historical diopter data previously stored, and then takes the historical diopter data as a reference value to judge whether the diopter information is consistent with the historical diopter data through a series of judgments and comparisons.
[0099] In the process of judging whether the degree information is consistent with the historical degree data, the difference between the degree information and the historical degree data can be calculated, and then whether the degree information is consistent with the historical degree data can be judged according to the difference; or, whether the degree information is consistent with the historical degree data can be judged by comparing whether the values of the degree information and the historical degree data are equal. The specific manner of judging whether the degree information is consistent with the historical degree data is not limited here.
[0100] Further, the display screen 140 can also be used to display the degree information of the lens assembly 110. In actual application, the display screen 140 can present the degree information of the lens assembly 110 to the user in the form of numbers, graphics or other symbols, so that the user can check the degree of the lens assembly 110 installed on the head-mounted device 100. In this way, the user can directly know the degree of the lens assembly 110 installed on the head-mounted device 100 without wearing the head-mounted device 100, which provides the user with real-time and accurate degree information prompt, and facilitates the user to quickly know whether the current degree information matches the user's vision, so as to ensure that the user can quickly select the correct lens assembly 110 in the scenario where multiple people use the head-mounted device 100, and improve the efficiency of using the external lens assembly 110 on the head-mounted device 100.
[0101] Specifically, in the case where the processor 138 determines that the degree information is consistent with the historical degree data, the display screen 140 will display the degree information, so that the user can intuitively understand the degree information of the lens assembly 110 currently used by the head-mounted device 100. Further, in the case where the processor 138 determines that the degree information is inconsistent with the historical degree data, the display screen 140 will display the degree information and a prompt information to inquire whether the user replaces the lens assembly 110.
[0102] The degree information of the lens assembly 110 will be displayed on the display screen 140 for a short time and for a long enough time so that the user can see it clearly. After the user confirms the degree information of the current lens assembly 110, the user can provide confirmation feedback to the head-mounted device 100 by pressing a button or performing eye movements, to inform the head-mounted device 100 that the user has known the current degree information of the lens assembly 110.
[0103] Further, in actual application, the prompt information can be presented in the form of subtitles, icons or indication arrows, etc. to inform the user that the current lens assembly 110 has inconsistent diopter information with the historical diopter data, and to ask the user's attitude towards this situation. On this basis, the head-mounted device 100 will wait for the user's response to the prompt information. The user can feed back to the head-mounted device 100 whether to replace the lens assembly 110 by pressing the button, making eye movements or using voice control, etc. In the case that the user chooses to replace the lens assembly 110, the head-mounted device 100 can provide corresponding guidance for the user through the display screen 140 to inform the user how to replace the lens assembly 110, or the head-mounted device 100 can indicate that it will automatically adjust to adapt to the diopter of the current lens assembly 110.
[0104] According to the head-mounted device 100 of the embodiment of the present application, the processor 138 is further configured to compare the diopter information with the historical diopter data; and the display screen 140 is further configured to display the diopter information when the diopter information is consistent with the historical diopter data, and display the diopter information and the prompt information when the diopter information is inconsistent with the historical diopter data. In this way, the user can directly know the diopter of the lens assembly 110 installed on the head-mounted device 100 without wearing the head-mounted device 100, which provides the user with real-time and accurate diopter information prompt, and facilitates the user to quickly know whether the current diopter information matches the user's vision, so as to ensure that the user can quickly select the correct lens assembly 110 in the scenario that multiple people use the head-mounted device 100, and improve the efficiency of using the external lens assembly 110 on the head-mounted device 100.
[0105] In summary, in the case that the resistance assembly 112 is arranged in the frame 120, as shown in FIG. 1, the working process of the head-mounted device 100 provided by the embodiment of the present application can specifically include the following S202 to S218: Figure 6
[0106] S202: The lens assembly is installed in the mounting slot.
[0107] S204: The first electrode contact and the third electrode contact are connected, the second electrode contact and the fourth electrode contact are connected, and the resistance assembly and the diopter detection assembly form a path.
[0108] S206: The sensor measures the resistance signal of the resistance assembly.
[0109] S208: The analog-to-digital converter converts the resistance signal into a digital signal.
[0110] S210: The microcontroller converts the digital signal into the diopter information of the lens assembly according to a preset conversion relationship.
[0111] S212: The microcontroller transmits the power information to the processor.
[0112] S214: The processor determines whether the power information is consistent with the historical power data. If yes, S216 is performed; if no, S218 is performed.
[0113] S216: The display screen displays the power information.
[0114] S218: The display screen displays the power information and the prompt information.
[0115] Further, in the case that the resistance assembly 112 is detachably mounted on the frame 120, as shown in FIG. 1, the working process of the head-mounted device 100 provided by the embodiment of the present application can specifically include the following S302 to S330: Figure 9
[0116] S302: The resistance assembly is mounted on the lens assembly.
[0117] S304: The lens assembly is mounted in the mounting slot.
[0118] S306: The first electrode contact and the third electrode contact are connected, the second electrode contact and the fourth electrode contact are connected, and the resistance assembly and the power detection assembly form a path.
[0119] S308: The sensor measures the resistance signal of the resistance assembly.
[0120] S310: The analog-to-digital converter converts the resistance signal into a digital signal.
[0121] S312: The analog-to-digital converter transmits the digital signal to the microcontroller, and the microcontroller transmits the digital signal to the processor.
[0122] S314: The processor determines whether the resistance assembly is first assembled. If yes, S324 is performed; if no, S316 is performed.
[0123] S316: The power setting information corresponding to the digital signal is set as the power information of the lens assembly.
[0124] S318: The processor determines whether the power information is consistent with the historical power data. If yes, S320 is performed; if no, S322 is performed.
[0125] S320: The display screen displays the power information.
[0126] S322: The display screen displays the power information and the prompt information.
[0127] S324: The display screen prompts the user to set the power information associated with the digital signal.
[0128] S326: According to the user input, the degree information associated with the resistance component is customized.
[0129] S328: The association between the resistance component and the degree information is stored.
[0130] S330: The degree information is recorded as historical degree data.
[0131] In actual application, the resistance component 112 can be applied to any accessory that needs personalized configuration to automatically distinguish different accessory models.
[0132] According to some embodiments of the present application, as shown in Figure 10 The present application also provides a method for determining degree information, which is applied to the head-mounted device in any of the above embodiments. The method can specifically include the following S402-S408:
[0133] S402: Measure the resistance signal of the resistance component.
[0134] The method for determining degree information provided by the present application is executed by a head-mounted device, which can be a VR device, an AR device, and an MR device, without specific limitation here.
[0135] The resistance component includes a resistance element with a specific resistance value, and resistance elements with different resistance values are used to mark different degree information.
[0136] S404: Convert the resistance signal into a digital signal.
[0137] Specifically, in the method for determining degree information provided by the present application, when the head-mounted device uses the lens component, the resistance signal of the resistance component in the lens component is measured, and then the analog continuous resistance signal is converted into a discrete digital signal by sampling and quantizing the resistance signal, so as to process and store the digital signal.
[0138] S406: Determine the degree information of the lens component according to the digital signal.
[0139] Specifically, in the method for determining degree information provided by the present application, after the resistance signal is converted into a digital signal, since resistance elements with different resistance values are used to mark different degree information, the degree information of the currently used lens component can be determined according to the digital signal.
[0140] S408: Display the degree information.
[0141] Specifically, in the method for determining the diopter information provided in the embodiments of the present application, after obtaining the diopter information of the currently used lens assembly, the diopter information is displayed to the user in the form of numbers, graphics or other symbols, so that the user can view the diopter of the lens assembly installed on the head-mounted device. In this way, the diopter information of the lens assembly used by the head-mounted device is automatically identified, and the user can directly know the diopter of the lens assembly installed on the head-mounted device without wearing the head-mounted device, thereby providing the user with real-time and accurate diopter information prompt, facilitating the user to quickly know whether the current diopter information matches the user's vision, so as to ensure that the user can quickly select the correct lens assembly in the scenario where multiple people use the head-mounted device, thereby improving the efficiency of using the external lens assembly on the head-mounted device.
[0142] The method for determining the diopter information provided in the embodiments of the present application is applied to the head-mounted device in any of the above embodiments. After the lens assembly of the head-mounted device is installed in the mounting slot, the resistance signal of the resistance component is measured; the resistance signal is converted into a digital signal; the diopter information of the lens assembly is determined according to the digital signal; and the diopter information is displayed. Through the above method for determining the diopter information, when the lens assembly is used by the head-mounted device, the resistance signal of the resistance component on the lens assembly is measured to determine the diopter information of the lens assembly. In this way, the user does not need to frequently wear and remove the head-mounted device to determine the diopter of the external lens assembly used on the head-mounted device, thereby improving the efficiency of using the external lens assembly on the head-mounted device.
[0143] In the embodiments of the present application, S406 can specifically include S406a as follows:
[0144] S406a: converting the digital signal into the diopter information of the lens assembly according to the digital signal and a preset conversion relationship.
[0145] The preset conversion relationship is used to indicate the conversion relationship between different resistance values (i.e. the numerical value of the digital signal) and the diopter information.
[0146] In actual application, the preset conversion relationship can be realized by a preset conversion algorithm, which can be a pre-set algorithm or an algorithm realized by programming, and the purpose is to convert the digital signal into actual diopter information.
[0147] Specifically, in the method for determining the diopter information provided in the embodiments of the present application, after converting the resistance signal into a digital signal, the digital signal can be converted into the diopter information of the lens assembly according to the digital signal and a preset conversion relationship based on a preset conversion algorithm through numerical interpolation, numerical correction and unit conversion, etc.
[0148] In the above embodiment provided by the present application, in the process of determining the diopter information of the lens assembly according to the digital signal, when the resistance assembly is arranged in the frame, the digital signal is converted into the diopter information of the lens assembly according to the digital signal and the preset conversion relationship. In this way, the diopter information of the installed lens assembly is automatically recognized, which facilitates the user to select the lens assembly matching the user's own eyesight and improves the convenience of the user using the lens assembly on the head-mounted device.
[0149] In the embodiment of the present application, the S406 can specifically include the following S406b and S406c:
[0150] S406b: searching for the diopter setting information corresponding to the digital signal.
[0151] Specifically, in the method for determining the diopter information provided by the present application, after the resistance signal is converted into the digital signal, the digital signal is compared with the data stored in the head-mounted device by an internal algorithm to search for the diopter setting information corresponding to the digital signal, so as to determine whether the digital signal has been set, and thus determine whether the resistance assembly corresponding to the digital signal is first assembled on the lens assembly.
[0152] S406c: in the case where the diopter setting information corresponding to the digital signal is found, the diopter setting information is taken as the diopter information of the lens assembly.
[0153] Specifically, in the method for determining the diopter information provided by the present application, in the case where the diopter setting information corresponding to the digital signal is found, it is indicated that the digital signal has been set. At this time, the diopter setting information corresponding to the digital signal is directly called, and the diopter setting information is taken as the diopter information of the lens assembly.
[0154] Otherwise, in the case where the diopter setting information corresponding to the digital signal is not found, it is indicated that the digital signal has not been set, that is, it is indicated that the resistance assembly is first assembled on the lens assembly. At this time, guide information is displayed to the user to prompt and guide the setting of the diopter information associated with the current resistance assembly and the digital signal corresponding thereto. The diopter information is the diopter setting information corresponding to the digital signal. After the user sets the diopter information associated with the digital signal and the resistance assembly, the association relationship between the digital signal and the diopter information is stored to ensure the reliability and safety of the association relationship, and the diopter setting information corresponding to the digital signal is stored to facilitate the subsequent direct calling of the diopter setting information.
[0155] In the above embodiment provided by the present application, in the process of determining the diopter information of the lens assembly according to the digital signal, in the case that the resistance assembly is detachably mounted on the frame, the diopter setting information corresponding to the digital signal is searched; in the case that the diopter setting information corresponding to the digital signal is searched, the diopter setting information is taken as the diopter information of the lens assembly. In this way, on the one hand, the automatic identification of the diopter information of the mounted lens assembly is realized, which facilitates the user to select the lens assembly matching the own eyesight and improves the convenience of the user to use the lens assembly on the head-mounted device; on the other hand, it is convenient for the user to customize the diopter information associated with the resistance assembly, and it is convenient for the user to personalize the diopter of the lens assembly.
[0156] In the embodiment of the present application, S408 can specifically include S408a-S408c as follows:
[0157] S408a: comparing the diopter information and the historical diopter data.
[0158] The historical diopter data can be the ideal diopter information of the user after calibration, the user personal preference setting information or other related data previously stored in the head-mounted device. In actual application, the historical diopter data can be the diopter information or the diopter setting information recorded on the head-mounted device last time.
[0159] Specifically, in the method for determining the diopter information provided in the embodiment of the present application, after obtaining the diopter information of the lens assembly, the historical diopter data previously stored is read, and then the historical diopter data is taken as the reference value, and through a series of judgments and comparisons, it is judged whether the diopter information is consistent with the historical diopter data.
[0160] In the process of judging whether the diopter information is consistent with the historical diopter data, the difference between the diopter information and the historical diopter data can be calculated, and then whether the diopter information is consistent with the historical diopter data is judged according to the difference size; or whether the value of the diopter information is equal to the value of the historical diopter data is compared to judge whether the diopter information is consistent with the historical diopter data. The specific way of judging whether the diopter information is consistent with the historical diopter data is not limited here.
[0161] S408b: in the case that the diopter information and the historical diopter data are consistent, the diopter information is displayed.
[0162] Specifically, in the method for determining the diopter information provided in the embodiment of the present application, in the case that the diopter information and the historical diopter data are consistent, the diopter information is displayed, so that the user can intuitively understand the diopter information of the lens assembly used by the current head-mounted device.
[0163] The power information of the lens assembly is displayed for a long enough time for the user to be able to see. After the user confirms the power information of the current lens assembly, the user can give a confirmation feedback to the head-mounted device by pressing a button or performing an eye movement, to inform the head-mounted device that the user has known the current power information of the lens assembly.
[0164] S408c: In the case that the power information and the historical power data are inconsistent, the power information and prompt information are displayed.
[0165] Specifically, in the method for determining power information provided in the embodiments of the present application, in the case that the power information and the historical power data are inconsistent, the power information and prompt information are displayed to ask the user whether to replace the lens assembly.
[0166] In actual application, the prompt information can be presented in the form of subtitles, icons or indication arrows, to inform the user that the power information of the current lens assembly is inconsistent with the historical power data, and to ask the user's attitude towards this situation. On this basis, the head-mounted device waits for the user's response to the prompt information. The user can feed back to the head-mounted device whether to replace the lens assembly by pressing a button, performing an eye movement or using voice control. In the case that the user chooses to replace the lens assembly, the head-mounted device can provide corresponding guidance to inform the user how to replace the lens assembly.
[0167] The above embodiments provided in the present application compare the power information and the historical power data in the process of displaying the power information; in the case that the power information and the historical power data are consistent, the power information is displayed; in the case that the power information and the historical power data are inconsistent, the power information and prompt information are displayed. In this way, the user can directly know the power of the lens assembly installed on the head-mounted device without wearing the head-mounted device, which provides real-time and accurate power information prompt for the user, and facilitates the user to quickly know whether the current power information matches the user's vision, so as to ensure that the user can quickly select the correct lens assembly in the scenario that multiple people use the head-mounted device, and improve the efficiency of using the external lens assembly on the head-mounted device.
[0168] The method for determining power information provided in the embodiments of the present application can be executed by a power information determining device. The power information determining device provided in the embodiments of the present application is described by taking the method for determining power information as an example.
[0169] As Figure 11As shown, the embodiment of the present application provides a degree information determination apparatus 500, which is applied to the head-mounted device in any of the above embodiments, and specifically can include the following measurement unit 502, processing unit 504 and display unit 506.
[0170] The measurement unit 502 is configured to measure the resistance signal of the resistance component.
[0171] The processing unit 504 is configured to convert the resistance signal into a digital signal.
[0172] The processing unit 504 is further configured to determine the degree information of the lens component according to the digital signal.
[0173] The display unit 506 is configured to display the degree information.
[0174] The degree information determination apparatus 500 provided by the embodiment of the present application is applied to the head-mounted device in any of the above embodiments, and after the lens component of the head-mounted device is installed in the installation slot, the resistance signal of the resistance component is measured, the resistance signal is converted into a digital signal, the degree information of the lens component is determined according to the digital signal, and the degree information is displayed. Through the above degree information determination apparatus 500, when the lens component is used in the head-mounted device, the resistance signal of the resistance component on the lens component is measured to determine the degree information of the lens component. In this way, the user does not need to frequently wear and take off the head-mounted device to determine the degree of the lens component connected to the head-mounted device, thereby improving the efficiency of using the connected lens component on the head-mounted device.
[0175] In the embodiment of the present application, the processing unit 504 is specifically configured to convert the digital signal into the degree information of the lens component according to the digital signal and a preset conversion relationship.
[0176] In the above embodiment provided by the present application, in the process of determining the degree information of the lens component according to the digital signal, in the case that the resistance component is arranged in the frame, the digital signal is converted into the degree information of the lens component according to the digital signal and a preset conversion relationship. In this way, the degree information of the installed lens component is automatically identified, which is convenient for the user to select the lens component matching the own eyesight, and improves the convenience of the user using the lens component on the head-mounted device.
[0177] In the embodiment of the present application, the processing unit 504 is specifically configured to find the degree setting information corresponding to the digital signal, and in the case that the degree setting information corresponding to the digital signal is found, the degree setting information is taken as the degree information of the lens component.
[0178] In the above embodiments provided by the present application, in the process of determining the diopter information of the lens assembly according to the digital signal, in the case that the resistance assembly is detachably mounted on the frame, the diopter setting information corresponding to the digital signal is searched; in the case that the diopter setting information corresponding to the digital signal is searched, the diopter setting information is taken as the diopter information of the lens assembly. In this way, on the one hand, the automatic identification of the diopter information of the mounted lens assembly is realized, which facilitates the user to select the lens assembly matching the own eyesight and improves the convenience of the user to use the lens assembly on the head-mounted device; on the other hand, it is convenient for the user to customize the diopter information associated with the resistance assembly, and it is convenient for the user to mark the diopter of the lens assembly individually.
[0179] In the embodiments of the present application, the processing unit 504 is further configured to compare the diopter information with the historical diopter data; and the display unit 506 is specifically configured to display the diopter information in the case that the diopter information is consistent with the historical diopter data, and display the diopter information and the prompt information in the case that the diopter information is inconsistent with the historical diopter data.
[0180] In the above embodiments provided by the present application, in the process of displaying the diopter information, the diopter information is compared with the historical diopter data; in the case that the diopter information is consistent with the historical diopter data, the diopter information is displayed; and in the case that the diopter information is inconsistent with the historical diopter data, the diopter information and the prompt information are displayed. In this way, the user does not need to wear the head-mounted device, and can directly know the diopter of the lens assembly mounted on the head-mounted device, thereby providing the user with real-time and accurate diopter information prompt, facilitating the user to quickly know whether the current diopter information matches the eyesight, so as to ensure that the user can quickly select the correct lens assembly in the scene where multiple people use the head-mounted device, and improve the efficiency of using the external lens assembly on the head-mounted device.
[0181] The determination apparatus 500 of the diopter information in the embodiments of the present application can be a head-mounted device, or a component in the head-mounted device, such as an integrated circuit or a chip. The head-mounted device can be a terminal, or other devices other than the terminal. For example, the head-mounted device can be an augmented reality device, a virtual reality device, or a mixed reality device, which is not limited in the embodiments of the present application.
[0182] The determination apparatus 500 of the diopter information in the embodiments of the present application can be an apparatus with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not limited in the embodiments of the present application.
[0183] The determination apparatus 500 of the diopter information provided in the embodiments of the present application can realize each process of the method embodiments Figure 10 , which will not be repeated here.
[0184] Optionally, as shown in Figure 12 The embodiment of the application also provides a head-mounted device 600, comprising a processor 602 and a memory 604, wherein the memory 604 stores a program or instructions executable on the processor 602, and when the program or instructions are executed by the processor 602, each step of the above-mentioned method for determining the diopter information is implemented, and the same technical effects can be achieved. To avoid repetition, details are not described here.
[0185] Figure 13 A hardware structure diagram of a head-mounted device according to an embodiment of the application.
[0186] The head-mounted device 700 comprises, but is not limited to, a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc.
[0187] Those skilled in the art can understand that the head-mounted device 700 can further comprise a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 710 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 13 The structure of the head-mounted device shown in the above-mentioned figure does not constitute a limitation on the head-mounted device, and the head-mounted device can comprise more or fewer components than those shown in the figure, or some components can be combined, or different components can be arranged, and details are not described here.
[0188] The sensor 705 is configured to measure a resistance signal of the resistance component.
[0189] The processor 710 is configured to convert the resistance signal into a digital signal.
[0190] The processor 710 is further configured to determine the diopter information of the lens component according to the digital signal.
[0191] The display unit 706 is configured to display the diopter information.
[0192] In the embodiment of the application, after the lens component of the head-mounted device is installed in the mounting slot, the resistance signal of the resistance component is measured, the resistance signal is converted into a digital signal, the diopter information of the lens component is determined according to the digital signal, and the diopter information is displayed. In the embodiment of the application, when the lens component is used in the head-mounted device, the diopter information of the lens component is determined by measuring the resistance signal of the resistance component on the lens component. In this way, the user does not need to frequently wear and remove the head-mounted device, and the diopter of the externally connected lens component used in the head-mounted device can be determined, thereby improving the efficiency of using the externally connected lens component in the head-mounted device.
[0193] Optionally, the processor 710 is specifically configured to convert the digital signal into the power information of the lens assembly according to the digital signal and a preset conversion relationship.
[0194] In the above-mentioned embodiments provided by the present application, in the process of determining the power information of the lens assembly according to the digital signal, in the case that the resistance assembly is arranged in the frame, the digital signal is converted into the power information of the lens assembly according to the digital signal and a preset conversion relationship. In this way, the power information of the installed lens assembly is automatically identified, which facilitates the user to select the lens assembly matching the user's vision and improves the convenience of the user using the lens assembly on the head-mounted device.
[0195] Optionally, the processor 710 is specifically configured to search for power setting information corresponding to the digital signal; and in the case that the power setting information corresponding to the digital signal is searched for, the power setting information is taken as the power information of the lens assembly.
[0196] In the above-mentioned embodiments provided by the present application, in the process of determining the power information of the lens assembly according to the digital signal, in the case that the resistance assembly is detachably mounted on the frame, the power setting information corresponding to the digital signal is searched for; and in the case that the power setting information corresponding to the digital signal is searched for, the power setting information is taken as the power information of the lens assembly. In this way, on the one hand, the power information of the installed lens assembly is automatically identified, which facilitates the user to select the lens assembly matching the user's vision and improves the convenience of the user using the lens assembly on the head-mounted device; on the other hand, the user can customize the power information associated with the resistance assembly, which facilitates the user to personalize the power of the lens assembly.
[0197] Optionally, the processor 710 is further configured to compare the power information with historical power data; and the display unit 706 is specifically configured to display the power information in the case that the power information is consistent with the historical power data, and display the power information and prompt information in the case that the power information is inconsistent with the historical power data.
[0198] In the above-mentioned embodiments provided by the present application, in the process of displaying the power information, the power information is compared with the historical power data; the power information is displayed in the case that the power information is consistent with the historical power data; and the power information and prompt information are displayed in the case that the power information is inconsistent with the historical power data. In this way, the user can directly know the power of the lens assembly mounted on the head-mounted device without wearing the head-mounted device, which provides the user with real-time and accurate power information prompt, and facilitates the user to quickly know whether the current power information matches the user's vision, so as to ensure that the user can quickly select the correct lens assembly in the scene where multiple people use the head-mounted device, and improve the efficiency of using the external lens assembly on the head-mounted device.
[0199] It should be understood that in the embodiments of the present application, the input unit 704 can include a graphics processor (GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 706 can include a display panel 7061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 can include two parts of a touch detection device and a touch controller. The other input devices 7072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here.
[0200] The memory 709 can be used to store software programs and various data. The memory 709 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 709 can include a volatile memory or a non-volatile memory, or the memory 709 can include both a volatile memory and a non-volatile memory. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 709 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.
[0201] The processor 710 can include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 710.
[0202] The embodiments of the present application also provide a readable storage medium, and the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize each process of the above-mentioned degree information determination method embodiment, and the same technical effects can be achieved, and thus details are not repeated here.
[0203] The processor is the processor in the head-mounted device in the above-mentioned embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0204] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface. The communication interface is coupled with the processor. The processor is used to run programs or instructions, to realize each process of the above-mentioned degree information determination method embodiment, and to achieve the same technical effects. To avoid repetition, details are not described herein.
[0205] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system chip, a system chip, a chip system or a system on chip, etc.
[0206] The embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to realize each process of the above-mentioned degree information determination method embodiment, and to achieve the same technical effects. To avoid repetition, details are not described herein.
[0207] It should be noted that in this document, the term "comprise", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "comprises a" does not exclude the presence of additional identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of performing the functions shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in a reverse order, for example, the described method can be performed in an order different from the described order, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0208] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and necessary general hardware platforms, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a part of the prior art that makes a contribution. The computer software product is stored in a storage medium (such as a ROM / RAM, a magnetic disc, an optical disc), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method of each embodiment of the present application.
[0209] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "exemplary embodiment", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the exemplary description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0210] Although the embodiments of the present application have been shown and described, those skilled in the art can understand that various changes, modifications, replacements and variations can be made to the embodiments without departing from the principles and purposes of the present application, and the scope of the present application is defined by the claims and their equivalents.
Claims
1. A head-mounted device, comprising: The head-mounted device comprises: a main body, wherein a mounting slot is arranged on the main body, and a first electrode contact and a second electrode contact are arranged on the mounting slot; a lens assembly, which is detachably arranged in the mounting slot, wherein the lens assembly comprises a resistance assembly, a third electrode contact and a fourth electrode contact, and the resistance assembly is used for being connected between the third electrode contact and the fourth electrode contact; a degree detection assembly, which is arranged in the main body and is connected between the first electrode contact and the second electrode contact; wherein, when the lens assembly is arranged in the mounting slot, the first electrode contact and the third electrode contact are connected, and the second electrode contact and the fourth electrode contact are connected, so that the resistance assembly and the degree detection assembly form a path, the degree detection assembly is used for measuring a resistance signal of the resistance assembly, and degree information of the lens assembly is determined according to the resistance signal; the lens assembly further comprises a lens frame and a lens; the resistance assembly is detachably arranged on the lens frame; the degree detection assembly comprises a sensor, an analog-to-digital converter and a microcontroller, the analog-to-digital converter is connected with the sensor, and the analog-to-digital converter is used for converting the resistance signal measured by the sensor into a digital signal; the head-mounted device further comprises a processor and a display screen; the processor is specifically used for: searching for degree setting information corresponding to the digital signal; when the degree setting information corresponding to the digital signal is not found, displaying guide information through the display screen; the display screen is further used for: displaying the guide information to prompt and guide setting of the degree information associated with the current resistance assembly and the digital signal corresponding to the resistance assembly; receiving user input; the processor is further used for: determining the degree information corresponding to the digital signal and the resistance assembly according to the user input.
2. The head-mounted device according to claim 1, wherein: the third electrode contact and the fourth electrode contact are arranged on the lens frame; the lens is arranged in the lens frame; the resistance assembly comprises: a resistance element, which is used for being connected between the third electrode contact and the fourth electrode contact; a wire, which is connected with the resistance element.
3. The head-mounted device of claim 2, wherein, The resistance assembly is arranged in the lens frame, and the wire is respectively connected between the third electrode contact and a first end of the resistance element, and between a second end of the resistance element and the fourth electrode contact, so that the resistance element is connected between the third electrode contact and the fourth electrode contact.
4. The head-mounted device of claim 2, wherein, The resistance assembly further comprises: a fifth electrode contact, which is connected with the resistance element through the wire, and corresponds to the third electrode contact; a sixth electrode contact, which is connected with the resistance element through the wire, and corresponds to the fourth electrode contact.
5. The head-mounted device of claim 4, wherein, When the resistance assembly is arranged in the lens frame, the third electrode contact and the fifth electrode contact are connected, and the fourth electrode contact and the sixth electrode contact are connected, so that the resistance element is connected between the third electrode contact and the fourth electrode contact.
6. The head-mounted device according to any one of claims 1 to 5, wherein, The sensor is connected with the first electrode contact and the second electrode contact, and the sensor is used for measuring the resistance signal of the resistance component; The microcontroller is connected with the analog-to-digital converter, and is used for determining the power information of the lens component according to the digital signal.
7. The head-mounted device of claim 6, wherein, The microcontroller is specifically used for: Converting the digital signal into the power information of the lens component according to the preset conversion relationship.
8. The head-mounted device of claim 6, wherein: The processor is arranged in the main body, and the processor is connected with the microcontroller, and the microcontroller is further used for transmitting the digital signal to the processor. The processor is specifically used for: In a case that the power setting information corresponding to the digital signal is found, the power setting information is taken as the power information of the lens component.
9. The head-mounted device of claim 8, wherein, The display screen is arranged on the main body.
10. The head-mounted device of claim 9, wherein, The processor is further used for comparing the power information with historical power data. The display screen is further used for: In a case that the power information is consistent with the historical power data, the power information is displayed, and in a case that the power information is not consistent with the historical power data, the power information and prompt information are displayed.
Citation Information
Patent Citations
Head-mounted display device and diopter detection, interpupillary distance compensation and sight line adjustment methods
CN118131475A
Simple tool for measuring resistance value of element
CN220568865U