CN110121091A - A kind of control method and equipment of wireless speech remote controler - Google Patents

A kind of control method and equipment of wireless speech remote controler Download PDF

Info

Publication number
CN110121091A
CN110121091A CN201910334800.XA CN201910334800A CN110121091A CN 110121091 A CN110121091 A CN 110121091A CN 201910334800 A CN201910334800 A CN 201910334800A CN 110121091 A CN110121091 A CN 110121091A
Authority
CN
China
Prior art keywords
remote controler
wireless speech
speech remote
key
subsystem
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
CN201910334800.XA
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.)
Zhuhai Tozhiny Electronics & Technology Co Ltd
Original Assignee
Zhuhai Tozhiny Electronics & 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 Zhuhai Tozhiny Electronics & Technology Co Ltd filed Critical Zhuhai Tozhiny Electronics & Technology Co Ltd
Priority to CN201910334800.XA priority Critical patent/CN110121091A/en
Publication of CN110121091A publication Critical patent/CN110121091A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • H04N21/41265The peripheral being portable, e.g. PDAs or mobile phones having a remote control device for bidirectional communication between the remote control device and client device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses the control methods and equipment of a kind of wireless speech remote controler, the control method of wireless speech remote controler is realized based on the mode of low-power consumption bluetooth digital speech, and digital microphone is activated to work using by voice key and microphone aperture, it realizes and captures enough high-quality speech records, speech recognition engine is sent to based on LE after over-sampling, PCM data conversion, quantization, coding, handles text results then to obtain the order of user;The above method can not only improve the reliability of operation, the transmission range of signal and anti-interference, influence signal transmitting by barrier;It is also able to achieve two-way communication and solves the Interoperability of distinct device, using advanced speech-sound intelligent control technology, Digiplex can also significantly extend battery life.

Description

A kind of control method and equipment of wireless speech remote controler
Technical field
The present invention relates to wireless speech control field, the especially a kind of control method and equipment of wireless speech remote controler.
Background technique
Although each manufacturer is in design remote controler currently, more and more smart televisions, STB are connected to internet When, it mainly based on the production of IR remote controler, is interacted, is inputted on screen a large amount of non-using between IR remote controler and equipment The symbol string of actual content, user need to key in by cumbersome button operation and the mobile cursor of slow speed;IR is distant Control device signal transmitting is also easy to be influenced by barrier, and when use needs to use the reception of the accurate sensing equipment of transmitting terminal of remote controler End, there are very high limitations on;And the BR/EDR Digiplex power consumption of standard is excessive, and there are shortened battery lifes Hidden danger;So to eventually lead to user experience bad for the remote control mode of IR remote controler, using being inconvenient.
Summary of the invention
For overcome the deficiencies in the prior art, the purpose of the present invention is to provide a kind of controlling parties of wireless speech remote controler Method and equipment are mainly wirelessly connected by radiofrequency signal and smart television, have energy saving, at low cost, data transmission security The advantages of, and can solve traditional infrared remote controler and carry out instruction transmission belt width by infrared light, it is disturbed influence greatly and send The problem of the short inconvenience of communication distance.
Technical solution used by the present invention solves the problems, such as it is:
In a first aspect, the present invention provides a kind of control methods of wireless speech remote controler, comprising the following steps:
The booting of wireless speech remote controler, each subsystem of the wireless speech remote controler enter init state;
Each subsystem in the wireless speech remote controler is polled by threshold time interval;
When the wireless speech remote controler encryption information storage in a device and be effective " white list ", it is described wireless Voice remote controller is scanned and is scanned for using the encryption information with the equipment, and link is completed;
Pressing voice push button signalling is sent to the host of the wireless speech remote controler, activates speech pattern, the host It carries out voice and prepares state;
If preparing state when the wireless speech remote controler carries out voice, judge whether the voice key is pressed;
If it does, then judging whether the last voice key presses;
If it is, the wireless speech remote controler continues signal speech sampling, audio codec records voice Data;
If it is not, then the wireless speech remote controler initializes the audio codec, then the wireless speech is distant It controls device and carries out signal speech sampling, the audio codec records voice data;
After the completion of sampled audio signal, audio subsystem compresses audio data, and the voice data stream of compression is stored in caching In sector's column;
When detecting that buffer area queue has new voice data stream, by new voice data stream beating using audio subsystem Packet device is transferred to equipment by airlink by bluetooth protocol repertory;
When voice key does not press, then whether system queries last time voice key discharges, wireless if release Voice remote controller returns to a upper operating mode;
When inquiring last voice key without release, then stop this signal sampling, the audio codec stops, nothing Line voice remote controller sends voice halt instruction to equipment, empties voice data queue voice data stream;
Equipment is integrated into a complete audio pack to completion transmission voice flow partition and refers to for identifying that engine is decoded and executed It enables.
Further, described when the encryption information of the wireless speech remote controler stores in a device and is effective " white name It is single ", the wireless speech remote controler is scanned and is scanned for using the encryption information with the equipment, is gone back after completing link Include:
Into operating status;
Judge within the first threshold time of operating status with the presence or absence of User Activity;
If it is, remaining operational state;
If it is not, then being switched to idle state;
Judge within the second threshold time of idle state with the presence or absence of User Activity;
If it is, being switched to operating status;
If it is not, then being switched to dormant state;
If it is not, then judging in dormant state with the presence or absence of User Activity;
If it is, being switched to operating status;
If it is not, then keeping dormant state.
By the judgement to the User Activity situation between wireless speech remote controler and equipment, it is distant to switch wireless speech in real time The state (operating status, idle state and dormant state) of device is controlled, the service life of battery is effectively extended.
Further, further comprising the steps of after the wireless speech remote controler booting:
Detection is carried out to the battery voltage value of wireless speech remote controler and judges whether the threshold value for being lower than voltage;
If it is, being switched to off-mode.
Wireless speech remote controler is switched to off-mode when battery is in low-pressure state, effective protection battery also reaches To the effect in the service life for extending battery.
Further, the subsystem includes: BLE subsystem, audio subsystem, key subsystem, IR subsystem and LED Subsystem.
Pass through being total to for the subsystems such as BLE subsystem, audio subsystem, key subsystem, IR subsystem and LED subsystem With cooperation running, the low energy consumption connection of wireless speech remote controler, voice control are completed and by functions such as key controls.
Further, the operation of the BLE subsystem includes:
Judge whether to press link key;
If it is, judging whether wireless speech remote controler has completed linking bluetooth;
If it is not, then sending non-directional advertisement;
If it is not, then judging whether to have detected User Activity;
If so, then judging whether wireless speech remote controler has completed linking bluetooth;
If it is not, then judging whether broadcast message can be used;
If so, starting targeted ads;
If wireless speech remote controler has completed linking bluetooth, data packet is transmitted.
It realizes that low-power consumption bluetooth digital speech links using BLE system, can not only improve the reliability of operation, can also mention The transmission range and anti-interference ability of high RST, while realizing two-way communication and solving the interoperability of distinct device.
Further, the operation of the audio subsystem includes:
Judge whether to press voice key;
If it is not, then whether voice key is in the state of release during judging last poll;
If it is not, then stopping audio coder;
If it is, whether voice key is in the state pressed during judging last poll;
If it is, carrying out audio coding;
If it is not, then initialization audio coder, then carries out audio coding.
It completes to carry out sampling and accurate decoding to user speech instruction record using audio subsystem, it will be decoded Order is transmitted to equipment and works.
Further, the operation of the key subsystem includes:
Scan the key in keyboard matrix;
Judge whether to press arbitrary new key;
If it is not, then judging whether any key discharges;
If so, sending key detection;
If it is not, then judging whether any key is still being pressed;
If so, judgement keeps data packet to whether there is time-out;
If so, sending key detection;
If it is, judging whether key is found;
If it is, reducing the Key dithering value of element in queue;
If it is not, then key is added in queue, the Key dithering value of element in queue is then reduced;
Judge whether Key dithering value is 0;
If it is, sending key detection.
It is completed using key subsystem to functions such as link, the controls of target device, it is effectively anti-by above-mentioned operation Only the transmission situation of bad command occurs.
Further, the operation of the IR subsystem includes:
Judge whether the BLE subsystem is linked;
If it is, sending data using BLE subsystem;
If it is not, then judging whether IR subsystem starts;
If it is not, then starting IR subsystem;
If it is, judging whether the order of IR subsystem is effective;
If it is, sending order by IR subsystem.
IR subsystem uses IR after the Radio Link of BLE subsystem links failure as second of pairing link of auxiliary Subsystem is attempted to establish and be linked again, and the function for the dual fail-safe protection that double-strand connects is reached.
Further, the operation of the LED subsystem includes:
Judge whether wireless speech remote controler is linked;
If it is not, then LED warning light carries out fast blink;
If it is, judging whether the link of wireless speech remote controler is wrong or overtime;
If it is, LED warning light is flashed at a slow speed;
If it is not, then judging whether the battery of wireless speech remote controler alarms;
If it is, LED warning light carries out 5 fast blinks;
If it is not, then the holding of LED warning light is always on.
State status using LED subsystem to user feedback wireless speech remote controler in operation, enables users to It is enough accurately to know situation, it improves using perception.
Second aspect, the present invention provides a kind of equipment of the control method of wireless speech remote controler, including at least one Control processor and memory for being communicated to connect at least one control processor;Memory is stored with can be by least one The instruction that control processor executes, instruction is executed by least one control processor, so that at least one control processor can Execute a kind of control method of wireless speech remote controler as described above.
The third aspect, the present invention provides a kind of computer readable storage medium, computer-readable recording medium storage has Computer executable instructions, computer executable instructions are for making computer execute a kind of wireless speech remote controler as described above Control method.
Fourth aspect, the present invention also provides a kind of computer program product, the computer program product includes storage Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs When being computer-executed, computer is made to execute a kind of control method of wireless speech remote controler as described above.
The one or more technical solutions provided in the embodiment of the present invention, at least have the following beneficial effects:
A kind of control method of wireless speech remote controler, comprising the following steps: complete between wireless speech remote controler and equipment It is linked at pairing and enters operating status;Judge within the first threshold time of operating status with the presence or absence of User Activity;If It is then to remain operational state;If it is not, then being switched to idle state;Judge within the second threshold time of idle state whether There are User Activities;If it is, being switched to operating status;If it is not, then being switched to dormant state;If it is not, then judging It whether there is User Activity when dormant state;If it is, being switched to operating status;If it is not, then keeping dormant state;Pass through Judgement to the User Activity situation between wireless speech remote controler and equipment switches the state of wireless speech remote controler in real time (operating status, idle state and dormant state), effectively reduce it is average using power, improve battery electric energy use it is effective Property, while extending the service life of battery.
Detailed description of the invention
The invention will be further described with example with reference to the accompanying drawing.
Fig. 1 is a kind of flow chart of the control method for wireless speech remote controler that the embodiment of the present invention one provides;
Fig. 2 is the of one of the control method of the wireless speech remote controler embodiment that the embodiment of the present invention one provides One flow chart;
Fig. 3 is the of one of the control method of the wireless speech remote controler embodiment that the embodiment of the present invention one provides Two flow charts;
Fig. 4 is a kind of operation workflow figure of BLE subsystem provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of operation workflow figure for audio subsystem that the embodiment of the present invention three provides;
Fig. 6 is a kind of operation workflow figure for key subsystem that the embodiment of the present invention four provides;
Fig. 7 is a kind of operation workflow figure for IR subsystem that the embodiment of the present invention five provides;
Fig. 8 is a kind of operation workflow figure for LED subsystem that the embodiment of the present invention six provides;
Fig. 9 is that a kind of Prism software by running on PC provided in an embodiment of the present invention receives aerial bluetooth by USB Received on intelligent ready device with dB full scale audio data figure;
Figure 10 is that one kind provided in an embodiment of the present invention reads output total harmonic distortion on wireless speech remote controller signal With the datagram of noise variation;
Figure 11 is a kind of 8000Hz for the input of wireless speech remote controler voice provided in an embodiment of the present invention to 200Hz's The datagram of sensitivity in frequency range;
Figure 12 is a kind of audio quality Parameter Map of wireless speech remote controler provided in an embodiment of the present invention;
Figure 13 is a kind of structural schematic diagram of the equipment of wireless speech remote controler provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of wireless speech remote controler provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
It should be noted that each feature in the embodiment of the present invention can be combined with each other, in this hair if do not conflicted Within bright protection scope.In addition, though having carried out functional module division in schematic device, shows patrol in flow charts Sequence is collected, but in some cases, it can be shown in the sequence execution in the module division being different from device or flow chart The step of out or describing.
Referring to Fig.1-2, the present invention provides a kind of control methods of wireless speech remote controler, by being remotely controlled to wireless speech The judgement of User Activity situation between device and equipment switches state (operating status, idle shape of wireless speech remote controler in real time State and dormant state), effectively extend the service life of battery, comprising the following steps:
The booting of wireless speech remote controler;
Initializing all subsystems (includes: BLE subsystem, audio subsystem, key subsystem, IR subsystem and LED Subsystem);
Wireless speech remote controler enters operating status;
Judge within the first threshold time of operating status with the presence or absence of User Activity;
If it is, remaining operational state;
If it is not, then being switched to idle state;
Judge within the second threshold time of idle state with the presence or absence of User Activity;
If it is, being switched to operating status;
If it is not, then being switched to dormant state;
If it is not, then judging in dormant state with the presence or absence of User Activity;
If it is, being switched to operating status;
If it is not, then keeping dormant state.
Referring to Fig. 3, the present invention provides a kind of control method of wireless speech remote controler, the wireless speech remote controler is set It is further comprising the steps of after standby booting:
(including operating status, idle state, dormant state) detection is carried out to the battery voltage value of wireless speech remote controler Judge whether the threshold value lower than voltage;
If it is, being switched to off-mode.
Referring to Fig. 4, one of embodiment of the invention realizes that low-power consumption bluetooth digital speech links using BLE system, The reliability that operation can not only be improved, can also improve the transmission range and anti-interference ability of signal, while realize two-way communication With the interoperability for solving distinct device.The operation of BLE subsystem includes the following steps:
Judge whether to press link key;
If it is, judging whether wireless speech remote controler has completed linking bluetooth;
If it is not, then sending non-directional advertisement;
If it is not, then judging whether to have detected User Activity;
If so, then judging whether wireless speech remote controler has completed linking bluetooth;
If it is not, then judging whether broadcast message can be used;
If so, starting targeted ads;
If wireless speech remote controler has completed linking bluetooth, data packet is transmitted.
Referring to Fig. 5, one of embodiment of the invention, audio subsystem can be completed to instruct record to user speech Sampling and accurate decoding are carried out, decoded order is transmitted to equipment and is worked.The operation packet of audio subsystem Include following steps:
Judge whether to press voice key;
If it is not, then whether voice key is in the state of release during judging last poll;
If it is not, then stopping audio coder;
If it is, whether voice key is in the state pressed during judging last poll;
If it is, carrying out audio coding;
If it is not, then initialization audio coder, then carries out audio coding.
Referring to Fig. 6, one of embodiment of the invention, key subsystem can be realized link, control to target device The functions such as system, effectively prevent the transmission situation of bad command to occur by above-mentioned operation.The operation of key subsystem The following steps are included:
Scan the key in keyboard matrix;
Judge whether to press arbitrary new key;
If it is not, then judging whether any key discharges;
If so, sending key detection;
If it is not, then judging whether any key is still being pressed;
If so, judgement keeps data packet to whether there is time-out;
If so, sending key detection;
If it is, judging whether key is found;
If it is, reducing the Key dithering value of element in queue;
If it is not, then key is added in queue, the Key dithering value of element in queue is then reduced;
Judge whether Key dithering value is 0;
If it is, sending key detection.
Referring to Fig. 7, one of embodiment of the invention is using IR subsystem as second of pairing link of auxiliary System is attempted foundation using IR subsystem and is linked again, reach what double-strand connect after the Radio Link of BLE subsystem links failure The function of dual fail-safe protection.The operation of IR subsystem the following steps are included:
Judge whether BLE subsystem is linked;
If it is, sending data using BLE subsystem;
If it is not, then whether IR subsystem starts;
If it is not, then starting IR subsystem;
If it is, judging whether the order of IR subsystem is effective;
If it is, sending order by IR subsystem.
Referring to Fig. 8, one of embodiment of the invention utilizes the flashing length of the LED light of LED subsystem, flashing time Number etc., to state status of the user feedback wireless speech remote controler in operation, allows users to accurately know situation, mention Height uses perception.The operation of LED subsystem the following steps are included:
Judge whether wireless speech remote controler is linked;
If it is not, then LED warning light carries out fast blink;
If it is, judging whether the link of wireless speech remote controler is wrong or overtime;
If it is, LED warning light is flashed at a slow speed;
If it is not, then judging whether the battery of wireless speech remote controler alarms;
If it is, LED warning light carries out 5 fast blinks;
If it is not, then the holding of LED warning light is always on.
One of embodiment of the invention provides a kind of control method of wireless speech remote controler, wireless speech remote control The control of device is to be realized based on the mode of low-power consumption bluetooth digital speech, and swash using by voice key and microphone aperture Digital microphone work living is realized and captures enough high-quality speech records, through over-sampling, PCM data conversion, quantization, coding Speech recognition engine is sent to based on LE later, handles text results then to obtain the order of user, comprising the following steps:
After the booting of wireless speech remote controler, the system of wireless speech remote controler enters equipment init state.BLE is wireless language Voice remote control device equipment initialize all subsystems (include: BLE subsystem, audio subsystem, key subsystem, IR subsystem and LED subsystem), after the completion of initialization procedure, BLE wireless speech remote controller equipment is converted to operating status.
After wireless speech remote controler enters operating status, the reporting rate of wireless speech remote controler under operation is 100Hz;To meet this requirement, each input subsystem (such as key subsystem) in wireless speech remote controler with 10ms when Between be spaced and be polled, wireless speech Remote software detects User Activity situation, collect data from corresponding input subsystem, And Radio Link connection is carried out with equipment such as TV, STB blue-tooth intelligences.
When the encryption information of wireless speech remote controller equipment is stored in TV, in STB blue-tooth intelligence equipment and be effective " white list ", then wireless speech remote controler and bluetooth, STB smart machine are scanned using this encryption information, are searched for and subsequent chain It connects.
When the facility information of wireless speech remote controler is in TV blue-tooth intelligence equipment and effectively " white list ", to be in The wireless speech remote controler of linking status sends this data by blue-tooth intelligence chain road direction according to HOGP specification in the air.
When the facility information of wireless speech remote controler is not in TV blue-tooth intelligence equipment, then press link key (OK and HOME key) 3 seconds, wireless speech remote controler will enter pairing mode, and wireless speech remote controler will send intelligent TV set or STB The order of blue-tooth intelligence equipment
When wireless speech remote controler enters pairing advertisement mode, then LED light will be opened with 200 milliseconds and 200 milliseconds are closed Rate flash for prompting.
After the success of wireless speech remote controler is with device pairing, wireless speech remote controler can issue 2 of short duration LED indications Lamp flashing.
When wireless speech remote controler is not linked to equipment (such as smart television, STB blue-tooth intelligence equipment), wireless speech remote control The BLE subsystem of device can re-establish connection to airlink sending advertisement.
When the ancillary equipment of wireless speech remote controler is connected to softdog, when link occurring losing, then user will with LED light fast blink notice is received in the activity of family.
After the airlink failure of the BLE subsystem of wireless speech remote controler, we use wireless speech remote controler IR subsystem come assist second of pairing link, attempt establish link again when, wireless speech remote controler is assisted using NEC IR Or SAMSUNG IR agreement, an effective control command is sent by IR subsystem and restarts target device, to attempt again Establish connection.
One of embodiment of the invention, provides a kind of control method of wireless speech remote controler, and further improvement is matched To mode, the specific steps are as follows:
Wireless speech remote controler does not support the control function of IR subsystem under the bluetooth mode of STB, only supports pairing IR It assists linking functions (can also be functions of navigation keys);
For wireless speech remote controler under pairing mode, wireless speech remote controler does not allow accessing TV mode and program sequence;
Wireless speech remote controler allows to match and unpaired sequence;
When pressing suspension key when (such as BACK or HOME key), the system of wireless speech remote controler stops to match immediately Then mode sends corresponding IR message.(when system detection then sends BACK to BACK is pressed, if the system detects that pressing HOME then sends HOME);
If pressing link key (OK and HOME key) starting again to be matched with equipment, wireless speech remote controler is deleted Except first pairing and restart pairing mode;
When pressing link key (OK and HOME key) for 3 seconds or longer time of wireless speech remote controler, wireless language Voice remote control device should cancel pairing and remove " white list " of its matching table.Wireless speech remote controler sends error code 0x2B to Equipment (such as smart television, STB blue-tooth intelligence equipment).When receiving error code 0x2B from wireless speech remote controler, equipment (such as smart television, STB blue-tooth intelligence equipment) deletes unpaired message table.
One of embodiment of the invention provides a kind of control method of wireless speech remote controler, comprising the following steps:
If wireless speech remote controler is without User Activity within 3 second time, wireless speech remote controler is converted to the free time State;
When wireless speech remote controler is in operating status or idle state, the electricity of the 1 wireless speech remote controler of monitoring in every 3 seconds Cell voltage situation, to save electricity.
When wireless speech remote controler system detection to its battery voltage be lower than voltage first threshold (for example 2.0V) When, it will start LED light and carry out flashing instruction at a slow speed, feed back battery condition.
When wireless speech remote controler system detection to its battery voltage be lower than voltage second threshold (for example 1.8V), Wireless speech remote controler is converted to close off state.
When wireless speech remote controler enters idle state from active state, the system of wireless speech remote controler is with 125 milliseconds Polling interval User Activity is polled, to save electric energy.
If there are any User Activity, every other subsystems to interrupt for wireless speech remote controler.
The link of the system holding BLE subsystem of wireless speech remote controler has 10 milliseconds of connection interval and 100 The slave delay of millisecond.
When the system of wireless speech remote controler does not detect that any User Activity, wireless speech remote controler will be returned and run State.
One of embodiment of the invention provides a kind of control method of wireless speech remote controler, comprising the following steps:
When wireless speech remote controler does not detect any activity in 10 seconds, the system of wireless speech remote controler is switched to Dormant state;
As the voltage of the battery of wireless speech remote controler is lower than the second threshold (for example 1.8V) of voltage, wireless speech remote control The system of device is switched to off-mode;
When the system of wireless speech remote controler enters dormant state, the system setting of wireless speech remote controler from idle state For every 250 milliseconds of polls one-touch subsystem;
At this time wireless speech remote controler and the bluetooth mode of equipment link be set to 10 milliseconds, equipment delay is set It is set to 100 milliseconds;
In this case, the every other subsystem of wireless speech remote controler can all generate interruption on User Activity, so The system of wake on wireless voice remote controller works afterwards, and will be switched to active state;
When the voltage of the battery of wireless speech remote controler is lower than the second threshold (for example 1.8V) of voltage, then wireless speech is distant Control device is switched to off-mode.
Wireless speech remote controler in this embodiment is entering dormant state, device systems power consumption phase in the dormant state It is lower to compare idle state, provides sufficient guarantee for the battery energy-saving of wireless speech remote controler.
One of embodiment of the invention provides a kind of control method of wireless speech remote controler, comprising the following steps:
When the voltage of the battery of wireless speech remote controler is lower than the second threshold (for example 1.8V) of voltage, wireless speech remote control Device enters off-mode.
In the power-offstate, wireless speech remote controler closes all subsystems (including BLE subsystem), while wireless speech The MCU of remote controler stops (including the stopping to BLE subsystem).This effectively can not work normally wireless speech remote controler, Purpose requires user to replace battery in this state so that wireless speech remote controler is run again.
Wireless speech remote controler is in other states (including operating status, dormant state, the idle state in addition to off-mode Deng) in, every primary monitoring in 3 seconds is carried out to the battery in wireless speech remote controler, and MCU (PRoC BLE) is in any possibility In the case where can enter dormant state.
When wireless speech remote controler be in User Activity, idle state, deep sleep, it is a kind of in multimode cyclic switching when, If the voice key of user's pressing keys subsystem, system reports the voice key of pressing keys subsystem to host equipment, Then wireless speech remote controler activates speech pattern, and host equipment carries out voice and prepares state.
If preparing state when wireless speech remote controler carries out voice, then judge whether the voice key of key subsystem is pressed Under;
If the voice of wireless speech remote controler press key pressing, then inquire last key subsystem voice key whether Pressing;
If the voice key press of last key subsystem, then wireless speech remote controler then continues with 8k Samples/s signal speech sampled audio codec records voice data;
If the voice key of last key subsystem does not press, wireless speech remote controler initializes audio coding decoding Device, then wireless speech remote controler then records voice data with 8k Samples/s signal speech sampled audio codec;
After the completion of the audio codec of audio subsystem detects sampled audio signal, audio subsystem is used 16 Audio data compressions are 4 by ADPCM algorithm, and compression voice data stream is stored in buffer area queue;
When wireless speech remote controler detects that buffer area queue has a new voice data stream, program is by new voice data stream Equipment (such as smart television, STB blue-tooth intelligence equipment) is given by transmission of radio links by BLE protocol stack using packing device;
When voice key does not press, then inquire last voice key whether release conditions, if release conditions Wireless speech remote controler returns to a upper operating mode;
When inquiring last voice key in no release conditions, then system stops this signal sampling, audio coding decoding Device stops, and wireless speech remote controler sends voice halt instruction to equipment (such as smart television, STB blue-tooth intelligence equipment), empties Voice data queue voice data stream.
Equipment (such as smart television, STB blue-tooth intelligence equipment) ready for receiving equipment is integrated to transmission voice flow partition is completed At a complete audio pack for identification engine decoding, executes instruction and achieve the purpose that carrying out close friend with user interacts.
One of embodiment of the invention provides a kind of control method of wireless speech remote controler, wireless speech remote control The emphasis of device is to be that voice quality is most important to whole equipment system, and voice messaging inferior will affect user experience, sternly It will be unable to the phonetic order of identification user in the case where weight;First is to need to close due to BLE wireless speech remote controler use environment Note ambient noise is added to normal original audio signal;Second is can often occur multiple interference signals in a frequency range, Multiple connection event data packets are caused to be distorted, wireless BLE protocol stack is retransmitted in next data packet request, and significantly reduces band Width causes sound bite loss of data, and voice obtains brilliant voice data for equipment, if we are to step wireless speech The voice of remote controler presses key pressing, then inquires the control method whether the voice key of last key subsystem presses and do into one Step is improved, comprising the following steps:
Wireless speech remote controler detects that voice key press, wireless speech remote controler (are configured using HOGP based on GATT The HID of file) configuration file sends mute command key and reports and give equipment (such as smart television or set-top box), close background sound Sound output;
Audio sample rate is increased to 16 16k Samples/ from 8k Samples/s by the sampling unit of audio subsystem S, 16 samplings, which are turned up, can ensure that enough sound pressure level ranges, and wireless speech remote controler can capture enough voice messagings, So as to the identification of voice to text operation working properly;
The audio subsystem of wireless speech remote controler is received by I2S interface from INMP441 codec (16,16kHz) The configuration for collecting audio data adpcm encoder, according to the system channel congestion situations of wireless speech remote controler, monitor error rate and Instant available bandwidth and reduce and support adaptive audio rate Mechanism, will so as to switch between different output speeds 16 audio samples generate one 4 or 3 samplings, effectively prevent improving the appearance of data packet frame losing problem.
In the same wireless zone identical frequency equipment serious interference, the link of BLE subsystem may undergo RF number According to being remarkably decreased for rate, the BLE channel mapping hopping of BLE subsystem is opened to solve this problem, main equipment will be examined Impacted frequency range is surveyed, and implements channel map updating program.
For ease of illustration control method of the invention, in conjunction with attached drawing X-X, to the controlling party of wireless speech remote controler of the present invention Method elaborates:
The microphone of audio analyzer drive the speaker and wireless speech remote controler keeps passing through audio at a distance from 1.2 meters Analyzer observation usb audio output wireless speech remote control appliance has following technical parameter and input/output argument:
1, data are fed to the Mike of wireless speech remote controler using loudspeaker sounding by such as Fig. 9, audio analyzer hardware Wind is full with dB by receiving on the intelligent ready device of USB reception wireless blue tooth intelligence by the Prism software run on PC Range audio data;
2, such as Figure 10 reads the data of output total harmonic distortion and noise variation on the signal of wireless speech remote controler;
3, such as Figure 11 is sensitive in the frequency range of the 8000Hz to 200Hz of the voice input of wireless speech remote controler Degree evidence;
4, such as Figure 12 is audio quality parameter.
For above-mentioned test data, it can show that loudspeaker input changes from the μ of 2V to 20 V of Prism generator, the sound of generation Sound is in normal voice rank (96-20dbSPL), reads output total harmonic distortion and noise from Prism software, this is SNR Negative effect.
As can be seen that it is about 27dB that SNR, which is maximized, from figure X-X, this is desired by ADPCM type coding and decoding scheme , the range of linearity observed is about 33dB.
The discontinuity of low range is directed toward the step by step modulating with the ADPCM algorithm of RF interference in intermediate range once in a while. This is not repeatable measurement, and depends on the scanning of input range and ADPCM seed, as a result will variation.This only shows me The maximum THD-N that can be obtained in ADPCM system.In order to obtain better data result, do not having from audio Test is executed in the case where the amplitude scan of device, and is observed the THD-N of single amplitude whithin a period of time and should be weighed Build the figure.
The frequency sensitivity of voice input, the purpose of implementation are to observe ADPCM and encode to whether there is with I2S codec to appoint What frequency selectivity, is observed in the frequency range of 8000Hz to 200Hz, and maximum deviation is -8dBFS to 3dBFS.
Here, being especially illustrated, a kind of implementation effect of the data in the figure X-X of above-mentioned offer only to illustrate the invention Fruit does not list the technical data of full working scope condition whole, and the data measured in actual use are more, calculates knot Fruit is more accurate, and sound effect also will be more preferable.
In the above-described embodiments, preferred forms of the invention are described, it is obvious that in invention structure of the invention Under think of, many variations can be still made, can be used simultaneously with original control model in actual use, and use one Speech pattern key come switch the control mode of wireless speech remote controler with realize with equipment (such as smart television or set-top box) Carry out voice interface effect, in addition, the control model of above-mentioned wireless speech remote controler can also be used in common television set, In other electric equipment products such as STB, does not need only to carry out airlink Scanning Detction to blue-tooth intelligence ready device, need basis TV or STB brand, which find corresponding IR agreement, can open TV, carry out channel and volume, video source switching, equally It can achieve the purpose of control.Here, it should be noted that any change made under inventive concept of the invention is fallen within In protection scope of the present invention.
Referring to Fig.1 3, the embodiment of the invention also provides a kind of equipment of the control method of wireless speech remote controler, the nothings The equipment 200 of the control method of line voice remote controller can be any type of intelligent terminal, such as mobile phone, tablet computer, a People's computer etc..
Specifically, the equipment 200 of the control method of the wireless speech remote controler includes: one or more control processors In 201 and memory 202, Figure 14 by taking a control processor 201 as an example.
Control processor 201 can be connected with memory 202 by bus or other modes, to pass through bus in Figure 14 For connection.
Memory 202 is used as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, non- Transitory computer executable program and module, the control method such as the wireless speech remote controler in the embodiment of the present invention are corresponding Program instruction/module.Control processor 201 by operation be stored in memory 202 non-transient software program, instruction with And module, realize the control method of the wireless speech remote controler of above method embodiment.
Memory 202 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area can store the control method according to wireless speech remote controler Use created data etc..In addition, memory 202 may include high-speed random access memory, it can also include non-temporary State memory, for example, at least a disk memory, flush memory device or other non-transient solid-state memories.In some realities It applies in mode, optional memory 202 includes the memory remotely located relative to control processor 201, these remote memories It can be by being connected to the network to the equipment 200 of the control method of the wireless speech remote controler.The example of above-mentioned network includes but not It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more module is stored in memory 202, is executed when by one or more control processor 201 When, the control method of one of above method embodiment wireless speech remote controler is executed, for example, executing Fig. 1 described above In method and step, the method and step in Fig. 2.
The embodiment of the invention also provides a kind of computer readable storage medium, computer-readable recording medium storage has meter Calculation machine executable instruction, the computer executable instructions are executed by one or more control processors, for example, by one in Figure 14 A control processor 201 executes, and said one or multiple control processors 201 may make to execute one in above method embodiment The control method of kind wireless speech remote controler, for example, the method and step in Fig. 1 described above is executed, the method step in Fig. 2 Suddenly.
The apparatus embodiments described above are merely exemplary, wherein unit can be as illustrated by the separation member Or it may not be and be physically separated, it can it is in one place, or may be distributed over multiple network units. Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can borrow Help software that the mode of general hardware platform is added to realize.It will be appreciated by those skilled in the art that realizing in above-described embodiment method All or part of the process is relevant hardware can be instructed to complete by computer program, program can be stored in a calculating In machine read/write memory medium, the program is when being executed, it may include such as the process of the embodiment of the above method.Wherein, storage Medium can be magnetic disk, CD, read-only memory (ReadOnly Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to above-mentioned embodiment party above Formula, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.

Claims (10)

1. a kind of control method of wireless speech remote controler, which comprises the following steps:
The booting of wireless speech remote controler, each subsystem of the wireless speech remote controler enter init state;
Each subsystem in the wireless speech remote controler is polled by threshold time interval;
When the encryption information of the wireless speech remote controler stores in a device and is effective " white list ", the wireless speech Remote controler is scanned and is scanned for using the encryption information with the equipment, and link is completed;
Pressing voice push button signalling is sent to the host of the wireless speech remote controler, activates speech pattern, the host carries out Voice prepares state;
If preparing state when the wireless speech remote controler carries out voice, judge whether the voice key is pressed;
If it does, then judging whether the last voice key presses;
If it is, the wireless speech remote controler continues signal speech sampling, audio codec records voice data;
If it is not, then the wireless speech remote controler initializes the audio codec, the then wireless speech remote controler Signal speech sampling is carried out, the audio codec records voice data;
After the completion of sampled audio signal, audio subsystem compresses audio data, and the voice data stream of compression is stored in caching sector In column;
When detecting that buffer area queue has new voice data stream, new voice data stream is used to the packing device of audio subsystem Equipment is transferred to by airlink by bluetooth protocol repertory;
When voice key does not press, then whether system queries last time voice key discharges, the wireless speech if release Remote controler returns to a upper operating mode;
When inquiring last voice key without release, then stop this signal sampling, the audio codec stops, wireless language Voice remote control device sends voice halt instruction to equipment, empties voice data queue voice data stream;
Equipment is integrated into a complete audio pack to completion transmission voice flow partition and decodes and execute instruction for identification engine.
2. a kind of control method of wireless speech remote controler according to claim 1, it is characterised in that:
The encryption information storage when the wireless speech remote controler is in a device and be effective " white list ", described wireless Voice remote controller is scanned and is scanned for using the encryption information with the equipment, after completing link further include:
Into operating status;
Judge within the first threshold time of operating status with the presence or absence of User Activity;
If it is, remaining operational state;
If it is not, then being switched to idle state;
Judge within the second threshold time of idle state with the presence or absence of User Activity;
If it is, being switched to operating status;
If it is not, then being switched to dormant state;
If it is not, then judging in dormant state with the presence or absence of User Activity;
If it is, being switched to operating status;
If it is not, then keeping dormant state.
3. a kind of control method of wireless speech remote controler according to claim 1, it is characterised in that: the wireless speech It is further comprising the steps of after remote controler booting:
Detection is carried out to the battery voltage value of wireless speech remote controler and judges whether the threshold value for being lower than voltage;
If it is, being switched to off-mode.
4. a kind of control method of wireless speech remote controler according to claim 1, it is characterised in that:
The subsystem includes: BLE subsystem, audio subsystem, key subsystem, IR subsystem and LED subsystem.
5. a kind of control method of wireless speech remote controler according to claim 1, it is characterised in that:
The operation of the BLE subsystem includes:
Judge whether to press link key;
If it is, judging whether wireless speech remote controler has completed linking bluetooth;
If it is not, then sending non-directional advertisement;
If it is not, then judging whether to have detected User Activity;
If so, then judging whether wireless speech remote controler has completed linking bluetooth;
If it is not, then judging whether broadcast message can be used;
If so, starting targeted ads;
If wireless speech remote controler has completed linking bluetooth, data packet is transmitted.
6. a kind of control method of wireless speech remote controler according to claim 1, it is characterised in that:
The operation of the audio subsystem includes:
Judge whether to press voice key;
If it is not, then whether voice key is in the state of release during judging last poll;
If it is not, then stopping audio coder;
If it is, whether voice key is in the state pressed during judging last poll;
If it is, carrying out audio coding;
If it is not, then initialization audio coder, then carries out audio coding.
7. a kind of control method of wireless speech remote controler according to claim 4, it is characterised in that:
The operation of the key subsystem includes:
Scan the key in keyboard matrix;
Judge whether to press arbitrary new key;
If it is not, then judging whether any key discharges;
If so, sending key detection;
If it is not, then judging whether any key is still being pressed;
If so, judgement keeps data packet to whether there is time-out;
If so, sending key detection;
If it is, judging whether key is found;
If it is, reducing the Key dithering value of element in queue;
If it is not, then key is added in queue, the Key dithering value of element in queue is then reduced;
Judge whether Key dithering value is 0;
If it is, sending key detection.
8. a kind of control method of wireless speech remote controler according to claim 4, it is characterised in that:
The operation of the IR subsystem includes:
Judge whether the BLE subsystem is linked;
If it is, sending data using BLE subsystem;
If it is not, then judging whether IR subsystem starts;
If it is not, then starting IR subsystem;
If it is, judging whether the order of IR subsystem is effective;
If it is, sending order by IR subsystem.
9. a kind of control method of wireless speech remote controler according to claim 4, it is characterised in that:
The operation of the LED subsystem includes:
Judge whether wireless speech remote controler is linked;
If it is not, then LED warning light carries out fast blink;
If it is, judging whether the link of wireless speech remote controler is wrong or overtime;
If it is, LED warning light is flashed at a slow speed;
If it is not, then judging whether the battery of wireless speech remote controler alarms;
If it is, LED warning light carries out 5 fast blinks;
If it is not, then the holding of LED warning light is always on.
10. a kind of equipment of the control method of wireless speech remote controler, including at least one control processor and for at least The memory of one control processor communication connection;Memory is stored with the instruction that can be executed by least one control processor, Instruction is executed by least one control processor, so that at least one control processor is able to carry out any institute of claim 1-9 A kind of control method for the wireless speech remote controler stated.
CN201910334800.XA 2019-04-24 2019-04-24 A kind of control method and equipment of wireless speech remote controler Pending CN110121091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910334800.XA CN110121091A (en) 2019-04-24 2019-04-24 A kind of control method and equipment of wireless speech remote controler

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910334800.XA CN110121091A (en) 2019-04-24 2019-04-24 A kind of control method and equipment of wireless speech remote controler

Publications (1)

Publication Number Publication Date
CN110121091A true CN110121091A (en) 2019-08-13

Family

ID=67521432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910334800.XA Pending CN110121091A (en) 2019-04-24 2019-04-24 A kind of control method and equipment of wireless speech remote controler

Country Status (1)

Country Link
CN (1) CN110121091A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557446A (en) * 2019-08-23 2019-12-10 重庆大学 communication method and system adapted by ATT and data segmentation and recombination
CN111352732A (en) * 2020-02-24 2020-06-30 湖南快乐阳光互动娱乐传媒有限公司 Voice recognition process control method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080074630A (en) * 2007-02-09 2008-08-13 주식회사 대우일렉트로닉스 Volume controlling method in stanby-mode
CN104036628A (en) * 2014-05-22 2014-09-10 杭州微纳科技有限公司 Intelligent remote controller based on Bluetooth and quick pairing method
CN203968292U (en) * 2014-07-23 2014-11-26 陕西广电网络传媒(集团)股份有限公司 A kind of blue Tooth remote controller
CN106028102A (en) * 2016-05-24 2016-10-12 李达航 Television voice control method and control system
KR20160141396A (en) * 2015-05-28 2016-12-09 주식회사 이노피아테크 Hybrid Remote Control System and Method for Connecting Supplementary Service to Second Screen
CN207638900U (en) * 2017-11-23 2018-07-20 深圳市中科蓝讯科技有限公司 Blue Tooth remote controller
CN207704639U (en) * 2018-01-11 2018-08-07 深圳市星火原光电科技有限公司 A kind of multifunctional remote controlller
CN108600810A (en) * 2018-05-03 2018-09-28 四川长虹电器股份有限公司 The television system and method for precision of identifying speech are improved using voice remote controller

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080074630A (en) * 2007-02-09 2008-08-13 주식회사 대우일렉트로닉스 Volume controlling method in stanby-mode
CN104036628A (en) * 2014-05-22 2014-09-10 杭州微纳科技有限公司 Intelligent remote controller based on Bluetooth and quick pairing method
CN203968292U (en) * 2014-07-23 2014-11-26 陕西广电网络传媒(集团)股份有限公司 A kind of blue Tooth remote controller
KR20160141396A (en) * 2015-05-28 2016-12-09 주식회사 이노피아테크 Hybrid Remote Control System and Method for Connecting Supplementary Service to Second Screen
CN106028102A (en) * 2016-05-24 2016-10-12 李达航 Television voice control method and control system
CN207638900U (en) * 2017-11-23 2018-07-20 深圳市中科蓝讯科技有限公司 Blue Tooth remote controller
CN207704639U (en) * 2018-01-11 2018-08-07 深圳市星火原光电科技有限公司 A kind of multifunctional remote controlller
CN108600810A (en) * 2018-05-03 2018-09-28 四川长虹电器股份有限公司 The television system and method for precision of identifying speech are improved using voice remote controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557446A (en) * 2019-08-23 2019-12-10 重庆大学 communication method and system adapted by ATT and data segmentation and recombination
CN110557446B (en) * 2019-08-23 2021-10-15 重庆大学 Communication method and system adapted by ATT and data segmentation and recombination
CN111352732A (en) * 2020-02-24 2020-06-30 湖南快乐阳光互动娱乐传媒有限公司 Voice recognition process control method and device
CN111352732B (en) * 2020-02-24 2023-04-11 湖南快乐阳光互动娱乐传媒有限公司 Voice recognition process control method and device

Similar Documents

Publication Publication Date Title
CN111771337B (en) System and method for reducing power consumption of wireless sensor devices
US10586543B2 (en) Sound capturing and identifying devices
CN108320744B (en) Voice processing method and device, electronic equipment and computer readable storage medium
WO2021114952A1 (en) Data processing method, terminal device, bluetooth device, and storage medium
WO2016180163A1 (en) Household control and adjustment method and system
CN104808496B (en) A kind of intelligent home control system and access method
CN103281223A (en) Modernized intelligent home security system
CN103999517A (en) Extraction and analysis of audio feature data
CN110121091A (en) A kind of control method and equipment of wireless speech remote controler
CN109151789A (en) Interpretation method, device, system and bluetooth headset
CN104020745A (en) Intelligent household system
CN111429897B (en) Intelligent household system control implementation method
CN113593544A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN110225195A (en) A kind of audio communication method and terminal
CN102905092A (en) Method and device for remotely controlling television through brain waves
CN115810356A (en) Voice control method, device, storage medium and electronic equipment
CN206057845U (en) Intelligent terminal, intelligent domestic system
CN106028102A (en) Television voice control method and control system
CN103139383A (en) System and method for intelligent sound and screen adjustment of cell phone
CN111862965A (en) Awakening processing method and device, intelligent sound box and electronic equipment
KR20120011945A (en) Apparatus and method for seraching internet using voice recognition in internet protocol television
CN203180966U (en) Terminal equipment used for IOT monitoring and IOT monitoring system
CN203911924U (en) Bluetooth device with voice wake-up
CN109243489A (en) Method, mobile terminal and the storage medium of call troubleshooting
CN105659301A (en) Internet-based cloud visual doorbell system and operation method therefor

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190813