CN107124645A - User's input behavior is recorded and back method and device - Google Patents

User's input behavior is recorded and back method and device Download PDF

Info

Publication number
CN107124645A
CN107124645A CN201710282599.6A CN201710282599A CN107124645A CN 107124645 A CN107124645 A CN 107124645A CN 201710282599 A CN201710282599 A CN 201710282599A CN 107124645 A CN107124645 A CN 107124645A
Authority
CN
China
Prior art keywords
user
input behavior
data
data flow
recorded file
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
CN201710282599.6A
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710282599.6A priority Critical patent/CN107124645A/en
Publication of CN107124645A publication Critical patent/CN107124645A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of user's input behavior method for recording and device, by catching user's input behavior data, and the timestamp for capturing user's input behavior data of itself and record is subjected to coding generation data flow, what it is due to seizure is user's input behavior data and corresponding timestamp, data volume is smaller, and encoded obtained data flow of compressing is less, storage is flexible, so as to which the recorded file size generated according to data flow is also smaller, occupy little space, also just alleviate user's input behavior and record pressure, be easy to record.A kind of user's input behavior back method and device are further related to, recorded file is read, data flow is obtained and is stored in memory pool, the reading data flow from memory pool, according to timestamp, user's input behavior data are played back.In replayed section, because user's input behavior data are small, data flow is small, and processing data amount is small in replayed section, alleviates user's input behavior data readback pressure, is easy to be used for input behavior playback.

Description

User's input behavior is recorded and back method and device
Technical field
The present invention relates to technical field of intelligence, more particularly to a kind of user's input behavior is recorded and back method and dress Put.
Background technology
, it is necessary to which One function or multiple functions for product are carried out in whole life cycle of the research and development of products to production Pot machine is tested or combined test, and test operation is cumbersome and time-consuming.To investigate during the problem of some are related with sequential, particularly The problem of particular point in time or specific operation could reappear, analyzed very by the means of daily record debugging or breaking merely It is difficult.
At present, user behavior can be reduced by way of the recording and playback to user behavior to realize test, generally Playable video file or the file that can play using specific program opening are generated by the way of record screen.What it is due to record is Video pictures, the data volume that need to be handled and preserve is big, and the recorded file size ultimately generated is also big, and inconvenience is applied to storage device Limited system, while, it is necessary to the number of processing when the larger recorded file of the data volume obtained using above-mentioned recording is played back It is big according to amount, playback is not easy to, causes product test inconvenient.
The content of the invention
Based on this, it is necessary to for can obtain data volume smaller there is provided a kind of the problem of recorded file is big, playback is inconvenient Recorded file and be easy to playback user's input behavior record and back method and device.
A kind of user's input behavior method for recording, comprises the following steps:
Obtain user's input behavior data and record the timestamp for obtaining user's input behavior data;
User's input behavior data and the timestamp are encoded, data flow is obtained and is stored in memory pool In;
The reading data flow from the memory pool, recorded file is generated according to the data flow.
The present invention also provides a kind of user's input behavior record device, including:
Data acquisition module, user's input behavior data are obtained for obtaining user's input behavior data and recording Timestamp;
Coding module, for being encoded to user's input behavior data and the timestamp, obtains data flow simultaneously It is stored in memory pool;
File generating module, for the reading data flow from the memory pool, recorded file is generated according to the data flow.
Above-mentioned user's input behavior method for recording and device, obtain user's input behavior data and record the acquisition user The timestamp of input behavior data, is encoded to user's input behavior data and the timestamp, obtains data flow simultaneously It is stored in memory pool, the reading data flow from the memory pool, recorded file is generated according to the data flow.Used by catching Family input behavior data, and the timestamp for capturing user's input behavior data of itself and record is subjected to coding generation data Stream, what it is due to seizure is user's input behavior data and corresponding timestamp, and data volume is smaller, and encoded compression is obtained Data flow be less, storage is flexible, so that the recorded file size generated according to data flow is also smaller, occupies little space, Also just alleviate user's input behavior and record pressure, be easy to record.
The present invention also provides a kind of user's input behavior back method, comprises the following steps:
Recorded file is read, the corresponding data flow of user's input behavior is obtained and is stored in memory pool, wherein, the number Include user's input behavior data according to stream and obtain the timestamp of user's input behavior data;
The data flow is read from the memory pool;
According to the timestamp, user's input behavior data are played back.
The present invention also provides a kind of user's input behavior playback reproducer, including:
File read module, for reading recorded file, obtains the corresponding data flow of user's input behavior and is stored in interior Deposit in pond, wherein, the data flow includes user's input behavior data and obtains the time of user's input behavior data Stamp;
Data flow read module, for reading the data flow from the memory pool;
Playback module, for according to the timestamp, being played back to user's input behavior data.
Above-mentioned user's input behavior back method and device, read recorded file, obtain the corresponding number of user's input behavior According to flowing and be stored in memory pool, wherein, the data flow includes user's input behavior data and obtains user's input The timestamp of behavioral data, reads the data flow from the memory pool, according to the timestamp, to user's line of input Played back for data.That is, in replayed section, only need to read the recorded file obtained in recording process, be used The corresponding data flow of family input behavior, because user's input behavior data are small, data flow is small, processing data amount in replayed section It is small, user's input behavior data readback pressure is alleviated, is easy to be used for input behavior playback.
Brief description of the drawings
Fig. 1 is the flow chart of user's input behavior method for recording of an embodiment;
Fig. 2 is the flow chart of user's input behavior method for recording of another embodiment;
Fig. 3 is the flow chart of user's input behavior back method of an embodiment;
Fig. 4 is the sub-process figure in user's input behavior back method of another embodiment;
Fig. 5 is the system block diagram of the present embodiment;
Fig. 6 is the sub-process figure in user's input behavior method for recording of a specific embodiment;
Fig. 7 is the module map of user's input behavior record device of an embodiment;
Fig. 8 is the module map of user's input behavior record device of another embodiment;
Fig. 9 is the module map of user's input behavior playback reproducer of an embodiment;
Figure 10 for another embodiment user's input behavior playback reproducer in file read module submodule figure.
Embodiment
Referring to Fig. 1, providing a kind of user's input behavior method for recording of embodiment, comprise the following steps:
S110:Obtain user's input behavior data and record the timestamp for obtaining user's input behavior data.
User's input behavior may include touch operation, mouse action and input through keyboard operation to touch-screen etc., pass through Above-mentioned user's input behavior can produce corresponding user's input behavior data, and such as touch operation can produce touch data (coordinate Data) so that, user's input behavior data can be obtained, and record the timestamp for obtaining user's input behavior data.
S120:User's input behavior data and timestamp are encoded, data flow is obtained and is stored in memory pool.
By being encoded to user's input behavior data and timestamp, obtain data flow and be stored in memory pool.With Family input behavior data and the data volume of timestamp are smaller, and data flow is that user's input behavior data and timestamp are carried out Obtained after coding, the data volume of data flow is small, storage is flexible.
S130:The reading data flow from memory pool, recorded file is generated according to data flow.
Obtaining after data flow is saved in memory pool, recorded file being generated, in particular it is required that reading from memory pool Data flow, generates recorded file according to the data flow of reading, data source is provided for subsequent playback.
Above-mentioned user's input behavior method for recording, obtains user's input behavior data and records acquisition user's input behavior number According to timestamp, whether detecting system is in recording state, if so, encoded to user's input behavior data and timestamp, Obtain data flow and be stored in memory pool, the reading data flow from memory pool, recorded file is generated according to data flow.By catching Catch user's input behavior data, and the timestamp for capturing user's input behavior data of itself and record is subjected to coding generation number According to stream, what it is due to seizure is user's input behavior data and corresponding timestamp, and data volume is smaller, and encoded is compressed To data flow be less, storage is flexible, so that the recorded file size generated according to data flow is also smaller, space-consuming It is small, also just alleviate user's input behavior and record pressure, be easy to record.
Above-mentioned user's input behavior method for recording can be applied to carry user input equipment (touch-screen, mouse and keyboard Deng) vehicle-mounted/home entertaining or the system such as industry control on.
In the present embodiment, obtain after user's input behavior data, record obtains the time of user's input behavior data Also include before stamp:Whether detecting system is in recording state, if so, then record obtains the timestamp of user's input behavior data The step of, that is to say, that, it is necessary to detect whether user's input behavior recording function is activated, when user's input behavior recording function It is activated, that is, system is when being in recording state, can start to record user's input behavior, i.e., and start recording is obtained The timestamp of user's input behavior data, is then encoded to user's input behavior data and timestamp again, obtains data flow And be stored in memory pool.
In one of the embodiments, the reading data flow from memory pool, the step of recorded file is generated according to data flow Afterwards, in addition to step:
Recorded file is stored in External memory equipment.
After generation recorded file, it can store it in External memory equipment, user enters edlin to recorded file, i.e., Recorded file is secondary editable data file, can be from External memory equipment when subsequently carrying out the playback of user's input behavior Middle reading recorded file.
Referring to Fig. 2, in one of the embodiments, the reading data flow from memory pool is generated according to data flow and recorded The step of file, includes:
S231:The reading data flow from memory pool.
S232:According to timestamp, data stream is sorted.
S233:Data flow after sequence is write into default file successively, recorded file is generated.
When user carries out input behavior, there is sequencing, standard when being played back in order to ensure subsequent read recorded file True property, from memory pool after reading data flow, in addition it is also necessary to sorted according to timestamp to data stream, by the data after sequence Stream writes default file successively in sequence, generates recorded file, so that it is guaranteed that in recorded file data flow ordered arrangement, after It is continuous sequentially accurately to be played back to reading when recorded file is played back.In addition, in the present embodiment, being adapted to and a variety of user's lines of input For the scene of data recording, such as touch-screen touch control, physical switch button and physical knob.
Referring to Fig. 3, the present invention also provides a kind of user's input behavior back method of embodiment, comprise the following steps:
S310:Recorded file is read, the corresponding data flow of user's input behavior is obtained and is stored in memory pool.
S320:The reading data flow from memory pool.
S330:According to timestamp, user's input behavior data are played back.
When being played back to user's input behavior, recorded file is read first, you can obtain user's input behavior correspondence Data flow, then, store it in memory pool.The recorded file is obtained by above-mentioned user's input behavior method for recording Recorded file, data flow include user's input behavior data and obtain user's input behavior data timestamp.Specifically, Recorded file can be read from External memory equipment, i.e., only need to be from outer when user needs to analyze or during also original subscriber's input behavior Read in portion's storage device and record text acquisition data flow and be stored in memory pool, then the reading data flow from memory pool, be System can carry out playback work, specifically, in order to ensure accuracy, according to timestamp, have to user's input behavior data Sequence is played back.
Above-mentioned user's input behavior back method, reads recorded file, obtains the corresponding data flow of user's input behavior simultaneously It is stored in memory pool, wherein, data flow includes user's input behavior data and obtains the time of user's input behavior data Stamp, the reading data flow from memory pool, according to timestamp, is played back to user's input behavior data.That is, in playback During, the recorded file obtained in recording process need to be only read, the corresponding data flow of user's input behavior is obtained, due to user Input behavior data are small, and data flow is small, and processing data amount is small in replayed section, alleviate user's input behavior data readback pressure Power, is easy to be used for input behavior playback.
In one of the embodiments, recorded file is read, the corresponding data flow of user's input behavior is obtained and is stored in Memory pool includes step:
S411:The data not being read of preset length are read from recorded file, corresponding preset length is obtained Data flow, memory pool, and record storage time are stored in by the data flow of preset length.
S412:Judge whether recorded file reads to finish.
If recorded file reads and finished, perform:
S413:Stop reading data from recorded file, the corresponding data flow of user's input behavior of acquisition is each default length The data manifold of degree into data flow.
In one of the embodiments, recorded file is read, the corresponding data flow of user's input behavior is obtained and is stored in Also include before step in memory pool:When receiving play-back command, play-back command is responded, into recorded file is read, is obtained Obtain the corresponding data flow of user's input behavior and be stored in the step in memory pool.
In the present embodiment, recorded file is read, the corresponding data flow of user's input behavior is obtained and is stored in memory pool In step (data not being read of preset length specifically, are being read from recorded file, corresponding default length is obtained The data flow of degree, is stored in memory pool, and record storage time by the data flow of preset length, judges whether recorded file reads After finishing) also include:
If recorded file does not read and finished, perform:
S414:It is when exceeding preset time size after storage time or corresponding next time receiving recorded file When putting instruction, the step of returning to the data not being read that preset length is read from recorded file.
Responded after play-back command is received and can trigger playback behavior, then start to read again recorded file with And follow-up processing, finished if recorded file is not read, when exceeding preset time size after storage time or in reception During next play-back command corresponding to recorded file, the number not being read that preset length is read from recorded file is returned According to the step of proceed file read, recorded file read finish, you can stop from recorded file read data, acquisition The corresponding data flow of user's input behavior for each preset length data manifold into data flow.
In the present embodiment, pre-set the preset length of reading, i.e., it is literary from recording every time when reading recorded file The data flow of preset length is only read in part, when the data not read in default file are not up to preset length, is carried out Reading.
Below with a specific embodiment to above-mentioned user's input behavior method for recording with user's input behavior and back method Illustrated.
Referring to Fig. 5, to can perform above-mentioned user's input behavior method for recording with user's input behavior and back method System block diagram, is divided into hardware layer (Hardward Layer), driving layer (Driver Layer), service layer (System ) and application layer (Application Layer) service.Bold portion represents system original function, and dotted portion represents this hair It is bright to need to change or newly-increased customization part.Wherein driving layer enumerates common user's input and driven, including touch-screen driving, Keyboard drive, mouse-driven, gesture identification driving and IR drivings etc..
For Layer layers of Driver:For each user's input behavior, addition portion is needed in its corresponding driver Customization is divided to change.It is main to include but is not limited to:Obtain after user's input behavior data, if system is currently located in recording state, need User's input behavior data and timestamp are encoded, corresponding data flow is generated and is uploaded to service A processing.
Data flow X:Refer to various user's input drivings to obtain after user's input behavior data, the number of generation is encoded with timestamp According to stream, data flow X will be passed to corresponding service and go processing.
Service A:Belong to the processing service of user's input behavior data recording stream link, specifically, referring to Fig. 6, first System waits user terminal triggering, that is, waits user's input behavior, when there is user to carry out input behavior, can obtain user's input Behavioral data, for example, correspond to the coordinate data of touch behavior, judges whether to activate user's input behavior recording function, that is, judges system Whether system is in recording state, if it is not, coordinate data is then reported to system, if so, then obtaining user's line of input by servicing A For the timestamp of data, the various user's input behavior data got and timestamp are carried out coding acquisition data flow and stored In memory pool, so that service B is used, that is, service A and be responsible for step in dotted line.By taking the touch behavior to touch-screen as an example, user Finger touches touch-screen and produces interruption, and touch-screen driving obtains the coordinate data for touching finger, if being currently at recording mode, Service A is encoded changing coordinates data and with current time stamp, generates data flow, and it is stored in into memory pool successively In, wait B processing to be serviced.
Service B:Belong to the processing service of user's input behavior data recording stream link, specifically, service B can be from memory pool Reading data flow, is ranked up to the data flow according to timestamp, and generation can write direct the data flow Y of file, and write pre- If file generated recorded file.
Service C:Belong to the processing service of user's input behavior playback of data stream link, specifically, to play back touch behavior Exemplified by, if being currently at playback mode, service C is used to read recorded file automatically, obtains the corresponding data of user's input behavior It is stored in memory pool, is used for service D after stream.Specifically, service C reads not being read for preset length from recorded file The data crossed, obtain the data flow of corresponding preset length, the data flow of preset length are stored in into memory pool, and record storage Time.If recorded file does not read and finished, after storage time exceed preset time size when or receiving recorded file During corresponding next play-back command, the step of returning to the data not being read that preset length is read from recorded file. If recorded file reads and finished, stop reading data from recorded file, the corresponding data flow of user's input behavior of acquisition is each The data manifold of preset length into data flow.
Service D:Belong to the processing service of user's input behavior playback of data stream link, specifically, service D be used for it is automatic from Memory pool reading data flow, and user's input behavior data distribution is carried out according to timestamp, finally it is uploaded to system or application.
The idiographic flow of above-mentioned user's input behavior method for recording:
First, user input data is obtained, and input data is encoded with timestamp, data flow is generated.
Then, data flow is stored in memory pool.
Again, another service routine obtains data from memory pool, carries out algorithm sequence, generates the data of writable file Stream.
Finally, recorded file is write.
To record touch behavior example, when user has input behavior (as operated on the touchscreen), system service A is from user The driving layer (touching driving) of input obtains user input data (coordinate data), user's input behavior data and current operation Time (timestamp) is encoded, and is generated the data flow of format, is stored in memory pool.System service B timing from Memory pool reading data flow, if there is valid data, recorded file is generated in the file for writing External memory equipment.System service A and B cooperates, the common conversion for completing user's input behavior data and data write-in.Recorded by above-mentioned user's input behavior When method processed is recorded, user's input behavior data volume is small, and recorded file occupies little space, and can flexibly deposit, and due to Family input behavior data and timestamp are encoded, and other people can not also spy upon internal data even if recorded file is taken, with guarantor Close property.User's input behavior data secondary can be edited, and increase and decrease user logic on this basis, be related to user logic simultaneously so as to reach The effect of real-time confirmation, significantly reduces the system testing pressure of test lead, and realizes user's input behavior data and logic The separation of realization, therefore a recorded file of identical, it is reproducible, change or be transplanted on other same platform machines and returned Put.
The idiographic flow of above-mentioned user's input behavior back method:
First, recorded file is read, data flow is decoded.
Then, data flow is stored in memory pool.
Finally, another service routine obtains data from memory pool, according to data attribute distribution or reporting system.
To play back touch behavior example, playback mechanism is similar with recording mechanism, is also made up of two systems service.When triggering back When putting mechanism, all real user's input behavior data (operation on such as touch-screen) of system mask are changed to from memory pool Obtain data flow.System service C timings read the recorded file of External memory equipment (there is provided that reads every time is maximum default Length), the corresponding data flow of user's input behavior is obtained, is stored in memory pool.Another system service D is constantly from memory pool Middle reading data flow, and corresponding user input data is reported system according to timestamp, user's input number is carried out by system According to the distribution of (coordinate data), the playback of user's input behavior is completed.Above-mentioned whole recording and playback link cooperate, and realize The acquisition of recorded file and played back according to recorded file, flow is simple, and processing data is small, does not influence systematic function.
Referring to Fig. 7, the present invention also provides a kind of a kind of user's input behavior record device of embodiment, including:
Data acquisition module 710, user's input behavior data are obtained for obtaining user's input behavior data and recording Timestamp;
Coding module 720, for being encoded to user's input behavior data and timestamp, obtains data flow and is stored in In memory pool;
File generating module 730, for the reading data flow from memory pool, recorded file is generated according to data flow.
Above-mentioned user's input behavior record device, obtains user's input behavior data and records acquisition user's input behavior number According to timestamp, user's input behavior data and timestamp are encoded, data flow is obtained and is simultaneously stored in memory pool, from interior Reading data flow in pond is deposited, recorded file is generated according to data flow.By catching user's input behavior data, and by itself and record Capture user's input behavior data timestamp carry out coding generation data flow, what it is due to seizure is user's input behavior number According to this and corresponding timestamp, data volume is smaller, and encoded obtained data flow of compressing is less, and storage is flexible, from And the recorded file size generated according to data flow is also smaller, occupy little space, also just alleviate user's input behavior and record pressure Power, is easy to record.
In the present embodiment, above-mentioned user behavior record device also includes detection module, in data acquisition module 710 Obtain after user's input behavior data, record is obtained before the timestamp of user's input behavior data, and whether detecting system is located In recording state, if so, then entering data acquisition module 710 records the timestamp for obtaining user's input behavior data, that is, Say, it is necessary to detect whether user's input behavior recording function is activated, when user's input behavior recording function is activated, also When being that system is in recording state, it can start to record user's input behavior, i.e., start recording obtains user's input behavior The timestamp of data, is then encoded to user's input behavior data and timestamp again, is obtained data flow and is stored in internal memory Chi Zhong.
In one of the embodiments, above-mentioned user's input behavior record device also includes:File storage module, for inciting somebody to action Recorded file is stored in External memory equipment.
Referring to Fig. 8, in one of the embodiments, above-mentioned file generating module includes:
Data read module 831, for the reading data flow from memory pool;
Order module 832, for according to timestamp, the data flow to reading to be ranked up;
Recorded file generation module 833, for the data flow after sequence to be write into default file successively, text is recorded in generation Part.
Above-mentioned user's input behavior record device is the device of above-mentioned user's input behavior method for recording, defeated with above-mentioned user The technical characteristic for entering behavior method for recording is corresponded, and will not be repeated here.
Referring to Fig. 9, the present invention also provides a kind of user's input behavior playback reproducer of embodiment, including:
File read module 910, for obtaining the corresponding data flow of user's input behavior and being stored in memory pool, its In, data flow includes user's input behavior data and obtains the timestamp of user's input behavior data;
Data flow read module 920, for the reading data flow from memory pool;
Playback module 930, for according to timestamp, being played back to user's input behavior data.
Above-mentioned user's input behavior playback reproducer, reads recorded file, obtains the corresponding data flow of user's input behavior simultaneously It is stored in memory pool, wherein, data flow includes user's input behavior data and obtains the time of user's input behavior data Stamp, the reading data flow from memory pool, according to timestamp, is played back to user's input behavior data.That is, in playback During, the recorded file obtained in recording process need to be only read, the corresponding data flow of user's input behavior is obtained, due to user Input behavior data are small, and data flow is small, and processing data amount is small in replayed section, alleviate user's input behavior data readback pressure Power, is easy to be used for input behavior playback.
Referring to Fig. 10, in one of the embodiments, above-mentioned file read module 910 includes:
Partial data read module 121, the data not being read for reading preset length from recorded file, is obtained The data flow of corresponding preset length is taken, the data flow of preset length is stored in memory pool, and record storage time;
Stopping modular 122, is finished if being read for recorded file, stops reading data, the user of acquisition from recorded file The corresponding data flow of input behavior for each preset length data manifold into data flow.
In one of the embodiments, above-mentioned file read module 910 is additionally operable to, when receiving play-back command, respond back Instruction is put, then reads recorded file again, the corresponding data flow of user's input behavior is obtained and is stored in memory pool.
In the present embodiment, above-mentioned file read module also includes returning to module 123, if not read for recorded file Finish, when exceeding preset time size after storage time or when receiving the corresponding next play-back command of recorded file, Returning part data read module 121 performs the data not being read that preset length is read from recorded file.
Above-mentioned user's input behavior playback reproducer is the device of above-mentioned user's input behavior back method, defeated with above-mentioned user The technical characteristic for entering behavior back method is corresponded, and will not be repeated here.
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield, is all considered to be the scope of this specification record.
Above example only expresses the several embodiments of the present invention, and it describes more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, On the premise of not departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of user's input behavior method for recording, it is characterised in that comprise the following steps:
Obtain user's input behavior data and record the timestamp for obtaining user's input behavior data;
User's input behavior data and the timestamp are encoded, data flow is obtained and is stored in memory pool;
The reading data flow from the memory pool, recorded file is generated according to the data flow.
2. user's input behavior method for recording according to claim 1, it is characterised in that described to be read from the memory pool Data flow is taken, after the step of generating recorded file according to the data flow, in addition to step:
The recorded file is stored in External memory equipment.
3. user's input behavior method for recording according to claim 1, it is characterised in that described to be read from the memory pool Data flow is taken, the step of generating recorded file according to the data flow includes:
The reading data flow from the memory pool;
According to the timestamp, the data flow to reading is ranked up;
The data flow after sequence is write into default file successively, recorded file is generated.
4. a kind of user's input behavior back method, it is characterised in that comprise the following steps:
Recorded file is read, the corresponding data flow of user's input behavior is obtained and is stored in memory pool, wherein, the data flow Timestamp including user's input behavior data and acquisition user's input behavior data;
The data flow is read from the memory pool;
According to the timestamp, user's input behavior data are played back.
5. user's input behavior back method according to claim 4, it is characterised in that the reading recorded file, is obtained Obtaining the corresponding data flow of user's input behavior and being stored in memory pool includes step:
The data not being read of preset length are read from the recorded file, the data of corresponding preset length are obtained Stream, the memory pool, and record storage time are stored in by the data flow of the preset length;
If the recorded file reads and finished, stop reading data, user's input behavior of acquisition from the recorded file Corresponding data flow for each preset length data manifold into data flow.
6. user's input behavior back method according to claim 5, it is characterised in that
The reading recorded file, obtains the corresponding data flow of user's input behavior and is stored in before the step in memory pool also Including:When receiving play-back command, the play-back command is responded, into recorded file is read, user's input behavior pair is obtained The data flow answered simultaneously is stored in the step in memory pool;
The reading recorded file, obtains the corresponding data flow of user's input behavior and is stored in the step in memory pool and also wrap Include:Finished if the recorded file is not read, when exceeding preset time size after the storage time or receiving When stating the corresponding next play-back command of recorded file, return and described not read for preset length is read from the recorded file The step of data taken.
7. a kind of user's input behavior record device, it is characterised in that including:
Data acquisition module, the time of user's input behavior data is obtained for obtaining user's input behavior data and recording Stamp;
Coding module, for being encoded to user's input behavior data and the timestamp, obtains data flow and stores In memory pool;
File generating module, for the reading data flow from the memory pool, recorded file is generated according to the data flow.
8. user's input behavior record device according to claim 7, it is characterised in that also include:
File storage module, for the recorded file to be stored in into External memory equipment.
9. user's input behavior record device according to claim 7, it is characterised in that the file generating module bag Include:
Data read module, for the reading data flow from the memory pool;
Order module, for according to the timestamp, the data flow to reading to be ranked up;
Recorded file generation module, for the data flow after sequence to be write into default file successively, generates recorded file.
10. a kind of user's input behavior playback reproducer, it is characterised in that including:
File read module, for reading recorded file, obtains the corresponding data flow of user's input behavior and is stored in memory pool In, wherein, the data flow includes user's input behavior data and obtains the timestamp of user's input behavior data;
Data flow read module, for reading the data flow from the memory pool;
Playback module, for according to the timestamp, being played back to user's input behavior data.
CN201710282599.6A 2017-04-26 2017-04-26 User's input behavior is recorded and back method and device Pending CN107124645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710282599.6A CN107124645A (en) 2017-04-26 2017-04-26 User's input behavior is recorded and back method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710282599.6A CN107124645A (en) 2017-04-26 2017-04-26 User's input behavior is recorded and back method and device

Publications (1)

Publication Number Publication Date
CN107124645A true CN107124645A (en) 2017-09-01

Family

ID=59725805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710282599.6A Pending CN107124645A (en) 2017-04-26 2017-04-26 User's input behavior is recorded and back method and device

Country Status (1)

Country Link
CN (1) CN107124645A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278269A (en) * 2019-06-21 2019-09-24 广州小鹏汽车科技有限公司 A kind of user behavior recording method and device
CN111694757A (en) * 2020-08-04 2020-09-22 北京字节跳动网络技术有限公司 Application program testing method and device, electronic equipment and computer readable storage medium
CN113810639A (en) * 2021-09-28 2021-12-17 深圳万兴软件有限公司 Method, device and related medium for recording mouse information and re-editing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080144906A1 (en) * 2006-10-09 2008-06-19 General Electric Company System and method for video capture for fluoroscopy and navigation
CN101631237A (en) * 2009-08-05 2010-01-20 青岛海信网络科技股份有限公司 Video monitoring data storing and managing system
CN103729270A (en) * 2013-12-13 2014-04-16 北京智谷睿拓技术服务有限公司 Backup method and operation equipment
CN103870141A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104581353A (en) * 2013-10-24 2015-04-29 深圳习习网络科技有限公司 Video recording/playing method and recording/playing device
CN105979188A (en) * 2016-05-31 2016-09-28 北京疯景科技有限公司 Video recording method and video recording device
CN106547470A (en) * 2015-09-16 2017-03-29 伊姆西公司 Daily record storage optimization method and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080144906A1 (en) * 2006-10-09 2008-06-19 General Electric Company System and method for video capture for fluoroscopy and navigation
CN101631237A (en) * 2009-08-05 2010-01-20 青岛海信网络科技股份有限公司 Video monitoring data storing and managing system
CN103870141A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104581353A (en) * 2013-10-24 2015-04-29 深圳习习网络科技有限公司 Video recording/playing method and recording/playing device
CN103729270A (en) * 2013-12-13 2014-04-16 北京智谷睿拓技术服务有限公司 Backup method and operation equipment
CN106547470A (en) * 2015-09-16 2017-03-29 伊姆西公司 Daily record storage optimization method and equipment
CN105979188A (en) * 2016-05-31 2016-09-28 北京疯景科技有限公司 Video recording method and video recording device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278269A (en) * 2019-06-21 2019-09-24 广州小鹏汽车科技有限公司 A kind of user behavior recording method and device
CN111694757A (en) * 2020-08-04 2020-09-22 北京字节跳动网络技术有限公司 Application program testing method and device, electronic equipment and computer readable storage medium
CN113810639A (en) * 2021-09-28 2021-12-17 深圳万兴软件有限公司 Method, device and related medium for recording mouse information and re-editing
CN113810639B (en) * 2021-09-28 2023-09-29 深圳万兴软件有限公司 Method, device and related medium for recording mouse information and re-editing

Similar Documents

Publication Publication Date Title
KR102025362B1 (en) Search System and Video Search method
KR101804383B1 (en) System and method for browsing summary image
CN105518571B (en) For being based on the exectorial method and apparatus of context aware
CN103986933B (en) Dynamic picture display methods and device
CN108062760B (en) Video editing method and device and intelligent mobile terminal
CN107124645A (en) User's input behavior is recorded and back method and device
CN107643828A (en) The method and system that user behavior in vehicle is identified and responded
CN106780685A (en) The generation method and terminal of a kind of dynamic picture
CN104238946A (en) Touch control method, device and terminal
CN103324518A (en) Mapping operation method and device
CN108628976A (en) A kind of material methods of exhibiting, terminal and computer storage media
CN103079115B (en) A kind of control method of multi-medium data and device
CN109669831A (en) A kind of test method and electronic equipment
CN108256071B (en) Method and device for generating screen recording file, terminal and storage medium
CN110688190A (en) Control method and device of intelligent interactive panel
US5491704A (en) Interactive laser disc system
CN107291358A (en) Content display control method, electronic equipment, and videoconference client
CN103853463A (en) Voice controlling method and device
CN104615327A (en) Window display method and device in game process
CN112995746A (en) Video processing method and device and terminal equipment
CN110035313A (en) Video playing control method, video playing control device, terminal device and electronic equipment
CN106028052A (en) Method and device for continuously transmitting special effects in real-time video
US20090147649A1 (en) Sound Playback and Editing Through Physical Interaction
CN103093175A (en) Face identification system on chip based on field programmable gate array (FPGA)
CN105353959A (en) Method and apparatus for controlling list to slide

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: 20170901