CN113138549B - Method and device for simulating duration of intelligent wearable device - Google Patents

Method and device for simulating duration of intelligent wearable device Download PDF

Info

Publication number
CN113138549B
CN113138549B CN202110352610.8A CN202110352610A CN113138549B CN 113138549 B CN113138549 B CN 113138549B CN 202110352610 A CN202110352610 A CN 202110352610A CN 113138549 B CN113138549 B CN 113138549B
Authority
CN
China
Prior art keywords
wearable device
intelligent wearable
duration
test
executed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110352610.8A
Other languages
Chinese (zh)
Other versions
CN113138549A (en
Inventor
娄成恺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhenshi Information Technology Shanghai Co ltd
Original Assignee
Zhenshi Information Technology Shanghai 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 Zhenshi Information Technology Shanghai Co ltd filed Critical Zhenshi Information Technology Shanghai Co ltd
Priority to CN202110352610.8A priority Critical patent/CN113138549B/en
Publication of CN113138549A publication Critical patent/CN113138549A/en
Application granted granted Critical
Publication of CN113138549B publication Critical patent/CN113138549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04DAPPARATUS OR TOOLS SPECIALLY DESIGNED FOR MAKING OR MAINTAINING CLOCKS OR WATCHES
    • G04D7/00Measuring, counting, calibrating, testing or regulating apparatus
    • G04D7/002Electrical measuring and testing apparatus
    • G04D7/003Electrical measuring and testing apparatus for electric or electronic clocks

Abstract

The method comprises the steps that the intelligent wearable equipment in a full power state is connected to a test platform; starting a mechanical arm to execute test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time comprise at least one test case; after the battery power of the intelligent wearable device is exhausted, calculating the duration of endurance of the intelligent wearable device, the duration of endurance comprises the duration of execution operation and the duration of standby, the duration of use of a user of the intelligent wearable device is simulated through auxiliary testing of the mechanical arm is realized, manpower consumption is reduced, and the testing accuracy is improved.

Description

Method and device for simulating duration of intelligent wearable device
Technical Field
The application relates to the field of computers, in particular to a method and equipment for simulating duration of intelligent wearable equipment.
Background
With the coming of the scientific and technological information era, people all possess communication equipment, and in the contemporary society, children's wrist-watch receives more and more child and head of a family's favor. Child watch is an electronic equipment of built-in battery of a section, and internal function: ordinary conversation, video conversation, location, payment are precious, study, amusement etc. to children, are a good product that educates in joy, also protect children's safety simultaneously. The children watch has a mobile data function, and suitable people of the children watch are children, so the children watch is small, exquisite and light. Because the watch is small, exquisite, light and thin, and the battery capacity is much smaller than that of a mobile phone, the normal use duration of the watch becomes the most worried problem for parents and children, and the simulation of the use duration data of a user is more important.
The simulated user use duration of the test watch is used for calculating the average time duration of each function used by a user every day according to background data to create case execution, the normal test simulates that the use duration of the user is purely manual, and the test is carried out manually, so that manpower is consumed, and the cost is high; some companies may build automation scripts in the watch for testing, but this method is only suitable for children watches developed by the company, but not for competitive watches, which usually turn off the ADB interface.
Disclosure of Invention
An object of the application is to provide a method and equipment for simulating duration of endurance of intelligent wearable equipment, so that the duration of endurance of the intelligent wearable equipment is simulated through auxiliary testing of a mechanical arm, manpower consumption is reduced, and testing accuracy is improved.
According to one aspect of the application, a method for simulating duration of a smart wearable device is provided, wherein the method comprises the following steps:
connecting the intelligent wearable equipment in a full power state to a test platform;
starting a mechanical arm to execute test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time comprise at least one test case;
after the battery power of the intelligent wearable device is exhausted, calculating the duration of the intelligent wearable device, wherein the duration of the intelligent wearable device comprises the duration of executing operation and the duration of standby.
Further, the method for simulating duration of a smart wearable device includes the steps that the starting mechanical arm executes test cases on the smart wearable device for preset times until battery power of the smart wearable device is exhausted, the test cases executed each time include at least one test case, and the method further includes:
if the battery electric quantity of the intelligent wearable device is not exhausted after the test cases of the preset times are executed, the test cases are continuously executed for one time or multiple times until the battery electric quantity of the intelligent wearable device is exhausted.
Further, the method for simulating duration of the smart wearable device includes:
after each execution is finished, acquiring the current first remaining power of the intelligent wearable device through a test application, judging whether the current first remaining power is abnormal or not according to the preset power consumption range of the intelligent wearable device in the current and previous execution test cases,
if so, stopping executing the test case;
if not, waiting for next test case execution.
Further, the method for simulating duration of the intelligent wearable device further comprises:
judging whether the real-time residual capacity of the intelligent wearable device is smaller than a preset residual capacity threshold value or not,
if yes, after each test case is executed, whether the intelligent wearable device is in a shutdown state or not is judged.
Further, the method for simulating duration of a smart wearable device includes that the execution operation duration is used to indicate a duration of the test case executed by the robot arm between the full-charge state and the battery power exhaustion of the smart wearable device, where the execution operation duration is determined by the number of the test cases executed and/or a time required for executing each test case.
According to another aspect of the present application, there is also provided a non-volatile storage medium having computer readable instructions stored thereon, which when executed by a processor, cause the processor to implement the method for simulating endurance of a smart wearable device as described above.
According to another aspect of the application, still provide a long equipment of simulation intelligence wearing equipment duration, wherein, equipment includes:
one or more processors;
a non-volatile storage medium to store one or more computer-readable instructions that,
when executed by the one or more processors, the one or more computer readable instructions cause the one or more processors to implement a method for simulating a duration of a smart wearable device as described above.
Compared with the prior art, the intelligent wearable equipment in the full-power state is connected to the test platform; starting a mechanical arm to execute test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time comprise at least one test case; after the battery power of the intelligent wearable device is exhausted, the duration of the endurance of the intelligent wearable device is calculated, the duration of the endurance comprises the duration of the execution operation and the duration of the standby, the duration of the user using the intelligent wearable device through the auxiliary test simulation of the mechanical arm is realized, the manpower consumption is reduced, and the test precision is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 shows a schematic flow diagram of a method for simulating endurance of a smart wearable device according to an aspect of the present application;
fig. 2 shows an operational schematic diagram of a method for simulating endurance of a smart wearable device according to an aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As shown in fig. 1, a schematic flow diagram of a method for simulating duration of smart wearable device according to an aspect of the present application. Wherein the method comprises the following steps: step S11, step S12, and step S13, specifically including the steps of:
s11, connecting the intelligent wearable equipment in a full power state to a test platform; because need simulate the user and use during the intelligence wearing equipment the duration of a journey of intelligence wearing equipment is long, so need with intelligence wearing equipment is full of after the electricity is connected to test platform, and then makes things convenient for the arm right intelligence wearing equipment operates, wherein, intelligence wearing equipment includes but not limited to the test intelligence wearing equipment who grinds certainly, contest article intelligence wearing equipment etc. intelligence wearing equipment includes but not limited to intelligent wrist-watch, intelligent bracelet, intelligent earphone, intelligent foot ring, intelligence wearing massager and intelligence wearing beauty instrument etc. and can wear the smart machine on the user.
And S12, starting the mechanical arm to execute test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time comprise at least one test case, and the test cases executed each time can be the same or different, so that the use cases under various situations when the intelligent wearable device is used in actual life are met to the maximum extent.
Here, the bottom end of the mechanical arm is a capacitance pen, and the mechanical arm is driven by a program written in the background; the preset times are for simulating the times of using the intelligent wearable device by the user, and include, but are not limited to, several times, dozens of times, even hundreds of times, and the like, that is, the preset times can be set at will according to the use habits of the user, and in a preferred embodiment of the present application, the preset times are preferably set to three times, for example, the user uses the intelligent wearable device once each day in the morning, in the middle, and at night; according to the preset times, executing a set of test cases each time, wherein the set of test cases comprises at least one test case, so that the number of the test cases executed each time is at least one, including but not limited to sliding, clicking, long pressing and the like, for example, after the mechanical arm is started, sliding, clicking, long pressing and the like are performed on the screen of the intelligent wearable device through a capacitance pen at the bottom end of the mechanical arm.
Before executing each test case, setting a different fixed point starting time point for each of the preset times, starting the mechanical arm at a fixed point to execute the test case, or executing subsequent times according to the preset times and a preset time interval after executing the test case for the first time, wherein the time intervals required to be spaced after executing the test case each time can be the same or different; when the mechanical arm executes the test case at regular time or at preset time intervals according to the preset times, the times of the test case actually executed by the mechanical arm can be less than or equal to the preset times, and the test case can be in any process of executing the test case, that is, when the test case is executed once, the test case can also be executed once until the battery power of the intelligent wearable device is exhausted.
Step S13, after the battery power of the intelligent wearable device is exhausted, calculating the duration of the intelligent wearable device, wherein the duration of the duration comprises the duration of executing operation and the duration of standby.
It should be noted that the execution operation duration refers to a total duration of executing the test case by the mechanical arm from a full-power state of the intelligent wearable device to battery power exhaustion, and the standby duration refers to a total standby duration from the full-power state of the intelligent wearable device to battery power exhaustion.
Through the steps S11 to S13, the intelligent wearable equipment in the full power state is connected to the test platform; starting a mechanical arm to execute test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time comprise at least one test case; after the battery power of the intelligent wearable device is exhausted, the duration of the endurance of the intelligent wearable device is calculated, the duration of the endurance comprises the duration of the execution operation and the duration of the standby, the duration of the user using the intelligent wearable device through the auxiliary test simulation of the mechanical arm is realized, the manpower consumption is reduced, and the test precision is improved.
For example, the preset number of times may be set to three times, that is, set to 8 am, 12 pm, and 18 pm once, so that the robot executes a set of test cases at 8 am, the set of test cases includes at least one test case, such as a click, a slide, a long press, and the like operation, executes a set of test cases at 12 am, the set of test cases includes at least one test case, such as a click, a slide, a long press, and the like operation, executes a set of test cases at 18 pm, the set of test cases includes at least one test case, such as a click, a slide, a long press, and the like operation, so as to simulate the operation of the smart wearable device by the user, at this time, if the robot finishes executing a second test case, after the second test case is executed at 12 pm, the battery power of the intelligent wearable device is exhausted, and then the endurance time of the intelligent wearable device is calculated, namely, the endurance time of the intelligent wearable device is the time between the full power state of the intelligent wearable device and the battery exhaustion after the second test case is executed, and if the third test case is executed by the mechanical arm, namely, the third test case is executed at 18 pm, the battery power of the intelligent wearable device is exhausted, then the endurance time of the intelligent wearable device is calculated, namely, the endurance time of the intelligent wearable device is the time between the full power state of the intelligent wearable device and the battery exhaustion after the third test case is executed.
Following the above embodiment of the present application, the starting mechanical arm executes a preset number of test cases on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, where the test cases executed each time include at least one test case, and the method further includes:
if the battery electric quantity of the intelligent wearable device is not exhausted after the test cases of the preset times are executed, the test cases are continuously executed for one time or multiple times until the battery electric quantity of the intelligent wearable device is exhausted.
For example, if the battery power of the intelligent wearable device is not consumed after the mechanical arm executes the test cases for the preset number of times, the next corresponding test case is executed again at regular time according to a preset time point, or the next test case is executed again at a preset time interval; after the test cases with preset times are executed, the time point of executing the test cases again or the time interval of executing the test cases again may be the same as or different from the time point or the time interval of executing the test cases with preset times. For example, if the test cases, namely 8 am, 12 pm and 18 pm, are executed again at the preset times, after the test cases are executed for the preset times, if the battery power of the intelligent wearable device is not exhausted, the test cases are executed again at the time of 8 am, 12 pm and 18 pm until the battery power of the intelligent wearable device is exhausted.
Following the above embodiments of the present application, wherein the method further comprises:
after each execution is finished, acquiring the current first remaining power of the intelligent wearable device through a test application, judging whether the current first remaining power is abnormal or not according to the preset power consumption range of the intelligent wearable device in the current and previous execution test cases,
if so, stopping executing the test case;
if not, waiting for executing the test case next time.
For example, the intelligent wearable device is bound with a mobile terminal, the test application is a test application on the mobile terminal, after the mechanical arm executes the test case each time, a first remaining power at the time is manually checked through the test application of the mobile terminal, power consumption of executing the test case at the current time is calculated through the first remaining power, and a current power consumption condition is compared with a preset power consumption range, so as to judge whether power consumption of the intelligent wearable device is abnormal or not, if the current power consumption is not within the preset power consumption range, it is indicated that the current power consumption is abnormal, execution of the test case is stopped, and if the current power consumption is within the preset power consumption range, it is indicated that the current power consumption is normal, execution of the next test case is waited according to normal steps, wherein an interval of the preset power consumption range may include, but is not limited to, any power consumption value interval, including but not limited to 0-100%. For example, in a preferred embodiment of the present application, the preset power consumption range is preferably: 1% -50%, if the power consumption of the current test case executed at the current time calculated by the first residual power at the moment is 45%, the power consumption of the current test case executed at the current time is normal, the next test case is normally waited for executing, and if the calculated power consumption of the current test case executed at the current time is 60%, the power consumption of the current test case executed at the current time is abnormal, the test case is stopped being executed.
Following the above-described embodiments of the present application, the method further comprises:
whether the real-time remaining power of the smart wearable device is smaller than a preset remaining power threshold is judged, where the preset remaining power threshold may include, but is not limited to, any remaining power value, such as 5%, 10%, 15%, and the like of the power of the smart wearable device, and in a preferred embodiment of the present application, the preset remaining point power threshold may be preferably 5%.
If yes, after each test case is executed, whether the intelligent wearable device is in a shutdown state or not is judged.
It should be noted that the preset remaining power threshold is used for reminding a tester that when the remaining power of the intelligent wearable device is lower than the preset remaining power threshold, after each test case is executed, the real-time remaining power of the intelligent wearable device needs to be checked to determine whether the intelligent wearable device is powered off, so that a tester can timely count the service life of the intelligent wearable device, wherein the tester prompts whether the remaining battery power of the intelligent wearable device is smaller than the preset remaining power threshold through a test application of a mobile terminal bound to the intelligent wearable device. For example, the preset remaining power threshold is set to 5%, when the remaining battery power of the intelligent wearable device is less than 5%, a test application of the mobile terminal bound to the intelligent wearable device sends a prompt message, and after receiving the prompt message, a tester checks the remaining power of the intelligent wearable device after the mechanical arm executes each test case, such as executing a clicked test case, executing a sliding test case, or executing a long-press test case, so as to determine whether the intelligent wearable device is powered off; if the intelligent wearable device is powered off, calculating the endurance time of the intelligent wearable device; and if the intelligent wearable device is not powered off, continuously checking the real-time residual electric quantity of the intelligent wearable device after each test case is executed until the intelligent wearable device is powered off.
The above embodiment of the present application follows, where the execution operation duration is used to indicate a duration of the test cases executed by the robot arm between the full-power state and the battery power exhaustion of the smart wearable device, where the execution operation duration is determined by the number of the test cases executed and/or a time required for executing each test case.
It should be noted that the execution operation duration is determined by the total number of the test cases and/or the time required for executing each test case. For example, considering that the total number of the test cases and the total number of the test cases when each test case is executed are larger and the time required for each test case is longer, the longer the execution operation time period is, the smaller the total number of the test cases and the shorter the time required for each test case is, and the shorter the execution operation time period is. After the total number of the test cases is determined, distributing the total number of the test cases according to the preset times, namely distributing a test case set for each time in the preset times, wherein the number of the test cases in each test case set can be the same or different, and the sum of the number of the test cases in all the test case sets is the total number of the test cases; in order to more accurately simulate the use of the user, the number with the highest occurrence probability is selected in the selection of the number of the test cases, so that the test result is closer to the use habit of the user in the actual application scene.
In the practical application scene of the duration of time of simulation intelligence wearing equipment that this application provided, will intelligence wearing equipment is preferably children's intelligence wrist-watch. In the preferred embodiment, in consideration of the usage habit of children, the preset times are set to three times, that is, the mechanical arm is started three times a day, and respectively corresponds to 8 am, 12 pm and 18 pm, the preset remaining power threshold is 5%, as shown in fig. 2, a child smart watch is connected to the bottom end of the mechanical device, the simple mechanical arm is started three times a day according to the set time point, according to the set test case set, the mechanical arm is controlled to execute the test case set, the mechanical arm is controlled to slide, click or long-press on the child smart watch, after a test case set is executed each time, a tester checks the remaining power of the child smart watch at the time, so as to judge whether the test case executed at the current time is abnormal, if the test case is abnormal, the mechanical arm stops executing the test case, if the test case is normal, the tester waits for next time to execute the test case according to a normal operation flow, if the test case is not reached to the preset times when the test case is executed, the battery power of the child smart watch is exhausted, that the child smart watch is in a full duration from the current time when the test case is executed, the child smart watch is exhausted, namely, the child smart watch is in a full duration from the full duration of the test case when the test case is executed; if the battery power of the child intelligent watch is not exhausted after the test cases of the preset times are executed, the test cases can be executed once or many times again according to the time points of 8 am, 12 pm and 18 pm until the battery power of the child intelligent watch is exhausted, the duration is the duration from the time of a full power state to the time of electricity exhaustion of the child intelligent watch, the duration of the child intelligent watch is tested through the method, the same effect of a manual operation test is achieved, even the operation is more accurate than the manual operation, the manual operation only needs to record the remaining power of the child intelligent watch after the mechanical arm executes the test case set every time, the child intelligent watch is carried out for testing when the positioning cases of the child intelligent watch need to be tested, 80% of the manual operation can be released through the method for testing, 90% of simulated user operation cases can be executed, and the accuracy of sliding, clicking and long pressing can reach 99%.
According to another aspect of the present application, there is also provided a non-volatile storage medium having computer readable instructions stored thereon, which when executed by a processor, cause the processor to implement the method for simulating endurance of a smart wearable device as described above.
According to another aspect of the application, still provide a long equipment of simulation intelligence wearing equipment duration, wherein, equipment includes:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, the one or more computer readable instructions cause the one or more processors to implement a method for simulating endurance time of a smart wearable device as described above.
For details of each embodiment of the device for simulating duration of an intelligent wearable device, reference may be made to the corresponding part of the above embodiment of the method for simulating duration of an intelligent wearable device, and details are not described here.
In summary, the intelligent wearable device in the full-power state is connected to the test platform; starting a mechanical arm to execute test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time comprise at least one test case; after the battery power of the intelligent wearable device is exhausted, the duration of the endurance of the intelligent wearable device is calculated, the duration of the endurance comprises the duration of the execution operation and the duration of the standby, the duration of the user using the intelligent wearable device through the auxiliary test simulation of the mechanical arm is realized, the manpower consumption is reduced, and the test precision is improved.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal bearing medium and/or stored in a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (6)

1. A method for simulating duration of intelligent wearable equipment, wherein,
the method comprises the following steps:
connecting the intelligent wearable equipment in a full power state to a test platform;
starting a mechanical arm to execute test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time comprise at least one test case; before executing the test case each time, setting different fixed point starting time for each test case in the preset times, and starting the mechanical arm at a fixed point to execute the test case; or, according to the preset times, after executing the first test case, executing the test cases of the subsequent times according to a preset time interval, wherein the time intervals are the same or different;
after the battery power of the intelligent wearable device is exhausted, calculating the duration of the intelligent wearable device, wherein the duration of the duration comprises an execution operation duration and a standby duration, the execution operation duration is used for indicating the duration of the test cases executed by the mechanical arm between the full-electricity state and the battery power exhaustion of the intelligent wearable device, and the execution operation duration is determined by the number of the executed test cases and/or the required time for executing each test case.
2. The method of claim 1, wherein,
the starting mechanical arm executes test cases for preset times on the intelligent wearable device until the battery power of the intelligent wearable device is exhausted, wherein the test cases executed each time include at least one test case, and the method further comprises the following steps:
if the battery electric quantity of the intelligent wearable device is not exhausted after the test cases of the preset times are executed, the test cases are continuously executed for one time or multiple times until the battery electric quantity of the intelligent wearable device is exhausted.
3. The method of claim 2, wherein,
the method further comprises the following steps:
after each execution is finished, acquiring the current first remaining power of the intelligent wearable device through a test application, judging whether the current first remaining power is abnormal or not according to the preset power consumption range of the intelligent wearable device in the current and previous execution test cases,
if so, stopping executing the test case;
if not, waiting for executing the test case next time.
4. The method of claim 2, further comprising:
judging whether the real-time residual capacity of the intelligent wearable device is smaller than a preset residual capacity threshold value or not,
if yes, after each test case is executed, whether the intelligent wearable device is in a power-off state or not is judged.
5. A non-transitory storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to implement the method of any one of claims 1 to 4.
6. An apparatus for simulating duration of intelligent wearable apparatus, wherein,
the apparatus comprises:
one or more processors;
a non-volatile storage medium to store one or more computer-readable instructions that,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
CN202110352610.8A 2021-03-31 2021-03-31 Method and device for simulating duration of intelligent wearable device Active CN113138549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110352610.8A CN113138549B (en) 2021-03-31 2021-03-31 Method and device for simulating duration of intelligent wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110352610.8A CN113138549B (en) 2021-03-31 2021-03-31 Method and device for simulating duration of intelligent wearable device

Publications (2)

Publication Number Publication Date
CN113138549A CN113138549A (en) 2021-07-20
CN113138549B true CN113138549B (en) 2022-11-08

Family

ID=76811391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110352610.8A Active CN113138549B (en) 2021-03-31 2021-03-31 Method and device for simulating duration of intelligent wearable device

Country Status (1)

Country Link
CN (1) CN113138549B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165156A (en) * 2018-07-10 2019-01-08 万达百汇科技(深圳)有限公司 A kind of bar code test method, device and terminal device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1962156A1 (en) * 2007-02-22 2008-08-27 EM Microelectronic-Marin SA Process for accessing a non-volatile memory for a watch
US9104290B2 (en) * 2011-02-11 2015-08-11 Samsung Electronics Co., Ltd. Method for controlling screen of mobile terminal
CN103607494B (en) * 2013-11-30 2016-04-06 广东欧珀移动通信有限公司 The method in a kind of automated terminal test at times cruising time and terminal
CN104092835B (en) * 2014-07-31 2016-08-24 广东欧珀移动通信有限公司 A kind of mobile terminal power consumption method for detecting abnormality and device
CN104915283B (en) * 2015-06-25 2016-07-06 北京奇虎科技有限公司 The method and apparatus weighing mobile terminal power consumption condition
CN105068638B (en) * 2015-07-28 2018-01-23 广东欧珀移动通信有限公司 The control method and intelligent watch of a kind of intelligent watch
CN105467329B (en) * 2016-01-25 2018-09-28 上海斐讯数据通信技术有限公司 A kind of terminal continuation of the journey test system and method
CN105759940A (en) * 2016-02-22 2016-07-13 康志强 Electric quantity management method and system of smartwatch
CN205651341U (en) * 2016-04-11 2016-10-19 上海上石自动化科技有限公司 Mobile terminal intelligent test robot
CN108089754A (en) * 2017-12-29 2018-05-29 百度在线网络技术(北京)有限公司 A kind of touch-control simulator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165156A (en) * 2018-07-10 2019-01-08 万达百汇科技(深圳)有限公司 A kind of bar code test method, device and terminal device

Also Published As

Publication number Publication date
CN113138549A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN108255729B (en) Mobile phone game automatic testing method and system based on Unity platform
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
CN110286281B (en) Method and equipment for aging test of intelligent equipment
Zhang et al. A comparison of energy bugs for smartphone platforms
CN110795311A (en) Event playback method and device
CN112463634A (en) Software testing method and device under micro-service architecture
CN110334013A (en) Test method, device and the electronic equipment of decision engine
CN107515811B (en) Method and device for acquiring power consumption of application program
CN108509348A (en) A kind of test method and mobile terminal of system aging
CN113138549B (en) Method and device for simulating duration of intelligent wearable device
CN104881336A (en) Data backup method and device
CN103278707A (en) Method for acquiring standby time of terminal and terminal
CN104462116A (en) Data selecting method and device
US9092508B1 (en) Overseeing data storage equipment power usage via local collection of power consumption data and remote evaluation and reporting of performance
CN109597706A (en) It is a kind of to check the detection method of variance data, apparatus and system
CN115509913A (en) Software automation test method, device, machine readable medium and equipment
CN110059712A (en) The detection method and device of abnormal data
CN112799951B (en) Method and equipment for generating automatic test case for charging system
CN114546823A (en) Method for reproducing debugging scene of logic system design and related equipment
CN111338959B (en) Data processing method and related equipment
CN113064775B (en) Method and device for testing endurance time of intelligent wearable device
CN113672660A (en) Data query method, device and equipment
CN112710300A (en) Method and device for switching dial plate of wearable device
CN110674135A (en) MongoDB-based answer data statistical method and device and storage medium
CN111242635A (en) After-sale data maintenance method and system

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
GR01 Patent grant
GR01 Patent grant