CN105903191B - The data processing method and system of cross-terminal - Google Patents
The data processing method and system of cross-terminal Download PDFInfo
- Publication number
- CN105903191B CN105903191B CN201610218558.6A CN201610218558A CN105903191B CN 105903191 B CN105903191 B CN 105903191B CN 201610218558 A CN201610218558 A CN 201610218558A CN 105903191 B CN105903191 B CN 105903191B
- Authority
- CN
- China
- Prior art keywords
- human
- instruction
- computer interaction
- man
- game control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of data processing method of cross-terminal and systems.Wherein, this method comprises: receiving the first man-machine interactive instruction that target terminal is sent, wherein target terminal is equipped with game application;Based on preset human-computer interaction command mappings relationship, determine the corresponding second human-computer interaction instruction of the first man-machine interactive instruction, wherein, second human-computer interaction instruction game control command corresponding with the first man-machine interactive instruction is identical, and the second human-computer interaction instruction is the instruction for being used to indicate game control command recorded in the source code of game application;Second human-computer interaction instruction is sent to game application server, wherein the second human-computer interaction instruction is used to indicate server and executes game control command.When the present invention solves cross-terminal transplanting game application in the prior art, because customizing man-machine interaction mode again, and former game identification code is largely modified, game application cross-terminal is caused to transplant technical problem at high cost.
Description
Technical field
The present invention relates to internet areas, in particular to the data processing method and system of a kind of cross-terminal.
Background technique
In recent years, Chinese game market development is very fast, and gradually mature.Extensive management mode is no longer satisfied existing
The demand in market, game manufacturer start to pursue more exquisite picture, better user experience and more terminal coverings.With
This although the hardware performance of terminal device is constantly being promoted, does not pursue the requirement of the game technology innovation replacement simultaneously always.
And higher equipment replacement cost, but also most users hang back.This is increasingly becoming the bottleneck of game industry development.
The appearance of cloud game, solves this problem to a certain extent.Under cloud game mode, all game are all being taken
The operation of business device end, and by after the game picture compression after rendering, it is sent to terminal device in a streaming manner.Terminal device only needs to have
Standby basic decompression and video playback capability, can meet the game experiencing of user.By this mode, game can both be got rid of
For the excessive demand of terminal hardware performance, the consistent sexual experience of cross-terminal also may be implemented.
Currently, cloud game technology is still in the budding stage, consistency etc. is experienced for the cross-terminal transplanting of game, cross-terminal
Problem not yet provides good solution though there is concern, particularly across in terms of terminal human-computer interaction.Main problem is as follows:
1, cross-terminal transplants game, needs largely to modify code, and redefine man-machine interaction mode, transplants at high cost.
2, each terminal human-computer interaction mode is managed collectively that difficulty is big, it is difficult to ensure that the consistency of cross-terminal user experience.
3, each version updating requires to issue different human-computer interaction versions respectively for different terminals, updates cost
It is high.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of data processing method of cross-terminal and systems, at least to solve in the prior art
When cross-terminal transplants game application, because customizing man-machine interaction mode again, and former game identification code is largely modified, game is caused to be answered
Technical problem at high cost is transplanted with cross-terminal.
According to an aspect of an embodiment of the present invention, a kind of data processing method of cross-terminal is provided, comprising: receive mesh
Mark the first man-machine interactive instruction that terminal is sent, wherein the target terminal is equipped with game application;Based on preset people
Machine interactive instruction mapping relations determine the corresponding second human-computer interaction instruction of the described first man-machine interactive instruction, wherein described
Second human-computer interaction instruction game control command corresponding with the described first man-machine interactive instruction is identical, second human-computer interaction
Instruction is the instruction for being used to indicate the game control command recorded in the source code of the game application;By described
Two human-computer interactions instruction is sent to game application server, wherein the second human-computer interaction instruction is used to indicate the game
Application server executes the game control command.
Further, it is being based on preset human-computer interaction command mappings relationship, is determining first human-computer interaction
Before instructing corresponding second human-computer interaction to instruct, the method also includes: the human-computer interaction command mappings relationship is established,
In, it is instructed in the human-computer interaction command mappings relationship comprising a variety of first man-machine interactive instructions and a variety of second human-computer interactions,
And the corresponding relationship between a variety of first man-machine interactive instructions and a variety of second human-computer interaction instructions, and it is a kind of
The corresponding a kind of second human-computer interaction instruction of first man-machine interactive instruction.
Further, it is based on preset human-computer interaction command mappings relationship, determines that first human-computer interaction refers to
Enabling corresponding second human-computer interaction instruction includes: that it is man-machine to inquire described first from the human-computer interaction command mappings relationship
The corresponding second human-computer interaction instruction of interactive instruction.
Further, it includes: the game application service that the game application server, which executes the game control command,
Device obtains preset game control command mapping relations, wherein comprising a variety of in the game control command mapping relations
Game control command and a variety of second human-computer interactions instruction and a variety of game control commands and described a variety of second are man-machine
Corresponding relationship between interactive instruction, and a kind of a kind of corresponding second human-computer interaction instruction of game control command;
The game application server is based on the game control command mapping relations and determines that the second human-computer interaction instruction corresponds to
The game control command;The game application server executes the game control command.
Further, receiving the first man-machine interactive instruction that target terminal is sent includes: to receive the game application record
Key by operation generate the first man-machine interactive instruction.
According to another aspect of an embodiment of the present invention, a kind of data processing system of cross-terminal is additionally provided, comprising: instruction
Receiver, for receiving the first man-machine interactive instruction of target terminal transmission, wherein the target terminal is equipped with game and answers
With;Dictate converter determines that first human-computer interaction refers to for being based on preset human-computer interaction command mappings relationship
It enables corresponding second human-computer interaction instruct, and second human-computer interaction instruction is sent to game application server, wherein institute
It is identical to state the second human-computer interaction instruction game control command corresponding with the described first man-machine interactive instruction, the second man-machine friendship
Mutually instruction is the instruction for being used to indicate the game control command recorded in the source code of the game application;The trip
Play application server, for executing the game control command.
Further, the data processing system further include: interactive instruction memory is reflected for storing human-computer interaction instruction
Penetrate relationship, wherein comprising a variety of first man-machine interactive instructions and a variety of second man-machine in the human-computer interaction command mappings relationship
Corresponding pass between interactive instruction and a variety of first man-machine interactive instructions and a variety of second human-computer interaction instructions
System, and a kind of a kind of corresponding second human-computer interaction instruction of first man-machine interactive instruction.
Further, the game application server includes: acquiring unit, is referred to for obtaining preset game control
Enable mapping relations, wherein man-machine comprising a variety of game control commands and a variety of second in the game control command mapping relations
Corresponding relationship between interactive instruction and a variety of game control commands and a variety of second human-computer interaction instructions, and
And a kind of a kind of corresponding second human-computer interaction instruction of the game control command;Determination unit, for being based on the game
Control instruction mapping relations determine that second human-computer interaction instructs the corresponding game control command;Execution unit is used
In the execution game control command.
Further, described instruction converter includes: converting unit, is used for from the human-computer interaction command mappings relationship
In, inquire the corresponding second human-computer interaction instruction of the described first man-machine interactive instruction;Transmission unit is used for second people
Machine interactive instruction is sent to the game application server.
Further, described instruction receiver includes: receiving unit, for receiving the key quilt of the game application record
Operate the first man-machine interactive instruction generated.
In embodiments of the present invention, the first man-machine interactive instruction sent using target terminal is received, wherein the target
Terminal is equipped with game application;Based on preset human-computer interaction command mappings relationship, first human-computer interaction is determined
Corresponding second human-computer interaction is instructed to instruct, wherein the second human-computer interaction instruction and the described first man-machine interactive instruction pair
The game control command answered is identical, and the second human-computer interaction instruction is the use recorded in the source code of the game application
In the instruction for indicating the game control command;Second human-computer interaction instruction is sent to game application server, wherein
The second human-computer interaction instruction is used to indicate the mode that the server executes the game control command, by according in advance
The human-computer interaction command mappings relationship of setting determines the second people corresponding to the first man-machine interactive instruction of target terminal transmission
Then second human-computer interaction instruction is sent to the server (that is, game application server) of game application, mesh by machine interactive instruction
The response of above-mentioned server can be obtained in game application in mark terminal, has reached the source code it is not necessary to modify game application, only
The mapping relations that need to be instructed by human-computer interaction carry out the mapping of human-computer interaction instruction, can be achieved with the game application at target end
The purpose of cross-terminal human-computer interaction is carried out on end, so that the technical effect for reducing game application cross-terminal transplanting cost is realized,
And then when solving cross-terminal transplanting game application in the prior art, because customizing man-machine interaction mode again, and largely modify
Former game identification code causes game application cross-terminal to transplant technical problem at high cost.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the data processing method of cross-terminal according to an embodiment of the present invention;
Fig. 2 is human-computer interaction command mappings relationship according to an embodiment of the present invention and game control command mapping relations are shown
It is intended to;
Fig. 3 is the flow chart of the data processing method of another cross-terminal according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of the data processing system of cross-terminal according to an embodiment of the present invention;
Fig. 5 is the flow chart of the data processing system of another cross-terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the data processing method of cross-terminal is provided.Fig. 1 is according to this hair
A kind of flow chart of the data processing method of cross-terminal of bright embodiment, as shown in Figure 1, this method comprises the following steps:
Step S102, command receiver receive the first man-machine interactive instruction that target terminal is sent, wherein target terminal peace
Equipped with game application.
Specifically, target terminal is that developer wishes the terminal that game application is demonstrated in addition to former terminal, can be electricity
Depending on, mobile phone, computer etc..Target terminal is corresponding with former terminal, and former terminal is the terminal that the game application initially shows.For example,
Certain game application user can only initially use on computers, can also use on mobile phone later, then computer is former terminal, mobile phone
For target terminal.
It should be noted that the game application in the embodiment of the present invention is cloud game.
Step S104, dictate converter are based on preset human-computer interaction command mappings relationship, determine that first is man-machine
The corresponding second human-computer interaction instruction of interactive instruction, wherein the second human-computer interaction instruction is corresponding with the first man-machine interactive instruction
Game control command is identical, and the second human-computer interaction instruction is used to indicate game control for what is recorded in the source code of game application
Make the instruction of instruction.
Specifically, human-computer interaction command mappings relationship is that the human-computer interaction of target terminal instructs (that is, the first human-computer interaction refers to
Enable) and the human-computer interaction instruction (that is, the second human-computer interaction instruct) of former terminal between mapping relations.
Since the second human-computer interaction instruction game control command corresponding with the first man-machine interactive instruction is identical, so user
The first man-machine interactive instruction that operation game application generates on a target terminal, obtained response results and user are in former terminal
Upper the second human-computer interaction for operating game application generation instructs obtained response results identical.
Wherein, the first man-machine interactive instruction is referred to as target terminal interactive instruction, and above-metioned instruction has corresponded to target end
Every user's operation on end.Second human-computer interaction instruction is referred to as game original interactive instruction, and above-metioned instruction is swum in exploitation
It has been arranged when play, for informing the server of game application, what operation user has carried out.
Second human-computer interaction instruction is sent to game application server by step S106, dictate converter, wherein the second people
Machine interactive instruction is used to indicate game application server and executes game control command.
Specifically, after the game control command that game application server receives, the game control command can be executed, so that
Target terminal obtains response results relevant to the first man-machine interactive instruction.Game application server is patrolled especially by correlation is carried out
It collects the mode determination of operation and executes dependent game control instruction.It should be noted that game application server is that game is answered
Server.
In embodiments of the present invention, by determining target end according to preset human-computer interaction command mappings relationship
The instruction of the second human-computer interaction corresponding to the first man-machine interactive instruction sent is held, is then sent to the second human-computer interaction instruction
Above-mentioned server can be obtained in the server (that is, game application server) of game application, the game application on target terminal
Response, has reached the source code it is not necessary to modify game application, and the mapping relations that need to be only instructed by human-computer interaction carry out man-machine friendship
The mapping mutually instructed can be achieved with the purpose that the game application carries out cross-terminal human-computer interaction on a target terminal, to realize
The technical effect of game application cross-terminal transplanting cost is reduced, and then solves cross-terminal transplanting game application in the prior art
When, because customizing man-machine interaction mode again, and former game identification code is largely modified, causes the transplanting of game application cross-terminal at high cost
The technical issues of.
Optionally, it is being based on preset human-computer interaction command mappings relationship, is determining the first man-machine interactive instruction pair
Before the second human-computer interaction instruction answered, method further include: establish human-computer interaction command mappings relationship, wherein human-computer interaction refers to
It enables in mapping relations comprising a variety of first man-machine interactive instructions and a variety of second human-computer interactions instruction and a variety of first man-machine friendships
The mutually corresponding relationship between instruction and a variety of second human-computer interactions instruction, and the man-machine interactive instruction of one kind first corresponding a kind of the
Two human-computer interactions instruction.
Specifically, human-computer interaction command mappings relationship is by game developer's autonomous configuration.It can be instructed according to human-computer interaction
Mapping relations inquire the corresponding second human-computer interaction instruction of the first man-machine interactive instruction.Wherein, human-computer interaction command mappings are closed
System may refer to Fig. 2.
In embodiments of the present invention, by establishing human-computer interaction command mappings relationship, so that game developer is not modifying
Under the premise of the source code and game frame of game application, need to only simple human-computer interaction be carried out to target terminal and former terminal and referred to
The mapping relations of order configure, and just can solve the human-computer interaction problem in cloud game cross-terminal migration process, thus greatly reduce
The cross-terminal of game application transplants cost.In addition, using this programme, game developer only need management objectives terminal and former terminal it
Between mapping relations about man-machine interaction mode, game application itself is not adjusted, management cost is low.Also, work as people
When the version updating of machine interactive mode, it is only necessary to update human-computer interaction command mappings relationship, not need to game application itself
It is adjusted, update is at low cost, while without the other function worried in influence game.
Optionally, dictate converter is based on preset human-computer interaction command mappings relationship, determines the first man-machine friendship
Mutually instructing corresponding second human-computer interaction instruction includes: dictate converter from human-computer interaction command mappings relationship, inquires the
One human-computer interaction instructs corresponding second human-computer interaction instruction.
Specifically, human-computer interaction command mappings relationship is stored in interactive instruction memory.
For example, instruction turns when the first man-machine interactive instruction that target terminal is sent is the human-computer interaction instruction 1 in Fig. 2
Parallel operation according to fig. 2 shown in human-computer interaction command mappings relationship can inquire human-computer interaction instruction 1 with human-computer interaction instruct A
It is corresponding, that is, the second human-computer interaction instruction is man-machine interactive instruction A.
Optionally, game application server executes game control command and includes the following steps:
Step S1, game application server obtain preset game control command mapping relations, wherein game control
Include a variety of game control commands and a variety of second human-computer interactions instruction and a variety of game control commands in command mappings relationship
With the corresponding relationship between a variety of second human-computer interactions instruction, and a kind of corresponding a kind of second human-computer interaction of game control command
Instruction.
Specifically, game control command mapping relations are the mapping between the interactive instruction of game original and game control instruction, should
Mapping relations, it has been determined that by way of game logic operation part, are disposed in advance in the development process of game application
On game application server.Each game original interactive instruction in game application can bring the variation of game control command.
Game control command mapping relations may refer to Fig. 2.Game control command has been arranged when developing game, for carrying out in user
When different operation, inform user's aforesaid operations will caused by result.For example, in some game application, if some user grasps
Make its used personage and wave knife, then informs that the user will will cause other people objects and fall blood.
Step S3, game application server are based on game control command mapping relations and determine the second human-computer interaction instruction pair
The game control command answered.
Step S5, game application server execute game control command.
Specifically, game application server can inquire the second human-computer interaction according to game control command mapping relations
Instruct corresponding game control command.Referring to fig. 2, continue to be illustrated using the example above, dictate converter is first according to man-machine
Interactive instruction mapping relations, inquire human-computer interaction instruction 1 with human-computer interaction instruction A it is corresponding after, by human-computer interaction instruction A send out
Give game application server.Game application server according to fig. 2 shown in game control command mapping relations, inquire people
Machine interactive instruction A is corresponding with game control command 2, and then executes game control command 2, to make the game on target terminal
It applies to instruct 1 relevant response results to human-computer interaction.
Optionally, in inventive embodiments, command receiver receives the first man-machine interactive instruction packet that target terminal is sent
Include: command receiver receives the first man-machine interactive instruction that the key of game application record is generated by operation.
Specifically, command receiver, which can receive, collects user in target terminal by the plug-in unit installed in game application
On interface, the instruction generated to the operation that key carries out, above-metioned instruction is the first man-machine interactive instruction,
Below with reference to Fig. 3, a kind of optional embodiment of the invention is introduced, which includes step S301 to step
S308, specific as follows:
Step S301 receives the mapping that game developer submits and configures application.Specifically, mapping configuration application is for requesting
Configure human-computer interaction command mappings relationship.
Step S302 receives the target terminal of game developer's selection.Specifically, target terminal can be computer, mobile phone,
TV etc., but need to be different from former terminal.
Step S303, the alternative interactive mode of server intelligent recommendation.Specifically, since game application is cloud
Game, institute's server are cloud server.The feature for the target terminal that cloud server is selected according to game developer, recommendation can
Selective several interactive modes, including but not limited to mouse, keyboard, handle etc., and it is based on big data, it determines various
The human-computer interaction instruction for including under interactive mode.
Step S304 receives game developer and wishes the interactive mode used.Specifically, game developer is according to need
It asks, selects interactive mode.
Step S305 receives the human-computer interaction command mappings relationship of game developer's configuration.
Step S306, server automatically generate the game application based on human-computer interaction command mappings relationship.Specifically, cloud
Server generates the game application after mapping, and be supplied to development of games according to the configuration of game developer in test environment
Person tests.
Step S307, judges whether game application can operate normally in target terminal.Specifically, game can be passed through
Developer tests the game application after mapping, to judge whether above-mentioned game application can normally answer in target terminal
With.Wherein, if judging to operate normally in target terminal, S308 is thened follow the steps, otherwise return step S305, received
The human-computer interaction command mappings relationship that game developer configures again.
Step S308, game application come into force.Specifically, game developer controls game application and comes into force, should after game comes into force
Game application can successfully be shown in target terminal.
According to inventive embodiments, a kind of data processing system of cross-terminal is additionally provided, the data processing system is for holding
The data processing method of the above-mentioned cross-terminal of row, command receiver, dictate converter in the data processing system can be beyond the clouds
Building.Referring to fig. 4, which includes command receiver 41, dictate converter 43 and game application server 45,
In:
Command receiver 41 is used to receive the first man-machine interactive instruction of target terminal transmission, wherein target terminal installation
There is game application.
Specifically, command receiver directly docks target terminal, and it is man-machine to be responsible for reception target terminal is sent first
Interactive instruction, and the above-mentioned first man-machine interactive instruction received is transmitted to dictate converter.It is possible to further pass through mesh
The interactive instruction that plug-in unit collects user is marked, i.e. user has carried out what operation, and the number being collected on the interface of target terminal
Command receiver is sent to according to (that is, first man-machine interactive instruction).Wherein, above-mentioned target plug-in can be set in game application
In.
Dictate converter 43 is used to be based on preset human-computer interaction command mappings relationship, determines the first human-computer interaction
It instructs corresponding second human-computer interaction to instruct, and second human-computer interaction instruction is sent to game application server, wherein
Second human-computer interaction instruction game control command corresponding with the first man-machine interactive instruction is identical, the second human-computer interaction instruction be
What is recorded in the source code of game application is used to indicate the instruction of game control command.
Game application server 45 is for executing game control instruction.
Specifically, after the game control command that game application server receives, the game control command can be executed, so that
Target terminal obtains response results relevant to the first man-machine interactive instruction.Game application server is patrolled especially by correlation is carried out
It collects the mode determination of operation and executes dependent game control instruction.It should be noted that game application server is that game is answered
Server.
In embodiments of the present invention, by determining target end according to preset human-computer interaction command mappings relationship
The instruction of the second human-computer interaction corresponding to the first man-machine interactive instruction sent is held, is then sent to the second human-computer interaction instruction
Above-mentioned server can be obtained in the server (that is, game application server) of game application, the game application on target terminal
Response, has reached the source code it is not necessary to modify game application, and the mapping relations that need to be only instructed by human-computer interaction carry out man-machine friendship
The mapping mutually instructed can be achieved with the purpose that the game application carries out cross-terminal human-computer interaction on a target terminal, to realize
The technical effect of game application cross-terminal transplanting cost is reduced, and then solves cross-terminal transplanting game application in the prior art
When, because customizing man-machine interaction mode again, and former game identification code is largely modified, causes the transplanting of game application cross-terminal at high cost
The technical issues of.
Optionally, referring to fig. 4, in embodiments of the present invention, data processing system further include: interactive instruction memory 47.
Wherein, interactive instruction memory 47 is for storing human-computer interaction command mappings relationship, wherein in human-computer interaction command mappings relationship
Include a variety of first man-machine interactive instructions and a variety of second human-computer interactions instruction and a variety of first man-machine interactive instructions and a variety of
Corresponding relationship between second human-computer interaction instruction, and one kind the first man-machine interactive instruction the second human-computer interaction of corresponding one kind refers to
It enables.
It should be noted that interactive instruction memory can also construct beyond the clouds.
Specifically, interactive instruction memory is responsible for storing the mapping relations between different terminals and different interactive modes,
That is, the human-computer interaction side of man-machine interaction mode (that is, first man-machine interactive instruction) and former terminal for storing target terminal
Mapping relations between formula (that is, the second human-computer interaction instructs), all target terminals are directly mapped with former terminal.Above-mentioned mapping
Relationship is by game developer's customized, and the unified maintenance in interactive instruction memory.
The man-machine interaction mode (that is, first man-machine interactive instruction) of target terminal and former terminal man-machine interaction mode (that is,
Second human-computer interaction instruction) between mapping, need to take out a set of human-computer interaction respectively for target terminal and former terminal and refer to
The effect for enabling, and eventually being generated according to instruction maps each tiny human-computer interaction instruction, by the identical people of effect
Machine interactive instruction is associated, and centralized maintenance.
Optionally, in embodiments of the present invention, game application server includes: acquiring unit, determination unit and executes list
Member.Wherein, acquiring unit, for obtaining preset game control command mapping relations, wherein game control command mapping
It instructs in relationship comprising a variety of game control commands and a variety of second human-computer interactions and a variety of game control commands and a variety of the
Corresponding relationship between two human-computer interactions instruction, and a kind of a kind of corresponding second human-computer interaction instruction of game control command;Really
Order member, for determining that the second human-computer interaction instructs corresponding game control command based on game control command mapping relations;
Execution unit, for executing game control command.
That is, game application server is responsible for completing the mapping of the second human-computer interaction instruction and game control command.Game
Control instruction mapping relations are directly disposed by game developer, it has been determined that not needing modification source generation during development of games
Code.
Further, dictate converter includes: converting unit and transmission unit.Wherein, converting unit is used for from man-machine friendship
Mutually in instruction mapping relations, the corresponding second human-computer interaction instruction of the first man-machine interactive instruction is inquired;Transmission unit is used for will
Second human-computer interaction instruction is sent to game application server.
Wherein, dictate converter is the core of the data processing system of cross-terminal, is responsible for send target terminal first
The readable game control command of the instruction morphing logical server for game application of human-computer interaction.Specifically, dictate converter is first
The human-computer interaction command mappings relationship first stored according to interactive instruction memory finds the first man-machine interactive instruction corresponding the
Two human-computer interactions instruction, and above-mentioned second human-computer interaction instruction is sent to game application server.Game application server root
According to the logical operation code disposed thereon, determine that the second human-computer interaction instructs corresponding game control command and meeting bring trip
The variation in the play world, and complete the work such as picture rendering.
Optionally, in embodiments of the present invention, command receiver includes: receiving unit.Receiving unit is for receiving game
The the first man-machine interactive instruction generated using the key of record by operation.
It can be seen from the above content that this programme is mainly by the man-machine friendship of the human-computer interaction instruction of target terminal and former terminal
Mutually 2 mapping relations between instruction and between the human-computer interaction instruction of former terminal between game control command can solve
The certainly human-computer interaction problem of cloud game cross-terminal, to greatly reduce the transplanting of cloud game when the transplanting of cloud game cross-terminal
Cost.
Below with reference to Fig. 5, a kind of optional embodiment of the invention is introduced, which includes step S502 to step
S508, specific as follows:
Step S502, terminating card collects the first man-machine interactive instruction, and the be collected into first man-machine interactive instruction is sent out
It send to command receiver.
Receive first man-machine interactive instruction is forwarded to dictate converter by step S504, command receiver.
Step S506, dictate converter inquires mapping relations, the conversion of finishing man-machine interaction instruction, and is sent to game and answers
Use server.
Specifically, dictate converter can be inquired after receiving the first man-machine interactive instruction in interactive instruction memory
The corresponding second human-computer interaction instruction of first man-machine interactive instruction, and by transformation result (that is, the second human-computer interaction found refers to
Enable) it is sent to game application server.
Step S508, game application server carry out logical operation.
Game application server determines the second human-computer interaction instruction and game control according to the logical operation code disposed in advance
Make the mapping relations of instruction, the second human-computer interaction instructs corresponding game control command and the change of meeting bring gaming world
Change, and carries out the work such as picture rendering.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of data processing method of cross-terminal characterized by comprising
Receive the first man-machine interactive instruction that target terminal is sent, wherein the target terminal is equipped with game application;
Based on preset human-computer interaction command mappings relationship, corresponding second people of the described first man-machine interactive instruction is determined
Machine interactive instruction, wherein second human-computer interaction instruction game control command corresponding with the described first man-machine interactive instruction
Identical, the second human-computer interaction instruction is used to indicate the game control for what is recorded in the source code of the game application
Make the instruction of instruction;
Second human-computer interaction instruction is sent to game application server, wherein the second human-computer interaction instruction is used for
Indicate that the game application server executes the game control command.
2. the method according to claim 1, wherein being closed based on preset human-computer interaction command mappings
System, before determining the corresponding second human-computer interaction instruction of the described first man-machine interactive instruction, the method also includes:
Establish the human-computer interaction command mappings relationship, wherein include a variety of first in the human-computer interaction command mappings relationship
Human-computer interaction instruction and a variety of second human-computer interactions instruction and a variety of first man-machine interactive instructions and described a variety of second
Corresponding relationship between human-computer interaction instruction, and a kind of a kind of corresponding second man-machine friendship of the first man-machine interactive instruction
Mutually instruction.
3. the method according to claim 1, wherein be based on preset human-computer interaction command mappings relationship,
Determine that the corresponding second human-computer interaction instruction of the described first man-machine interactive instruction includes:
From the human-computer interaction command mappings relationship, it is corresponding described second man-machine to inquire the described first man-machine interactive instruction
Interactive instruction.
4. referring to the method according to claim 1, wherein the game application server executes the game control
Order includes:
The game application server obtains preset game control command mapping relations, wherein the game control refers to
It enables in mapping relations and referring to comprising a variety of game control commands and a variety of second human-computer interactions instruction and a variety of game controls
The corresponding relationship between a variety of second human-computer interaction instructions is enabled, and a kind of game control command corresponds to a kind of institute
State the second human-computer interaction instruction;
The game application server is based on the game control command mapping relations and determines the second human-computer interaction instruction
The corresponding game control command;
The game application server executes the game control command.
5. the method according to claim 1, wherein receiving the first man-machine interactive instruction packet that target terminal is sent
It includes:
Receive the first man-machine interactive instruction that the key of the game application record is generated by operation.
6. a kind of data processing system of cross-terminal characterized by comprising
Command receiver, for receiving the first man-machine interactive instruction of target terminal transmission, wherein the target terminal is equipped with
Game application;
Dictate converter determines first human-computer interaction for being based on preset human-computer interaction command mappings relationship
It instructs corresponding second human-computer interaction to instruct, and second human-computer interaction instruction is sent to game application server, wherein
Second human-computer interaction instruction game control command corresponding with the described first man-machine interactive instruction is identical, and described second is man-machine
Interactive instruction is the instruction for being used to indicate the game control command recorded in the source code of the game application;
The game application server, for executing the game control command.
7. system according to claim 6, which is characterized in that the data processing system further include:
Interactive instruction memory, for storing human-computer interaction command mappings relationship, wherein the human-computer interaction command mappings relationship
In comprising a variety of first man-machine interactive instructions and a variety of second human-computer interactions instruction and a variety of first man-machine interactive instructions
Corresponding relationship between a variety of second human-computer interaction instructions, and a kind of first man-machine interactive instruction is corresponding a kind of
The second human-computer interaction instruction.
8. system according to claim 6, which is characterized in that the game application server includes:
Acquiring unit, for obtaining preset game control command mapping relations, wherein the game control command mapping
Include a variety of game control commands and a variety of second human-computer interactions instruction and a variety of game control commands and institute in relationship
State the corresponding relationship between a variety of second human-computer interaction instructions, and a kind of corresponding one kind described second of game control command
Human-computer interaction instruction;
Determination unit, for determining that the second human-computer interaction instruction is corresponding based on the game control command mapping relations
The game control command;
Execution unit, for executing the game control command.
9. system according to claim 6, which is characterized in that described instruction converter includes:
Converting unit, it is corresponding for from the human-computer interaction command mappings relationship, inquiring the described first man-machine interactive instruction
The second human-computer interaction instruction;
Transmission unit, for second human-computer interaction instruction to be sent to the game application server.
10. system according to claim 6, which is characterized in that described instruction receiver includes:
Receiving unit, the first man-machine interactive instruction that the key for receiving the game application record is generated by operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610218558.6A CN105903191B (en) | 2016-04-08 | 2016-04-08 | The data processing method and system of cross-terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610218558.6A CN105903191B (en) | 2016-04-08 | 2016-04-08 | The data processing method and system of cross-terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105903191A CN105903191A (en) | 2016-08-31 |
CN105903191B true CN105903191B (en) | 2019-06-18 |
Family
ID=56745764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610218558.6A Expired - Fee Related CN105903191B (en) | 2016-04-08 | 2016-04-08 | The data processing method and system of cross-terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105903191B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357560A (en) * | 2017-04-28 | 2017-11-17 | 阿里巴巴集团控股有限公司 | Interaction processing method and device |
CN111790145A (en) * | 2019-09-10 | 2020-10-20 | 厦门雅基软件有限公司 | Data processing method and device, cloud game engine and computer storage medium |
CN111803927A (en) * | 2020-06-09 | 2020-10-23 | 厦门雅基软件有限公司 | Running method and device of cloud game service and computer readable storage medium |
CN111803928A (en) * | 2020-06-09 | 2020-10-23 | 厦门雅基软件有限公司 | Running method and device of cloud game service and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104281787A (en) * | 2013-07-01 | 2015-01-14 | 迪士尼企业公司 | Implementing encrypted content in a game |
CN105027454A (en) * | 2013-03-08 | 2015-11-04 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN105094572A (en) * | 2015-05-28 | 2015-11-25 | 平安科技(深圳)有限公司 | Menu self-adjusting scrolling display control method, server and portable terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9569519B2 (en) * | 2013-12-23 | 2017-02-14 | Sybase, Inc. | Client-side directed commands to a loosely coupled database |
US20150185827A1 (en) * | 2013-12-31 | 2015-07-02 | Linkedln Corporation | Techniques for performing social interactions with content |
-
2016
- 2016-04-08 CN CN201610218558.6A patent/CN105903191B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105027454A (en) * | 2013-03-08 | 2015-11-04 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN104281787A (en) * | 2013-07-01 | 2015-01-14 | 迪士尼企业公司 | Implementing encrypted content in a game |
CN105094572A (en) * | 2015-05-28 | 2015-11-25 | 平安科技(深圳)有限公司 | Menu self-adjusting scrolling display control method, server and portable terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105903191A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105903191B (en) | The data processing method and system of cross-terminal | |
CN104244054B (en) | A kind of remote control method and relevant apparatus, system of multi-terminal equipment | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
CN103491119B (en) | Multi-screen interaction system and multi-screen interaction method | |
CN108513154A (en) | Intelligent home furnishing control method, smart television based on smart television and storage medium | |
CN106422324B (en) | Real-time communication method, the apparatus and system of multiple terminals | |
CN105871671A (en) | Method and device for controlling and obtaining intelligent-home-device uploading data | |
CN110351378A (en) | A kind of control method and system of internet of things equipment | |
CN108121210A (en) | Authority distributing method and device, storage medium, the processor of home appliance | |
CN105915766B (en) | Control method based on virtual reality and device | |
CN102932695A (en) | Remote control method, intelligent terminal and intelligent remote control system | |
CN106130881A (en) | A kind of account number login method and device | |
CN105187480B (en) | Profile acquisition method, apparatus and system | |
CN104484378A (en) | Method, device and terminal for pushing notification messages | |
CN108810049A (en) | Control method, device, system and the Virtual Reality equipment of equipment | |
CN106502644A (en) | Direct broadcasting room electronics present gives display effect control method, device and equipment | |
CN108874471B (en) | Method and system for adding additional elements between functions of house resources | |
CN106326087B (en) | Web page experience method and system based on robot operating system | |
CN105472474B (en) | The game control method and device that smart television is connect with terminal | |
CN106791599B (en) | Unmanned plane and its control method | |
CN112083655B (en) | Electronic equipment control method and related equipment | |
CN109946980A (en) | Intelligent device management method, platform, system and computer readable storage medium | |
CN108391233A (en) | A kind of geographical location sharing method, apparatus and system | |
CN114090085B (en) | Object control method and related device | |
CN105677432B (en) | The method for developing functions and device of web player |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190618 |
|
CF01 | Termination of patent right due to non-payment of annual fee |