CN105472474B - Game control method and device for connection of smart television and terminal - Google Patents
Game control method and device for connection of smart television and terminal Download PDFInfo
- Publication number
- CN105472474B CN105472474B CN201510122572.1A CN201510122572A CN105472474B CN 105472474 B CN105472474 B CN 105472474B CN 201510122572 A CN201510122572 A CN 201510122572A CN 105472474 B CN105472474 B CN 105472474B
- Authority
- CN
- China
- Prior art keywords
- terminal
- game
- key
- smart television
- group
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a game control method for connecting an intelligent television with a terminal, which comprises the following steps: when shaking operation based on a terminal is detected, determining acceleration data of an acceleration sensor corresponding to the shaking operation, and judging whether the acceleration data are effective or not; when the acceleration data is valid, establishing connection with the terminal, and sending a prestored game key group to the terminal so that the terminal can display the corresponding game key group; detecting key operation based on the terminal, and acquiring a key value corresponding to the key operation according to a prestored key mapping table; and correspondingly displaying the trigger state of the key operation according to the key value. The invention also discloses a game control device for connecting the intelligent television and the terminal. The method and the device realize automatic and rapid configuration of the smart television game, are simple to operate, and further improve the user experience of the user in controlling the game.
Description
Technical field
The game control method that is connect the present invention relates to ntelligent television technolog field more particularly to smart television with terminal and
Device.
Background technique
With the fast development of ntelligent television technolog, function is also more and more perfect, the more and more game of smart television
Occur.Since smart television screen is big, large screen, which is played games, at home has become most popular thing at present, therefore by perhaps
The favor of multi-user.But traditional game mode, which needs to connect using game paddle with smart television, just can be carried out game, often
Secondary play games requires to find game paddle, and is attached by game paddle and smart television, so needs to spend
Time looks for game paddle, wastes time, and with the fast development of mobile terminal device, brings to smart television many new
Vigor and power, but the mobile terminal device of user at one's side needs to go to set for different game, only professional technology
The talent of background can be adapted to well, and general user is difficult to go to set and be adapted to the function of good various game manually on one's own account,
User's operation mobile terminal is caused to go the difficulty of adaptation video game.
Existing mobile terminal device adaptation smart television game needs for different game settings and is adapted to various game
Function, and adaptation procedure is complicated, it is difficult to it realizes.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The game control method and device that the main purpose of the present invention is to provide a kind of smart televisions to connect with terminal, purport
It needs solving existing mobile terminal device adaptation smart television game for different game settings and the function for being adapted to various game
Can, and adaptation procedure is complicated, it is difficult to the problem of realizing.
To achieve the above object, the game control method that a kind of smart television provided by the invention is connect with terminal, including
Step:
When detecting the shaking operation based on terminal, determine that acceleration transducer corresponds to the acceleration number for shaking operation
According to judging whether the acceleration data are effective;
When the acceleration data are effective, connection is established with the terminal, and according to the terminal unique identity information of acquisition
Counterpart terminal is sent by the game keys group prestored, so that the terminal page shows corresponding game keys group;
Detect the button operation based on the terminal, according to prestore by key map obtain the button operation it is corresponding by
Key assignments;
According to the corresponding triggering state for showing the button operation of the key value.
Preferably, the step for judging whether the acceleration data are effective includes:
Judge whether the acceleration transducer value is more than preset threshold;
When the acceleration transducer value is more than preset threshold, determines that the shaking operates the corresponding duration, sentence
Whether duration of breaking is more than preset time;
When the duration being more than preset time, judge that the acceleration data are effective.
Preferably, described when the acceleration data are effective, connection is established with the terminal, and only according to the terminal of acquisition
One identity information by the game keys group prestored be sent to counterpart terminal so that the terminal is shown corresponding game keys group
Step includes:
When the acceleration data are effective, judge whether the number of the valid data is one;
Automatically be terminal coupling solitaire game mode when the number of the valid data is one, and will prestore by
Key group is sent to terminal.
Preferably, described when the acceleration data are effective, it determines and accelerates the effective number of data, judge that the number is
After the no step for being one, further includes:
Automatically it is terminal coupling multiplayer mode when the number of the valid data is multiple, and obtains and each have
Imitate the data corresponding duration;
It is each terminal coupling game group identity according to the duration, and by the game group identity key pair
Terminal page should be arrived.
Preferably, the game control method that the smart television is connect with terminal further include:
When detecting the shaking operation based on terminal, the terminal in wireless zone is searched, and connect with the terminal;
When connecting with the terminal, the identity information of the terminal is obtained, detects whether the identity information is target
Terminal;
When the identity information is target terminal, the key group of the target terminal is obtained and by key map.
In addition, to achieve the above object, the present invention also provides the game control device that a kind of smart television is connect with terminal,
Include:
Judgment module, for determining that acceleration transducer corresponds to the rolling when detecting the shaking operation based on terminal
The acceleration data of dynamic operation, judge whether the acceleration data are effective;
Sending module, for establishing connection with the terminal, and according to the terminal of acquisition when the acceleration data are effective
The game keys group prestored is sent counterpart terminal by unique identity information, so that the terminal page shows that corresponding game is pressed
Key group;
Obtain module, for detect the button operation based on the terminal, according to prestore by key map obtain described in by
The corresponding key value of key operation;
Display module, for according to the corresponding triggering state for showing the button operation of the key value.
Preferably, the judgment module includes determination unit and judging unit,
The determination unit, for when the acceleration transducer value is more than preset threshold, determining the shaking operation
The corresponding duration;
The judging unit is also used to judge institute for judging whether the acceleration transducer value is more than preset threshold
State whether the duration is more than preset time, is also used to judge the acceleration number when the duration being more than preset time
According to effective.
Preferably, the sending module includes transmission unit,
The transmission unit, for the number in the valid data be one when, automatically be terminal coupling solitaire game
Mode, and the key group prestored is sent to terminal;
The judging unit, be also used to judge when the acceleration data are effective the valid data number whether be
One.
Preferably, the sending module further includes acquiring unit and matching unit,
The acquiring unit, for the number in the valid data be it is multiple when, automatically be terminal coupling multiplayer
Mode, and obtain the duration of each valid data;
The matching unit, for being each terminal coupling game group identity according to the duration, and will be described
Game group identity key corresponds to terminal page.
Preferably, the game control device that the smart television is connect with terminal further includes link block and detection module,
The link block, for when detect terminal shaking operation, search wireless zone in terminal, and with it is described
Terminal connection;
The detection module, for obtaining the identity information of the terminal, detecting the body when being connect with the terminal
Whether part information is target terminal;
The acquisition module is also used to obtain the game of the target terminal when the identity information is target terminal
Key group and press key map.
Compared with the prior art, shaking operation of the present invention by detecting based on terminal, judges that acceleration transducer corresponds to institute
It whether effective states the acceleration data shaken and operated, when the acceleration data are effective, establishes connection with the terminal, and will prestore
Game keys group be sent to the terminal so that the terminal is shown corresponding game keys group.It effectively avoids existing mobile whole
End equipment adaptation smart television game needs for different game settings and is adapted to the function of various game, and adaptation procedure is multiple
It is miscellaneous, it is difficult to the problem of realizing.It realizes when being connect with mobile terminal device, automatic rapid configuration smart television game, operation letter
It is single, and then improve the speed that user manipulates game.
Detailed description of the invention
Fig. 1 is the flow diagram of the first embodiment for the game control method that smart television of the present invention is connect with terminal;
Fig. 2 is the refinement flow diagram of mono- embodiment of step S10 in Fig. 1;
Fig. 3 is the flow diagram of the second embodiment for the game control method that smart television of the present invention is connect with terminal;
Fig. 4 is the flow diagram of the 3rd embodiment for the game control method that smart television of the present invention is connect with terminal;
Fig. 5 is the functional module signal of the first embodiment for the game control device that smart television of the present invention is connect with terminal
Figure;
Fig. 6 is the refinement the functional block diagram of judgment module first embodiment in Fig. 5;
Fig. 7 is the refinement the functional block diagram of sending module second embodiment in Fig. 5;
Fig. 8 is the functional module signal of the second embodiment for the game control device that smart television of the present invention is connect with terminal
Figure.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting the shaking operation based on terminal, determining acceleration
Sensor corresponds to the acceleration data for shaking operation, judges whether the acceleration data are effective;It is effective in the acceleration data
When, connection is established with the terminal, and send the terminal for the game keys group prestored and correspond to so that the terminal is shown
Game keys group;The button operation based on the terminal is detected, obtains the button operation pair by key map according to prestoring
The key value answered;According to the corresponding triggering state for showing the button operation of the key value.By detecting the rolling based on terminal
Dynamic operation judges whether acceleration transducer correspond to the acceleration data operated of shaking effective, effective in the acceleration data
When, connection is established with the terminal, and send the terminal for the game keys group prestored and correspond to so that the terminal is shown
Game keys group.Existing mobile terminal device adaptation smart television game is effectively avoided to need for different game settings and fit
Function with various game, and adaptation procedure is complicated, it is difficult to the problem of realizing.It realizes when being connect with mobile terminal device, from
Dynamic rapid configuration smart television game, it is easy to operate, and then improve the user experience that user manipulates game.
Since the adaptation smart television game of existing mobile terminal device is needed for different game settings and is adapted to various trips
The function of play, and adaptation procedure is complicated, it is difficult to it realizes.
Based on the above issues, the present invention provides a kind of game control method that smart television is connect with terminal.
Referring to Fig.1, Fig. 1 is the process of the first embodiment for the game control method that smart television of the present invention is connect with terminal
Schematic diagram.
In one embodiment, the game control method that the smart television is connect with terminal includes:
Step S10 determines that acceleration transducer corresponds to the shaking operation when detecting the shaking operation based on terminal
Acceleration data, judge whether the acceleration data effective;
In the present embodiment, the main body for executing the game control method that smart television of the present invention is connect with terminal is preferably intelligence
Energy TV, also can also be Web TV, apparatus such as computer.The system that the smart television uses can for android system,
Any one of IOS system and Windows system.The smart television constantly detects the trigger event of various game functions, example
Such as: the first, the game request order of smart television main interface broadcast transmission;Second, smart television reception terminal passes through more
The game request order that screen interaction is sent.The can be IGRS protocol of the multi-screen interactive, Miracast agreement etc., pass through
Wi-Fi network connection, in different multimedia terminal, for example, IOS is based on, on the different operating systems such as Android, Symbian
Different intelligent terminal device such as mobile phone, between PDA, TV etc., the transmission of multimedia (audio, video, picture) content can be carried out,
Parsing shows that the sequence of operations such as control shared simultaneously in different platform equipment can show content, enrich the more of user
Media life.
Specifically, with reference to Fig. 2, it is described to judge that the whether effective process of acceleration data may include:
Step S11 judges whether the acceleration transducer value is more than preset threshold;
Step S12 determines that the shaking operation is corresponding lasting when the acceleration transducer value is more than preset threshold
Time judges whether the duration is more than preset time;
Step S13 judges that the acceleration data are effective when the duration being more than preset time.
The smart television detect terminal by open wechat shake function shaking operate when, determine acceleration
Sensor corresponds to the acceleration data for shaking operation, and judges whether the acceleration data are effective, by judging the acceleration
Whether degree sensor values is more than that preset threshold and/or the shaking operate whether the corresponding duration is more than preset time to sentence
Whether the acceleration that breaks is effective.The preset threshold can be acceleration transducer value greater than sensor total value range half with
On, for example, acceleration transducer total value is ± 20g, the acceleration transducer value that the smart television is got is+11g, judgement
The acceleration transducer value is more than preset threshold.The preset time can be 1s, 2s, 3s etc., according to the needs of users or/
And the performance setting of intelligent television system, in the acceleration transducer value be more than preset threshold and shaking operation is corresponding
When duration is more than preset time, judge that the acceleration data are effective, and effectively data is accelerated to be saved in intelligent electricity respectively
Different memory areas depending in, for example, how many valid data, i.e., how many organizes different terminal devices, by lasting 1s's plus
Fast data are stored in memory block 22, and the acceleration data for continuing 2s are stored in memory block 33, and the acceleration data for continuing 3s, which are stored in, deposits
Storage area 44 etc., according to the needs of users and/or the performance of intelligent television system divides memory block;In the acceleration transducer
When value is less than preset threshold or the shaking and operates the corresponding duration and be less than preset time, judge the acceleration without
Effect.It also can also be in the acceleration transducer value to be more than that preset threshold or the shaking are grasped in other embodiments of the present invention
When making the corresponding duration more than preset time, judge that the acceleration is invalid;It is less than in the acceleration transducer value
When preset threshold or shaking operation corresponding duration are less than preset time, judge that the acceleration is invalid.
Step S20 establishes connection, and the game keys group that will be prestored with the terminal when the acceleration data are effective
It is sent to the terminal, so that the terminal page shows corresponding game keys group;
The connection type that the smart television and the terminal establish connection can be by wireless Wi-Fi, bluetooth, NFC etc.
Connection type, for example, the Wi-Fi signal that the smart television and the terminal are issued using the same wireless router, that is, exist
In the wireless zone of hot spot Wi-Fi covering, the terminal is by inputting hot spot on the terminal software of corresponding brand smart television
The password of Wi-Fi can be realized and establish connection with the smart television.The smart television is establishing connection with the terminal
Afterwards, the terminal is sent by the game keys group prestored, so that the terminal page shows corresponding game keys group, example
Such as, the key groups such as the upper and lower, left and right of game keys are shown in terminal page.
Step S30 detects the button operation based on the terminal, obtains the button operation by key map according to prestoring
Corresponding key value;
The smart television is by button operation of the detecting based on the terminal, for example, the smart television is detecting
The game keys shown in the terminal page are pressed, and read storage location of the game keys value in memory block, example
Such as, the storage location of game keys value is 0X1000, according to the storage that will read game keys value by key map prestored
Position 0X1000 is mapped to the key value being pre-stored in memory block 11.
Step S40, according to the corresponding triggering state for showing the button operation of the key value.
The terminal name of smart television display connection, the state of terminal game key triggering, the terminal can be with
There are three mobile phones for example, the terminal of connection is mobile phone for mobile phone, PAD, laptop etc. while being connected to game station, then
Smart television obtains mobile phone 1, and mobile phone 2, the information of mobile phone 3, the mobile phone 1, mobile phone 2, the information of mobile phone 3 includes but is not limited to hand
The title of machine, the information such as IMEI of mobile phone, show mobile phone 1, mobile phone 2, the title of mobile phone 3 on smart television screen.When mobile phone 1
The triggering of upward key after, the icon that is pressed of the display upward key of mobile phone 1;After the down button triggering of mobile phone 2, hand is shown
The icon that 2 down button of machine is pressed;After the down button triggering of mobile phone 3, the figure that 3 down button of mobile phone is pressed is shown
Mark.
Shaking operation of the present embodiment by detecting based on terminal judges that acceleration transducer corresponds to the shaking operation
Accelerate data whether effective, when the acceleration data are effective, establishes connection, and the game keys group that will be prestored with the terminal
Be sent to the terminal so that the terminal is shown corresponding game keys group.Effectively avoid existing mobile terminal device adaptation intelligence
Energy video game needs for different game settings and is adapted to the function of various game, and adaptation procedure is complicated, it is difficult to realization
Problem.It can be when being connect with mobile terminal device, automatic rapid configuration smart television game is easy to operate, and then improves user
Manipulate the speed of game.
Referring to Fig. 3, Fig. 3 is the process of the second embodiment for the game control method that smart television of the present invention is connect with terminal
Schematic diagram.First embodiment based on the above method, the step S20 include:
Step S21 judges whether the number of the valid data is one when the acceleration data are effective;
Step S22 is terminal coupling solitaire game mode when the number of the valid data is one automatically, and will
The key group prestored is sent to terminal.
The smart television finds only one terminal device when effective number for accelerating data is one,
For the terminal coupling solitaire game mode, the key value prestored is sent to terminal storage, the single matching key of starting game
Mode, the game keys group prestored is corresponding with the key group of the terminal device page.
After the step S21, further includes:
Step S23 is automatically terminal coupling multiplayer mode, and obtain when the number of the valid data is multiple
Take each valid data corresponding duration;
Step S24 is each terminal coupling game group identity according to the duration, and by game group body
Part key corresponds to terminal page.
The smart television is not all each terminal according to the duration for the valid data being stored in different memory areas
Game group identity is matched, such as: continue 1s or so and is matched for 1 group identity of terminal device 1;Continue 2s or so to set for terminal
Standby 22 group identities match;Continue 3s or so as the 3 group identities matching etc. of terminal device 3.It is swum for each terminal coupling
It plays after group identity, 1 group's key is mapped to 1 page of mobile phone, 2 group's keys are mapped to 2 page of mobile phone, and 3 group's keys reflect
It is mapped to 3 page of mobile phone etc..
The present embodiment accelerates the effective number of data by determining, is automatically terminal coupling trip according to the acceleration effective number of data
Play mode, the game keys group prestored is corresponding with terminal page.It realizes hommization, be intelligently terminal coupling game mould
Formula, and manipulation game is simple, experiences good.
Referring to Fig. 4, Fig. 4 is the process of the 3rd embodiment for the game control method that smart television of the present invention is connect with terminal
Schematic diagram.Another embodiment based on the above method, the game control method that the smart television is connect with terminal further include:
Step S50, when detect based on terminal shaking operation when, search wireless zone in terminal, and with the end
End connection;
Step S60 obtains the identity information of the terminal when connecting with the terminal, and detecting the identity information is
No is target terminal;
Step S70 obtains the key group and key mapping of the target terminal when the identity information is target terminal
Table.
When detecting the shaking operation based on terminal, the terminal that automatic searching occurs in wireless zone is set smart television
It is standby.After finding terminal device, connection, and the identity information of reading terminal equipment, described and terminal are established with terminal device
The mode that equipment establishes connection is identical as the connection type in above-mentioned steps S20, no longer illustrates one by one herein.The smart television
When detecting the identity information is target terminal, the target terminal can be wireless game pads, open game paddle
Key collecting function is saved in memory block 11, the trip that will be saved by the game keys group of game paddle and by key map
Play handle is labeled as being saved state.
The present embodiment by detecting based on terminal shaking operation, search wireless zone in terminal, and with the terminal
Connection, obtains the identity information of the terminal, detects whether the identity information is target terminal, is mesh in the identity information
When marking terminal, the key group of the target terminal is obtained and by key map.By prestore in advance target terminal key group and
By key map, realization is automatic, rapidly enters game mode, improves user to the manipulation speed of game.
Corresponding, based on the method for above-mentioned smart television connection terminal configuration game, the present invention further provides a kind of intelligence
The game control device that energy TV is connect with terminal.
Referring to Fig. 5, Fig. 5 is the function of the first embodiment for the game control device that smart television of the present invention is connect with terminal
Module diagram.
In one embodiment, the game control device that the smart television is connect with terminal includes: judgment module 10, sends
Module 20 obtains module 30 and display module 40.
The judgment module 10, for determining that acceleration transducer is corresponding when detecting the shaking operation based on terminal
The acceleration data for shaking operation, judge whether the acceleration data are effective;
In the present embodiment, the main body for executing the game control method that smart television of the present invention is connect with terminal is preferably intelligence
Energy TV, is also possible to Web TV, apparatus such as computer.The system that the smart television uses can for android system,
Any one of IOS system and Windows system.The smart television constantly detects the trigger event of various game functions, example
Such as: the first, the game request order of smart television main interface broadcast transmission;Second, smart television reception terminal passes through more
The game request order that screen interaction is sent.The can be IGRS protocol of the multi-screen interactive, Miracast agreement etc., pass through
Wi-Fi network connection, in different multimedia terminal, for example, IOS is based on, on the different operating systems such as Android, Symbian
Different intelligent terminal device such as mobile phone, between PDA, TV etc., the transmission of multimedia (audio, video, picture) content can be carried out,
Parsing shows that the sequence of operations such as control shared simultaneously in different platform equipment can show content, enrich the more of user
Media life.
Specifically, the judgment module 10 includes judging unit 11 and determination unit 12 with reference to Fig. 6,
The judging unit 11 is also used to judge for judging whether the acceleration transducer value is more than preset threshold
Whether the duration is more than preset time, is also used to judge the acceleration when the duration being more than preset time
Data are effective;
The determination unit 12, for when the acceleration transducer value is more than preset threshold, determining the shaking behaviour
Make the corresponding duration.
The smart television detect terminal by open wechat shake function shaking operate when, determine acceleration
Sensor corresponds to the acceleration data for shaking operation, and judges whether the acceleration data are effective, by judging the acceleration
Whether degree sensor values is more than that preset threshold and/or the shaking operate whether the corresponding duration is more than preset time to sentence
Whether the acceleration that breaks is effective.The preset threshold can be acceleration transducer value greater than sensor total value range half with
On, for example, acceleration transducer total value is ± 20g, the acceleration transducer value that the smart television is got is+11g, judgement
The acceleration transducer value is more than preset threshold.The preset time can be 1s, 2s, 3s etc., according to the needs of users or/
And the performance setting of intelligent television system.In the acceleration transducer value be more than preset threshold and shaking operation is corresponding
When duration is more than preset time, judge that the acceleration data are effective, and effectively data is accelerated to be saved in intelligent electricity respectively
Different memory areas depending in, for example, how many valid data, i.e., how many organizes different terminal devices, by lasting 1s's plus
Fast data are stored in memory block 22, and the acceleration data for continuing 2s are stored in memory block 33, and the acceleration data for continuing 3s, which are stored in, deposits
Storage area 44 etc., according to the needs of users and/or the performance of intelligent television system divides memory block;In the acceleration transducer
When value is less than preset threshold or the shaking and operates the corresponding duration and be less than preset time, judge the acceleration without
Effect.It also can also be in the acceleration transducer value to be more than that preset threshold or the shaking are grasped in other embodiments of the present invention
When making the corresponding duration more than preset time, judge that the acceleration is invalid;It is less than in the acceleration transducer value
When preset threshold or shaking operation corresponding duration are less than preset time, judge that the acceleration is invalid.
The sending module 20 establishes connection with the terminal for when the acceleration data are effective, and will prestore
Game keys group is sent to the terminal, so that the terminal page shows corresponding game keys group;
The connection type that the smart television and the terminal establish connection can be by wireless Wi-Fi, bluetooth, NFC etc.
Connection type, for example, the Wi-Fi signal that the smart television and the terminal are issued using the same wireless router, that is, exist
In the wireless zone of hot spot Wi-Fi covering, the terminal is by inputting hot spot on the terminal software of corresponding brand smart television
The password of Wi-Fi can be realized and establish connection with the smart television.The smart television is establishing connection with the terminal
Afterwards, the terminal is sent by the game keys group prestored, so that the terminal page shows corresponding game keys group, example
Such as, the key groups such as the upper and lower, left and right of game keys are shown in terminal page.
The acquisition module 30, for detecting the button operation based on the terminal, is obtained according to prestoring by key map
The corresponding key value of the button operation;
The smart television is by button operation of the detecting based on the terminal, for example, the smart television is detecting
The game keys shown in the terminal page are pressed, and read storage location of the game keys value in memory block, example
Such as, the storage location of game keys value is 0X1000, according to the storage that will read game keys value by key map prestored
Position 0X1000 is mapped to the key value being pre-stored in memory block 11.
The display module 40 shows the terminal name of connection for the smart television, the triggering of terminal game key
State, the terminal can have three mobile phones same for mobile phone, PAD, laptop etc. for example, the terminal of connection is mobile phone
When be connected to game station, smart television obtains mobile phone 1, mobile phone 2, the information of mobile phone 3, the mobile phone 1, mobile phone 2, mobile phone 3
Information includes but is not limited to the information such as the title of mobile phone, IMEI, shows mobile phone 1 on smart television screen, mobile phone 2, mobile phone 3
Title.After the upward key triggering of mobile phone 1, the icon that the upward key of mobile phone 1 is pressed is shown;When the down button of mobile phone 2
After triggering, the icon that 2 down button of mobile phone is pressed is shown;After the down button triggering of mobile phone 3, display mobile phone 3 is pressed downwards
The icon that key is pressed.
Further, referring to Fig. 7, the sending module 20 includes transmission unit 21, acquiring unit 22 and matching unit 23.
The judging unit 11, be also used to judge when the acceleration data are effective the valid data number whether
It is one;
It is automatically the single trip of terminal coupling when the transmission unit 21 for the number in the valid data is one
Play mode, and the key group prestored is sent to terminal.
The smart television finds only one terminal device when effective number for accelerating data is one,
For the terminal coupling solitaire game mode, the key value prestored is sent to terminal storage, the single matching key of starting game
Mode, the game keys group prestored is corresponding with the key group of the terminal device page.
It is automatically terminal coupling more people trip when the acquiring unit 22 for the number in the valid data is multiple
Play mode, and obtain each valid data corresponding duration;
The matching unit 23, for being each terminal coupling game group identity according to the duration, and by institute
It states game group identity key and corresponds to terminal page.
The smart television is not all each terminal according to the duration for the valid data being stored in different memory areas
Game group identity is matched, such as: continue 1s or so and is matched for 1 group identity of terminal device 1;Continue 2s or so to set for terminal
Standby 22 group identities match;Continue 3s or so as the 3 group identities matching etc. of terminal device 3.It is swum for each terminal coupling
It plays after group identity, 1 group's key is mapped to 1 page of mobile phone, 2 group's keys are mapped to 2 page of mobile phone, and 3 group's keys reflect
It is mapped to 3 page of mobile phone etc..
Shaking operation of the present embodiment by detecting based on terminal judges that acceleration transducer corresponds to the shaking operation
Accelerate data whether effective, when the acceleration data are effective, establishes connection, and the game keys group that will be prestored with the terminal
Be sent to the terminal so that the terminal is shown corresponding game keys group.Effectively avoid existing mobile terminal device adaptation intelligence
Energy video game needs for different game settings and is adapted to the function of various game, and adaptation procedure is complicated, it is difficult to realization
Problem.It can be when being connect with mobile terminal device, automatic rapid configuration smart television game is easy to operate, and then improves user
Manipulate the speed of game.
Referring to Fig. 8, Fig. 8 is the function of the second embodiment for the game control device that smart television of the present invention is connect with terminal
Module diagram.The game control device that the smart television is connect with terminal further includes link block 50 and detection module 60.
The link block 50, for searching the terminal in wireless zone when detecting the shaking operation based on terminal,
And it is connect with the terminal;
The detection module 60 obtains the identity information of the terminal for when connecting with the terminal, described in detection
Whether identity information is target terminal;
The acquisition module 30 is also used to obtain pressing for the target terminal when the identity information is target terminal
Key group and press key map.
When detecting the shaking operation based on terminal, the terminal that automatic searching occurs in wireless zone is set smart television
It is standby.After finding terminal device, connection, and the identity information of reading terminal equipment, described and terminal are established with terminal device
The mode that equipment establishes connection is identical as the connection type in above-mentioned steps S20, no longer illustrates one by one herein.The smart television
When detecting the identity information is target terminal, the target terminal can be wireless game pads, open game paddle
Key collecting function is saved in memory block 11, the trip that will be saved by the game keys group of game paddle and by key map
Play handle is labeled as being saved state.
The present embodiment by detecting based on terminal shaking operation, search wireless zone in terminal, and with the terminal
Connection, obtains the identity information of the terminal, detects whether the identity information is target terminal, is mesh in the identity information
When marking terminal, the key group of the target terminal is obtained and by key map.By prestore in advance target terminal key group and
By key map, realization is automatic, rapidly enters game mode, improves user to the manipulation speed of game.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Pass through above embodiment party
The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software
The mode of hardware platform is realized, naturally it is also possible to which by hardware, but in many cases, the former is more preferably embodiment.It is based on
Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical solution of the present invention
Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including
Some instructions are used so that a terminal device (can be mobile phone, computer, server or the network equipment etc.) executes this hair
Method described in bright each embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (8)
1. the game control method that a kind of smart television is connect with terminal, which is characterized in that the described method comprises the following steps:
When detecting the shaking operation based on terminal, determine that acceleration transducer corresponds to the acceleration data for shaking operation,
Judge whether the acceleration data are effective;
When the acceleration data are effective, connection is established with the terminal, and will be pre- according to the terminal unique identity information of acquisition
The game keys group deposited is sent to counterpart terminal, so that the terminal page shows corresponding game keys group;
The button operation based on the terminal is detected, obtains the corresponding key of the button operation by key map according to prestoring
Value;
According to the corresponding triggering state for showing the button operation of the key value;
When detecting the shaking operation based on terminal, the terminal in wireless zone is searched, and connect with the terminal;
When connecting with the terminal, the identity information of the terminal is obtained, detects whether the identity information is target terminal;
When the identity information is target terminal, the key group of the target terminal is obtained and by key map.
2. the game control method that smart television as described in claim 1 is connect with terminal, which is characterized in that the judgement institute
Stating the step for accelerating data whether effective includes:
Judge whether the acceleration transducer value is more than preset threshold;
When the acceleration transducer value is more than preset threshold, determines that the shaking operates the corresponding duration, judge institute
State whether the duration is more than preset time;
When the duration being more than preset time, judge that the acceleration data are effective.
3. the game control method that smart television as described in claim 1 is connect with terminal, which is characterized in that described described
When accelerating data effective, establish connection with the terminal, and according to the terminal unique identity information of acquisition by the game prestored by
Key group is sent to counterpart terminal so that the step of terminal shows corresponding game keys group includes:
When the acceleration data are effective, judge whether the number of the valid data is one;
It is automatically terminal coupling solitaire game mode, and the key group that will be prestored when the number of the valid data is one
It is sent to terminal.
4. the game control method that smart television as claimed in claim 3 is connect with terminal, which is characterized in that described described
It when accelerating data effective, determines and accelerates the effective number of data, judge that the number whether after the step for being one, is also wrapped
It includes:
It is automatically terminal coupling multiplayer mode, and obtain each significant figure when the number of the valid data is multiple
According to the corresponding duration;
It is each terminal coupling game group identity according to the duration, and the game group identity key is corresponded to
Terminal page.
5. the game control device that a kind of smart television is connect with terminal characterized by comprising
Judgment module, for when detecting the shaking operation based on terminal, determining that acceleration transducer corresponds to the shaking behaviour
The acceleration data of work judge whether the acceleration data are effective;
Sending module, for establishing connection with the terminal, and unique according to the terminal of acquisition when the acceleration data are effective
The game keys group prestored is sent counterpart terminal by identity information, so that the terminal page shows corresponding game keys
Group;
Module is obtained, for detecting the button operation based on the terminal, obtains the key behaviour by key map according to prestoring
Make corresponding key value;
Display module, for according to the corresponding triggering state for showing the button operation of the key value;
Link block for searching the terminal in wireless zone when the shaking operation for detecting terminal, and connects with the terminal
It connects;
Detection module, for obtaining the identity information of the terminal, detecting the identity information is when connecting with the terminal
No is target terminal;
The acquisition module is also used to obtain the game keys of the target terminal when the identity information is target terminal
Group and press key map.
6. the game control device that smart television as claimed in claim 5 is connect with terminal, which is characterized in that the judgement mould
Block includes determination unit and judging unit,
The determination unit, for when the acceleration transducer value is more than preset threshold, determining that the shaking operation corresponds to
Duration;
The judging unit is also used to judge described hold for judging whether the acceleration transducer value is more than preset threshold
Whether the continuous time is more than preset time, is also used to judge that the acceleration data have when the duration being more than preset time
Effect.
7. the game control device that smart television as claimed in claim 5 is connect with terminal, which is characterized in that the transmission mould
Block includes transmission unit,
The transmission unit, for the number in the valid data be one when, automatically be terminal coupling solitaire game mode,
And the key group prestored is sent to terminal;
The judging unit is also used to judge when the acceleration data are effective whether the number of the valid data is one.
8. the game control device that smart television as claimed in claim 7 is connect with terminal, which is characterized in that the transmission mould
Block further includes acquiring unit and matching unit,
The acquiring unit, for the number in the valid data be it is multiple when, automatically be terminal coupling multiplayer mode,
And obtain the duration of each valid data;
The matching unit, for being each terminal coupling game group identity according to the duration, and by the game
Group identity key corresponds to terminal page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510122572.1A CN105472474B (en) | 2015-03-19 | 2015-03-19 | Game control method and device for connection of smart television and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510122572.1A CN105472474B (en) | 2015-03-19 | 2015-03-19 | Game control method and device for connection of smart television and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472474A CN105472474A (en) | 2016-04-06 |
CN105472474B true CN105472474B (en) | 2019-03-12 |
Family
ID=55609684
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510122572.1A Active CN105472474B (en) | 2015-03-19 | 2015-03-19 | Game control method and device for connection of smart television and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472474B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109003344B (en) * | 2017-06-06 | 2020-11-06 | 郑州动量科技有限公司 | Multi-device coexistence roll-call identification pairing method and system |
CN107967799A (en) * | 2017-11-30 | 2018-04-27 | 深圳市沃特沃德股份有限公司 | Manipulate the method and finger ring remote controler of translator |
CN110021156A (en) * | 2018-01-10 | 2019-07-16 | 金宝电子工业股份有限公司 | Remote control system and remote control method |
CN112316410A (en) * | 2020-06-30 | 2021-02-05 | 深圳Tcl新技术有限公司 | Control method, system, equipment and readable storage medium based on television game |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102509438A (en) * | 2011-10-28 | 2012-06-20 | 深圳市同洲电子股份有限公司 | Method for transmitting data in shaking way by using intelligent terminal and intelligent terminal |
CN102622156A (en) * | 2011-01-26 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Method, device and system for acquiring virtual keyboards |
CN103023540A (en) * | 2012-12-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and device for transferring files by Bluetooth |
CN103908778A (en) * | 2014-04-04 | 2014-07-09 | 深圳市同洲电子股份有限公司 | Game control method and related terminals |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873371A (en) * | 2009-04-24 | 2010-10-27 | 华旗移动通讯科技(北京)有限公司 | Mobile phone, system and method capable of controlling computer game |
CN102054341A (en) * | 2009-11-06 | 2011-05-11 | 康佳集团股份有限公司 | Method and device for remotely controlling television by using mobile phone |
CN102170483A (en) * | 2010-12-28 | 2011-08-31 | 四川长虹电器股份有限公司 | Method for controlling intelligent television by cell phone or computer |
CN103377671A (en) * | 2012-04-20 | 2013-10-30 | 鸿富锦精密工业(深圳)有限公司 | Remote control method and system, and mobile device using remote control method |
CN103455134A (en) * | 2012-06-01 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Method and system for interaction between mobile device and controlled device |
CN103281580A (en) * | 2013-05-31 | 2013-09-04 | 杨臧健 | Television set remote control method for separating user interface and system thereof |
CN103472949A (en) * | 2013-09-03 | 2013-12-25 | 小米科技有限责任公司 | Method and device for remote-control processing of touch screen terminal and terminal |
CN103596028A (en) * | 2013-11-25 | 2014-02-19 | 乐视致新电子科技(天津)有限公司 | Method and device for controlling smart television |
CN103747308A (en) * | 2013-11-29 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Method and system for controlling smart television with analog keys, and mobile terminal |
CN103888820A (en) * | 2014-03-28 | 2014-06-25 | 湖南网圣腾飞信息技术有限公司 | Game control system and method with smart mobile phone and intelligent television combined |
-
2015
- 2015-03-19 CN CN201510122572.1A patent/CN105472474B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622156A (en) * | 2011-01-26 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Method, device and system for acquiring virtual keyboards |
CN102509438A (en) * | 2011-10-28 | 2012-06-20 | 深圳市同洲电子股份有限公司 | Method for transmitting data in shaking way by using intelligent terminal and intelligent terminal |
CN103023540A (en) * | 2012-12-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and device for transferring files by Bluetooth |
CN103908778A (en) * | 2014-04-04 | 2014-07-09 | 深圳市同洲电子股份有限公司 | Game control method and related terminals |
Also Published As
Publication number | Publication date |
---|---|
CN105472474A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105187871B (en) | A kind of method and system of the mobile terminal data transmission television terminal based on NFC | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
CN104735524B (en) | The data sharing method and data sharing system of mobile terminal | |
CN109408168B (en) | Remote interaction method and terminal equipment | |
US20220167036A1 (en) | Live broadcast method and apparatus, and computer device and storage medium | |
CN105472474B (en) | Game control method and device for connection of smart television and terminal | |
CN108184164A (en) | Audio frequency playing method, smart television and computer readable storage medium | |
CN101247609A (en) | Method and system for monitoring between mobile terminals | |
CN106303733B (en) | Method and device for playing live special effect information | |
CN103823801B (en) | A kind of method, apparatus and system realized webpage in the terminal and shared | |
WO2005087335A1 (en) | Game server system, game element providing method, game device, and program product | |
CN102571735A (en) | Method, device and system for carrying out application processing by multiple terminals | |
CN109646940A (en) | Method, terminal and the computer readable storage medium of synchronization applications | |
CN111132111A (en) | BLE-based audio sharing method and system and computer-readable storage medium | |
CN104821929A (en) | Multimedia data sharing method and terminal | |
CN105376620A (en) | Control method and system | |
CN105516764A (en) | Configuration method and device of remote control information | |
CN106095132B (en) | Method and device for setting key function of playing equipment | |
CN105903191A (en) | Data processing method and system across terminals | |
CN103647997A (en) | Data-resource transmission method and device | |
CN109582820B (en) | Song playing method, terminal equipment and server | |
CN103546794A (en) | Remote control device and smart television | |
CN103376975A (en) | Control method and device and mobile communication terminal | |
CN102571510B (en) | Communication system and method based on portable mobile terminal | |
CN106412685B (en) | Wireless network connecting method and smart television based on smart television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |