CN204305257U - Generating random number device and television set - Google Patents
Generating random number device and television set Download PDFInfo
- Publication number
- CN204305257U CN204305257U CN201420825723.0U CN201420825723U CN204305257U CN 204305257 U CN204305257 U CN 204305257U CN 201420825723 U CN201420825723 U CN 201420825723U CN 204305257 U CN204305257 U CN 204305257U
- Authority
- CN
- China
- Prior art keywords
- random number
- signal
- processor
- control signal
- acquisition
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 claims abstract description 10
- 238000001514 detection method Methods 0.000 claims description 37
- 230000000694 effects Effects 0.000 abstract description 2
- 238000005070 sampling Methods 0.000 description 10
- 238000010411 cooking Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004851 dishwashing Methods 0.000 description 2
- 230000003340 mental effect Effects 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000005295 random walk Methods 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The utility model discloses a kind of generating random number device, comprise: signal transceiver, collecting device, processor and output equipment, described collecting device is all connected with described processor signal with described output equipment, and described signal transceiver is connected with described collecting device signal; Wherein: described signal transceiver receiving parameter collection signal, and be sent to described collecting device; The parameter acquisition control signal that described collecting device Received signal strength transceiver sends, gathers target component, and described target component is sent to described processor; Described processor receives described target component, and the process described target component being carried out to predetermined manner generates random number, and sends described random number to output equipment and export control signal; Described output equipment receives described random number and exports control signal, exports described random number.The invention also discloses a kind of television set.The utility model realizes without the need to obtaining random effect by throwing dice, easy to use, and not fragile.
Description
Technical Field
The utility model relates to a data processing technology field especially relates to random number generation device and TV set.
Background
With the increasing living standard of people, people pay attention to the demands of matters and particularly pay attention to the demands of mental level. With the demand of people at a mental level, more and more entertainment activities and equipment are generated. For example, the dice may be rolled to obtain different points, and then, according to the number of the points, people may decide who will do the household work (washing dishes, cooking rice, etc.); or directly engraving dice containing certain definitions (cooking, washing dishes, washing clothes, mopping the floor, etc.) and randomly obtaining the defined result by rolling the dice. However, in the above method, a die is required to obtain random results, which is inconvenient to use and the die is easily damaged.
The above is only for the purpose of assisting understanding of the technical solutions of the present invention, and does not represent an admission that the above is the prior art.
SUMMERY OF THE UTILITY MODEL
A primary object of the present invention is to provide a random number generating device and a television set, which are capable of obtaining random results through dice, and are inconvenient to use and easy to damage the dice.
To achieve the above object, the present invention provides a random number generating device, including: the device comprises a signal transceiver, acquisition equipment, a processor and output equipment, wherein the acquisition equipment and the output equipment are in signal connection with the processor, and the signal transceiver is in signal connection with the acquisition equipment; wherein:
the signal transceiver receives the parameter acquisition signal and sends a parameter acquisition control signal to the acquisition equipment when receiving the parameter acquisition signal;
the acquisition equipment receives a parameter acquisition control signal sent by the signal transceiver, acquires a target parameter under the control of the parameter acquisition control signal, and sends the target parameter to the processor;
the processor receives the target parameter, processes the target parameter in a preset mode to generate a random number, and sends the random number and an output control signal to output equipment;
the output device receives the random number and an output control signal, and outputs the random number.
Preferably, the collecting device is an AD sampler or a timer.
Preferably, the random number generating apparatus further comprises a detection device in signal connection with the processor;
after generating a random number, the processor sends the random number to the detection equipment;
the detection equipment receives the random number, reads the written random number detection algorithm to detect the authenticity of the random number, and reports the detection result to the processor through an interface;
and the processor sends the random number and an output control signal to output equipment according to the detection result.
Preferably, the detection device is a DSP or MCU written with a random number detection algorithm.
Preferably, the interface is a USB, RS232 or wireless interface.
Preferably, the output device is a display screen or an audio player.
In addition, in order to achieve the above object, the present invention further provides a television set including the above random number generating device.
The utility model establishes the signal connection between the acquisition equipment and the processor, the signal connection between the output equipment and the processor, and the signal connection between the signal transceiver and the acquisition equipment; when receiving a parameter acquisition signal, acquiring a target parameter by acquisition equipment; the processor processes the target parameter in a preset mode to generate a random number; an output device outputs the random number. The random result can be obtained without throwing dice, the use is convenient, and the dice are not easy to damage.
Drawings
Fig. 1 is a functional block diagram of a random number generating apparatus according to a first embodiment of the present invention;
fig. 2 is a functional block diagram of a random number generating apparatus according to a second embodiment of the present invention.
The objects, features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the utility model provides a main solution is: establishing signal connection between the acquisition equipment and the processor, signal connection between the output equipment and the processor, and signal connection between the signal transceiver and the acquisition equipment; when receiving a parameter acquisition signal, acquiring a target parameter by acquisition equipment; the processor processes the target parameter in a preset mode to generate a random number; an output device outputs the random number. The random result can be obtained without throwing dice, the use is convenient, and the dice are not easy to damage.
Because the existing mode of obtaining random numbers needs to be obtained by rolling the dice, the use is inconvenient, and the dice are easy to damage.
Based on the problem that exists, the utility model provides a random number generates device through gathering target parameter to according to target parameter generation random number. The random result can be obtained without throwing dice, the use is convenient, and the dice are not easy to damage. The architecture of the random number generating apparatus is shown in fig. 1.
Referring to fig. 1, the random number generation apparatus includes: the system comprises a signal transceiver 10, an acquisition device 20, a processor 30 and an output device 40, wherein the acquisition device 20 and the output device 40 are in signal connection with the processor 30, and the signal transceiver 10 is in signal connection with the acquisition device 20; wherein,
the signal transceiver 10 receives the parameter acquisition signal and sends a parameter acquisition control signal to the acquisition equipment 20;
the random number generating device is preferably installed in a television, and a user can trigger a parameter acquisition signal by touching or pressing a certain key or a combination key of a remote controller, where the combination key may be a combination of numbers or a combination set in advance, for example, a Menu key plus a volume + key. The remote controller is in signal connection with the television through an infrared or radio frequency mode, and the signal transceiver 10 is preferably an infrared module, or may be a radio frequency module, or a wireless module such as WiFi. When a user presses a key, a parameter acquisition control signal is triggered, the signal transceiver 10 receives the parameter acquisition signal, and when the parameter acquisition signal is received, the parameter acquisition control signal is sent to the acquisition device 20. Preferably, the signal transceiver 10 and the collecting device 20 are connected by a wire, and of course, the signal transceiver 10 and the collecting device 20 may also be connected by a wireless manner. In other embodiments of the present invention, the signal transceiver 10 may be a part of the acquisition device 20, that is, the acquisition device 20 includes two parts, i.e., signal transceiving and parameter acquisition.
The acquisition device 20 receives a parameter acquisition control signal sent by the signal transceiver 10, acquires a target parameter under the control of the parameter acquisition control signal, and sends the target parameter to the processor 30;
the acquisition device 20 is connected with the signal transceiver 10 through a signal to receive the parameter acquisition control signal sent by the signal transceiver 10 and acquire the target parameter. The target parameters include, but are not limited to, mains voltage, mains current, ambient temperature, device runtime, etc., and may be one or a combination of more of them. The device is preferably a television set. The acquisition device 20 may be an ammeter, voltmeter, AD sampler, temperature sensor, timer, or the like. After acquiring the target parameters, the acquiring device 20 sends the target parameters to the processor 30. The acquisition device 20 may also sample the mains voltage, the mains current, the ambient temperature, and the device operation time by sampling frequency and sampling duration, and obtain a sampling signal, which is used as a target parameter. If the device is a television, the sampling device 20 may collect sound played by the television, and collect a sampling signal of the sound according to a sampling frequency and a sampling duration.
The processor 30 receives the target parameter, performs a preset mode on the target parameter to generate a random number, and sends the random number and an output control signal to the output device 40;
the processor 30 writes a random number generation algorithm in advance, and after receiving the target parameter acquired by the acquisition device 20, the processor 30 performs processing in a preset manner on the target parameter to generate a random number, that is, reads the random number generation algorithm written in advance, generates a random number according to the target parameter and the random number generation algorithm, and sends the random number and an output control signal to the output device 40. If only 1-6 random numbers need to be present, the generated random number can be divided by 6, and the remainder taken as 6 when 0. If the acquired target parameter is a sampling signal, quantizing the sampling signal according to the sampling bit number to obtain a quantized signal, encoding the quantized signal to obtain a digital signal, and generating a random number according to the digital signal and a random number generation algorithm written in advance. Of course, the digital signal may be concatenated with a previously generated random number to obtain another digital signal, the another digital signal may be subjected to a hash operation, and the result of the hash operation may be used as the random number. The process of generating the random number according to the target parameter is an existing process, and is not described in detail herein.
The output device 40 receives the random number and an output control signal, and outputs the random number.
The output device 40 may be a display screen or an audio player, and the output mode may be text, voice, video, or the like. The output device 40 receives the random number and an output control signal, and outputs the random number. The embodiment of the present invention is directed to a signal transceiver 10, which can also connect with processing 30 signals, processor 30 sends out the acquisition control signal when powering on, or when reaching in the preset time (1 minute, 2 minutes, etc.), signal transceiver 10 receives the acquisition control signal sent by processor 30 to acquire the target parameters under the control of the acquisition control signal. In the case where the preset time is reached, the processor 30 is clocked by a timing unit (timer or the like).
The embodiment of the utility model provides a through the signal connection who establishes collection equipment and treater, the signal connection of output device and treater and the signal connection of signal transceiver and collection equipment; when receiving a parameter acquisition signal, acquiring a target parameter by acquisition equipment; the processor processes the target parameter in a preset mode to generate a random number; an output device outputs the random number. The random result can be obtained without throwing dice, the use is convenient, and the dice are not easy to damage.
With reference to fig. 2, a second embodiment of the random number generating apparatus of the present invention is proposed, which further comprises a detection device 50 in signal connection with the processor 30.
The processor 30 sends the random number to the detection device 50;
the detection device 30 receives the random number, reads the written random number detection algorithm to detect the authenticity of the random number, and reports the detection result to the processor 30 through an interface;
the processor 30 sends the random number and an output control signal to the output device 40 when the detection result is pass.
The detection device 50 may be a hardware integrated circuit module such as a DSP or MCU written with a random number detection algorithm. The interface can be USB, RS232 or wireless module, and the wireless module can be a Bluetooth module, a WiFi module, an infrared module or a radio frequency module. The random number detection algorithm may be frequency detection, sequence detection, approximate entropy detection, accumulation and detection, random walk detection, and the like. The process of detecting the authenticity of the random number by the detection device by using a random number detection algorithm is an existing mode and is not described in detail herein. When the detection result is pass, the processor 30 sends the random number and an output control signal to the output device 40, and the output device 40 outputs the random number. When the detection result is that the random number is failed, the processor 30 discards the random number, and sends a prompt control instruction to the output device 40, and the output device 40 outputs prompt information written in advance, where the prompt information includes text and voice information such as "please send a parameter acquisition signal again", "random number acquisition failure", or sends an alarm sound. Or the output device 40 is also connected with a light emitting diode by signals, and when the random number does not pass through, the light emitting diode emits light to inform that the random number acquisition fails.
In the embodiment, a detection device 40 is provided, after the processor 30 generates the random number, the authenticity of the random number is detected, when the detection result is pass, the processor 30 controls the output device 40 to output the random number, and when the detection result is not pass, the random number is discarded. The accuracy of the output random number is improved, and the randomness of the random number is ensured.
Correspondingly, the utility model discloses still provide a TV set, the TV set includes as above random number generation device. The random number generating device is arranged in the television, so that a random result can be obtained without throwing dice, and the television is convenient to use and not easy to damage. And the entertainment function is added on the television, so that the function of the television is not single any more and is more diversified.
The above is only the preferred embodiment of the present invention, and not the scope of the present invention, all the equivalent structures or equivalent flow changes made by the contents of the specification and the drawings or the direct or indirect application in other related technical fields are included in the patent protection scope of the present invention.
Claims (7)
1. A random number generation apparatus, comprising: the device comprises a signal transceiver, acquisition equipment, a processor and output equipment, wherein the acquisition equipment and the output equipment are in signal connection with the processor, and the signal transceiver is in signal connection with the acquisition equipment; wherein:
the signal transceiver receives a parameter acquisition signal and sends a parameter acquisition control signal to the acquisition equipment;
the acquisition equipment receives a parameter acquisition control signal sent by the signal transceiver, acquires a target parameter under the control of the parameter acquisition control signal, and sends the target parameter to the processor;
the processor receives the target parameter, processes the target parameter in a preset mode to generate a random number, and sends the random number and an output control signal to output equipment;
the output device receives the random number and an output control signal, and outputs the random number.
2. The random number generation apparatus of claim 1, wherein the collection device is an AD sampler or a timer.
3. The random number generating apparatus of claim 1 or 2, further comprising a detection device in signal connection with the processor;
the processor sends the random number to the detection device;
the detection equipment receives the random number, reads the written random number detection algorithm to detect the authenticity of the random number, and reports the detection result to the processor through an interface;
and the processor sends the random number and an output control signal to output equipment according to the detection result.
4. The random number generation apparatus of claim 3, wherein the detection device is a DSP or MCU that writes a random number detection algorithm.
5. The random number generation apparatus of claim 3, wherein the interface is a USB, RS232, or wireless interface.
6. The random number generating apparatus according to claim 1 or 2, wherein the output device is a display screen or an audio player.
7. A television set comprising the random number generating apparatus of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420825723.0U CN204305257U (en) | 2014-12-19 | 2014-12-19 | Generating random number device and television set |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420825723.0U CN204305257U (en) | 2014-12-19 | 2014-12-19 | Generating random number device and television set |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204305257U true CN204305257U (en) | 2015-04-29 |
Family
ID=53110760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420825723.0U Expired - Fee Related CN204305257U (en) | 2014-12-19 | 2014-12-19 | Generating random number device and television set |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204305257U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469461A (en) * | 2014-12-19 | 2015-03-25 | 佛山市顺德区美的电热电器制造有限公司 | Random number generation device, television and random number generation method |
-
2014
- 2014-12-19 CN CN201420825723.0U patent/CN204305257U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469461A (en) * | 2014-12-19 | 2015-03-25 | 佛山市顺德区美的电热电器制造有限公司 | Random number generation device, television and random number generation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2011154335A (en) | ASSESSMENT OF THE SPEAKERS | |
CA2797704A1 (en) | Electrical event detection device and method of detecting and classifying electrical power usage | |
JP5691745B2 (en) | Information processing apparatus, information processing method, program, and information processing system | |
CN107113475A (en) | Power-efficient detection to the watermark in media signal | |
TW200625068A (en) | Method and apparatus for automatic realtime power management | |
CN110784601B (en) | Motion sensor | |
WO2011100519A3 (en) | Biometric sensor for human presence detection and associated methods | |
CN103919531A (en) | Health monitoring device and children learning equipment provided with same | |
ATE553825T1 (en) | OBJECT, METHOD AND SYSTEM FOR TRANSMITTING INFORMATION TO A USER | |
EP2515298A3 (en) | Signal classification processing method, classification processing device and encoding system | |
EP2693298A3 (en) | Power management circuitry in peripheral accessories of audio devices | |
CN102905092A (en) | Method and device for remotely controlling television through brain waves | |
CN103870166B (en) | A kind of method and apparatus of pattern switching | |
CN204305257U (en) | Generating random number device and television set | |
CN101150615A (en) | A mobile terminal testing heartbeat and its measurement method | |
CN104749489A (en) | High voltage GIS device breakdown discharge positioning system based on vibration signals | |
CN103167095A (en) | Mobile terminal and radiation detection method | |
CN103202698A (en) | Remote-controller-based system and method for monitoring blood oxygen content of users | |
CN104469461A (en) | Random number generation device, television and random number generation method | |
JP2015170277A (en) | Server device, information processing system and information processing method | |
CN104867508B (en) | A kind of method and apparatus that audio files continuously plays | |
JP2012141950A (en) | Sensor system | |
US20130272713A1 (en) | Signal processing circuit | |
CN203849237U (en) | Handheld harmful gas detector | |
TW201536250A (en) | Portable electronic device and method for physiological measurement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150429 Termination date: 20201219 |