CN104991734A - Method and apparatus for controlling game based on touch screen mode - Google Patents

Method and apparatus for controlling game based on touch screen mode Download PDF

Info

Publication number
CN104991734A
CN104991734A CN201510386590.0A CN201510386590A CN104991734A CN 104991734 A CN104991734 A CN 104991734A CN 201510386590 A CN201510386590 A CN 201510386590A CN 104991734 A CN104991734 A CN 104991734A
Authority
CN
China
Prior art keywords
game
scene
template
touch screen
mapping relations
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.)
Granted
Application number
CN201510386590.0A
Other languages
Chinese (zh)
Other versions
CN104991734B (en
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201510386590.0A priority Critical patent/CN104991734B/en
Publication of CN104991734A publication Critical patent/CN104991734A/en
Application granted granted Critical
Publication of CN104991734B publication Critical patent/CN104991734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

An embodiment of the invention provides a method and an apparatus for controlling a game based on a touch screen mode. The method comprises the steps of: in a running process of a game program based on the touch screen mode, obtaining a target joystick key instruction; based on a current predetermined to-be-utilized mapping relation, determining a target touch screen event corresponding to the target joystick key instruction, wherein the to-be-utilized mapping relation is a relation between the game joystick key instruction and the touch screen event, the to-be-utilized mapping relation is regularly updated based on game scenes determined by a running interface of the game program and a plurality of reference game scene templates, the reference game scene templates uniquely correspond to the game scenes, and each game scene corresponds to the relation between the game joystick key instruction about joysticks and the touch screen event; and generating and making a response to the target touch screen event by simulation. According to the scheme, the purpose of effectively controlling the game program based on the touch screen mode through the joysticks connected with an intelligent television can be achieved.

Description

A kind of method and device game based on touch screen mode being realized to manipulation
Technical field
The present invention relates to game control technology field, particularly relate to a kind of method and the device that the game based on touch screen mode are realized to manipulation.
Background technology
Along with the development of intelligent television, people utilize intelligent television to be not limited thereto TV reception, such as: because intelligent television screen is comparatively large, utilizing game paddle to manipulate the games run in intelligent television is also that people utilize intelligent television to carry out one of mode of amusement.
In prior art, games based on touch screen mode run in smart mobile phone usually, and wherein, user can manipulate by performing contact action each scene of game to games, wherein, different in games scene of game can the distribution of action button different.And the screen of smart mobile phone is less, affect the game experiencing of user, therefore, being transplanted on intelligent television by the games based on touch screen mode is a development trend.
But, games in intelligent television are controlled by game paddle, and scene of game different in games can the distribution of action button different, so, when the games based on touch screen mode operate in intelligent television, how these games come effectively to manipulate by the game paddle of intelligent television, with make the distribution of each scene of game in games different can action button effectively to be triggered be an important problem.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method and the device that the game based on touch screen mode are realized to manipulation, connects the object that game paddle carries out effectively manipulating with the games realized based on touch screen mode by intelligent television institute.
Concrete technical scheme is as follows:
First aspect, embodiments provide a kind of method game based on touch screen mode being realized to manipulation, be applied to intelligent television, described intelligent television is connected with game paddle; Described method comprises:
Based in the games operational process of touch screen mode, obtain target game handle key command, described target game handle key command is lever operated rear generated for described intelligent television detects that user sends the target game being directed to described game paddle;
Based on the current mapping relations to be utilized pre-determined out, determine the target touch screen event corresponding to described target game handle key command; Wherein, described mapping relations to be utilized are the relation of game paddle key command about described game paddle and touch screen event, and, described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template, described have unique correspondence with reference to scene of game template and described scene of game, each scene of game correspondence respective about the game paddle key command of described game paddle and the mapping relations of touch screen event;
Simulation generates described target touch screen event;
Respond described target touch screen event, to realize being manipulated described games by described game paddle in described games operational process.
Optionally, the process that described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template comprises:
In described games operational process, detect whether reach predetermined screenshotss time point; Wherein, described predetermined screenshotss time point comprises multiple;
When reaching predetermined screenshotss time point, screenshotss process is carried out to the current interface of described games, to obtain the screenshot picture of described current interface;
From multiple with reference to scene of game template, determine the reference scene of game template that described screenshot picture is mated;
The mapping relations corresponding to reference scene of game template of described screenshot picture being mated are defined as mapping relations to be utilized.
Optionally, described from multiple reference scene of game template, determine to comprise the reference scene of game template that described screenshot picture is mated:
From multiple with reference to selecting one scene of game template with reference to scene of game template as object reference scene of game template;
Described screenshot picture is carried out the color filtering process based on described object reference scene of game template, the pixel value of the pixel retained to make the described screenshot picture after filtration treatment is identical with the pixel value of the pixel in described object reference scene of game template;
Determine the pixel in the pixel of the described screenshot picture after described filtration treatment and described object reference scene of game template form pixel number in common factor;
Judge whether described pixel number is greater than preset value, if be greater than, described object reference scene of game template be defined as the reference scene of game template that described screenshot picture is mated, and ended process; Otherwise, judge whether there is not processed reference scene of game template in described multiple reference scene of game template, if existed, from described multiple with reference to select scene of game template one not processed as new object reference scene of game template, and continue to perform described step of described screenshot picture being carried out color filtering process based on described object reference scene of game template, if there is no, end process.
Optionally, described touch screen event comprises: operating space and with the type of action corresponding to described operating space.
Optionally, the reference scene of game template corresponding to described scene of game and mapping relations are all determined by manual type.
Second aspect, embodiments provide a kind of device game based on touch screen mode being realized to manipulation, be applied to intelligent television, described intelligent television is connected with game paddle; Described device comprises:
Game paddle key command obtains module, for based in the games operational process of touch screen mode, obtain target game handle key command, described target game handle key command is lever operated rear generated for described intelligent television detects that user sends the target game being directed to described game paddle;
Target touch screen event determination module, for based on the current mapping relations to be utilized pre-determined out, determines the target touch screen event corresponding to described target game handle key command; Wherein, described mapping relations to be utilized are the relation of game paddle key command about described game paddle and touch screen event, and, described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template, described have unique correspondence with reference to scene of game template and described scene of game, each scene of game correspondence respective about the game paddle key command of described game paddle and the mapping relations of touch screen event;
Target touch screen event generation module, generates described target touch screen event for simulating;
Target touch screen event response module, for responding described target touch screen event, to realize being manipulated described games by described game paddle in described games operational process.
Optionally, described mapping relations to be utilized are upgraded based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template and are completed by mapping relations update module; Wherein, described mapping relations update module comprises:
Screenshotss time point detecting unit, in described games operational process, detects whether reach predetermined screenshotss time point; Wherein, described predetermined screenshotss time point comprises multiple;
Screenshot picture obtains unit, for when reaching predetermined screenshotss time point, carries out screenshotss process to the current interface of described games, to obtain the screenshot picture of described current interface;
Coupling scene determining unit, for from multiple reference scene of game template, determines the reference scene of game template that described screenshot picture is mated;
Mapping relations determining unit, is defined as mapping relations to be utilized for the mapping relations corresponding to the reference scene of game template of described screenshot picture being mated.
Optionally, described coupling scene determining unit comprises:
Object reference scene template determination subelement, for selecting one with reference to scene of game template as object reference scene of game template from multiple reference scene of game template;
Color filtering subelement, for described screenshot picture being carried out the color filtering process based on described object reference scene of game template, the pixel value of the pixel retained to make the described screenshot picture after filtration treatment is identical with the pixel value of the pixel in described object reference scene of game template;
Pixel number determination subelement, for the pixel in the pixel of the described screenshot picture after determining described filtration treatment and described object reference scene of game template form pixel number in common factor;
Discriminatory analysis subelement, for judging whether described pixel number is greater than preset value, if being greater than, being defined as the reference scene of game template that described screenshot picture is mated, and ending process by described object reference scene of game template; Otherwise, judge whether there is not processed reference scene of game template in described multiple reference scene of game template, if existed, from described multiple with reference to select scene of game template one not processed as new object reference scene of game template, and continue to perform described step of described screenshot picture being carried out color filtering process based on described object reference scene of game template, if there is no, end process.
Optionally, described touch screen event comprises: operating space and with the type of action corresponding to described operating space.
Optionally, the reference scene of game template corresponding to described scene of game and mapping relations are all determined by manual type.
In this programme, pre-determine out based on the reference scene of game template corresponding to the scene of game of the games of touch screen mode with about the game paddle key command of game paddle and the mapping relations of touch screen event, and in games operational process, timing determines current scene of game based on by games institute's runnable interface and the timing of multiple reference scene of game template, and then realize upgrading about the timing of the game paddle key command of game paddle and the mapping relations of touch screen event based on scene of game, to make: after receiving target game handle key command, based on the current mapping relations to be utilized pre-determined out, determine this target touch screen event corresponding to target game handle key command, simulation generates and responds target touch screen event, thus the games that can realize based on touch screen mode by intelligent television connect the object that game paddle carries out effectively manipulation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of process flow diagram game based on touch screen mode being realized to the method for manipulation that Fig. 1 provides for the embodiment of the present invention;
A kind of another process flow diagram game based on touch screen mode being realized to the method for manipulation that Fig. 2 provides for the embodiment of the present invention;
A kind of structural representation game based on touch screen mode being realized to the device of manipulation that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to realize games based on touch screen mode by intelligent television connect the object that game paddle carries out effectively manipulation, embodiments provide a kind of method and the device that the game based on touch screen mode are realized to manipulation.
First a kind of method to the game realization manipulation based on touch screen mode that the embodiment of the present invention provides is introduced below.
Wherein, a kind of method to the game realization manipulation based on touch screen mode that the embodiment of the present invention provides is applied to intelligent television, and this intelligent television is connected with game paddle, and the type of this game paddle does not limit at this.
Further, the executive agent realizing a kind of method to the game realization manipulation based on touch screen mode that the embodiment of the present invention provides can be a kind of device game based on touch screen mode being realized to manipulation.Be understandable that, the following games based on touch screen mode itself can as a kind of device game based on touch screen mode being realized to manipulation, or, following also can as a kind of device game based on touch screen mode being realized to manipulation based on the feature card in the games of touch screen mode, and this is also rational.
As shown in Figure 1, a kind of method game based on touch screen mode being realized to manipulation, can comprise the steps:
S101, based in the games operational process of touch screen mode, obtains target game handle key command; Wherein, this target game handle key command is lever operated rear generated for this intelligent television detects that user sends the target game being directed to this game paddle;
When user wishes to operate certain scene of game of the games run, the button that can trigger the intrinsic action matched with pending action in scene of game of this game paddle can be selected, clicking operation is carried out to the button in selected game paddle; Accordingly, it is lever operated that intelligent television can detect that user sends the target game being directed to this game paddle, and generate target game handle key command, now, this can obtain this target game handle key command to the device that the game based on touch screen mode realizes manipulation, and then performs follow-up order.
It should be noted that, in the embodiment of the present invention, game paddle is existing, and its each button can trigger intrinsic action; User, when operating these games, only need learn self to need how to operate scene of game, then from can trigger intrinsic action game paddle multiple buttons select the button corresponding with action required.
S102, based on the current mapping relations to be utilized pre-determined out, determines this target touch screen event corresponding to target game handle key command; Wherein, these mapping relations to be utilized are the relation of game paddle key command about this game paddle and touch screen event, and, these mapping relations to be utilized upgrade based on the scene of game timing determined by this games institute's runnable interface and multiple reference scene of game template, with reference to scene of game template and scene of game, there is unique correspondence, each scene of game correspondence respective about the game paddle key command of game paddle and the mapping relations of touch screen event;
Due in different scene of game can the distribution of action button different, reference scene of game template corresponding to each scene of game and mapping relations can be determined in advance by manual type, wherein, this reference scene of game template can characterize under corresponding scene of game can action button distributed areas and can the pixel value of pixel of action button, in actual applications, this reference scene of game template can the picture of action button for only to comprise, by this picture can obtain can action button distributed areas and can the pixel value of pixel of action button, certainly be not limited thereto.And, because the change of scene of game in game running has uncertainty, therefore, the scene of game can determined based on games institute's runnable interface and multiple reference scene of game template carrys out timing and upgrades mapping relations to be utilized, namely by the scene of game at the current place of games institute runnable interface timing analysis, and then mapping relations to be utilized are determined according to analyzed scene of game.In order to layout is clear, follow-up these mapping relations to be introduced based on this games institute's runnable interface and multiple to upgrade with reference to the timing of scene of game template.
Based on foregoing description, after acquisition target game handle key command, in order to this target game handle key command of significant response, the mapping relations to be utilized under the current scene of game pre-determined out can be obtained, and then based on the current mapping relations to be utilized pre-determined out, determine this target touch screen event corresponding to target game handle key command.
Concrete, each touch screen event include operating space and with the type of action corresponding to this operating space, wherein, type of action comprises: click, double-click etc.
S103, simulation generates this target touch screen event;
Based on the current mapping relations to be utilized pre-determined out, after determining this target touch screen event corresponding to target game handle key command, can simulate and generate this target touch screen event, and then perform follow-up operation.
Wherein, the specific implementation generating this target touch screen event about simulation can adopt existing techniques in realizing, does not repeat at this.
S104, responds this target touch screen event, to realize being manipulated these games by this game paddle in this games operational process.
After simulation generates this target touch screen event, this target touch screen event can be responded, to realize being manipulated these games by this game hand in this games operational process.Wherein, the operating space that so-called this target touch screen event of response is in interface performs the action with type of action corresponding to this operating space.
For example: when games enter under the first scene of game, in runnable interface first area have one can action button, wherein, by action button the master menu that single-click operation can enter games can be performed to this; When under this first scene of game, when user wishes the master menu of Resume Mission program, can perform clicking operation to the master menu button in game paddle, the intrinsic action corresponding to this master menu button is for returning master menu action.Because these games are based on touch screen mode, cannot directly should meet with a response about the clicking operation of master menu button, therefore, the device that manipulation realizes to the game based on touch screen mode corresponding to these games can obtain that intelligent television generates about master menu button clicking operation corresponding to the first game paddle key command; Determine the current mapping relations to be utilized pre-determined out, wherein, in these mapping relations to be utilized about the first game paddle key command corresponding to the clicking operation of master menu button to there being the first touch screen event, this first touch screen event be to first area perform single-click operation; Based on the current mapping relations to be utilized pre-determined out, determine this first touch screen event corresponding to the first game paddle key command; Simulate and generate this first touch screen event; Respond this first touch screen event, namely in institute's runnable interface, first area performs single-click operation;
When games enter under the second scene of game, in runnable interface second area have one can action button, wherein, by action button the master menu that single-click operation can enter games can be performed to this; When under this second scene of game, when user wishes the master menu of Resume Mission program, can perform clicking operation to the master menu button in game paddle, the intrinsic action corresponding to this master menu button is for returning master menu action.Because these games are based on touch screen mode, cannot directly should meet with a response about the clicking operation of master menu button, therefore, the device that manipulation realizes to the game based on touch screen mode corresponding to these games can obtain that intelligent television generates about master menu button clicking operation corresponding to the first game paddle key command; Determine the current mapping relations to be utilized pre-determined out, wherein, in these mapping relations to be utilized about the first game paddle key command corresponding to the clicking operation of master menu button to there being the second touch screen event, this second touch screen event be to second area perform single-click operation; Based on the current mapping relations to be utilized pre-determined out, determine this second touch screen event corresponding to the first game paddle key command; Simulate and generate this second touch screen event; Respond this second touch screen event, namely in institute's runnable interface, second area performs single-click operation.
In this programme, pre-determine out based on the reference scene of game template corresponding to the scene of game of the games of touch screen mode with about the game paddle key command of game paddle and the mapping relations of touch screen event, and in games operational process, timing determines current scene of game based on by games institute's runnable interface and the timing of multiple reference scene of game template, and then realize upgrading about the timing of the game paddle key command of game paddle and the mapping relations of touch screen event based on scene of game, to make: after receiving target game handle key command, based on the current mapping relations to be utilized pre-determined out, determine this target touch screen event corresponding to target game handle key command, simulation generates and responds target touch screen event, thus the games that can realize based on touch screen mode by intelligent television connect the object that game paddle carries out effectively manipulation.
Introduce the process that described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template below.
Concrete, as shown in Figure 2, the process that mapping relations to be utilized upgrade based on the scene of game timing determined by games institute's runnable interface and multiple reference scene of game template can comprise:
S201, in this games operational process, detects whether reach predetermined screenshotss time point; Wherein, predetermined screenshotss time point comprises multiple;
For example, predetermined screenshotss time point can comprise: games run 1ms, 100ms, 200ms by that analogy.Certainly, above-mentioned predetermined screenshotss time point, as just example, should not form the restriction to the embodiment of the present invention.
S202, when reaching predetermined screenshotss time point, carries out screenshotss process to the current interface of these games, to obtain the screenshot picture of this current interface;
Wherein, carrying out screenshotss process to the current interface of these games can adopt existing techniques in realizing, does not repeat at this.
S203, from multiple with reference to scene of game template, determines the reference scene of game template that this screenshot picture is mated;
After the screenshot picture obtaining this current interface, from multiple with reference to scene of game template, the reference scene of game template that this screenshot picture is mated can be determined.
Concrete, described from multiple reference scene of game template, determine to comprise the reference scene of game template that this screenshot picture is mated:
From multiple with reference to selecting one scene of game template with reference to scene of game template as object reference scene of game template;
This screenshot picture is carried out the color filtering process based on this object reference scene of game template, the pixel value of the pixel retained to make this screenshot picture after filtration treatment is identical with the pixel value of the pixel in this object reference scene of game template;
Determine the pixel in the pixel of this screenshot picture after filtration treatment and this object reference scene of game template form pixel number in common factor;
Judge whether this pixel number is greater than preset value, if be greater than, this object reference scene of game template be defined as the reference scene of game template that this screenshot picture is mated, and ended process; Otherwise, judge whether there is not processed reference scene of game template in multiple reference scene of game template, if existed, from multiple with reference to select scene of game template one not processed as new object reference scene of game template, and continue to perform the step of color filtering process screenshot picture being carried out based target reference scene of game template, if there is no, end process.
Wherein, by this screenshot picture, the specific implementation of being undertaken based on the color filtering process of this object reference scene of game template can adopt existing realization, does not repeat at this; Further, the pixel that so-called institute is formed in common factor is: and the pixel that regional location of in interface identical identical with the pixel value in object reference scene of game template of the screenshot picture after filtration treatment.
It is emphasized that above-mentioned from multiple with reference to scene of game template, determine that the specific implementation of the reference scene of game template that this screenshot picture is mated is as just example, should not form the restriction to the embodiment of the present invention.
S204, the mapping relations corresponding to reference scene of game template of this screenshot picture being mated are defined as mapping relations to be utilized.
From multiple with reference in scene of game template, after determining the reference scene of game template that this screenshot picture is mated, the mapping relations corresponding to reference scene of game template this screenshot picture can mated are defined as mapping relations to be utilized.
Be understandable that, in games operational process, whether real-time detection reaches predetermined screenshotss time point, and detecting the screenshotss time point reaching predetermined at every turn, all perform S202 ~ S204, thus realize based on this games institute's runnable interface and multiple object upgrading mapping relations to be utilized with reference to the timing of scene of game template.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides a kind of device game based on touch screen mode being realized to manipulation, and be applied to intelligent television, described intelligent television is connected with game paddle; As shown in Figure 3, described device can comprise:
Game paddle key command obtains module 310, for based in the games operational process of touch screen mode, obtain target game handle key command, described target game handle key command is lever operated rear generated for described intelligent television detects that user sends the target game being directed to described game paddle;
Target touch screen event determination module 320, for based on the current mapping relations to be utilized pre-determined out, determines the target touch screen event corresponding to described target game handle key command; Wherein, described mapping relations to be utilized are the relation of game paddle key command about described game paddle and touch screen event, and, described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template, described have unique correspondence with reference to scene of game template and described scene of game, each scene of game correspondence respective about the game paddle key command of described game paddle and the mapping relations of touch screen event;
Target touch screen event generation module 330, generates described target touch screen event for simulating;
Target touch screen event response module 340, for responding described target touch screen event, to realize being manipulated described games by described game paddle in described games operational process.
In this programme, pre-determine out based on the reference scene of game template corresponding to the scene of game of the games of touch screen mode with about the game paddle key command of game paddle and the mapping relations of touch screen event, and in games operational process, timing determines current scene of game based on by games institute's runnable interface and the timing of multiple reference scene of game template, and then realize upgrading about the timing of the game paddle key command of game paddle and the mapping relations of touch screen event based on scene of game, to make: after receiving target game handle key command, based on the current mapping relations to be utilized pre-determined out, determine this target touch screen event corresponding to target game handle key command, simulation generates and responds target touch screen event, thus the games that can realize based on touch screen mode by intelligent television connect the object that game paddle carries out effectively manipulation.
Concrete, described mapping relations to be utilized are upgraded based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template and are completed by mapping relations update module; Wherein, described mapping relations update module can comprise:
Screenshotss time point detecting unit, in described games operational process, detects whether reach predetermined screenshotss time point; Wherein, described predetermined screenshotss time point comprises multiple;
Screenshot picture obtains unit, for when reaching predetermined screenshotss time point, carries out screenshotss process to the current interface of described games, to obtain the screenshot picture of described current interface;
Coupling scene determining unit, for from multiple reference scene of game template, determines the reference scene of game template that described screenshot picture is mated;
Mapping relations determining unit, is defined as mapping relations to be utilized for the mapping relations corresponding to the reference scene of game template of described screenshot picture being mated.
Concrete, described coupling scene determining unit can comprise:
Object reference scene template determination subelement, for selecting one with reference to scene of game template as object reference scene of game template from multiple reference scene of game template;
Color filtering subelement, for described screenshot picture being carried out the color filtering process based on described object reference scene of game template, the pixel value of the pixel retained to make the described screenshot picture after filtration treatment is identical with the pixel value of the pixel in described object reference scene of game template;
Pixel number determination subelement, for the pixel in the pixel of the described screenshot picture after determining described filtration treatment and described object reference scene of game template form pixel number in common factor;
Discriminatory analysis subelement, for judging whether described pixel number is greater than preset value, if being greater than, being defined as the reference scene of game template that described screenshot picture is mated, and ending process by described object reference scene of game template; Otherwise, judge whether there is not processed reference scene of game template in described multiple reference scene of game template, if existed, from described multiple with reference to select scene of game template one not processed as new object reference scene of game template, and continue to perform described step of described screenshot picture being carried out color filtering process based on described object reference scene of game template, if there is no, end process.
Concrete, described touch screen event comprises: operating space and with the type of action corresponding to described operating space.
Concrete, the reference scene of game template corresponding to described scene of game and mapping relations are all determined by manual type.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. the game based on touch screen mode is realized to a method for manipulation, it is characterized in that, be applied to intelligent television, described intelligent television is connected with game paddle; Described method comprises:
Based in the games operational process of touch screen mode, obtain target game handle key command, described target game handle key command is lever operated rear generated for described intelligent television detects that user sends the target game being directed to described game paddle;
Based on the current mapping relations to be utilized pre-determined out, determine the target touch screen event corresponding to described target game handle key command; Wherein, described mapping relations to be utilized are the relation of game paddle key command about described game paddle and touch screen event, and, described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template, described have unique correspondence with reference to scene of game template and described scene of game, each scene of game correspondence respective about the game paddle key command of described game paddle and the mapping relations of touch screen event;
Simulation generates described target touch screen event;
Respond described target touch screen event, to realize being manipulated described games by described game paddle in described games operational process.
2. method according to claim 1, is characterized in that, the process that described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template comprises:
In described games operational process, detect whether reach predetermined screenshotss time point; Wherein, described predetermined screenshotss time point comprises multiple;
When reaching predetermined screenshotss time point, screenshotss process is carried out to the current interface of described games, to obtain the screenshot picture of described current interface;
From multiple with reference to scene of game template, determine the reference scene of game template that described screenshot picture is mated;
The mapping relations corresponding to reference scene of game template of described screenshot picture being mated are defined as mapping relations to be utilized.
3. method according to claim 2, is characterized in that, described from multiple reference scene of game template, determines to comprise the reference scene of game template that described screenshot picture is mated:
From multiple with reference to selecting one scene of game template with reference to scene of game template as object reference scene of game template;
Described screenshot picture is carried out the color filtering process based on described object reference scene of game template, the pixel value of the pixel retained to make the described screenshot picture after filtration treatment is identical with the pixel value of the pixel in described object reference scene of game template;
Determine the pixel in the pixel of the described screenshot picture after described filtration treatment and described object reference scene of game template form pixel number in common factor;
Judge whether described pixel number is greater than preset value, if be greater than, described object reference scene of game template be defined as the reference scene of game template that described screenshot picture is mated, and ended process; Otherwise, judge whether there is not processed reference scene of game template in described multiple reference scene of game template, if existed, from described multiple with reference to select scene of game template one not processed as new object reference scene of game template, and continue to perform described step of described screenshot picture being carried out color filtering process based on described object reference scene of game template, if there is no, end process.
4. the method according to claim 1-3 any one, is characterized in that, described touch screen event comprises: operating space and with the type of action corresponding to described operating space.
5. the method according to claim 1-3 any one, is characterized in that, the reference scene of game template corresponding to described scene of game and mapping relations are all determined by manual type.
6. the game based on touch screen mode is realized to a device for manipulation, it is characterized in that, be applied to intelligent television, described intelligent television is connected with game paddle; Described device comprises:
Game paddle key command obtains module, for based in the games operational process of touch screen mode, obtain target game handle key command, described target game handle key command is lever operated rear generated for described intelligent television detects that user sends the target game being directed to described game paddle;
Target touch screen event determination module, for based on the current mapping relations to be utilized pre-determined out, determines the target touch screen event corresponding to described target game handle key command; Wherein, described mapping relations to be utilized are the relation of game paddle key command about described game paddle and touch screen event, and, described mapping relations to be utilized upgrade based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template, described have unique correspondence with reference to scene of game template and described scene of game, each scene of game correspondence respective about the game paddle key command of described game paddle and the mapping relations of touch screen event;
Target touch screen event generation module, generates described target touch screen event for simulating;
Target touch screen event response module, for responding described target touch screen event, to realize being manipulated described games by described game paddle in described games operational process.
7. device according to claim 6, is characterized in that, described mapping relations to be utilized are upgraded based on the scene of game timing determined by described games institute's runnable interface and multiple reference scene of game template and completed by mapping relations update module; Wherein, described mapping relations update module comprises:
Screenshotss time point detecting unit, in described games operational process, detects whether reach predetermined screenshotss time point; Wherein, described predetermined screenshotss time point comprises multiple;
Screenshot picture obtains unit, for when reaching predetermined screenshotss time point, carries out screenshotss process to the current interface of described games, to obtain the screenshot picture of described current interface;
Coupling scene determining unit, for from multiple reference scene of game template, determines the reference scene of game template that described screenshot picture is mated;
Mapping relations determining unit, is defined as mapping relations to be utilized for the mapping relations corresponding to the reference scene of game template of described screenshot picture being mated.
8. device according to claim 7, is characterized in that, described coupling scene determining unit comprises:
Object reference scene template determination subelement, for selecting one with reference to scene of game template as object reference scene of game template from multiple reference scene of game template;
Color filtering subelement, for described screenshot picture being carried out the color filtering process based on described object reference scene of game template, the pixel value of the pixel retained to make the described screenshot picture after filtration treatment is identical with the pixel value of the pixel in described object reference scene of game template;
Pixel number determination subelement, for the pixel in the pixel of the described screenshot picture after determining described filtration treatment and described object reference scene of game template form pixel number in common factor;
Discriminatory analysis subelement, for judging whether described pixel number is greater than preset value, if being greater than, being defined as the reference scene of game template that described screenshot picture is mated, and ending process by described object reference scene of game template; Otherwise, judge whether there is not processed reference scene of game template in described multiple reference scene of game template, if existed, from described multiple with reference to select scene of game template one not processed as new object reference scene of game template, and continue to perform described step of described screenshot picture being carried out color filtering process based on described object reference scene of game template, if there is no, end process.
9. the device according to claim 6-8 any one, is characterized in that, described touch screen event comprises: operating space and with the type of action corresponding to described operating space.
10. the device according to claim 6-8 any one, is characterized in that, the reference scene of game template corresponding to described scene of game and mapping relations are all determined by manual type.
CN201510386590.0A 2015-06-30 2015-06-30 A kind of method and device for realizing manipulation to the game based on touch screen mode Active CN104991734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510386590.0A CN104991734B (en) 2015-06-30 2015-06-30 A kind of method and device for realizing manipulation to the game based on touch screen mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510386590.0A CN104991734B (en) 2015-06-30 2015-06-30 A kind of method and device for realizing manipulation to the game based on touch screen mode

Publications (2)

Publication Number Publication Date
CN104991734A true CN104991734A (en) 2015-10-21
CN104991734B CN104991734B (en) 2019-02-22

Family

ID=54303550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510386590.0A Active CN104991734B (en) 2015-06-30 2015-06-30 A kind of method and device for realizing manipulation to the game based on touch screen mode

Country Status (1)

Country Link
CN (1) CN104991734B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872664A (en) * 2016-03-31 2016-08-17 *** Touch screen game operating-controlling method, device and system
CN109117062A (en) * 2018-07-20 2019-01-01 北京超卓科技有限公司 Mapping method and device and mobile device and game device
CN112525566A (en) * 2019-09-17 2021-03-19 Oppo广东移动通信有限公司 Equipment test method and device and electronic equipment
CN114653058A (en) * 2022-03-31 2022-06-24 广州小鹏汽车科技有限公司 Vehicle control method, vehicle, and storage medium
CN116139468A (en) * 2022-11-23 2023-05-23 广州小鸡快跑网络科技有限公司 Key control detection method and system for game handle
EP4234057A4 (en) * 2020-11-25 2024-04-24 Huawei Technologies Co., Ltd. Game control method, apparatus, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130007606A1 (en) * 2011-06-30 2013-01-03 Nokia Corporation Text deletion
CN103480153A (en) * 2013-09-04 2014-01-01 张家港保税区润桐电子技术研发有限公司 Method for simulating computer gamepad with smartphone
CN103530149A (en) * 2013-09-27 2014-01-22 深圳市同洲电子股份有限公司 Configuration method for gamepad simulation configuration file and terminal
CN103957441A (en) * 2014-04-23 2014-07-30 深圳创维-Rgb电子有限公司 Method for controlling display terminal by mobile terminal and mobile terminal
CN104536763A (en) * 2015-01-08 2015-04-22 炫彩互动网络科技有限公司 Method for implementing online game simulating reality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130007606A1 (en) * 2011-06-30 2013-01-03 Nokia Corporation Text deletion
CN103480153A (en) * 2013-09-04 2014-01-01 张家港保税区润桐电子技术研发有限公司 Method for simulating computer gamepad with smartphone
CN103530149A (en) * 2013-09-27 2014-01-22 深圳市同洲电子股份有限公司 Configuration method for gamepad simulation configuration file and terminal
CN103957441A (en) * 2014-04-23 2014-07-30 深圳创维-Rgb电子有限公司 Method for controlling display terminal by mobile terminal and mobile terminal
CN104536763A (en) * 2015-01-08 2015-04-22 炫彩互动网络科技有限公司 Method for implementing online game simulating reality

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872664A (en) * 2016-03-31 2016-08-17 *** Touch screen game operating-controlling method, device and system
CN109117062A (en) * 2018-07-20 2019-01-01 北京超卓科技有限公司 Mapping method and device and mobile device and game device
CN112525566A (en) * 2019-09-17 2021-03-19 Oppo广东移动通信有限公司 Equipment test method and device and electronic equipment
CN112525566B (en) * 2019-09-17 2022-12-13 Oppo广东移动通信有限公司 Equipment test method and device and electronic equipment
EP4234057A4 (en) * 2020-11-25 2024-04-24 Huawei Technologies Co., Ltd. Game control method, apparatus, and storage medium
CN114653058A (en) * 2022-03-31 2022-06-24 广州小鹏汽车科技有限公司 Vehicle control method, vehicle, and storage medium
CN116139468A (en) * 2022-11-23 2023-05-23 广州小鸡快跑网络科技有限公司 Key control detection method and system for game handle
CN116139468B (en) * 2022-11-23 2024-03-15 广州小鸡快跑网络科技有限公司 Key control detection method and system for game handle

Also Published As

Publication number Publication date
CN104991734B (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN104991734A (en) Method and apparatus for controlling game based on touch screen mode
KR102167879B1 (en) Test methods, systems, devices and readable storage media
CN105159687B (en) A kind of information processing method, terminal and computer-readable storage medium
Seo et al. Direct hand touchable interactions in augmented reality environments for natural and intuitive user experiences
CN107185232B (en) Virtual object motion control method and device, electronic equipment and storage medium
CN105094508A (en) Method and apparatus for performing window control on application program of mobile terminal
CN104076986A (en) Touch control method and equipment used for multi-touch screen terminal
US20180373504A1 (en) Graphical interface to generate instructions to control a representation by an output interface of one or more objects
WO2022228465A1 (en) Interface display method and apparatus, electronic device, and storage medium
TW201604719A (en) Method and apparatus of controlling a smart device
CN103838563A (en) Program developing method for automatic device
CN112699362A (en) Login verification method and device, electronic equipment and computer readable storage medium
KR101759537B1 (en) Method for mapping keys or buttons displyed on touchscreen of mobile terminal
CN105302364A (en) Android device remote controlling method and system
CN101815173A (en) Method and system for remotely controlling front-end camera
CN111190826A (en) Testing method and device for virtual reality immersive tracking environment, storage medium and equipment
CN103389871A (en) Control method for electronic equipment and electronic equipment
CN104881231B (en) Touch gestures for stream connection in a flow simulator
CN103809856A (en) Information processing method and first electronic device
CN115970276A (en) Virtual resource interactive display method, device, terminal and medium
US20180221766A1 (en) Control method of controlling game handle supporting android game
CN105094344B (en) Fixed terminal control method and device
CN109032343B (en) Industrial man-machine interaction system and method based on vision and haptic augmented reality
CN104598133A (en) Instruction book generating method and device for object
CN111459823B (en) Method and device for testing game software, storage medium and processor

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