CN101753882A - Wireless controller communication method - Google Patents
Wireless controller communication method Download PDFInfo
- Publication number
- CN101753882A CN101753882A CN200810239953A CN200810239953A CN101753882A CN 101753882 A CN101753882 A CN 101753882A CN 200810239953 A CN200810239953 A CN 200810239953A CN 200810239953 A CN200810239953 A CN 200810239953A CN 101753882 A CN101753882 A CN 101753882A
- Authority
- CN
- China
- Prior art keywords
- wireless controller
- top box
- encoded
- systems
- key
- 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
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The invention discloses a wireless controller communication method, which is characterized in that the wireless communication can be realized between a plurality of wireless controllers and a set top box, the wireless transmitted core data between the wireless controllers and the set top box comprises a group number, a controller number, a somato-sensory code, a keystroke code and a status code; and the communication between the set top box and the wireless controllers is realized through a wireless receiving box which is connected with a data interface of the set top box or a wireless module which is built inside the set top box, and the set top box data interface comprises but is not limited by a USB interface. The invention also discloses a somato-sensor wireless controller communication method which defines the coding method of the somatic sensor in detail.
Description
Technical field
The present invention relates to a kind of wireless communication method that carries out data interaction by wireless body sense handle and IPTV set-top box.
Background technology
If adopt the wireless controller that has the body sense to cooperate wireless communication method, can be in the face of the social elite and the crowd of family of amusement and recreation requirement be arranged, the demand that the aiming family party is experienced, strengthen people's reality group relation, for the consumer brings fresh amusement and recreation life style, it is different from simple TV and the computer game seen, family party entertainment service easily is provided, and satisfies the multiple amusement demand of people.Can as comprehensive family party amusement solution, provide the single and multiplayer interactive game that comprises leisure temperament and interest, brain tonic and intelligence development, the multinomial function of self-recreation based on the IPTV set-top box.
Summary of the invention
The present invention overcomes the shortcoming that the single and IPTV set-top box of existing remote-controller function can not realize somatic sensation television game, a kind of wireless controller communication method is provided, it is characterized in that can realize wireless telecommunications between a plurality of wireless controllers and set-top box, the data of wireless transmission comprise packet header between wireless controller and set-top box, protocol header, group #, handle numbering, body propagated sensation sensor coding, keyboard-coding, state encoding and check byte.Between wireless controller and set-top box, comprise the core data bag of forming by 6 bytes in the packet of wireless transmission; The 1st of the core data bag the byte representation group # wherein, have only the group # that is provided with in the set-top box consistent with the group # in the core data bag, set-top box just can receive the data of complete kernel packet, the handle numbering of the 2nd byte representation wireless controller of core data bag, with under the suite number, this handle numbering must be unique, is the data which handle sends otherwise can't distinguish; Communication between described set-top box and the wireless controller is by being connected the wireless receiving box on the data of set top box interface or realizing that by the built-in wireless module of set-top box described data of set top box interface includes but not limited to USB interface.
When using USB interface as data-interface, carry out communication in the mode of USB mouth simulative serial port, it is baud rate 38400 that parameter typically is set, no parity check position, data bit 8, position of rest 1.
Described wireless controller typically adopts the 2.4G wireless communication mode, also can adopt 315M, 433M, and multiple frequency range such as 3.5G is carried out wireless telecommunications, can also adopt infrared mode to carry out wireless telecommunications.
Described wireless controller communication method, it is characterized in that, described wireless controller is a body sense handle, built-in body propagated sensation sensor, motion that can human body includes but not limited to the detection at angle of inclination, the detection of rocking, the detection of whipping, displacement detecting, the one or more functions during the detection of dynamics and movement velocity detect; The definition that sends to the core data bag that comprises the data of set-top box from wireless controller also comprises: the inclination sensor of the 3rd byte representation fore-and-aft direction of core data bag or the coding numerical value of acceleration transducer, the inclination sensor of the 4th byte representation left and right directions of core data bag or the coding numerical value of acceleration transducer.
Described wireless controller communication method is characterized in that, direction button and acknowledgement key OK key are arranged on the described wireless controller; The definition that sends to the core data bag that comprises the data of set-top box from wireless controller also comprises: the 5th byte representation wireless controller device keyboard-coding value of core data bag, and keyboard-coding comprises as giving a definition:
(1) 0x01 that is encoded to 16 systems that square upwarding key is pressed;
(2) 0x03 that is encoded to 16 systems that square down Arrow is pressed;
(3) 0x02 that is encoded to 16 systems that the direction left button is pressed;
(4) 0x04 that is encoded to 16 systems that the direction right button is pressed;
(5) 0xAE that is encoded to 16 systems that the OK key is pressed;
(6) 0xAF that is encoded to 16 systems that the OK key lifts.
Described wireless controller communication method is characterized in that, answer button A key is arranged on the described wireless controller, B key, C key and D key; The definition that sends to the core data bag that comprises the data of set-top box from wireless controller also comprises: the 5th byte representation wireless controller keyboard-coding value of core data bag, and keyboard-coding comprises as giving a definition:
(1) 0x0A that is encoded to 16 systems that the A key is pressed;
(2) 0x0B that is encoded to 16 systems that the B key is pressed;
(3) 0x0C that is encoded to 16 systems that the C key is pressed;
(4) 0x0D that is encoded to 16 systems that the D key is pressed;
Described wireless controller communication method is characterized in that, self-defining function key+number key is arranged on the described wireless controller, can be used for expression and withdraws from or enter menu function; The definition that sends to the core data bag that comprises the data of set-top box from wireless controller also comprises: the 5th byte representation wireless controller keyboard-coding value of core data bag, and keyboard-coding comprises as giving a definition:
(1)+the 0xA5 that is encoded to 16 systems that number key is pressed;
(2)+the 0xBF that is encoded to 16 systems that number key lifts;
Described wireless controller communication method is characterized in that, also comprises on the described wireless controller being used for chess/card game by roller; The definition that sends to the core data bag that comprises the data of set-top box from wireless controller also comprises: the 5th byte of core data bag also represented wireless controller rolling wheel encoding value, and wherein the keyboard-coding of roller comprises as giving a definition:
(1) the downward 0x5 that is encoded to 16 systems that rolls of roller;
(2) 0x6 that is encoded to 16 systems that roller scrolls up;
(3) 0x7 that is encoded to 16 systems that roller is pressed.
Described wireless controller communication method is characterized in that, also has built-in shock sensor on the described wireless controller, when the wireless controller whipping, can send the whipping key assignments; The definition that sends to the core data bag that comprises the data of set-top box from wireless controller also comprises: the 5th byte of core data bag also represented the whipping encoded radio of the inner output of wireless controller, and coding comprises following definition: the 0x08 that is encoded to 16 systems of output when shock sensor triggers.
Described wireless controller communication method is characterized in that, the definition that described wireless controller sends to the core data bag that comprises in the data of set-top box also comprises: the 6th byte representation responsive state; Wherein responsive state comprises following numerical value definition:
(1) 0xF1 represents it is the keyboard-coding value that wireless controller sends under the normal condition;
What (2) 0xF6 represented to send is the integrated encode value of inclination sensor and/or acceleration transducer;
(3) 0xF7 represents it is the initial code value that wireless controller sends when just having powered on.
Described wireless controller communication method is characterized in that, comprises the inclination sensor of left and right directions on the described wireless controller; The 5th byte that sends to the core data bag that comprises the data of set-top box from wireless controller also represented the encoded radio of wireless controller inclination sensor, when handle tilted to trigger corresponding inclination sensor to the left or to the right, the keyboard-coding of inner output comprised as giving a definition:
(1) left to the inclination sensor conducting time keyboard-coding that sends be the 0x09 of 16 systems;
(2) keyboard-coding that sends during the inclination sensor conducting of right is the 0x10 of 16 systems;
Described wireless controller communication method, it is characterized in that, also can send the core data bag to wireless controller from set-top box, the core data bag is defined as: the 1st byte representation group #, the ID of the 2nd byte representation wireless controller, the 3rd byte representation command code, the 4th byte and the 5th byte representation command parameter; Wherein command code comprises as giving a definition:
(1) 0xFC represents to control wireless controller and shakes and glimmer;
(2) 0xFD represents to control wireless controller and glimmers.
Described command parameter is typical as expression is glimmered or the number of times and the frequency of vibrations.
Described wireless controller communication method is characterized in that, sends to the 6th byte representation command sequence number of the core data bag of wireless controller from set-top box; Wherein command sequence number increases progressively at every turn and adds 1 and change, and the command sequence number value adds numerical value after 1 if the command sequence number value in the current command that sends is not last time, and then wireless controller does not respond the current command.
Embodiment
Embodiment 1 (body sense wireless controller communication method)
Body sense wireless controller communication method of the present invention, it is characterized in that, adopt 2 axle acceleration sensors to add the pattern of inclination sensor, or the acceleration transducer that directly adopts 3 carries out body sense detection, transducer is in resting state at ordinary times, the instruction of sending according to set-top box or main frame enters operating state, the 6 byte core data bags that send, the 1st byte representation group #, the handle numbering of the 2nd byte representation wireless controller, the the 3rd, the 4, the 5th byte is represented the X of 3 axle acceleration sensors respectively, Y, the encoded radio of Z direction, the 6th byte are 0xF6, and what expression was exported is the encoded radio of body propagated sensation sensor.For 2 axle acceleration sensors, the 3rd, the 4 byte is represented the X of 2 axle acceleration sensors and the encoded radio of Y direction, the encoded radio of the 5th byte representation inclination sensor respectively.
Wherein the encoded radio of acceleration transducer all directions is generally 2 bytes, has carried out the adjustment of double byte to byte in described body sense wireless controller communication method.Wherein a kind of method is for to dwindle the collection value, and as divided by a constant or get per 2 numerical value and be adjusted into 1, concrete grammar is: 00 and 01 all is adjusted to 0,10 and 11 all is adjusted to 1; Also having a kind of method is not export the collection value, only exports twice or the mean difference of repeatedly collection value; Other method is done the mean value of repeatedly collection value in addition again divided by a constant.
The inclination sensor general state is 0 or 1, at two inclination sensors of fore-and-aft direction 4 kinds of states is arranged: two all not conductings, two all conductings and 1 conducting is arranged respectively; Add 4 kinds of states of two inclination sensors of left and right directions, one has 8 kinds of states, so just can represent with 1 byte.
Claims (10)
1. a wireless controller communication method is characterized in that, can realize wireless telecommunications between a plurality of wireless controllers and set-top box, comprises the core data bag of being made up of 6 bytes between wireless controller and set-top box in the packet of wireless transmission; The 1st of the core data bag the byte representation group # wherein, have only the group # that is provided with in the set-top box consistent with the group # in the core data bag, set-top box just can receive the data of complete kernel packet, the handle numbering of the 2nd byte representation wireless controller of core data bag, with under the suite number, this handle numbering must be unique, is the data which handle sends otherwise can't distinguish; Communication between described set-top box and the wireless controller is by being connected the wireless receiving box on the data of set top box interface or realizing that by the built-in wireless module of set-top box described data of set top box interface includes but not limited to USB interface.
2. according to the wireless controller communication method described in the claim 1, it is characterized in that, described wireless controller is a body sense handle, built-in body propagated sensation sensor, motion that can human body includes but not limited to the detection at angle of inclination, the detection of rocking, the detection of whipping, displacement detecting, the one or more functions during the detection of dynamics and movement velocity detect; The definition that sends to the core data bag that comprises the data of set-top box from wireless controller also comprises: the inclination sensor of the 3rd byte representation fore-and-aft direction of core data bag or the coding numerical value of acceleration transducer, the inclination sensor of the 4th byte representation left and right directions of core data bag or the coding numerical value of acceleration transducer.
3. according to arbitrary described wireless controller communication method in claim 1 or 2, it is characterized in that direction button and acknowledgement key OK key are arranged on the described wireless controller; Send to the 5th byte representation wireless controller device keyboard-coding value of the core data bag that comprises the data of set-top box from wireless controller, keyboard-coding comprises as giving a definition:
(1) 0x01 that is encoded to 16 systems that square upwarding key is pressed;
(2) 0x03 that is encoded to 16 systems that square down Arrow is pressed;
(3) 0x02 that is encoded to 16 systems that the direction left button is pressed;
(4) 0x04 that is encoded to 16 systems that the direction right button is pressed;
(5) 0xAE that is encoded to 16 systems that the OK key is pressed;
(6) 0xAF that is encoded to 16 systems that the OK key lifts.
4. according to the wireless controller communication method described in the claim 3, it is characterized in that answer button A key is arranged on the described wireless controller, B key, C key and D key; Send to the 5th byte representation wireless controller keyboard-coding value of the core data bag that comprises the data of set-top box from wireless controller, keyboard-coding comprises as giving a definition:
(1) 0x0A that is encoded to 16 systems that the A key is pressed;
(2) 0x0B that is encoded to 16 systems that the B key is pressed;
(3) 0x0C that is encoded to 16 systems that the C key is pressed;
(4) 0x0D that is encoded to 16 systems that the D key is pressed;
5. according to the wireless controller communication method described in the claim 3, it is characterized in that self-defining function key+number key is arranged on the described wireless controller, can be used for expression and withdraw from or enter menu function; Send to the 5th byte representation wireless controller keyboard-coding value of the core data bag that comprises the data of set-top box from wireless controller, keyboard-coding comprises as giving a definition:
(1)+the 0xA5 that is encoded to 16 systems that number key is pressed;
(2)+the 0xBF that is encoded to 16 systems that number key lifts;
6. according to the wireless controller communication method described in the claim 3, it is characterized in that, also comprise on the described wireless controller being used for chess and card games by roller; The 5th byte that sends to the core data bag that comprises the data of set-top box from wireless controller also represented wireless controller rolling wheel encoding value, and wherein the keyboard-coding of roller comprises as giving a definition:
(1) the downward 0x5 that is encoded to 16 systems that rolls of roller;
(2) 0x6 that is encoded to 16 systems that roller scrolls up;
(3) 0x7 that is encoded to 16 systems that roller is pressed.
7. according to the wireless controller communication method described in the claim 3, it is characterized in that also having built-in shock sensor on the described wireless controller, when the wireless controller whipping, can send the whipping key assignments; The 5th byte that sends to the core data bag that comprises the data of set-top box from wireless controller also represented the inner whipping encoded radio of exporting of wireless controller, and coding comprises following definition: the 0x08 that is encoded to 16 systems of output when shock sensor triggers.
8. according to the wireless controller communication method described in the claim 3, it is characterized in that described wireless controller sends to the 6th byte representation responsive state of the core data bag that comprises in the data of set-top box; Wherein responsive state comprises following numerical value definition:
(1) 0xF1 represents it is the keyboard-coding value that wireless controller sends under the normal condition;
What (2) 0xF6 represented to send is the integrated encode value of inclination sensor and/or acceleration transducer;
(3) 0xF7 represents it is the initial code value that wireless controller sends when just having powered on.
9. according to the wireless controller communication method described in the claim 3, it is characterized in that, comprise the inclination sensor of left and right directions on the described wireless controller; The 5th byte that sends to the core data bag that comprises the data of set-top box from wireless controller also represented the encoded radio of wireless controller inclination sensor, when handle tilted to trigger corresponding inclination sensor to the left or to the right, the keyboard-coding of inner output comprised as giving a definition:
(1) left to the inclination sensor conducting time keyboard-coding that sends be the 0x09 of 16 systems;
(2) keyboard-coding that sends during the inclination sensor conducting of right is the 0x10 of 16 systems;
10. according to the wireless controller communication method described in the claim 3, it is characterized in that, also can send the core data bag to wireless controller from set-top box, the core data bag is defined as: the 1st byte representation group #, the ID of the 2nd byte representation wireless controller, the 3rd byte representation command code, the 4th byte and the 5th byte representation command parameter, the 6th byte is command sequence number, increase progressively at every turn and add 1 variation, the command sequence number value does not add numerical value after 1 if the command sequence number value in the current command that sends is not last time, and then wireless controller does not respond the current command; Wherein command code comprises as giving a definition:
(1) 0xFC represents to control wireless controller and shakes and glimmer;
(2) 0xFD represents to control wireless controller and glimmers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810239953A CN101753882A (en) | 2008-12-16 | 2008-12-16 | Wireless controller communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810239953A CN101753882A (en) | 2008-12-16 | 2008-12-16 | Wireless controller communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101753882A true CN101753882A (en) | 2010-06-23 |
Family
ID=42480171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810239953A Pending CN101753882A (en) | 2008-12-16 | 2008-12-16 | Wireless controller communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101753882A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103546183A (en) * | 2013-10-17 | 2014-01-29 | 深圳雷柏科技股份有限公司 | Method and system allowing multiple handles to communicate with transceiver |
CN104754391A (en) * | 2011-05-12 | 2015-07-01 | 青岛海信电器股份有限公司 | Remote control data transmission method and interaction device of television |
CN105536249A (en) * | 2016-02-18 | 2016-05-04 | 高创(苏州)电子有限公司 | Game system |
CN105892327A (en) * | 2014-10-17 | 2016-08-24 | 北京圣海通科技有限公司 | One-to-many wireless remote control system for water pollutant reduction system dynamic floating bodies |
CN107137925A (en) * | 2017-06-11 | 2017-09-08 | 吴昊阳 | A kind of game paddle system and its control method |
-
2008
- 2008-12-16 CN CN200810239953A patent/CN101753882A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754391A (en) * | 2011-05-12 | 2015-07-01 | 青岛海信电器股份有限公司 | Remote control data transmission method and interaction device of television |
CN104754391B (en) * | 2011-05-12 | 2017-12-05 | 青岛海信电器股份有限公司 | A kind of remote-control data transmission method of television set |
CN103546183A (en) * | 2013-10-17 | 2014-01-29 | 深圳雷柏科技股份有限公司 | Method and system allowing multiple handles to communicate with transceiver |
CN103546183B (en) * | 2013-10-17 | 2015-09-30 | 深圳雷柏科技股份有限公司 | The method and system of a kind of multiple handle and a transceiver communications |
CN105892327A (en) * | 2014-10-17 | 2016-08-24 | 北京圣海通科技有限公司 | One-to-many wireless remote control system for water pollutant reduction system dynamic floating bodies |
CN105536249A (en) * | 2016-02-18 | 2016-05-04 | 高创(苏州)电子有限公司 | Game system |
CN105536249B (en) * | 2016-02-18 | 2023-09-01 | 高创(苏州)电子有限公司 | game system |
CN107137925A (en) * | 2017-06-11 | 2017-09-08 | 吴昊阳 | A kind of game paddle system and its control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101753882A (en) | Wireless controller communication method | |
CN107930085A (en) | A kind of multifunctional body-building equipment with amusement interactive system | |
CN104754392B (en) | A kind of remote-control data transmission method of television set | |
CN101873371A (en) | Mobile phone, system and method capable of controlling computer game | |
CN101631164A (en) | User device for gesture based exchange of information, related method, device and system | |
CN101551700B (en) | Electronic game input device, electronic game machine and electronic game input method | |
CN102033607B (en) | Human-machine interaction information system and method for realizing human-machine interaction | |
CN105727559A (en) | Body building game implementation method based on virtual reality body building game system | |
CN104181875A (en) | Excise and fitness system based on mode of Internet of Things | |
CN102033606A (en) | Mobile terminal being capable of implementing man-machine interaction and method thereof | |
CN205197549U (en) | Virtual reality seat | |
CN104043225A (en) | Bluetooth-based intelligent body-building bicycle system | |
CN106426206A (en) | Wrestling robot, control equipment and game system | |
CN203235258U (en) | Remote control model wireless control system based on gesture recognition | |
CN101146284A (en) | A smart mobile phone platform | |
CN107551536A (en) | A kind of intelligent mahjong | |
CN104984521A (en) | Multimedia game treadmill | |
CN101950322A (en) | Man-machine interaction network system for realizing point-to-point connection | |
CN101753881A (en) | Keyboard-coding communication method of IPTV (internet protocol television) system | |
CN204798854U (en) | Robot fights ring toy | |
CN206404297U (en) | A kind of wristband type universal serial game control device | |
CN102728023A (en) | Network interaction type bicycle body-building device | |
CN205460476U (en) | Device of human -computer interaction function with recreation and massage | |
CN202536778U (en) | Massage chair with virtual reality function | |
CN202620680U (en) | Motion sensing game handle based on micro electromechanical system (EMES) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20100623 |