CN116193680A - Frequency adjusting method and device of indicator lamp, electronic equipment and medium - Google Patents

Frequency adjusting method and device of indicator lamp, electronic equipment and medium Download PDF

Info

Publication number
CN116193680A
CN116193680A CN202310187744.8A CN202310187744A CN116193680A CN 116193680 A CN116193680 A CN 116193680A CN 202310187744 A CN202310187744 A CN 202310187744A CN 116193680 A CN116193680 A CN 116193680A
Authority
CN
China
Prior art keywords
handle
pulse signal
wearable device
base station
frequency
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.)
Pending
Application number
CN202310187744.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310187744.8A priority Critical patent/CN116193680A/en
Publication of CN116193680A publication Critical patent/CN116193680A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/038Indexing scheme relating to G06F3/038
    • G06F2203/0384Wireless input, i.e. hardware and software details of wireless interface arrangements for pointing devices
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a frequency adjustment method, device, electronic equipment and medium of a prompt lamp, which are applied to a virtual reality VR handle and belong to the technical field of electronics. The frequency adjusting method of the indicator lamp comprises the following steps: receiving a first pulse signal sent by an ultra-wideband UWB base station, wherein the first pulse signal is generated by the UWB base station based on distance information between the VR handle and the wearable device, which is fed back by an internet of things (IoT) positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device, which are measured by the UWB base station; based on the first pulse signal, the flicker frequency of the indicator light in the VR handle is controlled, and the flicker frequency is used for representing the distance between the wearable device and the VR handle.

Description

Frequency adjusting method and device of indicator lamp, electronic equipment and medium
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a frequency adjusting method and device of a prompt lamp, electronic equipment and a medium.
Background
With the continuous development of Virtual Reality (VR) technology, people use more and more VR helmets and VR handles in daily life.
In the related art, VR helmets and VR handles are typically wirelessly connected using infrared sensor technology. The connection method is only suitable for the situation that the distance between the two is relatively short, and the quick pairing can be successful.
However, when the distance between the two is long, the user is required to hold the handle for multiple heuristics to find the corresponding VR headset, so that the finding process before the VR handle is paired with the VR headset is complicated and time-consuming.
Disclosure of Invention
The embodiment of the application aims to provide a frequency adjusting method, device, electronic equipment and medium of a prompt lamp, which can solve the problem that the searching process is complicated and time-consuming before a VR handle and a VR helmet are connected in a pairing mode.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a frequency adjustment method of a warning light, applied to a virtual reality VR handle, including: receiving a first pulse signal sent by an ultra-wideband UWB base station, wherein the first pulse signal is generated by the UWB base station based on distance information between the VR handle and a wearable device, which is fed back by an internet of things (IoT) positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device, which are measured by the UWB base station; based on the first pulse signal, the flicker frequency of the indicator light in the VR handle is controlled, and the flicker frequency is used for representing the distance between the wearable device and the VR handle.
In a second aspect, embodiments of the present application provide a frequency adjustment device for a cue light, applied to a virtual reality VR handle, the device including: a receiving module and a processing module, wherein: the receiving module is used for receiving a first pulse signal sent by an ultra-wideband UWB base station, the first pulse signal is generated by the UWB base station based on distance information between the VR handle and the wearable device, which is fed back by an internet of things (IoT) positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device, which are measured by the UWB base station; the processing module is used for controlling the flicker frequency of the prompting lamp in the VR handle based on the first pulse signal received by the receiving module, and the flicker frequency is used for representing the distance between the wearable device and the VR handle.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement a method as in the first aspect.
In the embodiment of the application, the VR handle may receive a first pulse signal sent by the ultra wideband UWB base station, and control a flicker frequency of a prompting lamp in the VR handle based on the first pulse signal, where the first pulse signal is generated by the UWB base station based on distance information between the VR handle and the wearable device fed back by the IoT positioning device, the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device measured by the UWB base station, and the flicker frequency is used for representing a distance between the wearable device and the VR handle. Because VR handle can be through the first pulse signal that the ultra wide band UWB base station sent between VR handle and the wearing formula equipment that corresponds, the scintillation frequency of the warning light in the control VR handle to the distance between suggestion user VR handle and wearing formula equipment before, can find the wearing formula equipment that corresponds with the VR handle according to the scintillation frequency of warning light like this, thereby, simplified the searching process before VR handle and wearing formula equipment pair connection, and then promoted the efficiency of searching the wearing formula equipment that matches with the VR handle.
Drawings
Fig. 1 is a schematic flow chart of a method for adjusting the frequency of a warning light according to an embodiment of the present application;
FIG. 2 is a second flow chart of a method for adjusting the frequency of a warning light according to the embodiment of the present application;
fig. 3 is a schematic structural diagram of a frequency adjustment method of a warning light according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a frequency adjusting device of a warning light according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic hardware diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The following describes in detail, by means of specific embodiments and application scenarios thereof, a method, an apparatus, an electronic device, and a medium for adjusting a frequency of a warning light provided in the embodiments of the present application with reference to the accompanying drawings.
In the related art, generally, a VR handle and a wearable device may be connected in a pairing manner through wireless technologies such as WiFi, bluetooth, low power consumption wide area network LPWAN, and infrared sensor, and through these connection modes, when the distance between the VR handle and the wearable device is far, the user needs to hold the VR handle for multiple probing searches, and a great deal of time and effort are spent to find the wearable device corresponding to the VR handle, so that the VR handle and the wearable device can be connected in a pairing manner. Due to the scheme, in the process of remotely searching the wearable device corresponding to the VR handle, a great amount of time and effort are required for the user, and the search is performed for a plurality of times, so that the searching process before the VR handle is matched and connected with the wearable device is complicated and time-consuming, and the efficiency of the matched and connected between the VR handle and the wearable device is reduced.
In the frequency adjustment method, the device, the electronic equipment and the medium of the indicator lamp provided by the embodiment of the application, the VR handle can receive a first pulse signal sent by an Ultra Wide Band (UWB) base station by the electronic equipment and control the flicker frequency of the indicator lamp in the VR handle based on the first pulse signal, wherein the first pulse signal is generated by the UWB base station based on the distance information between the VR handle and the wearable equipment fed back by the internet of things (IoT) positioning device, the distance information is calculated by the IoT positioning device based on the positioning data of the VR handle and the wearable equipment measured by the UWB base station, and the flicker frequency is used for representing the distance between the wearable equipment and the VR handle. Through this scheme, because VR handle can be through the scintillation frequency of warning light, the suggestion user VR handle is far and near with the distance between the wearing formula equipment, can find the wearing formula equipment that corresponds with this VR handle like this fast, consequently, simplified the search process before VR handle and wearing formula equipment pair connection, and then promoted the efficiency of searching the wearing formula equipment that matches with the VR handle.
The execution main body of the frequency adjustment method of the indicator light provided in this embodiment may be a frequency adjustment device of the indicator light, where the frequency adjustment device of the indicator light may be an electronic device (for example, a VR handle), or may be a control module or a processing module in the electronic device. The following describes the technical solution provided in the embodiments of the present application by taking a VR handle as an example.
The embodiment of the application provides a frequency adjustment method of a warning light, which is applied to a virtual reality VR handle, as shown in fig. 1, and the frequency adjustment method of the warning light may include the following steps 201 and 202:
step 201: the VR handle receives a first pulse signal transmitted by the ultra-wideband UWB base station.
The first pulse signal is generated by the UWB base station based on distance information between the VR handle and the wearable device, which is fed back by the IoT positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device, which are measured by the UWB base station.
Illustratively, the IoT positioning device described above may be an IoT positioning platform.
Illustratively, the wearable device may be a VR helmet that is matched to the VR handle, VR glasses that are matched to the VR handle, a display that is matched to the VR handle, or the like.
The IoT positioning device is configured to receive positioning data of the VR handle and the wearable device sent by the UWB base station, and calculate distance information between the VR handle and the wearable device based on the positioning data.
Illustratively, the VR handle and the wearable device are provided with positioning labels. The positioning tag is used for sending pulse signals to the UWB base station.
Illustratively, the UWB base station is configured to receive pulse signals sent by the VR handle and the positioning tag on the wearable device, and determine positioning data of the VR handle and the wearable device based on the pulse signals.
Illustratively, the UWB base station is coupled to the IoT positioning device through a power over ethernet PoE switch.
The PoE switch is connected to each UWB base station, and is used for data communication between the base station and the IoT positioning device, and can supply power to the UWB base station in PoE mode.
It should be noted that, above-mentioned UWB basic station sends the location data of VR handle and wearing formula equipment to IoT positioner through PoE switch, then, ioT positioner is based on above-mentioned location data, and the accurate distance information that calculates between VR handle and the wearing formula equipment through specific algorithm to send this distance information to UWB basic station through PoE switch, finally, UWB basic station sends the first pulse signal that this distance information corresponds to VR handle again.
Illustratively, the VR handle is provided with a UWB chip thereon. Wherein, the UWB chip is used for receiving the first pulse signal.
It can be appreciated that the VR handle may receive, through the UWB chip, a first pulse signal corresponding to distance information between the VR handle and the wearable device, which is transmitted by the UWB base station.
Optionally, in the embodiment of the present application, before the step 201, the method for adjusting the frequency of the indicator light provided in the embodiment of the present application further includes the following steps 401 and 402:
step 401: the VR handle receives a first input from a user.
Illustratively, the first input is a user input to a Home key on the VR handle.
Specifically, the first input is an input for activating the VR handle.
In this embodiment of the present application, the first input may be any one of the following: long press input, click input, voice input, gesture input, and the like.
Step 402, the VR handle activates the VR handle in response to a first input.
Illustratively, after activation of the VR handle, reception of the first pulse signal transmitted by the UWB base station may begin.
Step 202: the VR handle controls a flicker frequency of a cue light in the VR handle based on the first pulse signal.
Wherein, above-mentioned scintillation frequency is used for the distance between sign wearing equipment and the VR handle.
The first pulse signal is used for indicating distance information between the VR handle and the wearable device.
Illustratively, the indicator light may be an embedded single-chip microcomputer STM32LED light.
Illustratively, the UWB chip in the VR handle receives the first pulse signal and sends the first pulse signal to the STM32 singlechip in the indicator lamp, the STM32 singlechip uses a pulse width modulation PWM technique, outputs a PWM waveform corresponding to the pulse signal at an I/O port of the STM32 singlechip through a timer, and drives the indicator lamp to turn on or off (i.e., the flicker) similar to the breathing frequency based on a duty ratio of the PWM waveform. Wherein, the wave crest in the PWM waveform corresponds to a high level, namely the indicator lamp is lightened, and the wave trough in the PWM waveform corresponds to a low level, namely the indicator lamp is extinguished; the above duty ratio is used to indicate that the time of the high level occupies a percentage of the entire period within one pulse signal period.
It should be noted that, signal transmission can be performed between the UWB chip in the VR handle and the STM32 singlechip through NRF24L01 wireless communication mode, and SPI communication is adopted.
It should be noted that, if the signal width of the first pulse signal is larger, the faster the flicker frequency of the indicator light in the VR handle at this time, the closer the distance between the VR handle and the wearable device is indicated; if the signal width of the first pulse signal is smaller, the flicker frequency of the prompting lamp in the VR handle is slower, and the distance between the VR handle and the wearable device is longer.
Optionally, in the embodiment of the present application, the step 202 may specifically include the following step 202a:
step 202a: the VR handle adjusts the flicker frequency of the indicator light in the VR handle to a target flicker frequency based on the first pulse signal.
Wherein, the target flicker frequency is: a flicker frequency matching a signal width of the first pulse signal.
Illustratively, the signal width of the first pulse signal may be any one of the following: a first signal width, a second signal width, a third signal width, etc.
For example, the signal width of the pulse signal sent by the UWB base station and the flicker frequency have a correspondence relationship, and different signal widths correspond to different flicker frequencies.
The second signal width is larger than the first signal width, and the third signal width is larger than the second signal width.
Illustratively, the target flicker frequency may be any of the following: a first flicker frequency, a second flicker frequency, and a third flicker frequency.
Wherein the second flicker frequency is greater than the first flicker frequency, and the third flicker frequency is greater than the second flicker frequency.
Illustratively, the first flicker frequency may be a flicker frequency that matches a first signal width of the first pulse signal; the second flicker frequency may be a flicker frequency matching a second signal width of the first pulse signal; the third flicker frequency may be a flicker frequency matching a third signal width of the first pulse signal.
It can be understood that if the signal width of the first pulse signal received by the VR handle is larger, the flicker frequency of the indicator light in the VR handle is faster, and the closer the distance between the VR handle and the wearable device is; conversely, if the signal width of the first pulse signal received by the VR handle is smaller, the flicker frequency of the indicator light in the VR handle is slower, and the distance between the VR handle and the wearable device is longer.
So, because VR handle can be according to first pulse signal, with the scintillation frequency adjustment of warning light for the scintillation frequency that matches with first pulse signal's signal width, through above-mentioned scheme, VR handle can be according to the scintillation frequency suggestion user VR handle and the distance between the wearing formula equipment of warning light to guide the user to find the wearing formula equipment that matches with the VR handle fast.
Optionally, in an embodiment of the present application, the first pulse signal is used to indicate a distance between the VR handle and the wearable device.
The signal width of the pulse signal sent by the UWB base station is inversely proportional to the distance between the VR handle and the wearable device.
For example, if the signal width of the first pulse signal received by the VR handle is greater, the closer the VR handle is to the wearable device. Conversely, if the signal width of the first pulse signal received by the VR handle is smaller, the distance between the VR handle and the wearable device is further indicated.
Optionally, in the embodiment of the present application, after the step 202, the method for adjusting the frequency of the indicator light provided in the embodiment of the present application further includes the following step 301:
step 301: and under the condition that the distance between the VR handle indicated by the first pulse signal and the wearable device is smaller than a first threshold value, if the signal width of the received pulse signal in the preset time period is in a preset range, the prompting lamp in the VR handle is controlled to stop flashing.
It is understood that, in the case where the distance between the VR handle and the wearable device is smaller than the first threshold, if the signal width of the pulse signal received within the predetermined period is within the predetermined range, the signal width of the pulse signal received within the predetermined period may be considered to be stabilized. At this time, the indicator light in the VR handle stops flashing and is normally on, which indicates that the distance between the VR handle and the head-mounted device is within the range of distances that can be successfully paired and connected, so that the VR handle and the head-mounted device can be successfully paired and connected.
The first threshold may be set in advance by a user according to specific requirements, for example.
Wherein, the first threshold may be any one of the following: 5 meters, 6 meters, 7 meters, 8 meters, etc.
The predetermined range may be a value range preset by a user according to specific requirements, for example.
Wherein the predetermined range may be any one of the following: 0.085ns-0.095ns, 0.080ns-0.090ns, 0.090ns-0.095ns, etc.
The technical solutions provided in the present application will be exemplarily described below with specific examples.
As shown in fig. 2, the frequency adjustment method of the indicator light provided in the present application may include the following steps S1 to S6:
s1, a UWB base station receives a pulse signal sent by a positioning tag, and positioning data of a VR helmet and a VR handle are obtained based on the pulse signal, wherein the VR helmet and the VR handle are respectively stuck with the positioning tag which can be identified by the UWB base station.
S2.uwb base station transmits positioning data of VR headset and VR handle to IoT positioning platform through PoE switch.
S3, the iot positioning platform calculates distance information between the VR helmet and the VR handle through a specific algorithm based on positioning data sent by the UWB base station, and sends the distance information to the UWB base station through the PoE switch.
S4, the UWB base station generates a first pulse signal based on the distance information fed back by the IoT positioning platform and sends the first pulse signal to the VR handle.
And S5, the UWB chip in the VR handle receives the first pulse signal sent by the UWB base station, and the flicker frequency of the prompting lamp is adjusted based on the signal width of the first pulse signal.
S6, when the distance between the VR helmet and the VR handle is smaller than a certain value, if the signal width of the pulse signal received in the preset time period is within a preset range, the prompting lamp in the VR handle is controlled to stop flashing and is normally on.
For example, as shown in fig. 3, it is assumed that the VR handle 22 and the VR headset 23 (i.e., the wearable device) are located in different rooms, and there is a certain distance between the two rooms, that is, the room in which the VR handle 22 is located is 27, and the room in which the VR headset 23 is located is 28. Taking the case that the positioning labels 24 which can be recognized by the UWB base station are attached to the VR handle 22 and the VR helmet 23, firstly, the UWB base station 21 receives the pulse signals sent by the VR handle 22 and the positioning labels 24 on the VR helmet 23, and calculates positioning data of the VR handle 22 and the VR helmet 23 based on the pulse signals, then, the UWB base station 21 sends the positioning data to the IoT positioning platform 26 through the PoE switch 25, then, the IoT positioning platform 26 calculates distance information between the VR handle 22 and the VR helmet 23 based on the positioning data, and sends the distance information to the UWB base station 21 through the PoE switch 25, secondly, the UWB base station 21 generates a first pulse signal based on the distance information and sends the first pulse signal to the VR handle 22, and in addition, the VR handle 22 receives the first pulse signal sent by the UWB base station 21 and controls the flicker frequency of the prompt lamp 29 in the VR handle 22 based on the first pulse signal, wherein the flicker frequency of the prompt lamp 29 is used for indicating distance between the VR handle and the VR helmet.
In the frequency adjustment method of the indicator light provided by the embodiment of the application, the VR handle can receive the first pulse signal sent by the ultra wideband UWB base station by the electronic device, and control the flicker frequency of the indicator light in the VR handle based on the first pulse signal, wherein the first pulse signal is generated by the UWB base station based on the distance information between the VR handle and the wearable device fed back by the IoT positioning device, the distance information is calculated by the IoT positioning device based on the positioning data of the VR handle and the wearable device measured by the UWB base station, and the flicker frequency is used for representing the distance between the wearable device and the VR handle. Through this scheme, because VR handle can be through the scintillation frequency of warning light, the suggestion user VR handle is far and near with the distance between the wearing formula equipment, can find the wearing formula equipment that corresponds with this VR handle like this fast, consequently, simplified the search process before VR handle and wearing formula equipment pair connection, and then promoted the efficiency of searching the wearing formula equipment that matches with the VR handle.
According to the frequency adjusting method for the indicator lamp, the execution main body can be the frequency adjusting device for the indicator lamp. In this embodiment of the present application, an example of a method for executing frequency adjustment of a warning light by using a frequency adjustment device of a warning light is described.
The embodiment of the application provides a frequency adjusting device of warning light, as shown in fig. 4, frequency adjusting device 400 of this warning light is used for virtual reality VR handle, includes: a receiving module 401 and a processing module 402, wherein: the receiving module 401 is configured to receive a first pulse signal sent by an ultra wideband UWB base station, where the first pulse signal is generated by the UWB base station based on distance information between a VR handle and a wearable device fed back by an IoT positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device measured by the UWB base station; the processing module 402 is configured to control a flicker frequency of a warning light in the VR handle based on the first pulse signal received by the receiving module, where the flicker frequency is used to characterize a distance between the wearable device and the VR handle.
Optionally, in this embodiment of the present application, the processing module 402 is specifically configured to adjust, based on the first pulse signal, a flicker frequency of a warning light in the VR handle to a target flicker frequency, where the target flicker frequency is: a flicker frequency matching a signal width of the first pulse signal.
Optionally, in an embodiment of the present application, the first pulse signal is used to indicate a distance between the VR handle and the wearable device; the signal width of the pulse signal sent by the UWB base station is inversely proportional to the distance between the VR handle and the wearable device.
Optionally, in this embodiment of the present application, the processing module 402 is further configured to, if a distance between the VR handle indicated by the first pulse signal and the wearable device is smaller than a first threshold, control a prompt light in the VR handle to stop flashing if a signal width of the received pulse signal within a predetermined period of time is within a predetermined range.
In the frequency adjusting device of the warning light provided by the embodiment of the application, because the VR handle can be through the first pulse signal that corresponds between VR handle and the wearing formula equipment that ultra wide band UWB base station sent, the scintillation frequency of the warning light in the control VR handle to the distance between suggestion user VR handle and wearing formula equipment before, can find the wearing formula equipment that corresponds with the VR handle according to the scintillation frequency of warning light like this, thereby, simplified the searching process before VR handle and wearing formula equipment pair connection, and then promoted the efficiency of searching the wearing formula equipment that matches with the VR handle.
The frequency adjusting device of the indicator light in the embodiment of the application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The frequency adjustment device of the indicator light in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The frequency adjusting device for the indicator light provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 2, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 5, the embodiment of the present application further provides an electronic device 600, including a processor 601 and a memory 602, where the memory 602 stores a program or an instruction that can be executed on the processor 601, and the program or the instruction implements each step of the frequency adjustment method embodiment of the indicator light when executed by the processor 601, and can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 6 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The input unit 104 is configured to receive a first pulse signal sent by an ultra wideband UWB base station, where the first pulse signal is generated by the UWB base station based on distance information between a VR handle and a wearable device fed back by an IoT positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device measured by the UWB base station; and based on the first pulse signal, controlling the flicker frequency of the prompting lamp in the VR handle, wherein the flicker frequency is used for representing the distance between the wearable device and the VR handle.
Optionally, in an embodiment of the present application, the processor 110 is specifically configured to: based on the first pulse signal, the flicker frequency of the prompt lamp in the VR handle is adjusted to be the target flicker frequency, and the target flicker frequency is: a flicker frequency matching a signal width of the first pulse signal.
Optionally, in an embodiment of the present application, the first pulse signal is used to indicate a distance between the VR handle and the wearable device; the signal width of the pulse signal sent by the UWB base station is inversely proportional to the distance between the VR handle and the wearable device.
Optionally, in an embodiment of the present application, the foregoing processor 110 is further configured to: and under the condition that the distance between the VR handle indicated by the first pulse signal and the wearable device is smaller than a first threshold value, if the signal width of the received pulse signal in the preset time period is in a preset range, controlling a prompting lamp in the VR handle to stop flashing.
In this embodiment of the application, in electronic equipment, because VR handle can be through the VR handle that ultra wide band UWB base station sent and the first pulse signal that wearable equipment interval corresponds, the scintillation frequency of the suggestion lamp in the control VR handle to the distance far and near before suggestion user VR handle and the wearable equipment can be found according to the scintillation frequency of suggestion lamp like this and the wearable equipment that corresponds with the VR handle, thereby, simplified the searching process before VR handle and the wearable equipment pair connection, and then promoted the efficiency of searching the wearable equipment that matches with the VR handle.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 109 may include volatile memory or nonvolatile memory, or the memory 109 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the application further provides a readable storage medium, on which a program or an instruction is stored, where the program or the instruction realizes each process of the frequency adjustment method embodiment of the indicator light when being executed by the processor, and the same technical effect can be achieved, so that repetition is avoided, and no detailed description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the frequency adjustment method embodiment of the indicator lamp, and achieving the same technical effect, so as to avoid repetition, and no further description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the frequency adjustment method embodiment of the indicator light as described above, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A method of frequency adjustment of a cue light, for application to a virtual reality, VR, handle, the method comprising:
receiving a first pulse signal sent by an ultra-wideband UWB base station, wherein the first pulse signal is generated by the UWB base station based on distance information between the VR handle and a wearable device, which is fed back by an internet of things (IoT) positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device, which are measured by the UWB base station;
based on the first pulse signal, the flicker frequency of the prompt lamp in the VR handle is controlled, and the flicker frequency is used for representing the distance between the wearable device and the VR handle.
2. The method of claim 1, wherein controlling the flashing frequency of the indicator light in the VR handle based on the first pulse signal comprises:
based on the first pulse signal, the flicker frequency of the prompt lamp in the VR handle is adjusted to be a target flicker frequency, and the target flicker frequency is: a flicker frequency matched to a signal width of the first pulse signal.
3. The method of claim 2, wherein the first pulse signal is used to indicate a distance between the VR handle and the wearable device;
the signal width of the pulse signal sent by the UWB base station is inversely proportional to the distance between the VR handle and the wearable device.
4. The method of claim 1, wherein after controlling the flashing frequency of the indicator light in the VR handle based on the first pulse signal, the method further comprises:
and under the condition that the distance between the VR handle and the wearable device indicated by the first pulse signal is smaller than a first threshold value, if the signal width of the pulse signal received in the preset time period is in a preset range, controlling a prompt lamp in the VR handle to stop flashing.
5. A frequency adjustment device for a cue light, the device being applied to a virtual reality, VR, handle, the device comprising: a receiving module and a processing module, wherein:
the receiving module is configured to receive a first pulse signal sent by an ultra wideband UWB base station, where the first pulse signal is generated by the UWB base station based on distance information between the VR handle and a wearable device fed back by an IoT positioning device, and the distance information is calculated by the IoT positioning device based on positioning data of the VR handle and the wearable device measured by the UWB base station;
the processing module is used for controlling the flicker frequency of the prompt lamp in the VR handle based on the first pulse signal received by the receiving module, wherein the flicker frequency is used for representing the distance between the wearable device and the VR handle.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the processing module is specifically configured to adjust a flicker frequency of the indicator light in the VR handle to a target flicker frequency based on the first pulse signal, where the target flicker frequency is: a flicker frequency matched to a signal width of the first pulse signal.
7. The apparatus of claim 6, wherein the first pulse signal is to indicate a distance between the VR handle and the wearable device;
the signal width of the pulse signal sent by the UWB base station is inversely proportional to the distance between the VR handle and the wearable device.
8. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the processing module is further configured to, when a distance between the VR handle indicated by the first pulse signal and the wearable device is smaller than a first threshold, control a prompt lamp in the VR handle to stop flashing if a signal width of the received pulse signal in a predetermined period of time is within a predetermined range.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of frequency adjustment of an indicator light according to any one of claims 1-4.
10. A readable storage medium, characterized in that it has stored thereon a program or instructions which, when executed by a processor, implement the steps of the method for frequency adjustment of an indicator light according to any of claims 1-4.
CN202310187744.8A 2023-02-28 2023-02-28 Frequency adjusting method and device of indicator lamp, electronic equipment and medium Pending CN116193680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310187744.8A CN116193680A (en) 2023-02-28 2023-02-28 Frequency adjusting method and device of indicator lamp, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310187744.8A CN116193680A (en) 2023-02-28 2023-02-28 Frequency adjusting method and device of indicator lamp, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN116193680A true CN116193680A (en) 2023-05-30

Family

ID=86432476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310187744.8A Pending CN116193680A (en) 2023-02-28 2023-02-28 Frequency adjusting method and device of indicator lamp, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116193680A (en)

Similar Documents

Publication Publication Date Title
CN109388220B (en) Power supply management method and mobile terminal
AU2013324507B2 (en) Low energy short range communication function operation method and apparatus of mobile terminal
EP2733995B1 (en) Control method and device for awaking intelligent terminal
CN106055097B (en) Bright screen control method and device and electronic equipment
US10244099B2 (en) Method and device for determining status of terminal, and terminal
CN107196363B (en) Method for adjusting charging current, terminal and computer readable storage medium
CN110989882B (en) Control method, electronic device and computer readable storage medium
KR102630526B1 (en) Electroic device for charging battery and method of operating thereof
CN109633683B (en) Transmitting module, time of flight (TOF) module, mobile terminal and depth detection method
CN107832689B (en) Fingerprint identification method and mobile terminal
US20100128571A1 (en) Method for controlling morning call of mobile terminal and mobile terminal using the same
CN108628217B (en) Wearable device power consumption control method, wearable device and computer-readable storage medium
US20150052375A1 (en) Information processing method and electronic device
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
WO2019149044A1 (en) Method of controlling screen to turn on or off, and mobile terminal
KR20150069625A (en) Apparatus and method for controlling a display in electronic device
US20210226810A1 (en) Control method and device for home device and storage medium
US20220141390A1 (en) Photographing method, device, and system, and computer-readable storage medium
CN111651030A (en) Sensor detection method and device, storage medium and mobile terminal
KR101852816B1 (en) Mobile terminal and method for controlling the same
CN112509510A (en) Brightness adjusting method and device and electronic equipment
CN116193680A (en) Frequency adjusting method and device of indicator lamp, electronic equipment and medium
CN109947345B (en) Fingerprint identification method and terminal equipment
CN109144860B (en) Operation method for control object and terminal 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