CN105323629A - Cross-screen game manipulation device - Google Patents

Cross-screen game manipulation device Download PDF

Info

Publication number
CN105323629A
CN105323629A CN201410378350.1A CN201410378350A CN105323629A CN 105323629 A CN105323629 A CN 105323629A CN 201410378350 A CN201410378350 A CN 201410378350A CN 105323629 A CN105323629 A CN 105323629A
Authority
CN
China
Prior art keywords
order
game
top box
game control
bag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410378350.1A
Other languages
Chinese (zh)
Inventor
李青
蔡孝勋
李峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd filed Critical SHANGHAI B-STAR BROADBAND TECHNOLOGY Co Ltd
Priority to CN201410378350.1A priority Critical patent/CN105323629A/en
Publication of CN105323629A publication Critical patent/CN105323629A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a cross-screen game manipulation device. The device comprises a game control terminal, a set-top-box game terminal and an XMPP-based cross-terminal collaborative interaction device used for realizing information interaction between the game control terminal and the set-top-box game terminal; the game control terminal comprises a first command sending module and a second command receiving module; and the set-top box game terminal comprises a first command receiving module and a second command sending module. In the device provided by the invention, by means of modular design and protocol agency processing mechanism, different interaction processing logics of the game control terminal and the set-top-box terminal are packaged, thus, the device is adaptive to various intelligent games, work procedures of core modules are simplified, a uniform development interface is provided for set-top box game applications, and cross-terminal device interaction is realized.

Description

Across the device of screen game manipulation
Technical field
The present invention relates to the technical fields such as XMPP instant communication protocol, modularized design, particularly relate to a kind of device across screen game manipulation.
Background technology
XMPP (ExtensibleMessagingandPresenceProtocol) (front title Jabber) is a kind of open instant communication protocol based on XML, is the internet standard passed through via Internet Engineering Task group (IETF).The transfer of data of this agreement is based on XML format, and extensibility is strong.
Along with the development of intelligent terminal, the game application and development on Intelligent set top box has no longer been confined to simple design and develop out a set of based on the game application in Set Top Box in addition, and adopts remote controller or the game of game paddle adaptation.But providing unified control command by introduction control end, game end accepts the new type of control method of processing command simply by network.
For game developer, game is transplanted in Set Top Box, the most direct mode is amendment code, and the game amendment on comparatively ripe intelligent handheld device is transplanted in Set Top Box.The cost of exploitation will be increased so greatly.
In addition, application developer is in the past when developing cross-terminal interactive service, often need the interaction logic that the interactive device configure at the application place developed according to oneself is different, cause a large amount of code redundancy on the one hand, also increase the difficulty of program maintenance and upgrading on the other hand.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of device across screen game manipulation, for solving the problem of the complex of Set Top Box adaptation procedure in prior art, to integrate code to the full extent, succinct, unified external interface is provided, a kind of adaptation method towards the interaction protocol between Set Top Box game application and localized remote control application of cross-terminal is provided, and by utilizing agency by agreement mechanism, realizes the control that most intelligent platform is played.
For achieving the above object and other relevant objects, the invention provides a kind of device across screen game manipulation, comprising:
Game control end, Set Top Box game end and the cross-terminal cooperation interaction equipment based on XMPP of information interaction for realizing described game control end and Set Top Box game end;
Described game control end comprises the first order sending module and the second order receiver module, and described machine play end comprises the first order receiver module and the second order sending module, wherein:
First order sending module of game control end is used for game operation abstract and is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message and asks to send;
First order receiver module of Set Top Box game end for receiving the order bag of described first order sending module transmission, and resolves described order bag, makes Set Top Box game end perform the game operation of correspondence according to order;
Second of Set Top Box game end is ordered to send and is made module for when the game state of Set Top Box game end changes, and game state is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message and asks to send;
The order bag that second order receiver module of game control end sends for receiving the second order sending module, and resolve described order bag, makes game control end obtain data also more new user interface.
As a kind of preferred version of the device across screen game manipulation of the present invention, described first order sending module comprises:
First definition command unit, for game operation abstract is packaged into the order of predetermined format, is then packaged into the order bag of XMPP message by this order;
First Requests routing unit, the request for the order bag of XMPP message sends.
As a kind of preferred version of the device across screen game manipulation of the present invention, described first order receiver module comprises:
First receives command unit, for receiving the order bag that described first order sending module sends;
First Logical processing unit, for resolving described order bag, makes Set Top Box play end according to ordering the game operation performing correspondence.
As a kind of preferred version of the device across screen game manipulation of the present invention, described second order sending module comprises:
Second definition command unit, for when the game state of Set Top Box game end changes, is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message by game state;
Second Requests routing unit, the request for the order bag of XMPP message sends.
As a kind of preferred version of the device across screen game manipulation of the present invention, described second order receiver module comprises:
Second receives command unit, for receiving the order bag that described second order sending module sends;
Second Logical processing unit, for resolving described order bag, makes game control end obtain data and more new user interface.
As a kind of preferred version of the device across screen game manipulation of the present invention, described game control end comprises smart mobile phone game control end and panel computer game control end.
As mentioned above, the invention provides a kind of device across screen game manipulation, comprising: game control end, Set Top Box game end and the cross-terminal cooperation interaction equipment based on XMPP of information interaction for realizing described game control end and Set Top Box game end; Described game control end comprises the first order sending module and the second order receiver module, described machine play end comprises the first order receiver module and the second order sending module, wherein: the first order sending module of game control end is used for game operation abstract and is packaged into the order of predetermined format, then this order be packaged into the order bag of XMPP message and ask to send; First order receiver module of Set Top Box game end for receiving the order bag of described first order sending module transmission, and resolves described order bag, makes Set Top Box game end perform the game operation of correspondence according to order; Second of Set Top Box game end is ordered to send and is made module for when the game state of Set Top Box game end changes, and game state is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message and asks to send; The order bag that second order receiver module of game control end sends for receiving the second order sending module, and resolve described order bag, makes game control end obtain data also more new user interface.
The present invention has following beneficial effect:
1) succinctly effective, environment cheap rapidly, by importing unified control APP on intelligent terminal, then increasing order transceiver module, just can realize the game of intelligent terminal remote control set-box under basic network environment in game application.Infrared induction equipment or the adaptive Set Top Box of a large amount of amendment game identification codes is used without the need to buying.
2) modularized design, encapsulates different control, status command with formulation standard, unified protocol interaction flow process.This remote control thereof by the protocol procedures of game control command encapsulate, resolve, formulated standard and unify based on XMPP interaction flow.Developer can be freed from the interaction protocol logic processing different application types on the one hand, distinct program developer also can be avoided to develop the chaotic problem of the protocol interaction flow process caused separately simultaneously.Unified game control command transceiver module is provided.
3) agency by agreement mechanism, different command modules is called in intelligence distribution.Application developer is in the past when developing cross-terminal interactive service, often need the interaction logic that the interactive device configure at the application place developed according to oneself is different, cause a large amount of code redundancy on the one hand, also increase the difficulty of program maintenance and upgrading on the other hand.By the agency by agreement mechanism of this method, developer only needs cross allocation process to be given agency mechanism and goes realize and need not write code logic separately in a large number.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation of the device across screen game manipulation of the present invention.
Element numbers explanation
1 game control end
2 Set Top Box game ends
3 based on the cross-terminal cooperation interaction equipment of XMPP
11 first order sending modules
12 second order receiver modules
21 second order sending modules
22 first order receiver modules
111 first definition command unit
112 first Requests routing unit
221 first receive command unit
222 first Logical processing units
211 second definition command unit
212 second Requests routing unit
121 second receive command unit
122 second Logical processing units
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
Refer to Fig. 1.It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
As shown in Figure 1, the present embodiment provides a kind of device across screen game manipulation, comprising:
Game control end 1, Set Top Box game end 2 and the cross-terminal cooperation interaction equipment 3 based on XMPP of information interaction for realizing described game control end 1 and Set Top Box game end 2;
Described game control end comprises the first order sending module 11 and the second order receiver module 12, and described machine play end comprises the first order receiver module 22 and the second order sending module 21, wherein:
This order, for game operation abstract is packaged into the order of predetermined format, is then packaged into the order bag of XMPP message and request sends by the first order sending module 11 of game control end 1;
First order receiver module 22 of Set Top Box game end 2 for receiving the order bag of described first order sending module 11 transmission, and resolves described order bag, makes Set Top Box game end 2 perform corresponding game operation according to order;
During the game state change that the second order transmission that Set Top Box plays end 2 makes module for end 2 of playing in Set Top Box, game state is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message and asks to send;
The order bag that second order receiver module 12 of game control end 1 sends for receiving the second order sending module 21, and resolve described order bag, makes game control end 1 obtain data also more new user interface.
Exemplarily, described first order sending module 11 comprises:
First definition command unit 111, for game operation abstract is packaged into the order of predetermined format, is then packaged into the order bag of XMPP message by this order;
First Requests routing unit 112, the request for the order bag of XMPP message sends.
Exemplarily, described first order receiver module 22 comprises:
First receives command unit 221, for receiving the order bag that described first order sending module 11 sends;
First Logical processing unit 222, for resolving described order bag, makes Set Top Box play end 2 according to ordering the game operation performing correspondence.
Exemplarily, described second order sending module 21 comprises:
Second definition command unit 211, for when the game state of Set Top Box game end 2 changes, is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message by game state;
Second Requests routing unit 212, the request for the order bag of XMPP message sends.
Exemplarily, described second order receiver module 12 comprises:
Second receives command unit 121, for receiving the order bag that described second order sending module 21 sends;
Second Logical processing unit 122, for resolving described order bag, makes game control end 1 obtain data and more new user interface.
Exemplarily, described game control end 1 comprises smart mobile phone game control end and panel computer game control end.
Specifically he, the concrete handling process of device across screen game manipulation of the present embodiment is:
The first, order sends.Open Set Top Box game end 2 and game control end 1, can be established the link by the cross-terminal cooperation interaction equipment 3 based on XMPP between it, link game control end 1 successfully and " game will be started " operation is abstracted into order, encapsulation packing, ask transmission order.After game starts, when there being new operation, new game operation can be abstracted into order by game control end 1 equally, and encapsulation packing, request send order.After Set Top Box game end 2 has the change of great state, such as play and started, game over, state encapsulation can become order and pack, asks to send and order by Set Top Box game end 2.Order sending module is responsible for Envelope command according to demand and is packaged into XMPP message and sends to appointment receiving terminal.
The second, order receives.After game starts, Set Top Box game end 2 can receive the order of game control end 1.After Set Top Box game end 2 has great state change, such as play and started, game over, game control end can receive the state change order of Set Top Box game end 2.Order receiver module is responsible for the XMPP request receiving client initiation, and judges that the other side is intended to according to received relevant information, judges whether process and feedback information.
Wherein, the communication condition occurred between Set Top Box game end 2 and game control end 1 has following several:
The first, game control end 1 sends control command to Set Top Box game end 2.The operation of game control end 1 will be abstracted into order, and packing, request send.Set Top Box game end 2 takes orders, and resolve command obtains intention and does corresponding process.And likely feedback message.
The second, Set Top Box game end 2 sends feedback command to game control end 1.When Set Top Box game end 2 has large state to change, state encapsulation can be become order, packing request sends.Game control end 1 takes orders.Resolve command, obtains Data Update user interface UI.
As mentioned above, the invention provides a kind of device across screen game manipulation, comprising: game control end 1, Set Top Box game end 2 and the cross-terminal cooperation interaction equipment 3 based on XMPP of information interaction for realizing described game control end 1 and Set Top Box game end 2; Described game control end comprises the first order sending module 11 and the second order receiver module 12, described machine play end comprises the first order receiver module 22 and the second order sending module 21, wherein: this order, for game operation abstract is packaged into the order of predetermined format, is then packaged into the order bag of XMPP message and request sends by the first order sending module 11 of game control end 1; First order receiver module 22 of Set Top Box game end 2 for receiving the order bag of described first order sending module 11 transmission, and resolves described order bag, makes Set Top Box game end 2 perform corresponding game operation according to order; During the game state change that the second order transmission that Set Top Box plays end 2 makes module for end 2 of playing in Set Top Box, game state is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message and asks to send; The order bag that second order receiver module 12 of game control end 1 sends for receiving the second order sending module 21, and resolve described order bag, makes game control end 1 obtain data also more new user interface.
The present invention has following beneficial effect:
1) succinctly effective, environment cheap rapidly, by importing unified control APP on intelligent terminal, then increasing order transceiver module, just can realize the game of intelligent terminal remote control set-box under basic network environment in game application.Infrared induction equipment or the adaptive Set Top Box of a large amount of amendment game identification codes is used without the need to buying.
2) modularized design, encapsulates different control, status command with formulation standard, unified protocol interaction flow process.This remote control thereof by the protocol procedures of game control command encapsulate, resolve, formulated standard and unify based on XMPP interaction flow.Developer can be freed from the interaction protocol logic processing different application types on the one hand, distinct program developer also can be avoided to develop the chaotic problem of the protocol interaction flow process caused separately simultaneously.Unified game control command transceiver module is provided.
3) agency by agreement mechanism, different command modules is called in intelligence distribution.Application developer is in the past when developing cross-terminal interactive service, often need the interaction logic that the interactive device configure at the application place developed according to oneself is different, cause a large amount of code redundancy on the one hand, also increase the difficulty of program maintenance and upgrading on the other hand.By the agency by agreement mechanism of this method, developer only needs cross allocation process to be given agency mechanism and goes realize and need not write code logic separately in a large number.
So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (6)

1., across a device for screen game manipulation, it is characterized in that, comprising:
Game control end, Set Top Box game end and the cross-terminal cooperation interaction equipment based on XMPP of information interaction for realizing described game control end and Set Top Box game end;
Described game control end comprises the first order sending module and the second order receiver module, and described machine play end comprises the first order receiver module and the second order sending module, wherein:
First order sending module of game control end is used for game operation abstract and is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message and asks to send;
First order receiver module of Set Top Box game end for receiving the order bag of described first order sending module transmission, and resolves described order bag, makes Set Top Box game end perform the game operation of correspondence according to order;
Second of Set Top Box game end is ordered to send and is made module for when the game state of Set Top Box game end changes, and game state is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message and asks to send;
The order bag that second order receiver module of game control end sends for receiving the second order sending module, and resolve described order bag, makes game control end obtain data also more new user interface.
2. the device across screen game manipulation according to claim 1, is characterized in that: described first order sending module comprises:
First definition command unit, for game operation abstract is packaged into the order of predetermined format, is then packaged into the order bag of XMPP message by this order;
First Requests routing unit, the request for the order bag of XMPP message sends.
3. the device across screen game manipulation according to claim 1, is characterized in that: described first order receiver module comprises:
First receives command unit, for receiving the order bag that described first order sending module sends;
First Logical processing unit, for resolving described order bag, makes Set Top Box play end according to ordering the game operation performing correspondence.
4. the device across screen game manipulation according to claim 1, is characterized in that: described second order sending module comprises:
Second definition command unit, for when the game state of Set Top Box game end changes, is packaged into the order of predetermined format, then this order is packaged into the order bag of XMPP message by game state;
Second Requests routing unit, the request for the order bag of XMPP message sends.
5. the device across screen game manipulation according to claim 1, is characterized in that: described second order receiver module comprises:
Second receives command unit, for receiving the order bag that described second order sending module sends;
Second Logical processing unit, for resolving described order bag, makes game control end obtain data and more new user interface.
6. the device across screen game manipulation according to claim 1, is characterized in that: described game control end comprises smart mobile phone game control end and panel computer game control end.
CN201410378350.1A 2014-08-04 2014-08-04 Cross-screen game manipulation device Pending CN105323629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410378350.1A CN105323629A (en) 2014-08-04 2014-08-04 Cross-screen game manipulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410378350.1A CN105323629A (en) 2014-08-04 2014-08-04 Cross-screen game manipulation device

Publications (1)

Publication Number Publication Date
CN105323629A true CN105323629A (en) 2016-02-10

Family

ID=55250088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410378350.1A Pending CN105323629A (en) 2014-08-04 2014-08-04 Cross-screen game manipulation device

Country Status (1)

Country Link
CN (1) CN105323629A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2446943A1 (en) * 2010-11-01 2012-05-02 Nintendo Co., Ltd. Controller device and controller system
CN103491119A (en) * 2012-06-13 2014-01-01 腾讯科技(深圳)有限公司 Airsharing system and airsharing method
CN103780934A (en) * 2012-10-23 2014-05-07 华为技术有限公司 Method of controlling television content by mobile terminal and related device
CN103945242A (en) * 2014-05-09 2014-07-23 杭州智屏科技有限公司 Cloud-based method for realizing set-top box alarm play function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2446943A1 (en) * 2010-11-01 2012-05-02 Nintendo Co., Ltd. Controller device and controller system
CN103491119A (en) * 2012-06-13 2014-01-01 腾讯科技(深圳)有限公司 Airsharing system and airsharing method
CN103780934A (en) * 2012-10-23 2014-05-07 华为技术有限公司 Method of controlling television content by mobile terminal and related device
CN103945242A (en) * 2014-05-09 2014-07-23 杭州智屏科技有限公司 Cloud-based method for realizing set-top box alarm play function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董道国等: "一种适用于传统互动机顶盒的多屏互动技术方案", 《中国有线电视》 *

Similar Documents

Publication Publication Date Title
CN104735143B (en) A kind of lot control system and method based on smart home cloud platform
CN103842961A (en) System for creating personalized and customized mobile devices
CN108563517A (en) The call method and device of system interface
US20150205620A1 (en) Configuring user interfaces in electronic devices
CN104202417A (en) Cloud computing based information processing method, client, cloud server and cloud computing based information processing system
CN102769635A (en) Internet of things system and implementation method of internet of things system
CN102421028A (en) Control method for intelligent television (TV), intelligent TV, remote control device and intelligent TV control system
CN104954894A (en) Video traffic guiding method and device as well as electronic equipment
CN104935639A (en) Intelligent terminal, and applied distributed exploitation system and method
CN109697266A (en) Page rendering system, page rendering method and page rendering device
CN104360598A (en) HTML5 based intelligent household movement control system and method
CN103188472A (en) Controlling HDMI devices via intelligent emulation of consumer electronics control (CEC) protocol
WO2013032621A1 (en) Data infrastructure for providing interconnectivity between platforms, devices, and operating systems
CN113079216A (en) Cloud application implementation method and device, electronic equipment and readable storage medium
CN102007495A (en) A method, apparatus and software for transforming a natural language request for modifying a set of subscriptions for a publish/subscribe topic string
CN105553684A (en) Communication system and applied router upgrading method thereof
CN104836831B (en) A kind of object method of servicing for Internet of Things
CN109725887A (en) Data interactive method, device and terminal device based on message research and development frame
CN105391776A (en) Communication method and system for long connection message
CN105323629A (en) Cross-screen game manipulation device
CN115314535B (en) Control method and device of Internet of things equipment, storage medium and computer equipment
CN105323225B (en) The interactive correspondence protocol fitting method and system of cross-terminal
CN112631638B (en) Terminal application updating method and device, storage medium and electronic equipment
CN116389321A (en) Pressure testing method and device for full link of production environment
US20220179398A1 (en) Automation visualization content delivery via container orchestration systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160210

RJ01 Rejection of invention patent application after publication