CN103019899A - A method, system, and intelligent terminal for event playback on an intelligent terminal - Google Patents
A method, system, and intelligent terminal for event playback on an intelligent terminal Download PDFInfo
- Publication number
- CN103019899A CN103019899A CN2012104994905A CN201210499490A CN103019899A CN 103019899 A CN103019899 A CN 103019899A CN 2012104994905 A CN2012104994905 A CN 2012104994905A CN 201210499490 A CN201210499490 A CN 201210499490A CN 103019899 A CN103019899 A CN 103019899A
- Authority
- CN
- China
- Prior art keywords
- event
- intelligent terminal
- file
- record
- playback
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a method and a system for playing back an event of an intelligent terminal, wherein the method comprises the following steps: an event recording step, namely reading each event file generated when an operation event of the intelligent terminal occurs, and writing the event file into a record file for storage; and an event playback step, reading the record file saved in the event recording step, and inserting each record into the corresponding event file of the intelligent terminal for playback. According to the invention, each event file generated when the operation event of the intelligent terminal occurs is read during the event recording period, and is stored in the recording file, and the event file is inserted into the corresponding event file to play back the event when the event needs to be played back, so that the repeated operation of a user can be replaced in the testing process and the like, and the working efficiency is improved.
Description
Technical field
The present invention relates to the intelligent terminal technical field, more particularly, relate to a kind of method, system and intelligent terminal of intelligent terminal event replay.
Background technology
Existing intelligent terminal such as smart mobile phone or other electronic equipment may need to repeat to input the certain operations instruction when test, events such as touch screen, button is correspondingly used executable operations to start.For example, open the function that certain software is carried out audio plays, need subsequently, to select audio frequency to be played at the interface of this software by this software icon on user's touch screen click screen, click subsequently broadcast button, and after finishing playing, close software.If the user need to repeat the operation of this audio plays, just need to manually re-start operation, this is unfavorable for this intelligent terminal is tested, and also is not easy to the user and improves operating efficiency.
Summary of the invention
The technical problem to be solved in the present invention is, for the defective of existing intelligent terminal shortage event replay function, provides a kind of method, system and intelligent terminal of intelligent terminal event replay.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of method of intelligent terminal event replay, may further comprise the steps:
The logout step, each incident file that the Action Events that reads intelligent terminal generates when occuring, and be written in the log file and preserve;
The event replay step reads the log file that described logout step is preserved, and every record is inserted in the corresponding incident file of this intelligent terminal to carry out playback.
In the method according to intelligent terminal event replay of the present invention, described Action Events comprises touch screen, button and Sensor Events.
In the method according to intelligent terminal event replay of the present invention, the time mark according to described incident file in the described logout step is recorded in the log file successively; According to described time mark, every record is inserted in the corresponding incident file of this intelligent terminal successively in the described event replay step.
In the method according to intelligent terminal event replay of the present invention, according to described time mark, the record that reads in the Preset Time section is inserted in the corresponding incident file of this intelligent terminal in the described event replay step.
The present invention also provides a kind of system of intelligent terminal event replay, comprising:
The logout module, each incident file that the Action Events that is used for reading intelligent terminal generates when occuring, and be written in the log file and preserve;
The event replay module is used for reading the log file that described logout module is preserved, and every record is inserted in the corresponding incident file of this intelligent terminal to carry out playback.
In the system according to intelligent terminal event replay of the present invention, described Action Events comprises touch screen, button and Sensor Events.
In the system according to intelligent terminal event replay of the present invention, described logout module is recorded in the log file according to the time mark of described incident file successively; Described event replay module is inserted into every record in the corresponding incident file of this intelligent terminal successively according to described time mark.
In the system according to intelligent terminal event replay of the present invention, described event replay module is according to described time mark, and the record that reads in the Preset Time section is inserted in the corresponding incident file of this intelligent terminal.
The present invention also provides a kind of intelligent terminal, and described intelligent terminal comprises the system of aforesaid intelligent terminal event replay.This intelligent terminal is mobile phone, panel computer, notebook or vehicle-mounted computer.
Implement method, system and the intelligent terminal of intelligent terminal event replay of the present invention, has following beneficial effect: each incident file that the present invention generates when occuring by the Action Events that reads intelligent terminal during logout, and be written in the log file and preserve, and when the needs playback with log file in every record be inserted into and carry out playback in the corresponding incident file, thereby can be in the processes such as test, replace user's repetitive operation, increase work efficiency.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the process flow diagram of the method for intelligent terminal event replay according to the preferred embodiment of the invention;
Fig. 2 is the process flow diagram of logout step in the method for intelligent terminal event replay according to a preferred embodiment of the invention;
Fig. 3 is the process flow diagram of event replay step in the method for intelligent terminal event replay according to a preferred embodiment of the invention;
Fig. 4 is the module diagram of the system of intelligent terminal event replay according to the preferred embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.
See also Fig. 1, be the process flow diagram of the method for intelligent terminal event replay according to the preferred embodiment of the invention.As shown in Figure 1, the method for intelligent terminal event replay provided by the invention mainly may further comprise the steps:
At first, in step S101, carry out the logout step, each incident file that the Action Events that reads intelligent terminal generates when occuring, and be written in the log file and preserve.
At present, Android system operates intelligent terminal the user, when for example touch screen, button or sensor event occur, can system /generate corresponding incident file in the catalogue of dev/input/, i.e. event file.Record time and event details that this event occurs in this incident file, if the touch screen operation then records the coordinate position of this touch screen operation.The present invention reads these event files and is written to then to read the record in the log file in the log file and be inserted in the corresponding incident file and carries out playback when event occurs.
Method of the present invention need to be used the superuser right (root authority) of Android system.When intelligent terminal starts logout, the event that the user operates at intelligent terminal, for example touch screen, button and sensor event will be automatically system /the dev/input/ catalogue in each incident file of generation.Therefore, each incident file that this step just reads intelligent terminal when starting logout Action Events generates when occuring, i.e. aforementioned event file and to be written to newly-built log file be in the input.log file and preserve.Take audio plays as example, the user subsequently, selects audio frequency to be played at the interface of this software by the software icon on the touch screen click screen, clicks subsequently broadcast button, and close software after finishing playing.The input.log file record this a series of touch screen operations, comprises coordinate position and the running time of each touch screen operation.
Subsequently, in step S102, carry out the event replay step, read the log file that the logout step is preserved, every record is inserted in the corresponding incident file of this intelligent terminal and carries out playback.When this step is carried out event replay at needs, be that the every record about event is inserted in the corresponding incident file of intelligent terminal/dev/input/ catalogue in the input.log file with log file.For example, take aforementioned audio plays as example, record a series of touch screen operations in the input.log file, this step with these records in the input.log file be inserted in order intelligent terminal / event file under the dev/input/ catalogue in, thereby automatically this series operation of playback namely realizes clicking software icon, selects audio frequency to be played, clicks broadcast button, closes the operation of software after finishing playing.
In a preferred embodiment of the invention, time mark according to incident file in the logout step is recorded to log file successively, and in the event replay step according to the time mark of every record in the log file, be inserted into to the corresponding incident file of this intelligent terminal according to these time intervals successively, so just ensured the played in order of the event of record.In other preferred embodiments of the present invention, can be according to time mark in the event replay step, the record that reads in the Preset Time section is inserted in the corresponding time file of this intelligent terminal.Like this, the user can select the event of record in certain time period to carry out playback.
See also Fig. 2, be the process flow diagram of logout step in the method for according to a preferred embodiment of the invention intelligent terminal event replay.As shown in Figure 2, this logout step specifically comprises:
At first, in step S201, beginning.
Subsequently, in step S202, judge whether to receive the logout instruction, namely when the user need to record current event, can enable event recording function by the menu of smart machine, the open event logging program.Be then to turn step S203, continue to detect otherwise turn step S202.
Subsequently, in step S203, each incident file that the Action Events that reads intelligent terminal generates when occuring.When intelligent terminal starts logout, the event that the user operates at intelligent terminal, for example touch screen, button and sensor event will be automatically system /the dev/input/ catalogue in each incident file of generation.Therefore, each incident file that this step just reads intelligent terminal when starting logout Action Events generates when occuring, i.e. aforementioned event file.
Subsequently, in step S204, be written to the information of each incident file of reading in the log file and preserve.
Subsequently, in step S205, judge whether to receive the End Event recording instruction, namely when the user needs the end record current event, can pass through the special key End Event writing function of smart machine, perhaps End Event logging program when the predefined time finishes.Be then to turn step S206, otherwise turn the Action Events that step S203 continues to read and record intelligent terminal.
At last, end at step S206.
See also Fig. 3, be the process flow diagram of event replay step in the method for according to a preferred embodiment of the invention intelligent terminal event replay.As shown in Figure 3, this event replay step specifically comprises:
At first, in step S301, beginning.
Subsequently, in step S302, judge whether to receive the event replay instruction, namely can enable the event replay function by the menu of smart machine, the open event playback program during event before the user needs playback.Be then to turn step S303, continue to detect otherwise turn step S302.
Subsequently, in step S303, read the log file of preserving in the logout step, i.e. the input.log file.
Subsequently, in step S304, every record is inserted in the corresponding incident file of this intelligent terminal.Being about to log file is that the every record about event is inserted in the corresponding incident file of intelligent terminal/dev/input/ catalogue in the input.log file.
Subsequently, in step S305, carry out the playback event.System can be sent to application program with event message automatically, thereby the automatically sequence of events of playback operation for example realizes clicking software icon, selects audio frequency to be played, clicks broadcast button, closes the operation of software after finishing playing.
Subsequently, in step S306, judge whether to receive the End Event play-back command, namely when the user need to finish the playback current event, can pass through the special key End Event playback function of smart machine, perhaps End Event playback program when the predefined time finishes.Be then to turn step S307, step S303 continues to read and the Action Events of playback intelligent terminal otherwise turn.
At last, end at step S307.
See also Fig. 4, be the module diagram of the system of intelligent terminal event replay according to the preferred embodiment of the invention.As shown in Figure 4, the system 400 of intelligent terminal event replay provided by the invention comprises logout module 401 and event replay module 402 at least.
Wherein, logout module 401, each incident file that the Action Events that is used for reading intelligent terminal generates when occuring, and be written in the log file and preserve.These Action Events comprise touch screen, button or sensor event.Each incident file that logout module 401 just reads intelligent terminal when starting logout Action Events generates when occuring, i.e. aforementioned event file and to be written to newly-built log file be in the input.log file and preserve.Take audio plays as example, the user subsequently, selects audio frequency to be played at the interface of this software by the software icon on the touch screen click screen, clicks subsequently broadcast button, and close software after finishing playing.The input.log file record this a series of touch screen operations, comprises coordinate position and the running time of each touch screen operation.
In a preferred embodiment of the invention, logout module 401 is recorded to log file successively according to the time mark of incident file, and event replay module 402 is according to the time mark of every record in the log file, be inserted into to the corresponding incident file of this intelligent terminal according to these time intervals successively, so just ensured the played in order of the event of record.In other preferred embodiments of the present invention, event replay module 402 can be according to time mark, and the record that reads in the Preset Time section is inserted in the corresponding time file of this intelligent terminal.Like this, the user can select the event of record in certain time period to carry out playback.
The present invention also provides a kind of intelligent terminal, and this intelligent terminal comprises the system of aforesaid intelligent terminal event replay.This intelligent terminal can be mobile phone, panel computer, notebook or vehicle-mounted computer etc.
Should be noted that, therefore the principle that the method for intelligent terminal event replay provided by the invention, system and intelligent terminal adopt is identical with flow process, to system and the intelligent terminal that also is applicable to utilize the intelligent terminal event replay that elaborate of each embodiment of the method for intelligent terminal event replay.
The present invention is described according to specific embodiment, but it will be understood by those skilled in the art that when not breaking away from the scope of the invention, can carry out various variations and be equal to replacement.In addition, for adapting to specific occasion or the material of the technology of the present invention, can carry out many modifications and not break away from its protection domain the present invention.Therefore, the present invention is not limited to specific embodiment disclosed herein, and comprises that all drop into the embodiment of claim protection domain.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104994905A CN103019899A (en) | 2012-11-28 | 2012-11-28 | A method, system, and intelligent terminal for event playback on an intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104994905A CN103019899A (en) | 2012-11-28 | 2012-11-28 | A method, system, and intelligent terminal for event playback on an intelligent terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103019899A true CN103019899A (en) | 2013-04-03 |
Family
ID=47968528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012104994905A Pending CN103019899A (en) | 2012-11-28 | 2012-11-28 | A method, system, and intelligent terminal for event playback on an intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103019899A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713905A (en) * | 2013-12-29 | 2014-04-09 | 广州视源电子科技股份有限公司 | Method, device and system for customizing operation steps |
CN104571916A (en) * | 2014-12-31 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method and device for executing terminal operating information |
CN105302700A (en) * | 2014-06-13 | 2016-02-03 | 阿里巴巴集团控股有限公司 | Method and equipment for recording user operation on touch terminal |
CN105468094A (en) * | 2014-09-10 | 2016-04-06 | 中兴通讯股份有限公司 | Method for operating computer terminal and computer terminal |
CN106034174A (en) * | 2015-03-13 | 2016-10-19 | 展讯通信(上海)有限公司 | Operation playback system, operation playback method and mobile terminal |
CN106055442A (en) * | 2016-05-31 | 2016-10-26 | 周奇 | Operation reproduction method and device |
CN106528016A (en) * | 2016-10-31 | 2017-03-22 | 努比亚技术有限公司 | Information processing method and terminal |
CN111314743A (en) * | 2020-01-15 | 2020-06-19 | 深圳市元征科技股份有限公司 | Interface data playback method and device |
CN112286804A (en) * | 2020-10-26 | 2021-01-29 | 深圳市优必选科技股份有限公司 | System debugging method, device, equipment and medium |
WO2021142607A1 (en) * | 2020-01-14 | 2021-07-22 | 深圳市元征科技股份有限公司 | Vehicle diagnosis process playback method, apparatus, and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101957793A (en) * | 2010-09-03 | 2011-01-26 | 中国科学院软件研究所 | Android and android derivative system-oriented method for playing back software operation record |
CN102147756A (en) * | 2010-02-05 | 2011-08-10 | 中国移动通信集团公司 | Methods and systems for testing terminal |
CN102404633A (en) * | 2011-11-04 | 2012-04-04 | Tcl集团股份有限公司 | Monitoring module, smart television system and television |
CN102568529A (en) * | 2010-12-10 | 2012-07-11 | 金蝶软件(中国)有限公司 | Recording and playing back method, device and system of operation process |
-
2012
- 2012-11-28 CN CN2012104994905A patent/CN103019899A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147756A (en) * | 2010-02-05 | 2011-08-10 | 中国移动通信集团公司 | Methods and systems for testing terminal |
CN101957793A (en) * | 2010-09-03 | 2011-01-26 | 中国科学院软件研究所 | Android and android derivative system-oriented method for playing back software operation record |
CN102568529A (en) * | 2010-12-10 | 2012-07-11 | 金蝶软件(中国)有限公司 | Recording and playing back method, device and system of operation process |
CN102404633A (en) * | 2011-11-04 | 2012-04-04 | Tcl集团股份有限公司 | Monitoring module, smart television system and television |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713905A (en) * | 2013-12-29 | 2014-04-09 | 广州视源电子科技股份有限公司 | Method, device and system for customizing operation steps |
CN105302700A (en) * | 2014-06-13 | 2016-02-03 | 阿里巴巴集团控股有限公司 | Method and equipment for recording user operation on touch terminal |
CN105468094B (en) * | 2014-09-10 | 2020-12-29 | 中兴通讯股份有限公司 | Method for operating computer terminal and computer terminal |
CN105468094A (en) * | 2014-09-10 | 2016-04-06 | 中兴通讯股份有限公司 | Method for operating computer terminal and computer terminal |
CN104571916A (en) * | 2014-12-31 | 2015-04-29 | 广东欧珀移动通信有限公司 | Method and device for executing terminal operating information |
CN106034174A (en) * | 2015-03-13 | 2016-10-19 | 展讯通信(上海)有限公司 | Operation playback system, operation playback method and mobile terminal |
CN106034174B (en) * | 2015-03-13 | 2019-09-24 | 展讯通信(上海)有限公司 | A kind of operation playback system and method and mobile terminal |
CN106055442A (en) * | 2016-05-31 | 2016-10-26 | 周奇 | Operation reproduction method and device |
CN106055442B (en) * | 2016-05-31 | 2019-06-25 | 周奇 | Operate replay method and device |
CN106528016A (en) * | 2016-10-31 | 2017-03-22 | 努比亚技术有限公司 | Information processing method and terminal |
WO2021142607A1 (en) * | 2020-01-14 | 2021-07-22 | 深圳市元征科技股份有限公司 | Vehicle diagnosis process playback method, apparatus, and readable storage medium |
CN111314743A (en) * | 2020-01-15 | 2020-06-19 | 深圳市元征科技股份有限公司 | Interface data playback method and device |
CN112286804A (en) * | 2020-10-26 | 2021-01-29 | 深圳市优必选科技股份有限公司 | System debugging method, device, equipment and medium |
CN112286804B (en) * | 2020-10-26 | 2024-05-03 | 深圳市优必选科技股份有限公司 | System debugging method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019899A (en) | A method, system, and intelligent terminal for event playback on an intelligent terminal | |
CN111526312B (en) | Recording and playing method of screen video, recording terminal and playing terminal | |
CN102568529B (en) | Recording and playing back method, device and system of operation process | |
CN104317709B (en) | Software performance testing method and system | |
CN103678106A (en) | Method and device for content recording | |
CN102395945A (en) | Method, device and system for tracking user behavior in touch screen terminal | |
CN102479084A (en) | Method and device for obtaining log by Android terminal | |
CN104699591A (en) | Reappearing method and device of test scenes | |
US20120259439A1 (en) | System and method for starting up application of electronic device | |
US20130268218A1 (en) | Testing system and method | |
CN103019700A (en) | Method and system for automatically collecting user experience information | |
CN103902404A (en) | Method and device for media file backup and user equipment | |
CN101909189B (en) | File recovery method, system and DVR (Digital Video Recorder) | |
CN110837474A (en) | Script recording method, device, terminal and storage medium | |
CN102495740A (en) | Method for updating MAC (Media Access Control) address, HDCPKEY (High-bandwidth Digital Content Protection Key) and television ID (Identity) by utilizing mobile storage equipment | |
CN102522119A (en) | A method and digital device for intelligently burning HDCP KEY | |
CN104008047A (en) | Intelligent terminal program testing method and system | |
CN104751870A (en) | Information processing method and electronic equipment | |
CN102968366A (en) | Local storage method and device of logs of blu-ray player | |
CN102306502A (en) | Method and system for burning common interface PLUS (CI PLUS) certificate | |
US20170123753A1 (en) | Electronic device and method for playing back sound data | |
CN101334990A (en) | Information display apparatus, display system, and information display method | |
CN101325653B (en) | Apparatus and method for implementing plug-and-play function in set-top box | |
CN113992503B (en) | System event review method, network management system, network management equipment and storage medium | |
CN102519514A (en) | One-click automatic testing realization method of electronic test instrument |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130403 |
|
WD01 | Invention patent application deemed withdrawn after publication |