CN105302700B - A kind of method and apparatus for the user's operation being recorded on touch terminal - Google Patents

A kind of method and apparatus for the user's operation being recorded on touch terminal Download PDF

Info

Publication number
CN105302700B
CN105302700B CN201410264410.7A CN201410264410A CN105302700B CN 105302700 B CN105302700 B CN 105302700B CN 201410264410 A CN201410264410 A CN 201410264410A CN 105302700 B CN105302700 B CN 105302700B
Authority
CN
China
Prior art keywords
user
information
note file
description information
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410264410.7A
Other languages
Chinese (zh)
Other versions
CN105302700A (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.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410264410.7A priority Critical patent/CN105302700B/en
Publication of CN105302700A publication Critical patent/CN105302700A/en
Priority to HK16106326.4A priority patent/HK1218337A1/en
Application granted granted Critical
Publication of CN105302700B publication Critical patent/CN105302700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The purpose of the application is to provide a kind of method and apparatus for the user's operation being recorded on touch terminal;Obtain one or more first user's operation of the user on touch terminal;Corresponding operation description information is generated according to one or more of first user's operations, wherein the operation description information includes about the description information that second user operates determined by least one first user's operation;According to the operation description information, corresponding operation note file is establishd or updated.Compared with prior art, the subsequent operation that the application is operated by determining actual user, that is, determine that second user operates according to the first user's operation, convenient, accurately operation of the record user for dynamic content so that multi-terminal parallel executes or cross-platform operation analysis is possibly realized.Further, the application realizes the automatic test of touch terminal platform by the playback to user's operation, improves the efficiency of test.

Description

A kind of method and apparatus for the user's operation being recorded on touch terminal
Technical field
This application involves computer realm more particularly to a kind of skills for being recorded in the user's operation on touch terminal Art.
Background technology
Currently, the automatic test of touch terminal platform and automatic audit has become a hot spot, one it is good from Dynamicization testing scheme can help to save a large amount of manpower and financial resources cost, and a most important function is in automatic test The simulation of user's operation.
Existing automatic test software, such as Android Quick Macro can only realize simple record and playback point It the user's operations such as hits, lift, sliding, can not realize the function of complete analog subscriber, especially be held in some needs dynamic adjustment The scene of row process, existing mode are unable to meet demand completely.For example, for the scene that application content is audited automatically, it is existing Automatic test software cannot support dynamic multiple page operation, drop-down, which refreshes, and pull-up load is more equal operates.This is greatly Affect the accuracy and efficiency of test.
Invention content
The purpose of the application is to provide a kind of method and apparatus for the user's operation being recorded on touch terminal.
According to the one side of the application, a kind of method for being recorded in the user's operation on touch terminal is provided, Wherein, this method includes:
Obtain one or more first user's operation of the user on touch terminal;
Corresponding operation description information is generated according to one or more of first user's operations, wherein the operation is retouched It includes about the description information that second user operates determined by least one first user's operation to state information;
According to the operation description information, corresponding operation note file is establishd or updated.
According to the another aspect of the application, a kind of setting for user's operation for being recorded on touch terminal is additionally provided It is standby, wherein the equipment includes:
First device obtains one or more first user's operation of the user on touch terminal;
Second device generates corresponding operation description information, wherein institute according to one or more of first user's operations It includes that the description as described in operating the second user determined by least one first user's operation is believed to state operation description information Breath;
3rd device establishs or updates corresponding operation note file according to the operation description information.
Compared with prior art, the subsequent operation that the application is operated by determining actual user, that is, grasped according to the first user Make to determine second user operation, convenient, accurately operation of the record user for dynamic content so that multi-terminal parallel execute or Cross-platform operation analysis is possibly realized.Further, the application realizes touch terminal platform by the playback to user's operation Automatic test, improve the efficiency of test.
Further, the application can also execute scoring to operation note file, when appearance executes operation note file When with actual application to situation on not, user can be prompted, and provide intuitive statistical data to user, help user Solve the executive condition of operation note file.
Further, the application can also execute the operation note file parallel using more touch terminals, accelerate The efficiency of applied analysis.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows the equipment signal for being recorded in the user's operation on touch terminal according to the application one side Figure;
Fig. 2 shows the method flows for being recorded in the user's operation on touch terminal according to the application other side Figure;
Fig. 3 shows the signal for being recorded in the user's operation on touch terminal according to one preferred embodiment of the application Figure;
Fig. 4 shows showing according to the user's operation for being recorded on touch terminal of the application another preferred embodiment It is intended to.
Same or analogous reference numeral represents same or analogous component in attached drawing.
Specific implementation mode
The application is described in further detail below in conjunction with the accompanying drawings.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more Processor (CPU), input/output interface, network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include non-temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Fig. 1 shows the equipment signal for being recorded in the user's operation on touch terminal according to the application one side Figure.Equipment 1 includes first device 101, second device 102 and 3rd device 103.
Wherein, first device 101 obtains one or more first user's operation of the user on touch terminal.Specifically, User has carried out one or more first user's operations on it by the interaction with touch terminal, first device 101 in real time, Periodically or event triggering ground is answered, obtains the first user's operation of the user.For example, when user often completes the first user behaviour Make, first device 101 is the first user's operation for being triggered and obtaining the secondary user.For another example, when the first user's operation of user is tired When meter meets certain amount threshold value, which, which is triggered, obtains multiple first user's operation of the user.For another example, when The time is stopped operation when meeting threshold value (in order to avoid mutually conflicting with subsequent user's operation) after the completion of the first user's operation of user, The triggering of first device 101 obtains the first user's operation of the user.The first device 101 can also be scheduled according to system, or Time interval set by the user regularly obtains the first user's operation of user.
Here, first device 101 can record the first user's operation of user one by one in real time, it can also be by multiple first users Operation is recorded in the way of " batch processing ".
Here, the operation that the first user's operation includes user actually to be executed on touch terminal, such as click, button, cunning Dynamic or other predefined gestures.
Those skilled in the art will be understood that above-mentioned first user's operation is only for example, other are existing or may go out from now on The first existing user's operation is such as applicable to the application, should also be included within the application protection domain, and herein with reference side Formula is incorporated herein.Those skilled in the art should also be understood that the mode of the first user's operation of above-mentioned acquisition is only for example, other are existing The mode of the first user's operation of acquisition that is having or being likely to occur from now on is such as applicable to the application, should also be included in the application guarantor It protects within range, and is incorporated herein by reference herein.
One or more of first user's operations of the second device 102 acquired in first device 101, which generate, to be corresponded to Operation description information, wherein the operation description information includes being determined about by least one first user's operation Second user operation description information.Specifically, one or more of the second device 102 acquired in first device 101 First user's operation generates the corresponding operation description information of the first user's operation of one or more, such as the one or more Action type, operating position, key information, sliding position of one user's operation etc. operate description information, wherein the operation describes Information further includes the description information that second user operates determined by least one first user's operation.
Here, second user operation includes pseudo operation or derivation operation of the user on touch terminal, for example, user's point Hit page-turning button or by slide etc. indicate page turning mode of operation, then with the gesture of such as Fig. 3 indicate page turning until end, Then the first time page turning may be considered the first user's operation, and except the follow-up page turn over operation of the first time page turning, then it can recognize For be second user operation.
The operation description information further includes retouching of operating of the second user determined by least one first user's operation State information, if the second user acts on the anchor point information of respective operations object, second user operation relatively it is described extremely The Delay of few first user's operation, the adjacent operator Delay between multiple sub-operations in second user operation Deng.
Those skilled in the art will be understood that the mode of above-mentioned generation operation description information is only for example, other it is existing or The mode for the generation operation description information being likely to occur from now on is such as applicable to the application, should also be included in the application protection domain Within, and be incorporated herein by reference herein.
The operation description information that 3rd device 103 is generated according to second device 102, establishs or updates corresponding behaviour It notes down file.Specifically, the operation description information that 3rd device 103 is generated according to second device 102, by by the operation Description information is stored in corresponding operation note file, alternatively, by replacing the operation description information in the operation note file Original operation description information, realization establish or update the operation note file.Here, operation note file includes script Or other can be resolved the file format of execution.According to the operation note file, follow up device can execute operation note text Part, alternatively, the operation note file is executed using more touch terminals, alternatively, by being operated according to the operation note file It is inquired in database, updates the operation note file, and execute the updated operation note file.
Those skilled in the art will be understood that the above-mentioned mode for establising or updating operation note file is only for example, other are existing The mode for establising or updating operation note file that is having or being likely to occur from now on is such as applicable to the application, should also be included in this Apply within protection domain, and is incorporated herein by reference herein.
Preferably, it constantly works between each device of equipment 1.Specifically, first device 101 obtains user The first user's operation of one or more on touch terminal;Second device 102 is grasped according to one or more of first users Make to generate corresponding operation description information, wherein the operation description information includes about by least one first user The description information of second user operation determined by operation;3rd device 103 is establishd or updated according to the operation description information Corresponding operation note file.Here, it will be understood by those skilled in the art that " lasting " refers to each device of equipment 1 respectively according to setting The operating mode requirement of fixed or real-time adjustment obtains the first user's operation of user, generates corresponding operation description information, builds Found or update corresponding operation note file.
Here, the subsequent operation that equipment 1 is operated by determining actual user, that is, determine second according to the first user's operation User's operation, convenient, accurately operation of the record user for dynamic content so that multi-terminal parallel executes or cross-platform operation Analysis is possibly realized.
Here, the technology for the user's operation being recorded on touch terminal can be applicable in as a kind of technology of general-purpose platform In systems such as android, Tizen, iOS.
Preferably, the second device 102 includes first unit 102a (not shown) and second unit 102b (not shown). Wherein, first unit 102a determines that corresponding second user operates according at least one first user's operation;Second unit 102b generates corresponding operation description information according to one or more of first user's operations and second user operation, In, the operation description information includes the description information operated about the second user.
Specifically, in the first user's operation of one or more that first unit 102a is obtained according to first device 101 extremely It is one few, determine corresponding second user operation.For example, first device 101 periodically or answer event triggering obtain one or Multiple first user's operations, first unit 102a is according at least one of first user's operation of one or more, directly really Fixed corresponding second user operation, alternatively, in conjunction with the operation relevant information of at least one first user's operation, determines corresponding Second user operates.
The first user's operation of one or more and the first unit that second unit 102b is obtained according to first device 101 Second user determined by 102a operates, and generates corresponding operation description information, wherein the operation description information includes about this The description information of second user operation.For example, second unit 102b generates the operation class of first user's operation of one or more Type, operating position, key information, sliding position etc. operate description information, wherein the operation description information further includes first list The anchor point information for the operation object that second user determined by first 102a operates, opposite at least one first user's operation when Prolong the description informations such as the adjacent operator Delay between information, multiple sub-operations.
It is highly preferred that the first unit 102a is according at least one first user's operation, and in conjunction with it is described at least Operation relevant information corresponding to one the first user's operation determines corresponding second user operation.Specifically, first unit At least one of the first user's operation of one or more that 102a is obtained according to first device 101, and combine this at least one Operation relevant information corresponding to first user's operation, the operation object letter acted on such as at least one first user's operation It ceases, the adjacent operator information corresponding at least one first user's operation, corresponding at least one first user's operation Map information etc. is operated, determines corresponding second user operation.
It is highly preferred that the operation relevant information includes following at least any one:
The operation object information that at least one first user's operation is acted on;
Adjacent operator information corresponding at least one first user's operation;
Operation map information corresponding at least one first user's operation.
It is acted on for example, the operation relevant information corresponding to the first user's operation includes at least one first user's operation Operation object information, then first unit 102a is according at least one first user's operation, and the operation acted in conjunction with it Object information determines corresponding second user operation.Assuming that the first user's operation of user is to click " continuous page-turning button ", then The operation object information of first user's operation may include that this is clicked the page of operation, and first unit 102a is according to first use Family operates, and the page of operation is clicked in conjunction with this, determines the corresponding second user operation of first user's operation for " to the page Continuous page turning is to end of text ".
For another example, the operation relevant information corresponding to the first user's operation includes corresponding at least one first user's operation Adjacent operator information, then first unit 102a is according at least one first user's operation, and combines adjacent corresponding to it Operation information determines corresponding second user operation.Here, (or rear) user institute before the adjacent operator information such as certain gestures The operation of execution, in Fig. 3, user clicks page-turning button or indicates the mode of operation of page turning by sliding etc., then with such as The gesture of Fig. 3 indicates page turning until end of text, then the first time page turning may be considered the first user's operation, and except this first The follow-up page turn over operation of secondary page turning, it may be considered that being second user operation.
For another example, the operation relevant information corresponding to the first user's operation includes corresponding at least one first user's operation Operation map information, then first unit 102a is according at least one first user's operation, and combines the operation corresponding to it Map information determines corresponding second user operation.Here, the operation map information is for example including the preset user's operation institute Corresponding operation information, such as, it is assumed that the operation map information corresponding to the first user's operation is " continuous page turning to end of text ", Then first unit 102a is according to first user's operation, in conjunction with the operation map information, determines that first user's operation is corresponding Second user operation is " continuous page turning to end of text ".
Preferably, first unit 102a is according at least one first user's operation, and combines above-mentioned corresponding to it Meaning operation relevant information determines corresponding second user operation.
Those skilled in the art will be understood that aforesaid operations relevant information is only for example, other are existing or may go out from now on Existing operation relevant information is such as applicable to the application, should also be included within the application protection domain, and herein with reference side Formula is incorporated herein.
Here, equipment 1 determines that second user operates in conjunction with the operation relevant information of the first user's operation, determination is improved The accuracy of second user operation, more accurately determines the subsequent operation of actual user's operation.
Preferably, the description information about second user operation includes following at least any one:
The second user acts on the anchor point information of respective operations object;
The second user operates the Delay of relatively described at least one first user's operation;
The adjacent operator Delay between multiple sub-operations in the second user operation.
The description information of second user operation includes the anchor point information that the second user acts on respective operations object. Here, anchor point information can be preset, can also be determining in real time, such as according to the first user's operation in its operation object On position of action point determine that second user operates anchor point information on subsequent operation object (such as pullup or pulldown).By Different to the type-setting mode of entry in each reference, anchor point information may be used to determine the position for executing and being clicked when operation and e.g. hold The position chosen is clicked when row selection operation.
The description information of second user operation includes that the second user operates relatively described at least one first user's operation Delay.For example, first device 101 obtains first user's operation, second device 102 is grasped according to first user Make, it is determined that its corresponding second user operation, and, it is determined that opposite first user's operation of second user operation when Prolong information, then the second device 102 is when generating the corresponding operation description information of first user's operation, by the Delay It is included in the operation description information.
The description information of second user operation can also be including adjacent between multiple sub-operations in second user operation Operate Delay.Since second user operation may include multiple sub-operations, by the adjacent behaviour between multiple sub-operation Make the description information that Delay is also operated as the second user, second device 102 is corresponding in the first user's operation of generation When operating description information, which is also included in the operation description information.
Previous operation is responded here, the Delay between adjacent operator such as is intended at the to be applied or system, to keep away Exempt from the interference between adjacent operator.
Here, the Delay can be system intialization, such as determined based on the system response time of statistics gained Delay threshold, or be configured by user.
Those skilled in the art will be understood that the above-mentioned description information operated about second user is only for example, other are existing Or the description information operated about second user that is likely to occur from now on be such as applicable to the application, should also be included in the application Within protection domain, and it is incorporated herein by reference herein.
In a preferred embodiment, which further includes 104 (not shown) of the 4th device.4th device 104 executes The operation note file.Specifically, the operation note file that the 4th device 104 is establishd or updated according to 3rd device 103, Execute the operation note file.Here, the operation note file cannot be only used for playback, test, apply also for operation backup, Operation log recording etc..
Preferably, which further includes 105 (not shown) of the 5th device.5th device 105 is according to the operation note The implementing result of file determines the validity information of the operation note file.Specifically, the 5th device 105 is according to the 4th Device 104 executes the implementing result of the operation note file, determines the validity information of the operation note file, as the operation is remembered Record file is executed correctly, then the 5th device 105 determines that the operation note file is effective, if the operation note file cannot be by just It really executes, then file is invalid for the 5th device 105 determination operation note.
Preferably, the 5th device 105 can also be according to the validity information of the operation note file, to the operation note File scores.For example, the 4th device 104 executes operation note file every time, and after being played back to user's operation, the 5th dress It sets 105 pairs of this operation note files executed to score, be commented for one to the progress of this automatized script operating condition of user The foundation estimated, the foundation of the scoring is after for example operation occurs every time, and whether screen changes, if screen is sent out after this operation Changing, then effectively operation+1, otherwise invalid operation+1, and finally statistics effectively operation and invalid operation.
In this way, it is unattended when automatically analyzing when being carried out to application, if " invalid operation " quantity of some script is more than Predetermined threshold, system can be arranged triggering alarm, actively be prompted to user, and user can see " effectively operation " and " invalid behaviour The statistical data of work ", is then evaluated further action, such as whether needing to record script etc. again by user.Otherwise, it is assumed that Some application has carried out correcting to interface, then can lead to the script failures recorded before, if without scoring, user can't Know and go wrong there are one script, the script of mistake can be in always invalid state.
Here, equipment 1 executes scoring to operation note file, when appearance executes operation note file and actual application pair When situation on not, user can be prompted, and provides intuitive statistical data to user, user is helped to understand operation note file Executive condition.
Preferably, the 4th device 104 executes the operation note file using more touch terminals.For example, for It widely applies, is analyzed only with a touch terminal, it is time-consuming longer, if it is same that more touch terminals are distributed in these applications Shi Jinhang is analyzed, then can largely shorten analysis and take.For another example, for the very more application of a content, such as novel Class application, analyzed only with a touch terminal it is time-consuming also longer, at this point, according to more touch terminals simultaneously to this Using being analyzed, the different Page Ranges of certain novel, First touch terminal are such as analyzed simultaneously using more touch terminals The content of page 1 to 100 is analyzed, second touch terminal analyzes the content of page 101 to 200, and so on, then it can be significantly Accelerate the analyze speed to the application.
Here, equipment 1 executes the operation note file parallel using more touch terminals, the effect of applied analysis is accelerated Rate.
Preferably, the 4th device 104 is according to the operation note file in operating database by being inquired, Update the operation note file;Execute the updated operation note file.Specifically, the 4th device 104 by with behaviour Make the interaction of database, such as by one or many application programming interfaces (API) for calling the operating database, in the operation It is inquired in database, to update the operation note file, for example, the 4th device 104 will be predetermined in operation note file Justice instruction replaces with corresponding script, to realize the update to the operation note file, alternatively, the identification operation of the 4th device 104 The predefined operation in file is recorded, then the predefined operation is replaced with into the operation that user redefines.Then, the 4th dress Set the 104 execution newer operation note files.
Here, the operating database can both be located in the touch terminal, it can also be located at and pass through net with the touch terminal In the third party device that network is connected, such as cloud device.For the operating database positioned at cloud device, can preferably support The operation note file is executed parallel by more touch terminals.
It is highly preferred that the equipment 1 further includes 106 (not shown) of the 6th device.6th device 106 is according to user-defined Preset operation establishs or updates the operating database.Specifically, in order to more meet the needs of users, user can be Oneself defining operation on the basis of original, and the function of the operation is described, the 6th device 106 is according to user-defined preset behaviour Make, establishs or updates the operating database.Equipment 1 is set by user to complete by the user-defined preset operation of Auto-matching Function.For example, user defines preset operation as shown in Figure 4, the meaning of the operation is to be bounced after 10 seconds by lower button, then the 6th Device 106 establishs or updates the operating database according to the user-defined preset operation, for example, the preset operation is corresponded to Script be stored in the operating database, with realize the operating database is establishd or updated.When user subsequently makes the behaviour When making, it is identified as user-defined preset operation.
Preferably, user-defined preset operation is also used as plug-in package, public in multiple systems, for example, user A The plug-in package of the preset operation defined is sent to user B, and user B is after the plug-in package for importing the user A, you can so that With the preset operation of the user A.
Fig. 2 shows the method flows for being recorded in the user's operation on touch terminal according to the application other side Figure.
In step s 201, equipment 1 obtains one or more first user's operation of the user on touch terminal.Specifically Ground, user have carried out one or more first user's operations on it by the interaction with touch terminal, in step s 201, Equipment 1 in real time, periodically or with answering event triggering, obtains the first user's operation of the user.For example, when user often completes one time One user's operation, in step s 201, equipment 1 are the first user's operation for being triggered and obtaining the secondary user.For another example, when user's First user's operation is accumulative when meeting certain amount threshold value, and in step s 201, equipment 1, which is triggered, obtains multiple the of the user One user's operation.For another example, time when meeting threshold value is stopped operation (in order to avoid with follow-up after the completion of the first user's operation of user User's operation mutually conflict), in step s 201, equipment 1 triggering obtain the user the first user's operation.In step S201 In, equipment 1 can also or set by the user time interval scheduled according to system, regularly obtain the first user of user Operation.
It, can also will be multiple here, in step s 201, equipment 1 can record the first user's operation of user one by one in real time First user's operation is recorded in the way of " batch processing ".
Here, the operation that the first user's operation includes user actually to be executed on touch terminal, such as click, button, cunning Dynamic or other predefined gestures.
Those skilled in the art will be understood that above-mentioned first user's operation is only for example, other are existing or may go out from now on The first existing user's operation is such as applicable to the application, should also be included within the application protection domain, and herein with reference side Formula is incorporated herein.Those skilled in the art should also be understood that the mode of the first user's operation of above-mentioned acquisition is only for example, other are existing The mode of the first user's operation of acquisition that is having or being likely to occur from now on is such as applicable to the application, should also be included in the application guarantor It protects within range, and is incorporated herein by reference herein.
In step S202, equipment 1 generates corresponding operation description letter according to one or more of first user's operations Breath, wherein the operation description information includes being grasped about the second user determined by least one first user's operation The description information of work.Specifically, in step S202, equipment 1 is according to one or more first acquired in step s 201 User's operation generates the corresponding operation description information of the first user's operation of one or more, as the one or more first is used The operation description information such as action type, operating position, key information, sliding position of family operation, wherein the operation description information It further include the description information that second user operates determined by least one first user's operation.
Here, second user operation includes pseudo operation or derivation operation of the user on touch terminal, for example, user's point Hit page-turning button or by slide etc. indicate page turning mode of operation, then with the gesture of such as Fig. 3 indicate page turning until end, Then the first time page turning may be considered the first user's operation, and except the follow-up page turn over operation of the first time page turning, then it can recognize For be second user operation.
The operation description information further includes retouching of operating of the second user determined by least one first user's operation State information, if the second user acts on the anchor point information of respective operations object, second user operation relatively it is described extremely The Delay of few first user's operation, the adjacent operator Delay between multiple sub-operations in second user operation Deng.
Those skilled in the art will be understood that the mode of above-mentioned generation operation description information is only for example, other it is existing or The mode for the generation operation description information being likely to occur from now on is such as applicable to the application, should also be included in the application protection domain Within, and be incorporated herein by reference herein.
In step S203, equipment 1 establishs or updates corresponding operation note file according to the operation description information. Specifically, in step S203, equipment 1 is according to the operation description information generated in step S202, by retouching the operation It states information and is stored in corresponding operation note file, alternatively, by the way that the operation description information is replaced the operation note file Central Plains Some operation description informations, realization establish or update the operation note file.Here, operation note file include script or Other can be resolved the file format of execution.According to the operation note file, subsequent step can execute the operation note file, Alternatively, execute the operation note file using more touch terminals, alternatively, by according to the operation note file in operation data It is inquired in library, updates the operation note file, and execute the updated operation note file.
Those skilled in the art will be understood that the above-mentioned mode for establising or updating operation note file is only for example, other are existing The mode for establising or updating operation note file that is having or being likely to occur from now on is such as applicable to the application, should also be included in this Apply within protection domain, and is incorporated herein by reference herein.
Preferably, it constantly works between each step of equipment 1.Specifically, in step s 201, equipment 1 Obtain one or more first user's operation of the user on touch terminal;In step S202, equipment 1 according to one or Multiple first user's operations generate corresponding operation description information, wherein the operation description information includes about by least one The description information that second user determined by a first user's operation operates;In step S203, equipment 1 is according to the behaviour It is described information, establishs or updates corresponding operation note file.Here, it will be understood by those skilled in the art that " lasting " refers to setting Standby 1 each step according to the requirement of the operating mode of setting or real-time adjustment, obtains the first user's operation of user, generates respectively Corresponding operation description information establishs or updates corresponding operation note file.
Here, the subsequent operation that equipment 1 is operated by determining actual user, that is, determine second according to the first user's operation User's operation, convenient, accurately operation of the record user for dynamic content so that multi-terminal parallel executes or cross-platform operation Analysis is possibly realized.
Here, the technology for the user's operation being recorded on touch terminal can be applicable in as a kind of technology of general-purpose platform In systems such as android, Tizen, iOS.
Preferably, step S202 includes sub-step S202a (not shown) and sub-step S202b (not shown).Wherein, in son In step S202a, equipment 1 determines that corresponding second user operates according at least one first user's operation;In sub-step In S202b, equipment 1 generates corresponding operation according to one or more of first user's operations and second user operation and retouches State information, wherein the operation description information includes the description information operated about the second user.
Specifically, in sub-step S202a, the first user's operation of one or more that equipment 1 is obtained according to step S201 At least one of, determine corresponding second user operation.For example, in step s 201, equipment 1 is regular or answers event triggering ground One or more first user's operations are obtained, in sub-step S202a, equipment 1 is grasped according to the first user of the one or more At least one of make, corresponding second user operation is directly determined, alternatively, in conjunction with the behaviour of at least one first user's operation Make relevant information, determines corresponding second user operation.
In sub-step S202b, equipment 1 is according to step S201 the first user's operations of one or more obtained and sub-step Second user operation, generates corresponding operation description information determined by rapid S202a, wherein the operation description information includes closing In the description information of second user operation.For example, in sub-step S202b, equipment 1 generates the first user of the one or more Action type, operating position, key information, sliding position of operation etc. operate description information, wherein the operation description information is also Be included in the anchor point information of the operation object of identified second user operation in sub-step S202a, it is opposite this at least one the The description informations such as the adjacent operator Delay between the Delay of one user's operation, multiple sub-operations.
It is highly preferred that in sub-step S202a, equipment 1 is according at least one first user's operation, and in conjunction with described Operation relevant information corresponding at least one first user's operation determines corresponding second user operation.Specifically, in sub-step In rapid S202a, equipment 1 is according at least one of step S201 first user's operations of one or more obtained, and combining should Operation relevant information corresponding at least one first user's operation, the operation acted on such as at least one first user's operation Object information, the adjacent operator information corresponding at least one first user's operation, at least one first user's operation institute Corresponding operation map information etc. determines corresponding second user operation.
It is highly preferred that the operation relevant information includes following at least any one:
The operation object information that at least one first user's operation is acted on;
Adjacent operator information corresponding at least one first user's operation;
Operation map information corresponding at least one first user's operation.
It is acted on for example, the operation relevant information corresponding to the first user's operation includes at least one first user's operation Operation object information, then in sub-step S202a, equipment 1 is made according at least one first user's operation, and in conjunction with it Operation object information determines corresponding second user operation.Assuming that the first user's operation of user is to click " continuous page turning Button ", then the operation object information of first user's operation may include that this is clicked the page of operation, in sub-step S202a, Equipment 1 is clicked the page of operation in conjunction with this according to first user's operation, determines that first user's operation corresponding second is used Family operation is " to the continuous page turning of the page to end of text ".
For another example, the operation relevant information corresponding to the first user's operation includes corresponding at least one first user's operation Adjacent operator information, then in sub-step S202a, equipment 1 combines its institute right according at least one first user's operation The adjacent operator information answered determines corresponding second user operation.Here, before the adjacent operator information such as certain gestures (or Operation performed by user afterwards), in Fig. 3, user clicks page-turning button or indicates the mode of operation of page turning by sliding etc., Then indicating page turning until end of text with the gesture of such as Fig. 3, then the first time page turning may be considered the first user's operation, and Except the follow-up page turn over operation of the first time page turning, it may be considered that being second user operation.
For another example, the operation relevant information corresponding to the first user's operation includes corresponding at least one first user's operation Operation map information, then in sub-step S202a, equipment 1 combines its institute right according at least one first user's operation The operation map information answered determines corresponding second user operation.Here, the operation map information is for example including the preset use The corresponding operation information of family operation, such as, it is assumed that the operation map information corresponding to the first user's operation is that " continuous page turning is to interior Appearance terminates ", then in sub-step S202a, equipment 1 is according to first user's operation, in conjunction with the operation map information, determine this The corresponding second user operation of one user's operation is " continuous page turning to end of text ".
Preferably, in sub-step S202a, equipment 1 is combined according at least one first user's operation corresponding to it Above-mentioned arbitrary operation relevant information, determine corresponding second user operation.
Those skilled in the art will be understood that aforesaid operations relevant information is only for example, other are existing or may go out from now on Existing operation relevant information is such as applicable to the application, should also be included within the application protection domain, and herein with reference side Formula is incorporated herein.
Here, equipment 1 determines that second user operates in conjunction with the operation relevant information of the first user's operation, determination is improved The accuracy of second user operation, more accurately determines the subsequent operation of actual user's operation.
Preferably, the description information about second user operation includes following at least any one:
The second user acts on the anchor point information of respective operations object;
The second user operates the Delay of relatively described at least one first user's operation;
The adjacent operator Delay between multiple sub-operations in the second user operation.
The description information of second user operation includes the anchor point information that the second user acts on respective operations object. Here, anchor point information can be preset, can also be determining in real time, such as according to the first user's operation in its operation object On position of action point determine that second user operates anchor point information on subsequent operation object (such as pullup or pulldown).By Different to the type-setting mode of entry in each reference, anchor point information may be used to determine the position for executing and being clicked when operation and e.g. hold The position chosen is clicked when row selection operation.
The description information of second user operation includes that the second user operates relatively described at least one first user's operation Delay.For example, in step s 201, equipment 1 obtains first user's operation, and in step S202, equipment 1 According to first user's operation, it is determined that its corresponding second user operation, and, it is determined that second user operation it is opposite this The Delay of one user's operation, then in step S202, equipment 1 is generating the corresponding operation description letter of first user's operation When breath, which is also included in the operation description information.
The description information of second user operation can also be including adjacent between multiple sub-operations in second user operation Operate Delay.Since second user operation may include multiple sub-operations, by the adjacent behaviour between multiple sub-operation Make the description information that Delay is also operated as the second user, in step S202, equipment 1 is generating the first user's operation When corresponding operation description information, which is also included in the operation description information.
Previous operation is responded here, the Delay between adjacent operator such as is intended at the to be applied or system, to keep away Exempt from the interference between adjacent operator.
Here, the Delay can be system intialization, such as determined based on the system response time of statistics gained Delay threshold, or be configured by user.
Those skilled in the art will be understood that the above-mentioned description information operated about second user is only for example, other are existing Or the description information operated about second user that is likely to occur from now on be such as applicable to the application, should also be included in the application Within protection domain, and it is incorporated herein by reference herein.
In a preferred embodiment, this method further includes step S204 (not shown).In step S204, equipment 1 is held The row operation note file.Specifically, in step S204, equipment 1 is according to the behaviour establishd or updated in step S203 It notes down file, executes the operation note file.Here, the operation note file cannot be only used for playback, test, can also apply In operation backup, operation log recording etc..
Preferably, this method further includes step S205 (not shown).In step S205, equipment 1 is remembered according to the operation The implementing result for recording file, determines the validity information of the operation note file.Specifically, in step S205, equipment 1 According to the implementing result for executing the operation note file in step S204, the validity information of the operation note file is determined, such as The operation note file is executed correctly, then in step S205, equipment 1 determines that the operation note file is effective, if the operation Record file cannot be executed correctly, it is determined that file is invalid for the operation note.
Preferably, in step S205, equipment 1 can also be according to the validity information of the operation note file, to the behaviour File of noting down scores.For example, executing operation note file in step S204 per secondary device 1, user's operation is played back After, in step S205, equipment 1 scores to this operation note file executed, gives user this automation foot This operating condition carries out the foundation of an assessment, and after for example operation occurs every time, whether screen changes for the foundation of the scoring, If screen changes after this operation, effectively operation+1, otherwise invalid operation+1, and finally statistics effectively operation and nothing Effect operation.
In this way, it is unattended when automatically analyzing when being carried out to application, if " invalid operation " quantity of some script is more than Predetermined threshold, system can be arranged triggering alarm, actively be prompted to user, and user can see " effectively operation " and " invalid behaviour The statistical data of work ", is then evaluated further action, such as whether needing to record script etc. again by user.Otherwise, it is assumed that Some application has carried out correcting to interface, then can lead to the script failures recorded before, if without scoring, user can't Know and go wrong there are one script, the script of mistake can be in always invalid state.
Here, equipment 1 executes scoring to operation note file, when appearance executes operation note file and actual application pair When situation on not, user can be prompted, and provides intuitive statistical data to user, user is helped to understand operation note file Executive condition.
Preferably, in step S204, equipment 1 executes the operation note file using more touch terminals.For example, right In extensive application, analyzed only with a touch terminal, it is time-consuming longer, if more touch terminals are distributed in these applications It is carried out at the same time analysis, then can largely shorten analysis and take.For another example, such as small for the very more application of a content Say class application, analyzed only with a touch terminal it is time-consuming also longer, at this point, according to more touch terminals simultaneously it is right The application is analyzed, and such as analyzes the different Page Ranges of certain novel simultaneously using more touch terminals, and First touches eventually The content of page 1 to 100 is analyzed at end, and second touch terminal analyzes the content of page 101 to 200, and so on, then it can be big The big analyze speed accelerated to the application.
Here, equipment 1 executes the operation note file parallel using more touch terminals, the effect of applied analysis is accelerated Rate.
Preferably, in step S204, equipment 1 according to the operation note file in operating database by being looked into It askes, updates the operation note file;Execute the updated operation note file.Specifically, in step S204, equipment 1 by the interaction with operating database, such as passes through one or many application programming interfaces for calling the operating database (API), it is inquired in the operating database, to update the operation note file, for example, in step S204, equipment 1 will Predefined instruction in operation note file replaces with corresponding script, to realize the update to the operation note file, alternatively, In step S204, equipment 1 identifies the predefined operation in operation note file, then the predefined operation is replaced with user's weight The operation newly defined.Then, in step S204, equipment 1 executes the newer operation note file.
Here, the operating database can both be located in the touch terminal, it can also be located at and pass through net with the touch terminal In the third party device that network is connected, such as cloud device.For the operating database positioned at cloud device, can preferably support The operation note file is executed parallel by more touch terminals.
It is highly preferred that this method further includes step S206 (not shown).In step S206, equipment 1 is defined according to user Preset operation, establish or update the operating database.Specifically, in order to more meet the needs of users, user can be with Oneself defining operation on the basis of original, and the function of the operation is described, in step S206, equipment 1 is defined according to user Preset operation, establish or update the operating database.The user-defined preset operation of Auto-matching is completed to use by equipment 1 The function of family setting.For example, user defines preset operation as shown in Figure 4, the meaning of the operation is by bullet after lower button 10 seconds It rises, then in step S206, equipment 1 establishs or updates the operating database according to the user-defined preset operation, for example, The corresponding script of preset operation is stored in the operating database, the operating database is establishd or updated with realizing.When When user subsequently makes the operation, it is identified as user-defined preset operation.
Preferably, user-defined preset operation is also used as plug-in package, public in multiple systems, for example, user A The plug-in package of the preset operation defined is sent to user B, and user B is after the plug-in package for importing the user A, you can so that With the preset operation of the user A.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt With application-specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, the software program of the application can be executed by processor to realize steps described above or function.Similarly, the application Software program (including relevant data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example Such as, coordinate to execute the circuit of each step or function as with processor.
In addition, the part of the application can be applied to computer program product, such as computer program instructions, when its quilt When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution. And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal loaded mediums and be transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of the application, which includes using Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to When order is executed by the processor, method and/or skill of the device operation based on aforementioned multiple embodiments according to the application are triggered Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case of without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second equal words are used for table Show title, and does not represent any particular order.

Claims (8)

1. a kind of method for being recorded in user's operation on touch terminal, wherein this method includes:
Obtain one or more first user's operation of the user on touch terminal;
Corresponding operation description information is generated according to one or more of first user's operations, wherein the operation description letter Breath includes about the description information that second user operates determined by least one first user's operation;
According to the operation description information, corresponding operation note file is establishd or updated;
Execute the operation note file;
According to the implementing result of the operation note file, the validity information of the operation note file is determined;
According to the validity information of the operation note file, score the operation note file;
Wherein, described to include according to the corresponding operation description information of one or more of first user's operations generation:
Corresponding second user operation is determined according at least one first user's operation, wherein described according at least one First user's operation determines that corresponding second user operation includes:According at least one first user's operation, and tie The operation relevant information corresponding at least one first user's operation is closed, determines corresponding second user operation, wherein institute It includes following at least any one to state operation relevant information:The operation object letter that at least one first user's operation is acted on Breath;Adjacent operator information corresponding at least one first user's operation;At least one first user's operation institute is right The operation map information answered;
Corresponding operation description information is generated according to one or more of first user's operations and second user operation, In, the operation description information includes the description information operated about second user, the description as described in second user operation Information includes following at least any one:
The second user acts on the anchor point information of respective operations object;
The second user operates the Delay of relatively at least one first user's operation;
The adjacent operator Delay between multiple sub-operations in the second user operation.
2. according to the method described in claim 1, wherein, the execution operation note file includes:
The operation note file is executed using more touch terminals.
3. according to the method described in claim 1, wherein, the execution operation note file includes:
By being inquired in operating database according to the operation note file, the operation note file is updated;
Execute the updated operation note file.
4. according to the method described in claim 3, wherein, this method further includes:
According to user-defined preset operation, the operating database is establishd or updated.
5. a kind of equipment for being recorded in user's operation on touch terminal, wherein the equipment includes:
First device obtains one or more first user's operation of the user on touch terminal;
Second device generates corresponding operation description information, wherein the behaviour according to one or more of first user's operations It includes about the description information that second user operates determined by least one first user's operation to be described information;
3rd device establishs or updates corresponding operation note file according to the operation description information;
4th device executes the operation note file;
5th device determines the validity information of the operation note file according to the implementing result of the operation note file, According to the validity information of the operation note file, score the operation note file;
Wherein, the second device includes:
First unit determines that corresponding second user operates, wherein described first according at least one first user's operation Unit:According at least one first user's operation, and the operation in conjunction with corresponding at least one first user's operation Relevant information determines corresponding second user operation, wherein the operation relevant information includes following at least any one:At least The operation object information that one first user's operation is acted on;It is adjacent corresponding at least one first user's operation Operation information;Operation map information corresponding at least one first user's operation;
Second unit generates corresponding operation according to one or more of first user's operations and second user operation and retouches State information, wherein the operation description information includes the description information operated about second user, described to be grasped about second user The description information of work includes following at least any one:
The second user acts on the anchor point information of respective operations object;
The second user operates the Delay of relatively at least one first user's operation;
The adjacent operator Delay between multiple sub-operations in the second user operation.
6. equipment according to claim 5, wherein the 4th device:
The operation note file is executed using more touch terminals.
7. equipment according to claim 5, wherein the 4th device:
By being inquired in operating database according to the operation note file, the operation note file is updated;
Execute the updated operation note file.
8. equipment according to claim 7, wherein the equipment further includes:
6th device establishs or updates the operating database according to user-defined preset operation.
CN201410264410.7A 2014-06-13 2014-06-13 A kind of method and apparatus for the user's operation being recorded on touch terminal Active CN105302700B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410264410.7A CN105302700B (en) 2014-06-13 2014-06-13 A kind of method and apparatus for the user's operation being recorded on touch terminal
HK16106326.4A HK1218337A1 (en) 2014-06-13 2016-06-03 Method and device for recording user operation on touch terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410264410.7A CN105302700B (en) 2014-06-13 2014-06-13 A kind of method and apparatus for the user's operation being recorded on touch terminal

Publications (2)

Publication Number Publication Date
CN105302700A CN105302700A (en) 2016-02-03
CN105302700B true CN105302700B (en) 2018-11-13

Family

ID=55199991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410264410.7A Active CN105302700B (en) 2014-06-13 2014-06-13 A kind of method and apparatus for the user's operation being recorded on touch terminal

Country Status (2)

Country Link
CN (1) CN105302700B (en)
HK (1) HK1218337A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153641A (en) * 2016-12-05 2018-06-12 北京国双科技有限公司 A kind of nothing buries deployment monitoring method and a relevant apparatus
CN107817433A (en) * 2017-10-27 2018-03-20 东信和平科技股份有限公司 Test system, method, equipment and the computer-readable recording medium of smart card
CN109240986B (en) * 2018-08-15 2021-08-31 腾讯音乐娱乐科技(深圳)有限公司 Log processing method and device and storage medium
CN109684175B (en) * 2018-12-26 2022-07-19 百度在线网络技术(北京)有限公司 Recording method and device and reproduction method and device for application software operation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620564A (en) * 2008-06-30 2010-01-06 福建升腾资讯有限公司 Method for automatically testing recording playback mode of terminal system
CN103365779A (en) * 2013-07-09 2013-10-23 广东欧珀移动通信有限公司 Software test method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060048126A1 (en) * 2004-05-11 2006-03-02 Kui-Chang Sun Method and a system thereof for generating a homepage content file capable of dynamically linking with a plurality of on-demand knowledge bases
CN101655767B (en) * 2009-09-11 2011-01-26 天津津科电子系统工程有限公司 Touch page turning processing method based on electronic paper reading device
CN101873383B (en) * 2010-06-23 2013-06-12 华为终端有限公司 Terminal operation configuration method and terminal
CN103677600B (en) * 2012-09-10 2017-05-24 联想(北京)有限公司 Input method and electronic equipment
CN103823813B (en) * 2012-11-19 2018-10-02 腾讯科技(深圳)有限公司 Electric terminal historical operation records processing method and processing device
CN103019899A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method and system for replaying intelligent terminal event as well as intelligent terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620564A (en) * 2008-06-30 2010-01-06 福建升腾资讯有限公司 Method for automatically testing recording playback mode of terminal system
CN103365779A (en) * 2013-07-09 2013-10-23 广东欧珀移动通信有限公司 Software test method and system

Also Published As

Publication number Publication date
CN105302700A (en) 2016-02-03
HK1218337A1 (en) 2017-02-10

Similar Documents

Publication Publication Date Title
US20190213114A1 (en) Apparatus and application interface traversing method
CN105302700B (en) A kind of method and apparatus for the user's operation being recorded on touch terminal
US10025878B1 (en) Data lineage analysis
WO2015081841A1 (en) Devices and methods for test scenario reproduction
CN107622008B (en) Traversal method and device for application page
US10078502B2 (en) Verification of a model of a GUI-based application
WO2016145993A1 (en) Method and system for user device identification
CN108734304B (en) Training method and device of data model and computer equipment
CN103927356A (en) Advertisement intercepting method and advertisement intercepting device
US20150082207A1 (en) Extracting a deterministic finite-state machine model of a gui based application
CN104156305A (en) Application program testing method and device
US9501390B1 (en) Enhancing automated mobile application testing
CN109948038B (en) Question pushing method and device
US10241845B2 (en) Application event tracing
CN107016028B (en) Data processing method and apparatus thereof
CN107766230A (en) A kind of method and apparatus tested based on configuration file
US9984235B2 (en) Transmission of trustworthy data
US20220374340A1 (en) Techniques for decoupled management of software test execution planning and corresponding software test execution runs
CN111104017B (en) Sliding positioning processing method and device
CN107818000B (en) Operation method and device of page table
US20220374342A1 (en) Techniques for decoupled management of software test execution planning and corresponding software test execution runs
CN107766216A (en) It is a kind of to be used to obtain the method and apparatus using execution information
US10585584B2 (en) Virtual keyboard
CN105528932A (en) Method and device for evaluating user recognized character amount
US9858439B1 (en) Data processing systems for identifying whether cookies contain personally identifying information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1218337

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191211

Address after: P.O. Box 31119, grand exhibition hall, hibiscus street, 802 West Bay Road, Grand Cayman, Cayman Islands

Patentee after: Innovative advanced technology Co., Ltd

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Co., Ltd.