CN109550232A - Touch control device and its response method, device - Google Patents

Touch control device and its response method, device Download PDF

Info

Publication number
CN109550232A
CN109550232A CN201811303592.9A CN201811303592A CN109550232A CN 109550232 A CN109550232 A CN 109550232A CN 201811303592 A CN201811303592 A CN 201811303592A CN 109550232 A CN109550232 A CN 109550232A
Authority
CN
China
Prior art keywords
script
information
default
touch
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811303592.9A
Other languages
Chinese (zh)
Inventor
林行
王辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shell Technology Co Ltd
Original Assignee
Beijing Shell 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 Shell Technology Co Ltd filed Critical Beijing Shell Technology Co Ltd
Priority to CN201811303592.9A priority Critical patent/CN109550232A/en
Publication of CN109550232A publication Critical patent/CN109550232A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad

Abstract

The invention discloses a kind of touch control device and its response methods, device.Method includes: the characteristic information for obtaining the repeatability operation executed for the entity touch panel of touch control device;According to characteristic information, corresponding default script is generated;When receiving script play-back command, target script corresponding with script play-back command in default script is determined;Invocation target script, and the characteristic information in target script is parsed, obtain the identifiable touch information of touch control device;Respond touch information.According to the technical solution of the present invention, it can be achieved that on the basis of not needing manual operation, obtain manually performing the response effect above-mentioned repeatability operation with user.In this way, the time for not only saving manpower, reducing repeatability operation, and the response efficiency due to being not required to artificially execute above-mentioned repeatability operation thus improve repeatability operation.

Description

Touch control device and its response method, device
Technical field
The present invention relates to field of terminal technology, in particular to a kind of touch control device and its response method, device.
Background technique
Currently, with universal, more and more touch control devices of manufacturers' release with touch panel, with side of touch technology Just user executes touch control operation by touch panel, to promote the usage experience of user as much as possible.
Using touch control device, user can directly be operated the object in the types of applications program such as game, shopping, be obtained Intuitively, the operating experience of immersion.However, often there are some repeatability operations in these application programs, such as " registering ", " getting daily log in reward " etc., especially some on-hook class game, such repeatability operation are more.It is weighed for this kind of Renaturation manipulation requires to complete by manually performing in the related technology, not only increases the operating burden of user, wastes user A large amount of time and efforts, and since repeatability operation could be obtained after needing artificially to execute above-mentioned repeatability operation The corresponding response results response efficiency that thus above-mentioned repeatability operates is lower, and user experience is bad.
Summary of the invention
The present invention provides a kind of touch control device response method, comprising:
Obtain the characteristic information of the repeatability operation executed for the entity touch panel of the touch control device;
According to the characteristic information, corresponding default script is generated;
When receiving script play-back command, target corresponding with the script play-back command in the default script is determined Script;
The target script is called, and the characteristic information in the target script is parsed, the touch-control is obtained and sets Standby identifiable touch information;
Respond the touch information.
In one embodiment, further includes:
After generating the default script, the default script is saved, and is script configuration each in the default script Script mark;
It is described when receiving script play-back command, determine corresponding with the script play-back command in the default script Target script, comprising:
When receiving the script play-back command, the target script mark in the script play-back command is determined;
Script mark is filtered out from the default script and identifies matched script with the target script, as the mesh Mark script.
In one embodiment, further includes:
After generating the default script, the default script is saved, and is script configuration each in the default script Script mark;
It is described when receiving script play-back command, determine corresponding with the script play-back command in the default script Target script, comprising:
It is true according to destination application currently running in the touch control device when receiving the script play-back command Fixed corresponding target script mark;
The target script is determined according to target script mark.
In one embodiment, default analysis program is equipped on the touch control device and is created virtual input device, The virtual input device is connected with the operating system of the default analysis program and the touch control device respectively;
The characteristic information in the target script parses, and obtains the identifiable touch-control letter of the touch control device Breath, comprising:
The characteristic information is parsed by the default analysis program, obtaining the virtual input device can recognize Touch information;
The response touch information, comprising:
The touch information is sent to the operating system by the virtual input device;
The operating system responds the touch information.
In one embodiment, the characteristic information includes: the repeatability operation on the entity touch panel Operation information;And/or
The characteristic information includes: instruction information corresponding with the operation information, wherein the instruction information include with It is at least one of lower: keyword, picture, colouring information.
In one embodiment, described in the target script when the characteristic information includes the instruction information Characteristic information parsed, obtain the identifiable touch information of the touch control device, comprising:
The instruction information is identified, the corresponding operation information of the instruction information is obtained;
The operation information is parsed, the touch information is obtained.
In one embodiment, described to obtain what the repeatability executed for the entity touch panel of touch control device operated Characteristic information, comprising:
Each historical operation that user executes in default historical time section for the entity touch panel is obtained to be formed Historical operation record;
According to the frequency of occurrences and the historical operation record of each historical operation, the habitual operation of user is obtained;
The characteristic information of the habitual operation is determined as to the characteristic information of the repeatability operation.
The present invention also provides a kind of touch control device responding devices, comprising:
Module is obtained, for obtaining the repeatable spy operated for being directed to the entity touch panel of the touch control device and executing Reference breath;
Generation module, for generating corresponding default script according to the characteristic information;
Determining module is played back for when receiving script play-back command, determining in the default script with the script Instruct corresponding target script;
First processing module is solved for calling the target script, and to the characteristic information in the target script Analysis, obtains the identifiable touch information of the touch control device;
Respond module, for responding the touch information.
In one embodiment, further includes:
Second processing module for after generating the default script, saving the default script, and is described default Each script configuration script mark in script;
The determining module includes:
First determines submodule, for when receiving the script play-back command, determining in the script play-back command Target script mark;
Submodule is screened, it is matched for filtering out script mark and target script mark from the default script Script, as the target script;
Or
In one embodiment, further includes:
Third processing module for after generating the default script, saving the default script, and is described default Each script configuration script mark in script;
The determining module includes:
Second determines submodule, for when receiving the script play-back command, according to current in the touch control device The destination application of operation determines corresponding target script mark;
Third determines submodule, for determining the target script according to target script mark.
In one embodiment, default analysis program is equipped on the touch control device and is created virtual input device, The virtual input device is connected with the operating system of the default analysis program and the touch control device respectively;
The first processing module is used for:
The characteristic information is parsed by the default analysis program, obtaining the virtual input device can recognize Touch information;
The respond module is used for:
The touch information is sent to the operating system by the virtual input device, rings the operating system Answer the touch information.
In one embodiment, the characteristic information includes: the repeatability operation on the entity touch panel Operation information;And/or
The characteristic information includes: instruction information corresponding with the operation information, wherein the instruction information include with It is at least one of lower: keyword, picture, colouring information.
In one embodiment, the first processing module includes:
Submodule is identified, for being known to the instruction information when the characteristic information includes the instruction information Not, the corresponding operation information of the instruction information is obtained;
Analyzing sub-module obtains the touch information for parsing the operation information.
In one embodiment, the acquisition module includes:
First acquisition submodule executes in default historical time section for the entity touch panel for obtaining user Each historical operation be formed by historical operation record;
Second acquisition submodule is obtained for the frequency of occurrences and the historical operation record according to each historical operation Obtain the habitual operation of user;
4th determines submodule, for the characteristic information of the habitual operation to be determined as the repeatability operation Characteristic information.
It may include touch control device responding device described in any of the above item the present invention also provides a kind of touch control device.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The present embodiment acquires the characteristic information of repeatability operation in advance, and corresponding pre- according to the generation of features described above information If script, so as to when receiving script play-back command, determine target foot corresponding with script play-back command in default script This, and automatically parses the characteristic information in the target script, obtains that this feature information is corresponding and the touch control device can The touch information of identification, namely repeatability operate corresponding touch information, can be realized on the basis for not needing manual operation On, obtain manually performing the response effect above-mentioned repeatability operation with user.In this way, not only saving manpower, reducing The time of repeatability operation, and due to being not required to artificially execute above-mentioned repeatability operation thus improving repeatable operation Response efficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of touch control device response method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another touch control device response method shown according to an exemplary embodiment.
Fig. 3 is the flow chart of another touch control device response method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of another touch control device response method shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of touch control device responding device shown according to an exemplary embodiment.
Fig. 6 is the block diagram of another touch control device responding device shown according to an exemplary embodiment.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of touch control device response method, and this method is suitable For in script handler, system or device, can be used for that there are the touch control devices such as the mobile phone of touch panel, plate, such as Fig. 1 institute Show, the method comprising the steps of S101 to step S105, in which:
In step s101, the feature letter of the repeatability operation executed for the entity touch panel of touch control device is obtained Breath;The operation that above-mentioned repeatability operation executes in destination application for needs.
Above-mentioned repeatability operation refer to needing repeating for entity touch panel (including continuous several times execute, And be performed a plurality of times with the fixed or unfixed period) operation.For example, executed after logging in certain game application P1 daily " registering ", get register reward etc. operation, or in certain game application P2 adopting consecutive click chemical reaction " attack " key operation etc. Deng.
In step s 102, according to features described above information, corresponding default script is generated;
In step s 103, it when receiving script play-back command, determines corresponding with script play-back command in default script Target script;
In step S104, invocation target script, and the characteristic information in target script is parsed, it obtains touch-control and sets Standby identifiable touch information;
It, may be due to the language format and the identifiable language of touch control device of the script since script is usually customized Format not mutually same reason cause touch control device possibly can not characteristic information in Direct Recognition target script, thus, need Characteristic information is parsed, to obtain the identifiable touch information of touch control device, so that it is guaranteed that can after touch control device The script is run, performs above-mentioned repetitive operation manually to achieve the effect that be equivalent to user.
In step s105, touch information is responded.
The present embodiment acquires the characteristic information of repeatability operation in advance, and corresponding pre- according to the generation of features described above information If script, so as to when receiving script play-back command, determine target foot corresponding with script play-back command in default script This, and automatically parses the characteristic information in the target script, obtains that this feature information is corresponding and the touch control device can The touch information of identification, namely repeatability operate corresponding touch information, can be realized on the basis for not needing manual operation On, obtain manually performing the response effect above-mentioned repeatability operation with user.In this way, not only saving manpower, reducing The time of repeatability operation, and due to being not required to artificially execute above-mentioned repeatability operation thus improving repeatable operation Response efficiency.
In addition, user can also be facilitated to carry out circulate operation on touch control device by invocation target script.
Finally, the script in the application supports the institute of Lua based on Lua language (a small and exquisite scripting language) There is characteristic of speech sounds and function.The application can also customize a series of distinctive function commands for application scenarios simultaneously, and realization is looked for The functions such as color, touch.
And the order in script includes: base command and custom command, in which:
Base command includes Row control order, loop command, variable command etc., uses Lua verbal order.Example Such as:
while(true)
do
Print (" circulation goes down eternal execution ")
end
Above-mentioned is a loop command, function are as follows: when condition is true (true), " circulation will for output (display) character string It executes forever ".
And custom command is to touch shell script to realize touch function, it is customized a series of on the basis of Lua Order.Such as: touch presses (touchDown), touches mobile (touchMove), screenshot (snapshot) etc..
Custom command example is specific as follows:
TouchDown (1,150,150) indicates that ID is that 1 finger is pressed at coordinate (150,150);
MSleep (200) indicates 200 milliseconds of delay;
TouchUp (1,150,150) indicates that ID is that 1 finger lifts.
The case of default script will be enumerated below:
Case one: it demonstrates startup program Px and registers the script for leading red packet to back to main interface
Start'com.Px'-- startup program Px
TouchDown (1,100,1000) -- switch to my tabs
TouchDown (1,300,1000) -- click is registered
Home-- returns to main interface
It should be noted that above-mentioned case is a kind of, " I the " coordinate of tabs in program Px home interface be (100, 1000), executed at this press down that " switching to " can be completed in order (touchDown) mine " tabs " and operation;" registering " Coordinate of the control in " I " interface is (300,1000), executes at this and presses down order (touchDown) " point can be completed Hit the operation of " registering ".
Case two: the script of game on-hook process is demonstrated
TouchDown (1,50,150) -- open article column
MSleep (200) -- 200 milliseconds of delay
TouchUp (1,150,150) -- it takes medicine
It should be noted that coordinate of " article column " control in interface is (50,150) in above-mentioned case two, Executed at this by issue orders (touchDown) operation of " open article column " can be completed;The seat of " medicine " in article column interface (150,150) are designated as, order (touchUp) is lifted in execution at this can be completed the operation of " taking medicine ".
As shown in Fig. 2, in one embodiment, the above method may also include that
In step s 201, after generating default script, default script is saved, and is script configuration each in default script Script mark;
It is identified based on above-mentioned script, the step S103 in above-mentioned Fig. 1, i.e., when receiving script play-back command, determined pre- If target script corresponding with script play-back command in script, may include step S202 and step S203:
In step S202, when receiving script play-back command, the target script mark in script play-back command is determined;
In step S203, script mark is filtered out from default script with target script and identifies matched script, as Target script.
When determining target script, the script that can be configured according to script each in default script is identified, and is sieved from default script It chooses Automatic sieve to select script mark and identifies matched script as target script, so that user can flexible, side with target script Just target script is filtered out.
Script mark and target script identify matched script refer to script be identified as the target script identify it is identical Script or script mark and the target script mark higher script of similarity.
As shown in figure 3, in one embodiment, the above method may also include that
In step S301, after generating default script, default script is saved, and be script configuration each in default script Script mark.
It is identified based on the script, the step S103 in above-mentioned Fig. 1, i.e., when receiving script play-back command, determined default Target script corresponding with script play-back command in script, may include step S302 and step S303:
In step s 302, when receiving script play-back command, according to target application currently running in touch control device Program determines corresponding target script mark;
In step S303, is identified according to target script and determine target script.
When determining target script, if receiving script play-back command, pass through each script of connected applications program Script mark, it may be determined that the corresponding script mark of currently running destination application, i.e., above-mentioned target script in touch control device Mark, and then can be identified according to the target script and intelligently filter out target script.
In one embodiment, default analysis program is equipped on touch control device and is created virtual input device, virtually Input equipment is connected with the operating system of default analysis program and touch control device (communicates) respectively;
Android (Android) operating system or IOS operating system that the operating system can be open source are (by apple The Mobile operating system of company's exploitation);
Characteristic information in target script is parsed, the identifiable touch information of touch control device is obtained, comprising:
Characteristic information is parsed by default analysis program, obtains the identifiable touch information of virtual input device.
Wherein, which can be located at the application layer on Android operation system upper layer, match with virtual input device It closes and uses.
And virtual input device can be registered in the kernel (i.e. linux system) of Android operation system, the virtual input Equipment and Android operation system can be synchronized logical by hid (HID Descriptor Tool, descriptor edit tool) agreement Letter, and above-mentioned virtual input device can be UInput Device.
In addition, above-mentioned resolving is in addition to the grammer, semanteme, language format that can be to characteristic information are parsed or are turned It is alternatively outer, it is also possible to coordinate conversion etc., and since virtual input device is equivalent to a virtual touch panel, thus, solution Touch information after analysis is that the coordinate after the touch information for the virtual input device, such as parsing is for the virtual input The coordinate of equipment.
It is converted into UINPUT order mouse is clicked corresponding characteristic information below (i.e. virtual input device can identify Order) for, illustrate the parsing result of above-mentioned default analysis program:
In the present embodiment, it is based on above-mentioned virtual input device, above-mentioned response touch information, comprising:
Touch information is sent to operating system by virtual input device;
Operating system responds touch information.
In the present embodiment, since virtual input device is equivalent to a virtual touch panel, so working as virtual input device When touch information is sent to operating system, operating system will be made to take for user on the entity touch panel of touch control device Above-mentioned repeatability operation has been manually performed, thus, operating system, which carries out, normally responds patrolling for repeatability operation Volume, specifically, operating system will respond the touch information, be equivalent to user to reach and perform above-mentioned repetitive operation manually Effect.
Since touch information is the identifiable touch information of virtual input device, and virtual input device is registered in Android behaviour Make on the kernel of system, thus, which is also the identifiable touch information of Android operation system, thus, Android operation System is after getting the touch information, so that it may respond touch information in touch control device, be equivalent to user to reach and manually perform The effect of above-mentioned repetitive operation, to automatically obtain the response knot for executing and obtaining after above-mentioned repeatability operation using script Fruit, in this way, the time for not only saving manpower, reducing repeatability operation, and it is above-mentioned repeatable due to being not required to artificially execute Property operation thus improve repeatability operation response efficiency.
In one embodiment, characteristic information includes: operation information of the repeatability operation on entity touch panel.
Aforesaid operations information be action type (such as click, sliding) of the repeatability operation on above-mentioned touch panel, Operate coordinate, operation duration.
Certainly, if including multiple operations in above-mentioned repeatability operation, aforesaid operations information can also be multiple behaviour Work operating time interval, operation order, number of operations, operated object (such as application or control) name attribute letter Breath.
And/or
In one embodiment, characteristic information includes: instruction information corresponding with operation information, wherein instruction packet It includes at least one of following: keyword, picture, colouring information.
Above-mentioned instruction information includes but is not limited to above-mentioned several information, such as, it is also possible to sound etc..
In one embodiment, when characteristic information includes instruction information, step S104 in above-mentioned Fig. 1, i.e., to target foot Characteristic information in this is parsed, and is obtained the identifiable touch information of touch control device, can be performed as:
Instruction information is identified, the corresponding operation information of instruction information is obtained;
Operation information is parsed, touch information is obtained.
In default script described in the present embodiment, weighed for what the operation informations such as position of touch, touch-control time determined Can the operation information directly be written in corresponding default script in renaturation manipulation, corresponding to realize conducive to timing control mode The automatic execution of repeatability operation.
And repeatability operation uncertain for some operation informations, then it can be in corresponding default script according to upper It states instruction information and corresponding logic control condition is written, thus during this presets script operation, as long as meeting the logic Control condition can determine operation information in real time.By identifying to above-mentioned instruction information, that is, judge corresponding logic control Whether condition meets, and can get the corresponding operation information of instruction information, then automatically parses to operation information, with automatic Accurate touch information is obtained, consequently facilitating accurately simulating user using script manually performs above-mentioned repeatability operation Effect, and the response results for executing and obtaining after above-mentioned repeatability operation are obtained automatically and accurately.
Such as: can occur multiple " white squares " and " black box " simultaneously in " stepping on square " game, in application interface, use Family needs to click " black box " occurred in the application interface, and due to the time of black box appearance, position in different outposts Etc. being different, can not be set in advance, therefore can be by identifying the region the black in application interface (black) in real time, and will know Operation information corresponding instruction information of the information such as the position of other time and black region as click " black box " this operation, In this way, the colouring information of current interface can be looped to determine with the presence or absence of " black " information during this presets script operation (specifically can obtain the colouring information of current interface by parsing the script data of the application program), if it is present obtaining The coordinate information and action type information (clicking operation) for taking the corresponding display area of " black " information, as operation information, Then the operation information is further resolved into the identifiable touch information of operating system, i.e., using patrolling based on colouring information It collects control mode and simulates the effect for clicking black box manually in " stepping on square " application, realize the automatic function of looking for color, so that The game can be automatically operated.
Another example is: due to that can generate after receiving red packet, " you are received in the application programs such as certain instant messaging, shopping The prompt tone of red packet ", and the click on area for being somebody's turn to do " red packet " is relatively fixed, thus, the prompt tone of " you receive red packet " can be used as The corresponding instruction information of operation information of " red packet " this operation is clicked, so, during this presets script operation, it can follow Ring judges whether to receive " you receive red packet " this prompt tone, if received, will receive the time of the prompt tone as behaviour Make the time, and combine other relevant operation information (such as action type information), resolves to the identifiable coordinate of operating system and point Hit order, i.e., simulate the effect for clicking red packet manually using the logic control mode based on sound, realize rob automatically red packet, It accepts covert payment, does not need user and be noticed that whether to receive red packet in real time, also do not need user and manually perform the operation robbed/accepted covert payment.
In other feasible embodiments, can also by timing control and logic control combine in the way of it is pre- to design If script, the automatic execution to complex operations is realized.
As shown in figure 4, in one embodiment, the step S101 in above-mentioned Fig. 1 obtains the entity for being directed to touch control device The characteristic information for the repeatability operation that touch panel executes, may include step S401 to step S403:
In step S401, each history behaviour that user executes in default historical time section for entity touch panel is obtained It is formed by historical operation record;
In step S402, according to the frequency of occurrences and historical operation record of each historical operation, the habituation of user is obtained Operation;
It, can be from going through when obtaining user habitual according to the frequency of occurrences and historical operation record of each historical operation and operating The historical operation that the frequency of occurrences is higher than the default frequency of occurrences is filtered out in history operation note, and then these frequencies of occurrences are higher than in advance If the historical operation of the frequency of occurrences is determined as the habitual operation of user.
Certainly, when determining habitual operation, the appearance sequence of the multiple historical operations filtered out should be remained unchanged.
In step S403, the characteristic information of habituation operation is determined as to the characteristic information of repeatability operation.
It, can be according to each historical operation by obtaining the historical operation record that each historical operation is formed in default historical time section The frequency of occurrences and above-mentioned historical operation record automatically analyzed, to obtain the habitual operation of user, then by above-mentioned habit The characteristic information of inertia operation automatically determines the characteristic information for repeatability operation, to automatically generate foot according to user's habit This, manually performs operation without user and just produces script, greatly improve script formation efficiency.
Such as: if each historical operation that user executes on entity touch panel, which is formed by, to be gone through within past one week History operation note are as follows: start game P --- clicking " registering " control in the main interface of game P --- after booting and click for leading Take " getting " control for reward of registering;And the frequency of occurrences of these historical operations be all larger than 3 times/weekly, then illustrate this some column Historical operation is the habitual operation of user, thus, it can be suitable by the action type of this some sequence of maneuvers, number of operations, operation Characteristic information of the series of features information such as name of sequence, operated application or control as repeatability operation, with basis User operation habits automatically generate script, to reach on the basis of reducing user's manual operation and be equivalent to user and hold manually The effect of the above-mentioned repeatability operation of row, realizes that automatic " registering " simultaneously " getting reward of registering " operates.
As shown in figure 5, the present invention also provides a kind of touch control device responding devices, comprising:
Module 501 is obtained, is configured as obtaining the repeatability operation executed for the entity touch panel of touch control device Characteristic information;
Generation module 502 is configured as generating corresponding default script according to characteristic information;
Determining module 503 is configured as when receiving script play-back command, is determined in default script and is referred to script playback Enable corresponding target script;
First processing module 504 is configured as invocation target script, and solves to the characteristic information in target script Analysis, obtains the identifiable touch information of touch control device;
Respond module 505, is configured to respond to touch information.
In one embodiment, further includes:
Second processing module is configured as after generating default script, saves default script, and is each in default script Script configuration script mark;
Determining module 503 may include:
First determines submodule, is configured as determining the mesh in script play-back command when receiving script play-back command Mark script mark;
Submodule is screened, is configured as filtering out script mark and the matched foot of target script mark from default script This, as target script;
Or
In one embodiment, further includes:
Third processing module is configured as after generating default script, saves default script, and is each in default script Script configuration script mark;
Determining module 503 may include:
Second determines submodule, is configured as when receiving script play-back command, according to currently running in touch control device Destination application determine corresponding target script mark;
Third determines submodule, is configured as identifying determining target script according to target script.
In one embodiment, default analysis program is equipped on touch control device and is created virtual input device, virtually Input equipment is connected with the operating system of default analysis program and touch control device respectively;
First processing module 504 is configured as:
Characteristic information is parsed by default analysis program, obtains the identifiable touch information of virtual input device;
Respond module 505 is configured as:
Touch information is sent to operating system by virtual input device, operating system is made to respond touch information.
In one embodiment, characteristic information includes: operation information of the repeatability operation on entity touch panel; And/or
Characteristic information includes: instruction information corresponding with operation information, wherein instruction information includes at least one of the following: Keyword, picture, colouring information.
In one embodiment, first processing module 504 may include:
It identifies submodule, is configured as identifying instruction information when characteristic information includes instruction information, being referred to Show the corresponding operation information of information;
Analyzing sub-module is configured as parsing operation information, obtains touch information.
As shown in fig. 6, in one embodiment, obtaining module 501 may include:
First acquisition submodule 5011 is configured as obtaining user in default historical time section for entity touch panel Each historical operation executed is formed by historical operation record;
Second acquisition submodule 5012 is configured as the frequency of occurrences and historical operation record according to each historical operation, obtains Obtain the habitual operation of user;
4th determines submodule 5013, is configured as the characteristic information of habituation operation being determined as repeatability operation Characteristic information.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
From the above technical scheme, touch control device responding device provided in this embodiment, acquisition repeatability is grasped in advance The characteristic information of work, and corresponding default script is generated according to features described above information, so as to receive script play-back command When, determine target script corresponding with script play-back command in default script, and carry out to the characteristic information in the target script It automatically parses, obtains that this feature information is corresponding and the identifiable touch information of the touch control device, namely repeatability operation pair The touch information answered can be realized on the basis of not needing manual operation, obtain manually performing above-mentioned repeatability with user The same response effect of operation.In this way, the time for not only saving manpower, reducing repeatability operation, and due to being not required to people To execute the above-mentioned repeatable response efficiency operated thus improve repeatability operation.
Finally, may include touch control device described in any of the above embodiment the present invention also provides a kind of touch control device Responding device or the touch control device can execute touch control device response method described in any of the above-described embodiment, realize to can The automatic execution and response of repetitive operation.
Touch control device responding device in the present invention is suitable for touch control device.For example, the touch control device can be mobile electricity Words, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment are a Personal digital assistant etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (13)

1. a kind of touch control device response method characterized by comprising
Obtain the characteristic information of the repeatability operation executed for the entity touch panel of the touch control device;
According to the characteristic information, corresponding default script is generated;
When receiving script play-back command, target foot corresponding with the script play-back command in the default script is determined This;
The target script is called, and the characteristic information in the target script is parsed, obtaining the touch control device can The touch information of identification;
Respond the touch information.
2. the method according to claim 1, wherein further include:
After generating the default script, the default script is saved, and is each script configuration script in the default script Mark;
It is described when receiving script play-back command, determine target corresponding with the script play-back command in the default script Script, comprising:
When receiving the script play-back command, the target script mark in the script play-back command is determined;
Script mark is filtered out from the default script and identifies matched script with the target script, as the target foot This.
3. the method according to claim 1, wherein further include:
After generating the default script, the default script is saved, and is each script configuration script in the default script Mark;
It is described when receiving script play-back command, determine target corresponding with the script play-back command in the default script Script, comprising:
When receiving the script play-back command, according to determining pair of destination application currently running in the touch control device The target script mark answered;
The target script is determined according to target script mark.
4. the method according to claim 1, wherein
Being equipped with default analysis program on the touch control device and creating has virtual input device, the virtual input device difference It is connected with the operating system of the default analysis program and the touch control device;
The characteristic information in the target script parses, and obtains the identifiable touch information of the touch control device, Include:
The characteristic information is parsed by the default analysis program, obtains the identifiable touching of the virtual input device Control information;
The response touch information, comprising:
The touch information is sent to the operating system by the virtual input device;
The operating system responds the touch information.
5. the method according to claim 1, wherein
The characteristic information includes: operation information of the repeatability operation on the entity touch panel;And/or
The characteristic information includes: instruction information corresponding with the operation information, wherein the instruction information includes below extremely One item missing: keyword, picture, colouring information.
6. according to the method described in claim 5, it is characterized in that,
When the characteristic information includes the instruction information, the characteristic information in the target script is parsed, Obtain the identifiable touch information of the touch control device, comprising:
The instruction information is identified, the corresponding operation information of the instruction information is obtained;
The operation information is parsed, the touch information is obtained.
7. method according to any one of claim 1 to 6, which is characterized in that
The characteristic information for obtaining the repeatability operation executed for the entity touch panel of touch control device, comprising:
Acquisition user is formed by for each historical operation that the entity touch panel executes in default historical time section and goes through History operation note;
According to the frequency of occurrences and the historical operation record of each historical operation, the habitual operation of user is obtained;
The characteristic information of the habitual operation is determined as to the characteristic information of the repeatability operation.
8. a kind of touch control device responding device characterized by comprising
Module is obtained, for obtaining the repeatable feature letter operated for being directed to the entity touch panel of the touch control device and executing Breath;
Generation module, for generating corresponding default script according to the characteristic information;
Determining module, for when receiving script play-back command, determine in the default script with the script play-back command Corresponding target script;
First processing module is parsed for calling the target script, and to the characteristic information in the target script, is obtained To the identifiable touch information of the touch control device;
Respond module, for responding the touch information.
9. device according to claim 8, which is characterized in that further include:
Second processing module for after generating the default script, saving the default script, and is the default script In each script configuration script mark;
The determining module includes:
First determines submodule, for when receiving the script play-back command, determining the mesh in the script play-back command Mark script mark;
Submodule is screened, identifies matched foot with the target script for filtering out script mark from the default script This, as the target script;
Or
Third processing module for after generating the default script, saving the default script, and is the default script In each script configuration script mark;
The determining module includes:
Second determines submodule, for currently being run according in the touch control device when receiving the script play-back command Destination application determine corresponding target script mark;
Third determines submodule, for determining the target script according to target script mark.
10. device according to claim 8, which is characterized in that be equipped with default analysis program on the touch control device simultaneously Creation has virtual input device, the virtual input device operation with the default analysis program and the touch control device respectively System is connected;
The first processing module is used for:
The characteristic information is parsed by the default analysis program, obtains the identifiable touching of the virtual input device Control information;
The respond module is used for:
The touch information is sent to the operating system by the virtual input device, makes operating system response institute State touch information.
11. device according to claim 8, which is characterized in that
The characteristic information includes: operation information of the repeatability operation on the entity touch panel;And/or
The characteristic information includes: instruction information corresponding with the operation information, wherein the instruction information includes below extremely One item missing: keyword, picture, colouring information;
The first processing module includes:
Submodule is identified, for identifying, obtaining to the instruction information when the characteristic information includes the instruction information Obtain the corresponding operation information of the instruction information;
Analyzing sub-module obtains the touch information for parsing the operation information.
12. the device according to any one of claim 8 to 11, which is characterized in that
The acquisition module includes:
First acquisition submodule, for obtaining user in default historical time section for each of entity touch panel execution Historical operation is formed by historical operation record;
Second acquisition submodule is used for the frequency of occurrences and the historical operation record according to each historical operation The habitual operation at family;
4th determines submodule, for the characteristic information of the habitual operation to be determined as to the feature of the repeatability operation Information.
13. a kind of touch control device, which is characterized in that including the described in any item touch control device responses of the above claim 8 to 12 Device.
CN201811303592.9A 2018-11-02 2018-11-02 Touch control device and its response method, device Pending CN109550232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811303592.9A CN109550232A (en) 2018-11-02 2018-11-02 Touch control device and its response method, device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811303592.9A CN109550232A (en) 2018-11-02 2018-11-02 Touch control device and its response method, device

Publications (1)

Publication Number Publication Date
CN109550232A true CN109550232A (en) 2019-04-02

Family

ID=65865694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811303592.9A Pending CN109550232A (en) 2018-11-02 2018-11-02 Touch control device and its response method, device

Country Status (1)

Country Link
CN (1) CN109550232A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831400A (en) * 2020-07-23 2020-10-27 深信服科技股份有限公司 Virtual machine interaction method, device, equipment and storage medium
CN112650474A (en) * 2020-12-18 2021-04-13 咪咕互动娱乐有限公司 Control script generation method and device, network equipment and storage medium
CN116185268A (en) * 2023-02-17 2023-05-30 深圳市和风科技有限公司 Interaction method, system, medium and computer of code scanning gun and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488115A (en) * 2001-01-26 2004-04-07 布莱迪卡姆公司 System for providing services and virtual programming interface
CN102841845A (en) * 2012-07-30 2012-12-26 广东欧珀移动通信有限公司 Automatic testing method of Android device software
CN105630375A (en) * 2015-12-18 2016-06-01 北京帮你玩科技有限公司 Auxiliary implementation method and system of information input on the basis of graphical interface
CN106445348A (en) * 2016-10-12 2017-02-22 深圳市金立通信设备有限公司 Screen touching method and terminal
CN107748718A (en) * 2017-10-11 2018-03-02 百富计算机技术(深圳)有限公司 Applied program testing method, device and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488115A (en) * 2001-01-26 2004-04-07 布莱迪卡姆公司 System for providing services and virtual programming interface
CN102841845A (en) * 2012-07-30 2012-12-26 广东欧珀移动通信有限公司 Automatic testing method of Android device software
CN105630375A (en) * 2015-12-18 2016-06-01 北京帮你玩科技有限公司 Auxiliary implementation method and system of information input on the basis of graphical interface
CN106445348A (en) * 2016-10-12 2017-02-22 深圳市金立通信设备有限公司 Screen touching method and terminal
CN107748718A (en) * 2017-10-11 2018-03-02 百富计算机技术(深圳)有限公司 Applied program testing method, device and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
闫利霞: "《大学计算机基础教程》", 30 June 2018 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831400A (en) * 2020-07-23 2020-10-27 深信服科技股份有限公司 Virtual machine interaction method, device, equipment and storage medium
CN111831400B (en) * 2020-07-23 2024-02-23 深信服科技股份有限公司 Virtual machine interaction method, device, equipment and storage medium
CN112650474A (en) * 2020-12-18 2021-04-13 咪咕互动娱乐有限公司 Control script generation method and device, network equipment and storage medium
CN112650474B (en) * 2020-12-18 2024-03-22 咪咕互动娱乐有限公司 Control script generation method, device, network equipment and storage medium
CN116185268A (en) * 2023-02-17 2023-05-30 深圳市和风科技有限公司 Interaction method, system, medium and computer of code scanning gun and terminal equipment
CN116185268B (en) * 2023-02-17 2024-01-30 深圳市和风科技有限公司 Interaction method, system, medium and computer of code scanning gun and terminal equipment

Similar Documents

Publication Publication Date Title
CN106201219B (en) The quick call method of function of application and system
CN109522083B (en) Page intelligent response interaction system and method
CN105843734A (en) Automatic test method and device and computing device
CN104777911B (en) A kind of intelligent interactive method based on holographic technique
CN105760102B (en) Terminal interaction control method and device and application program interaction control method
CN106463110A (en) Information processing device, information processing method, and program
CN109550232A (en) Touch control device and its response method, device
CN108958844A (en) A kind of control method and terminal of application program
CN108804299A (en) Application exception processing method and processing device
CN104899046B (en) A kind of multi-functional script operation method and system
CN104461348B (en) Information choosing method and device
CN106686252B (en) A kind of incoming call processing method and mobile terminal
CN109814801A (en) Using login method, device, terminal and storage medium
CN114237399B (en) Haptic feedback method, apparatus, medium, and device
CN106293600A (en) A kind of sound control method and system
CN110162730B (en) Information processing method, information processing device, computer equipment and storage medium
CN108307068A (en) Pair screen shows interface switching method, mobile terminal and storage medium
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
CN107615270A (en) A kind of man-machine interaction method and its device
CN110275704A (en) Page data processing method and device, storage medium and electronic equipment
CN111324352A (en) Code generation method of application page and related equipment
CN110347324A (en) Shortcut call method, device, storage medium and meeting all-in-one machine
CN106855772A (en) A kind of information displaying method and device
CN109921916B (en) Message processing method and device in multi-user group, storage medium and terminal equipment
JP2019510322A (en) Control command recognition method, apparatus, and storage medium

Legal Events

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

Application publication date: 20190402