CN102780800A - Method for realizing time lapse acceleration for cellphone test - Google Patents

Method for realizing time lapse acceleration for cellphone test Download PDF

Info

Publication number
CN102780800A
CN102780800A CN2012102578214A CN201210257821A CN102780800A CN 102780800 A CN102780800 A CN 102780800A CN 2012102578214 A CN2012102578214 A CN 2012102578214A CN 201210257821 A CN201210257821 A CN 201210257821A CN 102780800 A CN102780800 A CN 102780800A
Authority
CN
China
Prior art keywords
time
passage
cellphone
mobile phone
cell phone
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
CN2012102578214A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2012102578214A priority Critical patent/CN102780800A/en
Publication of CN102780800A publication Critical patent/CN102780800A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for realizing time lapse acceleration for cellphone test. The method includes the following steps of firstly, setting multiple N of time relative to normal time lapse; secondly, setting time point T the time is to reach after acceleration; thirdly, setting an interval time delta T before the time point T is up, and restoring normal time lapse speed when the time of a cellphone system is up to a set time T-delta T; fourthly, accelerating the time of the cellphone system to lapse when the actual time lapses one second so that the time of the cellphone time lapses in corresponding multiple seconds; fifthly, judging whether the current time of a cellphone is up to the set time T-delta T or not by the system after the time of the cellphone system skips corresponding multiple seconds at each second lapsing of the practical time, if yes, executing the next step, if not, executing the previous one step; sixthly, stopping time acceleration, restoring the normal time lapse speed of the cellphone system till the time point T; and seventhly, finishing the process. The method for realizing time lapse acceleration for cellphone test can improve test efficiency in time responding during cellphone test, and waiting time is greatly shortened.

Description

A kind of time that is used for mobile phone test is quickened the implementation method of passage
Technical field
The present invention relates to a kind of time acceleration passage method, particularly relate to a kind of implementation method that is used for the time acceleration passage of mobile phone test.
Background technology
In the existing mobile phone test process; Often need be to operating with some modules of time correlation and waiting for specific time point to arrive and trigger response specific operation; As the timing of waiting for memorandum is reminded or the like; And under the present technical background, the arrival of this particular point in time can only be waited for or continue after the adjustment time again and wait for.And can not let the mobile phone time arrive required time point fast.Will let the time of test process labor carry out the wait of this time point like this, thereby limit the improved efficiency and the speed responsing of test.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art; Provide a kind of time that is used for mobile phone test to quicken the implementation method of passage; Can trigger by the software event of real simulation in time lapse; Can greatly help the testing efficiency of incident time response in the mobile phone test process, practice thrift a large amount of stand-by period, the speed of cell phone software test is promoted greatly.
In order to achieve the above object, the technical scheme that the present invention adopts is, a kind of time that is used for mobile phone test is quickened the implementation method of passage, and its step is following:
The multiple N that step 1, setting-up time were passed with respect to normal time;
Step 2, setting-up time acceleration need the timing node T of arrival;
Step 3, setting arrive △ T blanking time before the timing node, and the cell phone system time is recovered the speed that passs normal time when arriving fixed time T-△ T;
Step 4, cell phone system time begin to quicken the passage process, and it's a second pasts the real time, then the multiple second of cell phone system correspondence time lapse;
Step 5, per real time spend one second, and the corresponding multiple of cell phone system time redirect is after second, and system judges whether the current phone time arrive fixed time T-△ T, are execution in step 6 then, otherwise execution in step 4;
Step 6, dwell time are quickened, and recover normal passage speed of cell phone system time until timing node T;
Step 7, EP (end of program).
Further, step 1 described time lapse of multiple N is 0.001≤N≤9999, and N≤△ T.
Further, the described timing node T of step 2 is not provided with timing node T for time point or system greater than the current time.
Further, step 3 described blanking time of △ T is greater than multiple N time lapse.
Further, the described mobile phone acceleration of step 4 passage process comprises:
Step 4.1, obtain current cell phone system time S;
Step 4.2, calculating current system time add that the time behind multiple number second is S+N;
Whether step 4.3, unlatching thread waits inspection real time have walked one second;
After step 4.4, real time walked one second, it was S+N that the cell phone system time promptly is set.
Further, the described mobile phone acceleration of step 4 passage process circulates when timing node T is not set and carries out the passage process of quickening.
Further, step 4.1 cell phone system time S is the updated at any time time, and when carrying out next circulation accelerated process, cell phone system time S is S+N.
Compared with prior art; The invention has the beneficial effects as follows: the at the appointed time preacceleration passage of mobile phone time; Reach quick arrival node any time; Can trigger by the software event of real simulation in time lapse again simultaneously, can greatly help the testing efficiency of incident time response in the mobile phone test process, practice thrift a large amount of stand-by period; The speed of cell phone software test is promoted greatly; Other particular demands that can be used for the cellphone subscriber simultaneously are as hiding the real handset time etc.
Description of drawings
Fig. 1 is a method flow diagram of the present invention;
Fig. 2 is step 4 a concrete grammar flow chart of the present invention.
Embodiment
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, so that technical characterictic of the present invention and advantage are carried out more deep annotation.
Method flow diagram of the present invention is as shown in Figure 1, and a kind of time that is used for mobile phone test is quickened the implementation method of passage, and its step is following:
The multiple N that step 1, setting-up time were passed with respect to normal time, i.e. one second real time, cell phone system is what seconds of time lapse, here if be set to N, then for passing N second;
Step 2, setting-up time acceleration need the timing node T of arrival, if timing node T is not set, then continue to quicken the passage process;
Step 3, setting arrive △ T blanking time before the timing node, and the cell phone system time is recovered the speed that passs normal time when arriving fixed time T-△ T;
Step 4, cell phone system time begin to quicken the passage process, and it's a second pasts the real time, then the multiple second of cell phone system correspondence time lapse; As multiple is set is 60, and promptly it's a second pasts the real time, and it's 60 seconds past for the mobile phone time; If preset the node time of advent, then get into step 5;
Step 5, per real time spend one second; And the corresponding multiple of cell phone system time redirect is after second, and system judges whether the current phone time arrive fixed time T-△ T, and for example preset to arrive timing node be 10 points to step 2; Step 3 preset interval time is 60 seconds; Then the mobile phone time if arrive 9: 59 and after, then get into step 6, proceed the time and quicken otherwise still get into step 4;
Step 6, dwell time are quickened, and recover normal passage speed of cell phone system time until timing node T;
Step 7, EP (end of program).
Further, step 1 described time lapse of multiple N is 0.001≤N≤9999, and N≤△ T.
Further, the described timing node T of step 2 is not provided with timing node T for time point or system greater than the current time.
Further, step 3 described blanking time of △ T is greater than multiple N time lapse.
Step 4 concrete grammar flow chart of the present invention is as shown in Figure 2, and the described mobile phone of step 4 quickens the passage process and comprises:
Step 4.1, obtain current cell phone system time S;
Step 4.2, calculating current system time add that the time behind multiple number second is S+N;
Whether step 4.3, unlatching thread waits inspection real time have walked one second;
After step 4.4, real time walked one second, it was S+N that the cell phone system time promptly is set.
Further, the described mobile phone acceleration of step 4 passage process circulates when timing node T is not set and carries out the passage process of quickening.
Further, step 4.1 cell phone system time S is the updated at any time time, and when carrying out next circulation accelerated process, cell phone system time S is S+N.
The present invention can let the at the appointed time preacceleration passage of mobile phone time with software engineering, reaches the quick arrival purpose of node any time, can trigger by the software event of real simulation in time lapse again simultaneously.Can greatly help the testing efficiency of incident time response in the mobile phone test process, practice thrift a large amount of stand-by period.Let the speed of cell phone software test promote greatly.Other particular demands that also can be used for the cellphone subscriber simultaneously.As hiding real handset time or the like.
Above content is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For one of ordinary skill in the art of the present invention, under the prerequisite that does not break away from the present invention's design, make simple change or optimization, all should be regarded as protection scope of the present invention.

Claims (7)

1. time that is used for mobile phone test is quickened the implementation method of passage, and its step is following:
The multiple N that step 1, setting-up time were passed with respect to normal time;
Step 2, setting-up time acceleration need the timing node T of arrival;
Step 3, setting arrive △ T blanking time before the timing node, and the cell phone system time is recovered the speed that passs normal time when arriving fixed time T-△ T;
Step 4, cell phone system time begin to quicken the passage process, and it's a second pasts the real time, then the multiple second of cell phone system correspondence time lapse;
Step 5, per real time spend one second, and the corresponding multiple of cell phone system time redirect is after second, and system judges whether the current phone time arrive fixed time T-△ T, are execution in step 6 then, otherwise execution in step 4;
Step 6, dwell time are quickened, and recover normal passage speed of cell phone system time until timing node T;
Step 7, EP (end of program).
2. the time that is used for mobile phone test according to claim 1 is quickened the implementation method of passage, and it is characterized in that: step 1 described time lapse of multiple N is 0.001≤N≤9999, and N≤△ T.
3. the time that is used for mobile phone test according to claim 2 is quickened the implementation method of passage, it is characterized in that: the described timing node T of step 2 is not provided with timing node T for time point or the system greater than the current time.
4. the time that is used for mobile phone test according to claim 3 is quickened the implementation method of passage, and it is characterized in that: step 3 described blanking time of △ T is greater than multiple N time lapse.
5. the time that is used for mobile phone test according to claim 4 is quickened the implementation method of passage, it is characterized in that, the described mobile phone of step 4 quickens the passage process and comprises:
Step 4.1, obtain current cell phone system time S;
Step 4.2, calculating current system time add that the time behind multiple number second is S+N;
Whether step 4.3, unlatching thread waits inspection real time have walked one second;
After step 4.4, real time walked one second, it was S+N that the cell phone system time promptly is set.
6. the time that is used for mobile phone test according to claim 5 is quickened the implementation method of passage, it is characterized in that: the described mobile phone acceleration of step 4 passage process circulates when timing node T is not set and carries out the passage process of quickening.
7. the time that is used for mobile phone test according to claim 6 is quickened the implementation method of passage, and it is characterized in that: step 4.1 cell phone system time S is the updated at any time time, and when carrying out next circulation accelerated process, cell phone system time S is S+N.
CN2012102578214A 2012-07-25 2012-07-25 Method for realizing time lapse acceleration for cellphone test Pending CN102780800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102578214A CN102780800A (en) 2012-07-25 2012-07-25 Method for realizing time lapse acceleration for cellphone test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102578214A CN102780800A (en) 2012-07-25 2012-07-25 Method for realizing time lapse acceleration for cellphone test

Publications (1)

Publication Number Publication Date
CN102780800A true CN102780800A (en) 2012-11-14

Family

ID=47125552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102578214A Pending CN102780800A (en) 2012-07-25 2012-07-25 Method for realizing time lapse acceleration for cellphone test

Country Status (1)

Country Link
CN (1) CN102780800A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008046A (en) * 2013-02-26 2014-08-27 北京千橡网景科技发展有限公司 Method and device for testing programs
CN105279335A (en) * 2015-10-30 2016-01-27 南京河海南自水电自动化有限公司 Simulation method of variable speed simulator based on time scaling of operating system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1368678A (en) * 2001-02-05 2002-09-11 联华电子股份有限公司 Method for judging failure percentage and choosing optimal pre-processing period
CN101120261A (en) * 2004-12-13 2008-02-06 英飞凌科技股份公司 Circuitry and method for an AT-speed scan test
CN101231320A (en) * 2008-01-31 2008-07-30 湖北省电力试验研究院 Undervoltage collection copy system detecting device based on virtual electric energy meter module
CN101589565A (en) * 2006-11-27 2009-11-25 三星电子株式会社 Method and apparatus for data transmission of radio link control layer in mobile communication system
CN102369508A (en) * 2008-09-04 2012-03-07 新思公司 Temporally-assisted resource sharing in electronic systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1368678A (en) * 2001-02-05 2002-09-11 联华电子股份有限公司 Method for judging failure percentage and choosing optimal pre-processing period
CN101120261A (en) * 2004-12-13 2008-02-06 英飞凌科技股份公司 Circuitry and method for an AT-speed scan test
CN101589565A (en) * 2006-11-27 2009-11-25 三星电子株式会社 Method and apparatus for data transmission of radio link control layer in mobile communication system
CN101231320A (en) * 2008-01-31 2008-07-30 湖北省电力试验研究院 Undervoltage collection copy system detecting device based on virtual electric energy meter module
CN102369508A (en) * 2008-09-04 2012-03-07 新思公司 Temporally-assisted resource sharing in electronic systems

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008046A (en) * 2013-02-26 2014-08-27 北京千橡网景科技发展有限公司 Method and device for testing programs
CN105279335A (en) * 2015-10-30 2016-01-27 南京河海南自水电自动化有限公司 Simulation method of variable speed simulator based on time scaling of operating system
CN105279335B (en) * 2015-10-30 2018-08-21 南京河海南自水电自动化有限公司 A kind of emulation mode of the speed change emulator based on operating system time-scaling

Similar Documents

Publication Publication Date Title
WO2010043706A3 (en) Method for the deterministic execution and synchronisation of an information processing system comprising a plurality of processing cores executing system tasks
CN103578463A (en) Automatic testing method and automatic testing device
CN103294512B (en) A kind of timer-delay starts method and system
CN203206292U (en) Mass vehicle terminal information push apparatus
CN105120434A (en) Intelligent terminal arrival reminding method and intelligent terminal arrival reminding system
CN102223655A (en) Underlying multi-thread data transmission method of mobile communication
CN101820471A (en) Setting method of timing automatic executing function of mobile phone
CN105791025B (en) A kind of automotive networking communication system forward design method
CN100501673C (en) Method for installing software installation packet
CN103777738B (en) Timed power on/off method based on Android system and equipment thereof
CN102780800A (en) Method for realizing time lapse acceleration for cellphone test
DE602005018954D1 (en) A METHOD FOR SETTING A CALL CONNECTION
CN103457714A (en) Method and system for synchronizing server time
CN106292299A (en) Home gateway and method of work thereof
RU2012151484A (en) APPLYING CHANGES TO SYSTEM INFORMATION BY RELAYS
CN104899088B (en) A kind of message treatment method and device
IN2014DN10248A (en)
CN102316230A (en) Method for realizing mobile phone intelligent IP (internet protocol) dialing
CN102238048A (en) Protocol consistency testing method and system
CN103259639A (en) Clock synchronization method of stacking equipment and stacking equipment
CN107193726A (en) A kind of terminal concurrence method of testing and device
CN111211967B (en) Group member notification method and device
CN102892191B (en) System synchronization control method and device
CN102655347A (en) Online automatic checking method for soft pressing plate
CN102546055B (en) Method and system for testing performance of antenna of CDMA (Code Division Multiple Access) mobile phone

Legal Events

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

Application publication date: 20121114