CN111355897A - Light control method and device - Google Patents

Light control method and device Download PDF

Info

Publication number
CN111355897A
CN111355897A CN201811580602.3A CN201811580602A CN111355897A CN 111355897 A CN111355897 A CN 111355897A CN 201811580602 A CN201811580602 A CN 201811580602A CN 111355897 A CN111355897 A CN 111355897A
Authority
CN
China
Prior art keywords
time
light source
exposure
timing
helmet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811580602.3A
Other languages
Chinese (zh)
Other versions
CN111355897B (en
Inventor
赵玉峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201811580602.3A priority Critical patent/CN111355897B/en
Publication of CN111355897A publication Critical patent/CN111355897A/en
Application granted granted Critical
Publication of CN111355897B publication Critical patent/CN111355897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a light control method and a light control device, wherein the light control method is used for a handle of virtual reality equipment and comprises the following steps: receiving a closing instruction; responding to a closing instruction, closing the light source, and timing by taking the first time of the helmet as the reference time of the current time; adjusting the on-off state of the light source until the light source is turned off after a synchronous instruction is received, and recording the turn-on times of the light source; determining timing delay between the helmet and the handle according to the first time, the exposure period of the helmet, the exposure duration, the synchronous instruction and the opening times; synchronizing the timing of the helmet and the timing of the handle according to the timing delay; and adjusting the on-off state of the light source so that the light source is in an on state when the camera device of the helmet is exposed and is in an off state when the camera device is not exposed. By adopting the method, the light source can be in the on state when the camera device of the helmet is exposed, and the light source can be in the off state when the camera device is not exposed, so that the power consumption of the light source is greatly reduced, and the energy is saved.

Description

Light control method and device
Technical Field
The invention relates to the technical field of virtual reality equipment, in particular to a light control method and device.
Background
With the development of virtual reality technology, virtual reality equipment, such as a virtual reality all-in-one machine (VR all-in-one machine), is gradually used by more and more people.
The existing virtual reality equipment generally comprises a helmet and a handle, wherein a camera device is arranged on the helmet, and a light source is arranged on the handle. In addition, when the existing virtual reality equipment works, the light of the light source is shot through the camera device, and positioning and motion capture are carried out on the user. Therefore, during the process of using the virtual reality device by the user, the light source in the handle needs to be in an on state for a long time so as to provide light for the camera device. However, the light source is in an on state for a long time, and the power consumption is high and the energy consumption is high.
Disclosure of Invention
The invention provides a light control method and a light control device, which are used for solving the problems that a light source needs to be in an on state for a long time, the power consumption is high and the energy consumption is high in the conventional virtual reality equipment.
In a first aspect, the present invention provides a light control method for a handle of a virtual reality device, where the handle is provided with a light source, the virtual reality device further includes a helmet, and the helmet is provided with a camera device, and the light control method includes: receiving a closing instruction; the closing instruction comprises first time, an exposure period of the camera device and exposure duration lasting for each exposure; the first time is the time recorded in the helmet when the closing instruction is sent; responding to the closing instruction, closing the light source, and timing by taking the first time as a reference time of the current time; adjusting the on-off state of the light source until the light source is turned off after a synchronous instruction is received, and recording the turn-on times of the light source; determining a timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronization instruction and the opening times; synchronizing the timing of the helmet and the timing of the handle according to the timing delay; and adjusting the on-off state of the light source so that the light source is in an on state when the camera device is exposed and the light source is in an off state when the camera device is not exposed.
Further, adjusting the on-off state of the light source until the process of turning off the light source after receiving the synchronization instruction specifically includes: keeping the light source in a closed state, continuously presetting a first time length, and starting the light source; keeping the light source in an opening state, continuously presetting a second time length, and closing the light source; keeping the light source in a closed state, continuously presetting a third time length, and starting the light source; and repeatedly executing the steps of keeping the light source in an opening state, continuously presetting a second time length, and closing the light source until the light source is closed after a synchronous instruction is received.
Further, the process of determining the timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronization instruction and the opening times specifically includes: acquiring the exposure times and the second time contained in the synchronous instruction; the exposure times refer to the total times of exposure of the camera device within the time length from the time when the helmet detects that the light source is turned off for the first time after the light source is turned off for the first time to the time when the helmet detects that the light source is turned on for the first time; the second time is the time when the helmet detects that the light source is turned off for the first time, and the camera device recorded in the helmet shoots that the light source is turned on for the first time; determining the timing time of the handle at the moment corresponding to the second time according to the first time, the exposure period, the exposure duration, the exposure times and the opening times; determining a timing delay between the helmet and the handle based on the second time and the timing time.
Further, the process of synchronizing the timing of the helmet and the timing of the handle according to the timing delay specifically includes: calculating the sum of the current timing time of the handle and the timing delay to generate a third time; and timing by taking the third time as the reference time of the current time.
Further, adjusting the on-off state of the light source to enable the light source to be in an on state when the image pickup device is exposed and to be in an off state when the image pickup device is not exposed specifically includes: acquiring target timing time in the handle; the target timing time refers to any time recorded in the handle after the timing of the helmet and the timing of the handle are synchronously completed; determining a target timing duration according to the target timing time, the first time and the timing delay; performing modular operation on the target timing duration and the exposure period to generate a remainder; calculating a difference value between the exposure period and the remainder; if the difference is greater than or equal to one half of the exposure time, the light source is turned on at a first moment corresponding to each exposure period, and the light source is turned off at a second moment corresponding to the exposure period; the first time is the time which is before the exposure corresponding to any one exposure period starts and is separated from the exposure starting time of this time by half of the exposure time; the second moment is a moment which is separated by one half of the exposure time length from the exposure ending moment after the exposure corresponding to any one exposure period is ended; or if the difference is less than one half of the exposure time, waiting for an exposure period, starting the light source at a first moment corresponding to each subsequent exposure period, and closing the light source at a second moment corresponding to the exposure period.
In a second aspect, the present invention further provides a light control device, configured to be used in a handle of a virtual reality device, where the handle is provided with a light source, the virtual reality device further includes a helmet, and the helmet is provided with a camera device, and the light control device includes: the receiving module is used for receiving a closing instruction; the closing instruction comprises first time, an exposure period of the camera device and exposure duration lasting for each exposure; the first time is the time recorded in the helmet when the closing instruction is sent; the first processing module is used for responding to the closing instruction, closing the light source and timing by taking the first time as the reference time of the current moment; the second processing module is used for adjusting the on-off state of the light source, turning off the light source after receiving the synchronous instruction, and recording the turn-on times of the light source; a timing delay determining module, configured to determine a timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronization instruction, and the number of times of opening; the third processing module is used for synchronizing the timing of the helmet and the timing of the handle according to the timing delay; and the fourth processing module is used for adjusting the on-off state of the light source so as to enable the light source to be in an on state when the camera device is exposed and enable the light source to be in an off state when the camera device is not exposed.
Further, the second processing module is specifically configured to: keeping the light source in a closed state, continuously presetting a first time length, and starting the light source; keeping the light source in an opening state, continuously presetting a second time length, and closing the light source; keeping the light source in a closed state, continuously presetting a third time length, and starting the light source; and repeatedly executing the steps of keeping the light source in an opening state, continuously presetting a second time length, and closing the light source until the light source is closed after a synchronous instruction is received.
Further, the timing delay determination module is specifically configured to: acquiring the exposure times and the second time contained in the synchronous instruction; the exposure times refer to the total times of exposure of the camera device within the time length from the time when the helmet detects that the light source is turned off for the first time after the light source is turned off for the first time to the time when the helmet detects that the light source is turned on for the first time; the second time is the time when the helmet detects that the light source is turned off for the first time, and the camera device recorded in the helmet shoots that the light source is turned on for the first time; determining the timing time of the handle at the moment corresponding to the second time according to the first time, the exposure period, the exposure duration, the exposure times and the opening times; determining a timing delay between the helmet and the handle based on the second time and the timing time.
Further, the third processing module is specifically configured to: calculating the sum of the current timing time of the handle and the timing delay to generate a third time; and timing by taking the third time as the reference time of the current time.
Further, the fourth processing module is specifically configured to: acquiring target timing time in the handle; the target timing time refers to any time recorded in the handle after the timing of the helmet and the timing of the handle are synchronously completed; determining a target timing duration according to the target timing time, the first time and the timing delay; performing modular operation on the target timing duration and the exposure period to generate a remainder; calculating a difference value between the exposure period and the remainder; if the difference is greater than or equal to one half of the exposure time, the light source is turned on at a first moment corresponding to each exposure period, and the light source is turned off at a second moment corresponding to the exposure period; the first time is the time which is before the exposure corresponding to any one exposure period starts and is separated from the exposure starting time of this time by half of the exposure time; the second moment is a moment which is separated by one half of the exposure time length from the exposure ending moment after the exposure corresponding to any one exposure period is ended; or if the difference is less than one half of the exposure time, waiting for an exposure period, starting the light source at a first moment corresponding to each subsequent exposure period, and closing the light source at a second moment corresponding to the exposure period.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the invention provides a light control method and device. In the light control method, when the helmet determines that the camera device can shoot the light of the light source in the handle, a turn-off instruction for turning off the light source is sent to the handle, and then the camera device shoots the light source in a fixed exposure period; after receiving the closing instruction, the handle closes the light source and adjusts the on-off state of the light source; in the process, after the camera device shoots the light source to be turned off for the first time and shoots the light source to be turned on for the first time, the helmet sends a synchronous instruction to the handle; the handle synchronizes the self timing with the timing of the helmet according to the received synchronization instruction and the closing instruction, and adjusts the on-off state of the light source after synchronization, so that the light source is in an on state when the camera device is exposed, and the light source is in an off state when the camera device is not exposed, thereby greatly reducing the power consumption of the light source, saving energy and having better applicability.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any inventive exercise.
Fig. 1 is a block diagram of a virtual reality device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a light control method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation method of step S106 according to an embodiment of the present invention;
fig. 4 is a block diagram of a light control device according to an embodiment of the present invention.
Detailed Description
It can be known to combine background art, among the prior art, in the virtual reality equipment, in order to make things convenient for camera device to fix a position and motion capture to the user, the light source of handle need be in the on-state for a long time to provide light for camera device. And the long-term opening of the light source has higher power consumption and higher energy consumption. In order to solve the problem, the invention provides a light control method and a light control device.
The following describes the light control method and device provided by the present invention in detail with reference to the accompanying drawings.
Before introducing the light control method and device provided by the present invention, a virtual reality device provided by an embodiment of the present invention is first introduced.
Referring to fig. 1, fig. 1 is a block diagram illustrating a virtual reality device according to an embodiment of the present invention. As can be seen in fig. 1, the virtual reality apparatus 100 includes: helmet 10 and handle 20; the helmet 10 is provided with a camera 101, a first processor 102, a first RTC (real-time clock, chinese) unit 103 and a first wireless communication unit 104 are arranged inside the helmet 10, and the camera 101, the first processor 102, the first RTC unit 103 and the first wireless communication unit 104 are coupled; the handle 20 is provided with a light source 201, a second processor 202, a second RTC unit 203 and a second wireless communication unit 204 are arranged inside the handle 20, and the light source 201, the second processor 202, the second RTC unit 203 and the second wireless communication unit 204 are coupled; the helmet 10 and the handle 20 can be communicatively connected to the second wireless communication unit 204 via the first wireless communication unit 104. The roles of the components and the relationships between the components in the virtual reality apparatus 100 can refer to the contents of the following embodiments.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a light control method according to an embodiment of the present invention. The light control method is used on one side of a handle (such as the handle 20 shown in fig. 1) of a virtual reality device, and as can be seen in fig. 2, the light control method comprises the following steps:
and step S101, receiving a closing instruction.
When using a virtual reality device (e.g., the virtual reality device 100 shown in fig. 1), a user first turns on a helmet (e.g., the helmet 10 shown in fig. 1) and a handle; after the helmet is turned on, the image pickup device (e.g., the image pickup device 101 shown in fig. 1), the first processor (e.g., the first processor 102 shown in fig. 1), the first RTC unit (e.g., the first RTC unit 103 shown in fig. 1), and the first wireless communication unit (e.g., the first wireless communication unit 104 shown in fig. 1) of the helmet all enter an operating state; after the handle is turned on, the light source (for example, the light source 201 shown in fig. 1) of the handle is turned on, and the second processor (for example, the second processor 202 shown in fig. 2), the second RTC unit (for example, the second RTC unit 203 shown in fig. 1) and the second wireless communication unit (for example, the second wireless communication unit 204 shown in fig. 1) of the handle all enter an operating state.
And after the camera device enters a working state, shooting the light source according to a certain exposure period, and sending the image shot by each exposure to the first processor. The exposure period refers to the duration of an interval from the beginning of the exposure to the beginning of the next exposure. Each exposure period comprises an exposure duration and a processing duration, wherein the exposure duration refers to the duration of exposure duration in the exposure period, and the processing duration refers to the duration of processing the image shot by the current exposure.
The first processor determines that light of the light source can be shot according to an image shot by the camera device, then controls the helmet to send a closing instruction for closing the light source to the handle, and records time recorded in the first RTC unit at the current moment. The closing instruction includes the first time, an exposure period of the image pickup device, and an exposure duration of each exposure.
And step S102, responding to the closing instruction, closing the light source, and timing by taking the first time as the reference time of the current time.
After the handle receives the closing instruction, the second processor of the handle responds to the closing instruction, controls the light source to be closed, and sets the reference time of the current time of the second RTC unit as the first time for timing.
And S103, adjusting the on-off state of the light source until the light source is turned off after a synchronous instruction is received, and recording the turn-on times of the light source.
After the first processor controls the helmet to send a closing instruction for closing the light source to the handle, when the fact that the light source is closed is determined to be shot by the camera device for the first time according to the image shot by the camera device is determined, a first target frame number of the camera device which shoots the light source to be closed at present is recorded; then, when it is determined that the light source is in an on state when the image pickup device shoots for the first time according to the image shot by the image pickup device, recording a second target frame number of the light source in the on state when the image pickup device shoots for the first time, and recording time recorded in the first RTC unit at the current time, in this embodiment of the present application, the time is recorded as a second time, that is, the second time is time when the image pickup device recorded in the helmet shoots for the first time and the light source is on after the helmet detects that the light source is off for the first time; then, determining the exposure times of the camera device according to the first target frame number and the second target frame number, wherein the exposure times refer to the total times of exposure of the camera device within the time length from the first detection that the helmet detects that the light source is turned off after the light source is turned off for the first time to the first detection that the light source is turned on later.
Further, the following formula may be used: and M2-M1+1, wherein M represents the exposure times, M1 represents the first target frame number, and M2 represents the second target frame number.
In addition, after the first processor controls the helmet to send a turn-off instruction for turning off the light source to the handle, when the light source is detected to be turned on for the first time after the light source is detected to be turned off for the first time according to an image shot by the camera device, the helmet is controlled to send a synchronous instruction to the handle, and the synchronous instruction comprises the exposure times and the second time.
After the second processor turns off the light source, the on-off state of the light source can be adjusted as follows: keeping the light source in a closed state, continuously presetting a first time length, and then starting the light source; keeping the light source in an opening state, continuously presetting a second time length, and then closing the light source; keeping the light source in a closed state, continuously presetting a third time length, and then starting the light source; and then, repeatedly executing the steps of keeping the light source in an opening state, continuously presetting a second time length, and then closing the light source until the light source is closed after a synchronous instruction is received. And the second processor records the turn-on times of the light source in the interval duration from the turning-off of the light source after the receiving of the turn-off instruction to the receiving of the synchronous instruction. Optionally, the turn-on times of the light source may be recorded as N, where N is a positive integer.
The first preset time length, the second preset time length and the third preset time length can be set according to actual needs. For example, the first preset time period may be set to 3Te + Tc, the second preset time period may be set to 2Tc, and the third preset time period may be set to Te — Tc, where Te represents the exposure period and Tc represents the exposure time period.
And step S104, determining timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronous instruction and the opening times.
In a specific implementation, step S104 may be implemented as follows: acquiring the exposure times and the second time contained in the synchronous instruction; determining the timing time of the handle at the moment corresponding to the second time according to the first time, the exposure period, the exposure duration, the exposure times and the opening times; determining a timing delay between the helmet and the handle based on the second time and the timing time.
The obtaining of the exposure times and the second time included in the synchronization instruction may be implemented as follows: and the second processor of the handle analyzes the synchronous instruction and acquires the exposure times and the second time contained in the synchronous instruction.
Determining the timing time of the handle at the moment corresponding to the second time according to the first time, the exposure period, the exposure duration, the exposure times and the opening times, and can be realized according to the following modes: the following formula is used: and T is T1+ MTe + NTc, and the timing time of the handle is calculated and generated, wherein the timing time refers to the moment corresponding to the second time, and the time currently recorded by the second RTC unit in the handle, and the timing time cannot be read from the second RTC unit due to the communication delay between the helmet and the handle, and can be generated through calculation. Wherein T represents the timing time of the handle, T1 represents the first time, M represents the number of exposures, Te represents the exposure period, Tc represents the exposure time length, and N represents the number of opening times.
Determining a timing delay between the helmet and the handle according to the second time and the timing time can be realized by calculating and generating the timing delay between the helmet and the handle by using the following formula of △ T-T2-T, wherein △ T represents the timing delay, T2 represents the second time, and T represents the timing time.
And S105, synchronizing the timing of the helmet and the timing of the handle according to the timing delay.
In a specific implementation, step S105 may be implemented as follows: calculating the sum of the current timing time and the timing delay of the handle to generate a third time, namely calculating the sum of the current recorded time of a second RTC unit in the handle and the timing delay to generate the third time; and timing by taking the third time as the reference time of the current time, namely taking the third time as the current timing reference time of the second RTC unit in the handle to perform subsequent timing.
And S106, adjusting the on-off state of the light source so that the light source is in an on state when the camera device is exposed and the light source is in an off state when the camera device is not exposed.
Referring to fig. 3, fig. 3 is a flowchart illustrating an implementation method of step S106 according to an embodiment of the present invention. As can be seen from fig. 3, in a specific implementation, step S106 may be implemented according to the method shown in fig. 3:
and step S201, acquiring target timing time in the handle.
The target timing time refers to any time recorded in the handle after the timing of the helmet and the timing of the handle are completed synchronously.
Step S202, determining a target timing duration according to the target timing time, the first time and the timing delay.
In a specific implementation, the step S202 may be implemented by calculating and generating the target timing duration by using the following formula T3-T4-T1- △ T, where T3 represents the target timing duration, T4 represents the target timing duration, T1 represents the first time, and △ T represents the timing delay.
Step S203, performing modular operation on the target timing duration and the exposure period to generate a remainder.
And step S204, calculating the difference value between the exposure period and the remainder.
Step S205, if the difference is greater than or equal to one-half of the exposure duration, turning on the light source at a first time corresponding to each exposure period, and turning off the light source at a second time corresponding to the exposure period.
The first time is the time before the exposure corresponding to any one exposure period starts and the time when the current exposure starts is separated by one half of the exposure time; the second time is a time separated by one half of the exposure time from the exposure ending time after the exposure corresponding to any one exposure period is ended.
Step S206, if the difference is less than one half of the exposure time, waiting for an exposure period, starting the light source at a first moment corresponding to each subsequent exposure period, and closing the light source at a second moment corresponding to the exposure period.
In the light control method provided by the embodiment of the invention, when the helmet determines that the camera device can shoot the light of the light source in the handle, a closing instruction for closing the light source is sent to the handle, and then the camera device shoots the light source in a fixed exposure period; after receiving the closing instruction, the handle closes the light source and adjusts the on-off state of the light source; in the process, after the camera device shoots the light source to be turned off for the first time and shoots the light source to be turned on for the first time, the helmet sends a synchronous instruction to the handle; the handle synchronizes the self timing with the timing of the helmet according to the received synchronization instruction and the closing instruction, and adjusts the on-off state of the light source after synchronization, so that the light source is in an on state when the camera device is exposed, and the light source is in an off state when the camera device is not exposed, thereby greatly reducing the power consumption of the light source, saving energy and having better applicability.
Corresponding to the light control method, the embodiment of the invention also discloses a light control device.
Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of a light control device according to an embodiment of the present invention. The light control device is used for a handle of virtual reality equipment, a light source is arranged on the handle, the virtual reality equipment further comprises a helmet, and a camera device is arranged on the helmet. As can be seen from fig. 4, the light control device includes:
a receiving module 401, configured to receive a closing instruction; the closing instruction comprises first time, an exposure period of the camera device and exposure duration lasting for each exposure; the first time is the time recorded in the helmet when the closing instruction is sent; a first processing module 402, configured to turn off the light source in response to the turn-off instruction, and count time with the first time as a reference time of a current time; the second processing module 403 is configured to adjust a switching state of the light source, turn off the light source until a synchronization instruction is received, and record the turn-on times of the light source; a timing delay determining module 404, configured to determine a timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronization instruction, and the number of times of opening; a third processing module 405, configured to synchronize timing of the helmet and timing of the handle according to the timing delay; a fourth processing module 406, configured to adjust a switching state of the light source, so that the light source is in an on state when the image capturing apparatus is exposed, and the light source is in an off state when the image capturing apparatus is not exposed.
Further, the second processing module 403 is specifically configured to: keeping the light source in a closed state, continuously presetting a first time length, and starting the light source; keeping the light source in an opening state, continuously presetting a second time length, and closing the light source; keeping the light source in a closed state, continuously presetting a third time length, and starting the light source; and repeatedly executing the steps of keeping the light source in an opening state, continuously presetting a second time length, and closing the light source until the light source is closed after a synchronous instruction is received.
Further, the timing delay determining module 404 is specifically configured to: acquiring the exposure times and the second time contained in the synchronous instruction; the exposure times refer to the total times of exposure of the camera device within the time length from the time when the helmet detects that the light source is turned off for the first time after the light source is turned off for the first time to the time when the helmet detects that the light source is turned on for the first time; the second time is the time when the helmet detects that the light source is turned off for the first time, and the camera device recorded in the helmet shoots that the light source is turned on for the first time; determining the timing time of the handle at the moment corresponding to the second time according to the first time, the exposure period, the exposure duration, the exposure times and the opening times; determining a timing delay between the helmet and the handle based on the second time and the timing time.
Further, the third processing module 405 is specifically configured to: calculating the sum of the current timing time of the handle and the timing delay to generate a third time; and timing by taking the third time as the reference time of the current time.
Further, the fourth processing module 406 is specifically configured to: acquiring target timing time in the handle; the target timing time refers to any time recorded in the handle after the timing of the helmet and the timing of the handle are synchronously completed; determining a target timing duration according to the target timing time, the first time and the timing delay; performing modular operation on the target timing duration and the exposure period to generate a remainder; calculating a difference value between the exposure period and the remainder; if the difference is greater than or equal to one half of the exposure time, the light source is turned on at a first moment corresponding to each exposure period, and the light source is turned off at a second moment corresponding to the exposure period; the first time is the time which is before the exposure corresponding to any one exposure period starts and is separated from the exposure starting time of this time by half of the exposure time; the second moment is a moment which is separated by one half of the exposure time length from the exposure ending moment after the exposure corresponding to any one exposure period is ended; or if the difference is less than one half of the exposure time, waiting for an exposure period, starting the light source at a first moment corresponding to each subsequent exposure period, and closing the light source at a second moment corresponding to the exposure period.
By adopting the light control device provided by the embodiment of the invention, all steps in the light control method can be implemented, and the same beneficial effects can be obtained. The light control device provided by the embodiment of the invention can enable the light source to be in the on state when the camera device is exposed and enable the light source to be in the off state when the camera device is not exposed, thereby greatly reducing the power consumption of the light source, saving energy and having better applicability.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the light control method provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the embodiment of the light control device, since it is basically similar to the embodiment of the method, the description is simple, and the relevant points can be referred to the description of the embodiment of the method.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (10)

1. The light control method is characterized in that a handle is used for virtual reality equipment, a light source is arranged on the handle, the virtual reality equipment further comprises a helmet, a camera device is arranged on the helmet, and the light control method comprises the following steps:
receiving a closing instruction; the closing instruction comprises first time, an exposure period of the camera device and exposure duration lasting for each exposure; the first time is the time recorded in the helmet when the closing instruction is sent;
responding to the closing instruction, closing the light source, and timing by taking the first time as a reference time of the current time;
adjusting the on-off state of the light source until the light source is turned off after a synchronous instruction is received, and recording the turn-on times of the light source;
determining a timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronization instruction and the opening times;
synchronizing the timing of the helmet and the timing of the handle according to the timing delay;
and adjusting the on-off state of the light source so that the light source is in an on state when the camera device is exposed and the light source is in an off state when the camera device is not exposed.
2. The light control method according to claim 1, wherein adjusting the on-off state of the light source until the process of turning off the light source after receiving the synchronization command specifically comprises:
keeping the light source in a closed state, continuously presetting a first time length, and starting the light source;
keeping the light source in an opening state, continuously presetting a second time length, and closing the light source;
keeping the light source in a closed state, continuously presetting a third time length, and starting the light source;
and repeatedly executing the steps of keeping the light source in an opening state, continuously presetting a second time length, and closing the light source until the light source is closed after a synchronous instruction is received.
3. The light control method of claim 2, wherein determining a timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronization command, and the number of openings comprises:
acquiring the exposure times and the second time contained in the synchronous instruction; the exposure times refer to the total times of exposure of the camera device within the time length from the time when the helmet detects that the light source is turned off for the first time after the light source is turned off for the first time to the time when the helmet detects that the light source is turned on for the first time; the second time is the time when the helmet detects that the light source is turned off for the first time, and the camera device recorded in the helmet shoots that the light source is turned on for the first time;
determining the timing time of the handle at the moment corresponding to the second time according to the first time, the exposure period, the exposure duration, the exposure times and the opening times;
determining a timing delay between the helmet and the handle based on the second time and the timing time.
4. The light control method according to claim 3, wherein the process of synchronizing the timing of the helmet and the timing of the handle according to the timing delay specifically comprises:
calculating the sum of the current timing time of the handle and the timing delay to generate a third time;
and timing by taking the third time as the reference time of the current time.
5. The light control method according to claim 4, wherein adjusting the on/off state of the light source to turn on the light source when the image capturing device is exposed, and turn off the light source when the image capturing device is not exposed specifically includes:
acquiring target timing time in the handle; the target timing time refers to any time recorded in the handle after the timing of the helmet and the timing of the handle are synchronously completed;
determining a target timing duration according to the target timing time, the first time and the timing delay;
performing modular operation on the target timing duration and the exposure period to generate a remainder;
calculating a difference value between the exposure period and the remainder;
if the difference is greater than or equal to one half of the exposure time, the light source is turned on at a first moment corresponding to each exposure period, and the light source is turned off at a second moment corresponding to the exposure period; the first time is the time which is before the exposure corresponding to any one exposure period starts and is separated from the exposure starting time of this time by half of the exposure time; the second moment is a moment which is separated by one half of the exposure time length from the exposure ending moment after the exposure corresponding to any one exposure period is ended; or the like, or, alternatively,
and if the difference is less than one half of the exposure time, waiting for an exposure period, starting the light source at a first moment corresponding to each subsequent exposure period, and closing the light source at a second moment corresponding to the exposure period.
6. The utility model provides a light controlling means, its characterized in that for the handle of virtual reality equipment, be provided with the light source on the handle, virtual reality equipment still includes the helmet, be provided with camera device on the helmet, this light controlling means includes:
the receiving module is used for receiving a closing instruction; the closing instruction comprises first time, an exposure period of the camera device and exposure duration lasting for each exposure; the first time is the time recorded in the helmet when the closing instruction is sent;
the first processing module is used for responding to the closing instruction, closing the light source and timing by taking the first time as the reference time of the current moment;
the second processing module is used for adjusting the on-off state of the light source, turning off the light source after receiving the synchronous instruction, and recording the turn-on times of the light source;
a timing delay determining module, configured to determine a timing delay between the helmet and the handle according to the first time, the exposure period, the exposure duration, the synchronization instruction, and the number of times of opening;
the third processing module is used for synchronizing the timing of the helmet and the timing of the handle according to the timing delay;
and the fourth processing module is used for adjusting the on-off state of the light source so as to enable the light source to be in an on state when the camera device is exposed and enable the light source to be in an off state when the camera device is not exposed.
7. The light control device according to claim 6, wherein the second processing module is specifically configured to:
keeping the light source in a closed state, continuously presetting a first time length, and starting the light source;
keeping the light source in an opening state, continuously presetting a second time length, and closing the light source;
keeping the light source in a closed state, continuously presetting a third time length, and starting the light source;
and repeatedly executing the steps of keeping the light source in an opening state, continuously presetting a second time length, and closing the light source until the light source is closed after a synchronous instruction is received.
8. The light control device according to claim 7, wherein the timing delay determination module is specifically configured to:
acquiring the exposure times and the second time contained in the synchronous instruction; the exposure times refer to the total times of exposure of the camera device within the time length from the time when the helmet detects that the light source is turned off for the first time after the light source is turned off for the first time to the time when the helmet detects that the light source is turned on for the first time; the second time is the time when the helmet detects that the light source is turned off for the first time, and the camera device recorded in the helmet shoots that the light source is turned on for the first time;
determining the timing time of the handle at the moment corresponding to the second time according to the first time, the exposure period, the exposure duration, the exposure times and the opening times;
determining a timing delay between the helmet and the handle based on the second time and the timing time.
9. The light control device according to claim 8, wherein the third processing module is specifically configured to:
calculating the sum of the current timing time of the handle and the timing delay to generate a third time;
and timing by taking the third time as the reference time of the current time.
10. The light control device according to claim 9, wherein the fourth processing module is specifically configured to:
acquiring target timing time in the handle; the target timing time refers to any time recorded in the handle after the timing of the helmet and the timing of the handle are synchronously completed;
determining a target timing duration according to the target timing time, the first time and the timing delay;
performing modular operation on the target timing duration and the exposure period to generate a remainder;
calculating a difference value between the exposure period and the remainder;
if the difference is greater than or equal to one half of the exposure time, the light source is turned on at a first moment corresponding to each exposure period, and the light source is turned off at a second moment corresponding to the exposure period; the first time is the time which is before the exposure corresponding to any one exposure period starts and is separated from the exposure starting time of this time by half of the exposure time; the second moment is a moment which is separated by one half of the exposure time length from the exposure ending moment after the exposure corresponding to any one exposure period is ended; or the like, or, alternatively,
and if the difference is less than one half of the exposure time, waiting for an exposure period, starting the light source at a first moment corresponding to each subsequent exposure period, and closing the light source at a second moment corresponding to the exposure period.
CN201811580602.3A 2018-12-24 2018-12-24 Light control method and device Active CN111355897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811580602.3A CN111355897B (en) 2018-12-24 2018-12-24 Light control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811580602.3A CN111355897B (en) 2018-12-24 2018-12-24 Light control method and device

Publications (2)

Publication Number Publication Date
CN111355897A true CN111355897A (en) 2020-06-30
CN111355897B CN111355897B (en) 2023-04-18

Family

ID=71195281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811580602.3A Active CN111355897B (en) 2018-12-24 2018-12-24 Light control method and device

Country Status (1)

Country Link
CN (1) CN111355897B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203076A (en) * 2020-09-16 2021-01-08 青岛小鸟看看科技有限公司 Alignment method and system for exposure center points of multiple cameras in VR system
CN112462578A (en) * 2020-12-16 2021-03-09 广东思沃激光科技有限公司 Exposure method, exposure machine, and computer-readable storage medium
CN113225870A (en) * 2021-03-29 2021-08-06 青岛小鸟看看科技有限公司 VR (virtual reality) equipment positioning method and VR equipment
CN114500978A (en) * 2020-11-12 2022-05-13 海信视像科技股份有限公司 Display device, handle and calibration method for virtual target positioning and tracking
CN114500979A (en) * 2020-11-12 2022-05-13 海信视像科技股份有限公司 Display apparatus, control apparatus, and synchronization calibration method
WO2022100288A1 (en) * 2020-11-12 2022-05-19 海信视像科技股份有限公司 Display device, handle, and method for calibrating positioning and tracking of virtual target

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780845A (en) * 2012-06-14 2012-11-14 清华大学 Light source alternate strobe synchronous camera shooting method and vision detection system
CN106131419A (en) * 2016-07-21 2016-11-16 北京小鸟看看科技有限公司 A kind of method and system for synchronizing multiple wireless camera equipment and virtual reality system
CN106768361A (en) * 2016-12-19 2017-05-31 北京小鸟看看科技有限公司 The position tracking method and system of the handle supporting with VR helmets
CN108965712A (en) * 2018-07-30 2018-12-07 青岛小鸟看看科技有限公司 A kind of space positioning system and its synchronous method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780845A (en) * 2012-06-14 2012-11-14 清华大学 Light source alternate strobe synchronous camera shooting method and vision detection system
CN106131419A (en) * 2016-07-21 2016-11-16 北京小鸟看看科技有限公司 A kind of method and system for synchronizing multiple wireless camera equipment and virtual reality system
CN106768361A (en) * 2016-12-19 2017-05-31 北京小鸟看看科技有限公司 The position tracking method and system of the handle supporting with VR helmets
CN108965712A (en) * 2018-07-30 2018-12-07 青岛小鸟看看科技有限公司 A kind of space positioning system and its synchronous method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203076A (en) * 2020-09-16 2021-01-08 青岛小鸟看看科技有限公司 Alignment method and system for exposure center points of multiple cameras in VR system
US11962749B2 (en) 2020-09-16 2024-04-16 Qingdao Pico Technology Co., Ltd. Virtual reality interaction method, device and system
CN112203076B (en) * 2020-09-16 2022-07-29 青岛小鸟看看科技有限公司 Alignment method and system for exposure center points of multiple cameras in VR system
CN114500978A (en) * 2020-11-12 2022-05-13 海信视像科技股份有限公司 Display device, handle and calibration method for virtual target positioning and tracking
CN114500979A (en) * 2020-11-12 2022-05-13 海信视像科技股份有限公司 Display apparatus, control apparatus, and synchronization calibration method
WO2022100288A1 (en) * 2020-11-12 2022-05-19 海信视像科技股份有限公司 Display device, handle, and method for calibrating positioning and tracking of virtual target
CN114500978B (en) * 2020-11-12 2023-04-25 海信视像科技股份有限公司 Display device, handle and calibration method for virtual target positioning tracking
CN114500979B (en) * 2020-11-12 2023-09-19 海信视像科技股份有限公司 Display device, control device, and synchronization calibration method
CN112462578A (en) * 2020-12-16 2021-03-09 广东思沃激光科技有限公司 Exposure method, exposure machine, and computer-readable storage medium
CN113225870A (en) * 2021-03-29 2021-08-06 青岛小鸟看看科技有限公司 VR (virtual reality) equipment positioning method and VR equipment
WO2022205949A1 (en) * 2021-03-29 2022-10-06 青岛小鸟看看科技有限公司 Vr device positioning method and vr device
US11719945B2 (en) 2021-03-29 2023-08-08 Qingdao Pico Technology Co., Ltd. Method for locating VR device and VR device
CN113225870B (en) * 2021-03-29 2023-12-22 青岛小鸟看看科技有限公司 VR equipment positioning method and VR equipment

Also Published As

Publication number Publication date
CN111355897B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN111355897B (en) Light control method and device
JP4173457B2 (en) Imaging apparatus and control method thereof
WO2021022868A1 (en) Light supplementation method and apparatus for camera
CN106170068B (en) Dynamic image generating means and dynamic image generation method
CN105323527B (en) For when video shift exposure metering system and method
US20160105597A1 (en) Cmos video camera and method for filling light
US20180115683A1 (en) Multiview camera synchronization system and method
CN113438424B (en) Synchronous exposure processing method, device, system and equipment
JP5430311B2 (en) Imaging apparatus, external apparatus, and control method
US10609265B2 (en) Methods and apparatus for synchronizing camera flash and sensor blanking
JP6116299B2 (en) Imaging apparatus and control method thereof
US20140226058A1 (en) Imaging apparatus having a synchronous shooting function
WO2019000848A1 (en) Control method and processing apparatus
CN103685974A (en) Imaging device and control method
JP2004193922A (en) Camera device
CN112334387A (en) Photographing method, camera, unmanned aerial vehicle and storage medium
US10321041B2 (en) Imaging apparatus, control method of imaging apparatus, and non-transitory storage medium storing control method of imaging apparatus
CN108965712A (en) A kind of space positioning system and its synchronous method and device
JP2015046130A (en) Data processing apparatus, control method of the same, and program
JP4310756B2 (en) Imaging apparatus and control method thereof
JP2007049466A (en) Synchronizing reproducing method and synchronizing reproducing software
US20230412918A1 (en) System for wireless synchronized capturing, and smart device
JP4310755B2 (en) Imaging apparatus and control method thereof
JP2008283707A (en) Photographing apparatus and control method therefor
CN116847189A (en) Image acquisition method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant