CN113064775B - Method and device for testing endurance time of intelligent wearable device - Google Patents

Method and device for testing endurance time of intelligent wearable device Download PDF

Info

Publication number
CN113064775B
CN113064775B CN202110321704.9A CN202110321704A CN113064775B CN 113064775 B CN113064775 B CN 113064775B CN 202110321704 A CN202110321704 A CN 202110321704A CN 113064775 B CN113064775 B CN 113064775B
Authority
CN
China
Prior art keywords
test
intelligent wearable
wearable device
mobile terminal
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110321704.9A
Other languages
Chinese (zh)
Other versions
CN113064775A (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 CN202110321704.9A priority Critical patent/CN113064775B/en
Publication of CN113064775A publication Critical patent/CN113064775A/en
Application granted granted Critical
Publication of CN113064775B publication Critical patent/CN113064775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The method comprises the steps that test timing tasks are input into the intelligent wearable device, each test timing task comprises at least one first test case, the intelligent wearable device is bound with a mobile terminal, and the intelligent wearable device is provided with a test application program; recording control timing tasks into third-party equipment, wherein each control timing task comprises at least one control case, the third-party equipment is connected with the mobile terminal, and the mobile terminal is controlled to initiate a second test case by executing the control timing tasks; the test application program executes the test timing task and/or receives and executes a second test case initiated by the mobile terminal until the battery power of the intelligent wearable device is exhausted, and then the endurance duration of the intelligent wearable device is calculated, so that the automatic test of the endurance duration of the intelligent wearable device is realized, the daily use scene of a user is simulated, the investment of time and manpower is saved, and the cost is reduced.

Description

Method and device for testing endurance time of intelligent wearable device
Technical Field
The application relates to the field of computers, in particular to a method and equipment for testing duration of intelligent wearable equipment.
Background
The problem of children is a very hot topic in the world, corresponding measures are made in the safety problem country of children every year, but the problems that children are lost and the like cannot be avoided. Along with the rise of wearable equipment, the focus that wearable equipment was fused as mobile internet and thing networking, children's intelligence wrist-watch also rises in the market climax. The battery of children's intelligence wrist-watch, all adopt lithium cell technology basically, and do not have too big technological breakthrough in the lithium cell field at present, and the battery duration extension means the volume increase, and as intelligent wrist-watch, the volume has been injectd very limitedly, so the battery duration just becomes a bottleneck for it, and the low-power consumption duration problem of battery is the shadow that intelligent product worried "at all" always, consequently needs to test the battery duration of intelligent wearing equipment.
In the current test process, the battery duration of simulation intelligence wearing equipment is all manual operation, and in different time quantums, under the different environment, artificial use according to user daily application frequency of use, the application that the operation corresponds uses according to the length of use of daily, and the electric quantity value before and after the record is used, is exhausted until the electric quantity. When intelligence wearing equipment quantity is more, different periods manual go the operation to need go to use according to the length of using daily, the consumption of electric quantity is seriously influenced to the length of using time, and the test is consuming time at this moment will greatly increased, and the repetitive operation of one by one, the operation volume also increases thereupon, and all need repetitive operation every day, until the electric quantity exhausts. Meanwhile, when the interaction operation between the intelligent wearable device and the app end needs to be simultaneously performed in a one-to-one mode, if the number of the devices is increased, the number of the auxiliary android devices needs to be the same correspondingly, the auxiliary android devices operate corresponding to the intelligent wearable device, and if the communication interaction exists, 1 SIM card needs to be inserted into each device. In actual work, the test resources are limited, and one test occupies a large amount of resources, so that the execution of other test items is delayed. At present, many large companies use manipulator equipment to simulate user operation and operate and apply the operation at different time intervals, but for small companies, the cost of the manipulator is too high, and only manual operation can be selected. In addition, the machine cannot be moved freely, if the test environment is outdoor, the test environment cannot be realized, and if the test environment is manual operation, the test environment needs to be carried with the equipment to go outdoors. Meanwhile, after the product is on line, a user can frequently return the machine and change the machine, the problem after sale needs to be reproduced, the probabilistic problem is difficult to reproduce, and the problem after manual operation is difficult to reproduce for many times. Moreover, the automatic test is that a single device runs, the wearable device is bound with the app, and an interactive behavior exists between the wearable device and the app, and the conventional automation cannot realize the interactive operation of 2 devices.
Disclosure of Invention
One object of the application is to provide a method and equipment for testing duration of endurance of an intelligent wearable device, so as to realize automatic testing of duration of endurance of a battery of the intelligent wearable device, thereby not only simulating a scene of daily use of a user, but also saving time and manpower input, and further reducing the cost of a company.
According to one aspect of the application, a method for testing duration of a smart wearable device is provided, wherein the method comprises the following steps:
inputting at least one test timing task into intelligent wearable equipment, wherein each test timing task comprises at least one first test case, the intelligent wearable equipment is bound with a mobile terminal, and the intelligent wearable equipment is provided with a test application program;
recording at least one control timing task into third-party equipment, wherein each control timing task comprises at least one control case, the third-party equipment is connected with the mobile terminal, and the third-party equipment controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable equipment by executing the control timing task;
executing the test timing task at regular time through the test application program, and/or receiving and executing the second test case initiated by the mobile terminal until the battery power of the intelligent wearable device is exhausted;
calculating the duration of the intelligent wearable device between the full-power state and the battery power exhaustion, wherein the duration of the intelligent wearable device comprises test execution duration and standby duration.
Further, the method for testing the endurance time of the intelligent wearable device comprises the steps that the test timing task comprises a one-way test timing task and an interactive test timing task;
and when the interactive test timing task is executed regularly through the test application program, real-time communication data interaction is carried out between the intelligent wearable device and the mobile terminal.
Further, the method for testing the endurance time of the intelligent wearable device comprises the steps that the control timing task comprises a one-way control timing task and an interactive control timing task,
the third-party device controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable device by executing the control timing task, and the second test case comprises:
the third-party equipment controls the mobile terminal to unidirectionally initiate a second test case for sending data to the intelligent wearable equipment by executing the unidirectional control timing task, so that the intelligent wearable equipment executes the second test case; or the like, or a combination thereof,
and the third-party equipment controls the mobile terminal to initiate a second test case for data interaction with the intelligent wearable equipment by executing the interaction control timing task, so that the intelligent wearable equipment and the mobile terminal are matched to execute the second test case.
Further, the method for testing the endurance time of the intelligent wearable device further comprises:
acquiring a real-time residual electric quantity value corresponding to each time point of the intelligent wearable equipment in real time;
and storing the real-time residual electric quantity value corresponding to each time point.
According to another aspect of the present application, there is also provided a non-volatile storage medium having computer readable instructions stored thereon, where the computer readable instructions, when executed by a processor, cause the processor to implement the method for testing duration of a smart wearable device as described above.
According to another aspect of this application, still provide the test equipment of duration of endurance of intelligence wearing equipment, 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 the method for testing the endurance time of the intelligent wearable device.
Compared with the prior art, at least one test timing task is input into the intelligent wearable device, each test timing task comprises at least one first test case, the intelligent wearable device is bound with the mobile terminal, and the intelligent wearable device is provided with a test application program; recording at least one control timing task into third-party equipment, wherein each control timing task comprises at least one control case, the third-party equipment is connected with the mobile terminal, and the third-party equipment controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable equipment by executing the control timing task; executing the test timing task at regular time through the test application program, and/or receiving and executing the second test case initiated by the mobile terminal until the battery power of the intelligent wearable device is exhausted; the duration of endurance of the intelligent wearable device from a full-power state to the exhaustion of the electric quantity of the battery is calculated, the duration of endurance comprises the test execution duration and the standby duration, the automatic test of the duration of endurance of the battery of the intelligent wearable device is realized, the daily use scene of a user can be simulated, the time and labor input is saved, and the cost of a company is reduced.
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 flow chart of a method for testing duration of an intelligent wearable device according to an aspect of the application;
fig. 2 shows an example view of a mobile terminal performing a test in a preferred embodiment of a method for testing duration of an intelligent wearable device according to an aspect of the present application;
fig. 3 is a schematic diagram illustrating that a third-party device controls a mobile terminal to execute a test case in a preferred embodiment of a method for testing duration of an intelligent wearable device according to an aspect of the present application;
fig. 4 shows a schematic diagram of starting up a plurality of intelligent wearable devices in a preferred embodiment of a method for testing endurance of an intelligent wearable device according to an aspect of the present application;
fig. 5 shows an interaction diagram between a mobile terminal and a plurality of intelligent wearable devices in a preferred embodiment of a method for testing duration of an intelligent 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 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 permanent and non-permanent, removable and non-removable media, may implement the 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 chart of a method for testing duration of an intelligent wearable device according to an aspect of the present application. Wherein the method comprises the following steps: step S11, step S12, step S13, and step S14, which specifically include the steps of:
step S11, at least one test timing task is input into the intelligent wearable device, each test timing task comprises at least one first test case, the intelligent wearable device is bound with the mobile terminal, and the intelligent wearable device is provided with a test application program.
In the application, the intelligent testing timing task is input into the intelligent wearable device, and the testing application program is installed in the intelligent wearable device, so that the testing is required, and in an actual online product, the testing timing task and the testing application program do not exist in the intelligent wearable device; the test timing task is a set formed by one or more first test cases which need to be executed at the time point which needs to be executed by the test timing task, wherein the corresponding starting time point of each test timing task can be set at will, and in a preferred embodiment of the present application, the execution time points of the preset timing task are preferentially corresponding to 3 time points, namely early, middle and late; the intelligent wearable device comprises intelligent equipment which is not limited to an intelligent watch, an intelligent bracelet, an intelligent earphone, an intelligent foot ring and the like and can be worn on the body of a user.
For example, in a preferred embodiment of the present application, the test timing task is preferably represented in the form of a shell file, each first test case is preferably a corresponding shell execution command, and at least one shell execution command is written into the shell file according to a test requirement; the mobile terminal is provided with a related application program corresponding to the intelligent wearable device, wherein the mobile terminal comprises but is not limited to a mobile phone, a tablet, a personal computer and the like, the intelligent wearable device is bound with the mobile terminal through the related application program, and the intelligent wearable device automatically executes the test timing task through the test application program so as to realize automatic test of the intelligent wearable device.
Step S12, at least one control timing task is recorded into third-party equipment, each control timing task comprises at least one control case, the third-party equipment is connected with the mobile terminal, and the third-party equipment controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable equipment by executing the control timing task.
The control timing task is a set of the control cases to be executed at each time point, wherein the corresponding start time point of each control timing task can be set arbitrarily, after the corresponding start time point is set for each control timing task, the third-party device obtains the current time in a circulating manner, and if the current time meets the start time point corresponding to the control timing task, the third-party device calls the corresponding control timing task and executes the control timing task; in a preferred embodiment of the present application, the starting time point of the control timing task is preferably: respectively corresponding to control timing tasks of positioning 4 time points in the morning, noon, evening and outdoors; the third-party device includes, but is not limited to, a computer or the like; the third-party device is used for assisting the mobile terminal to complete data communication with the intelligent wearable device, namely the third-party device controls the mobile terminal to initiate a second test case for data communication to the intelligent wearable device by executing the control timing task.
And S13, executing the test timing task at regular time through the test application program, and/or receiving and executing the second test case initiated by the mobile terminal until the battery power of the intelligent wearable device is exhausted.
The intelligent wearable device actively initiates and executes the test task through the test application program, and/or passively receives and executes the second test case initiated by the mobile terminal, so as to simulate the power consumption situation of the intelligent wearable device under different operations until the battery power of the intelligent wearable device is exhausted.
Step S14, calculating the duration of the intelligent wearable device from a full power state to the exhaustion of the electric quantity of the battery, wherein the duration of the battery comprises test execution duration and standby duration. Here, the test execution duration refers to a total duration for the intelligent wearable device to execute the test timing task and/or receive and execute the second test case initiated by the mobile terminal from a full power state to a battery power exhaustion, and the standby duration refers to a total standby duration from the full power state of the intelligent wearable device to the battery power exhaustion.
Through the steps S11 to S14, at least one test timing task is recorded into the intelligent wearable device, each test timing task comprises at least one first test case, the intelligent wearable device is bound with the mobile terminal, and the intelligent wearable device is provided with a test application program; recording at least one control timing task into third-party equipment, wherein each control timing task comprises at least one control case, the third-party equipment is connected with the mobile terminal, and the third-party equipment controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable equipment by executing the control timing task; executing the test timing task regularly through the test application program, and/or receiving and executing the second test case initiated by the mobile terminal until the battery power of the intelligent wearable device is exhausted; the duration of endurance of the intelligent wearable device from a full-power state to the exhaustion of the electric quantity of the battery is calculated, the duration of endurance comprises the duration of test execution and the duration of standby, automatic testing of the duration of endurance of the battery of the intelligent wearable device is achieved, a scene of daily use of a user can be simulated, time and manpower input is saved, and therefore the cost of a company is reduced.
Next to the above embodiment of the present application, the test timing task includes a unidirectional test timing task and an interactive test timing task; here, the unidirectional test task is used to indicate a task that the intelligent wearable device does not need to interact with the mobile terminal, and includes, but is not limited to, a standalone operation of the intelligent wearable device, an operation that the intelligent wearable device sends to the mobile terminal but does not need a response from the mobile terminal, and the like, for example, a unidirectional operation of sending a short message or a voice and a standalone operation of clicking, double-clicking, sliding, and the like, of the intelligent wearable device; the interaction test timing task is used for operations which are sent by the intelligent wearable device and need the mobile terminal to respond, such as task operations of videos, telephones and the like.
And when the interactive test timing task is executed regularly through the test application program, real-time communication data interaction is carried out between the intelligent wearable device and the mobile terminal.
In a preferred embodiment of the application, the intelligent wearable device is preferably an intelligent child watch, the mobile terminal is preferably a mobile phone, the third-party device is preferably a computer, the interaction test timing task is preferably that the intelligent child watch makes a call to the mobile phone, then the application scenario at the moment is that the intelligent child watch makes a call to the mobile phone through the test application program, and the computer end controls the mobile phone to put through the call from the intelligent child watch, so that the interaction of real-time communication data between the intelligent child watch and the mobile phone is realized.
Following the above-described embodiments of the present application, wherein the control timing tasks include unidirectional control timing tasks and interactive control timing tasks,
the third-party device controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable device by executing the control timing task, and the second test case comprises:
the third-party equipment controls the mobile terminal to unidirectionally initiate a second test case for sending data to the intelligent wearable equipment by executing the unidirectional control timing task, so that the intelligent wearable equipment executes the second test case; or the like, or, alternatively,
and the third-party equipment controls the mobile terminal to initiate a second test case for data interaction with the intelligent wearable equipment by executing the interaction control timing task, so that the intelligent wearable equipment and the mobile terminal are matched to execute the second test case.
Here, the unidirectional control timing task means that the third-party device controls the mobile terminal to initiate a second test case for data interaction to the intelligent wearable device by executing one or more control cases in the unidirectional control timing task, and the execution of the second test case does not require the intelligent wearable device to reply to the mobile terminal; the interactive control timing task is that the third-party device controls the mobile terminal to initiate a second test case for data interaction to the intelligent wearable device by executing one or more control cases in the interactive control timing task, and the intelligent wearable device needs to cooperate with the mobile terminal to execute the second test case, that is, the execution of the second test case at this time needs the intelligent wearable device to reply to the mobile terminal.
In this application, intelligence wearing equipment is carrying out when mutual test timing task, third party's equipment is through carrying out mutual control timing task control mobile terminal with intelligence wearing equipment accomplishes real-time data communication's interaction jointly, if exist many intelligence wearing equipment needs test, then in order to reduce resource consumption, guarantees simultaneously everyone intelligence wearing equipment with mobile terminal can one-to-one operation, then need with everyone the start-up time of intelligence wearing equipment is delayed along with, staggers the start-up time to realize that a mobile terminal and a plurality of intelligent wearing equipment can one-to-one operation.
Following the above embodiments of the present application, wherein the method further comprises:
acquiring a real-time residual electric quantity value corresponding to each time point of the intelligent wearable equipment in real time;
and storing the real-time residual electric quantity value corresponding to each time point.
And judging the influence of the strength of the signal on power consumption through the real-time residual electric quantity value and the real-time signal value of each time point, so as to realize the monitoring of the real-time residual electric quantity value.
In the practical application scenario of the endurance duration testing method of the intelligent wearable device, the intelligent wearable device is preferably a child intelligent watch, the mobile terminal is preferably a mobile phone, and the third-party device is preferably a computer. In the preferred embodiment, as shown in fig. 2, the test timing tasks are preferably represented in the form of shell files, that is, each test timing task corresponds to one shell file, each first test case in the test timing tasks corresponds to one shell command, for example, the first test case in the test timing tasks of a child smart watch is written using android studio + uiauomator 2.0, each first test case corresponds to one method, the test application program is generated, and the corresponding first test case can be directly run using a shell command, for example: the watch dials "am instruction-w-e debug failure-e class com, watch case # phone _ call contact com, watch case # phone _ call task, watch _ test/android.support, test, runner, android junctor" as shown in fig. 3, and the execution of the control timing task is realized at the computer end by using Python language and the pytest so as to control the mobile phone end to initiate a second test case for data communication with the child smart watch, including one-way operation of the mobile terminal and interaction of the mobile terminal, wherein the control timing task is preferably expressed in the form of a Python file, that is, each control timing task corresponds to one Python file, wherein the computer end controls the mobile phone end to perform one-way operation by executing the one-way control timing task, and the computer end controls the mobile phone end to perform interaction by executing the interaction control task.
The method comprises the steps of inputting 3 shell files into a child smart watch, wherein the corresponding starting time points are morning, noon and evening, namely 3 time points in the morning, noon and evening, starting an alarm at each time point, waking up a system, and executing the corresponding shell files, as shown in fig. 4, if a plurality of child smart watches need to be tested, the corresponding starting time of the same shell file in different child smart watches is delayed, the starting time of each child smart watch is staggered, one-to-one operation of an associated application program on a mobile phone and the plurality of child smart watches is realized, for example, a common call and video call interactive operation exists in a first test case in the morning, the starting time of each child smart watch is delayed by 10 minutes in the morning, only a common call exists in the noon and in the evening, and the starting time of each child smart watch is delayed by 5 minutes, so that a call or a video at a watch end is called one by one, and the condition of calling at the same time does not occur. Inputting 4 Python files at a computer end, wherein the Python files correspond to morning, noon, evening and outdoor positioning, the Python files correspond to morning, noon and evening starting time points respectively, the Python files corresponding to outdoor positioning correspond to working and working starting time points respectively, and accordingly the Python files corresponding to the outdoor positioning are executed at the computer end to control the mobile phone to complete data communication with the intelligent watch for the children; if interaction exists between the mobile phone and the child smart watch, for example, as shown in fig. 5, when call interaction exists between the mobile phone and the child smart watch, a related application program at a mobile phone end needs to wait circularly whether a call or a video calls in, and within a waiting time period, the call or the video calls in, the waiting time is correspondingly lengthened according to the number of devices, if it is needed to test how many child smart watches, for example, 6 child smart watches need to be tested, if there is common call and video call interaction in the morning, the time for waiting for the call in may be set to about 1 hour, and if there is only common call in the noon and evening, the time for waiting for the call in may be about 40 minutes; if the interaction does not exist between the mobile phone and the child smart watch, the computer end executes the one-way control timing task, the mobile phone end is controlled to send a second test case to the child smart watch, the child smart watch end executes the second test case, namely the mobile phone is controlled by the computer to send data to the child smart watch, the child smart watch receives the data, for example, the mobile phone sends a plurality of voice messages to all bound child smart watches, and the child smart watch receives the voice messages; in addition, the computer end controls the mobile phone end to automatically execute corresponding operations at 5 time points every day, for example, 8, 20.
Through the application, can realize the automatic start-up test of different time quantum every day automatically, save a large amount of time, the input of manpower, and simultaneously, carry out the auxiliary test through mobile terminal, realize the mutual automation in both ends, can cover more examples, and can increase equipment quantity as required at will, associate application program through mobile terminal binds with a plurality of intelligent first generation equipment, through the mode of staggered time, many intelligent wearing equipment of a mobile terminal operation, reach the one-to-one operation of fixed point, reduce the occupation of SIM card, and this automation is realized, need not mechanical product, only need script realization, just can reach the same effect, company's spending has been saved greatly, simultaneously realize through script automation, if need outdoor environment, can be in the package with intelligent wearing equipment, the task start-up time sets up the time of going to work on duty, both can the operation test, also satisfy outdoor environment, the full simulation daily user use scene, not only save manpower but also can reappear the problem.
According to another aspect of the present application, there is also provided a non-volatile storage medium having computer readable instructions stored thereon, where the computer readable instructions, when executed by a processor, cause the processor to implement the method for testing duration of a smart wearable device as described above.
According to another aspect of this application, still provide the test equipment of duration of endurance of intelligence wearing equipment, 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 the method for testing the endurance time of the intelligent wearable device.
For details of each embodiment of the device for testing duration of an intelligent wearable device, reference may be made to the corresponding part of the above embodiment of the method for testing duration of an intelligent wearable device, and details are not described here.
To sum up, the method includes the steps that at least one test timing task is input into the intelligent wearable device, each test timing task comprises at least one first test case, the intelligent wearable device is bound with the mobile terminal, and the intelligent wearable device is provided with a test application program; recording at least one control timing task into third-party equipment, wherein each control timing task comprises at least one control case, the third-party equipment is connected with the mobile terminal, and the third-party equipment controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable equipment by executing the control timing task; executing the test timing task at regular time through the test application program, and/or receiving and executing the second test case initiated by the mobile terminal until the battery power of the intelligent wearable device is exhausted; the duration of endurance of the intelligent wearable device from a full-power state to the exhaustion of the electric quantity of the battery is calculated, the duration of endurance comprises the duration of test execution and the duration of standby, automatic testing of the duration of endurance of the battery of the intelligent wearable device is achieved, a scene of daily use of a user can be simulated, time and manpower input is saved, and therefore the cost of a company is reduced.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. As such, the software programs (including associated data structures) of the present application can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, 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 within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application herein 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 solution according to embodiments of the present application as described above.
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 testing duration of a smart wearable device, wherein the method comprises the following steps:
inputting at least one test timing task into intelligent wearable equipment, wherein each test timing task comprises at least one first test case, the intelligent wearable equipment is bound with a mobile terminal, and the intelligent wearable equipment is provided with a test application program;
inputting at least one control timing task into third-party equipment, wherein each control timing task comprises at least one control case, the third-party equipment is connected with the mobile terminal, and the third-party equipment controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable equipment by executing the control timing task;
executing the test timing task at regular time through the test application program, and/or receiving and executing the second test case initiated by the mobile terminal until the battery power of the intelligent wearable device is exhausted;
calculating the duration of the intelligent wearable device between the full-power state and the battery power exhaustion, wherein the duration of the intelligent wearable device comprises test execution duration and standby duration.
2. The method of claim 1, wherein the test timing tasks include unidirectional test timing tasks and interactive test timing tasks;
and when the interactive test timing task is executed regularly through the test application program, real-time communication data interaction is carried out between the intelligent wearable device and the mobile terminal.
3. The method of claim 1, wherein the control timing tasks include unidirectional control timing tasks and interactive control timing tasks,
the third-party device controls the mobile terminal to initiate a second test case for data communication with the intelligent wearable device by executing the control timing task, and the second test case comprises:
the third-party equipment controls the mobile terminal to unidirectionally initiate a second test case for sending data to the intelligent wearable equipment by executing the unidirectional control timing task, so that the intelligent wearable equipment executes the second test case; or the like, or a combination thereof,
and the third-party equipment controls the mobile terminal to initiate a second test case for data interaction with the intelligent wearable equipment by executing the interaction control timing task, so that the intelligent wearable equipment and the mobile terminal are matched to execute the second test case.
4. The method of any of claims 1 to 3, wherein the method further comprises:
acquiring a real-time residual electric quantity value corresponding to each time point of the intelligent wearable equipment in real time;
and storing the real-time residual electric quantity value corresponding to each time point.
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. The utility model provides a test equipment of duration of endurance of intelligence wearing equipment, wherein, the equipment includes:
one or more processors;
a non-volatile storage medium to store one or more computer-readable instructions that,
the one or more computer-readable instructions, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-4.
CN202110321704.9A 2021-03-25 2021-03-25 Method and device for testing endurance time of intelligent wearable device Active CN113064775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110321704.9A CN113064775B (en) 2021-03-25 2021-03-25 Method and device for testing endurance time of intelligent wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110321704.9A CN113064775B (en) 2021-03-25 2021-03-25 Method and device for testing endurance time of intelligent wearable device

Publications (2)

Publication Number Publication Date
CN113064775A CN113064775A (en) 2021-07-02
CN113064775B true CN113064775B (en) 2022-10-11

Family

ID=76563567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110321704.9A Active CN113064775B (en) 2021-03-25 2021-03-25 Method and device for testing endurance time of intelligent wearable device

Country Status (1)

Country Link
CN (1) CN113064775B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114218102A (en) * 2021-12-15 2022-03-22 高创(苏州)电子有限公司 Endurance testing method, device, system, equipment and storage medium
CN114490329B (en) * 2021-12-27 2024-06-14 成都鲁易科技有限公司 Power consumption evaluation method and device of intelligent terminal, storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607494A (en) * 2013-11-30 2014-02-26 广东欧珀移动通信有限公司 Method and terminal for automatically testing runtime of terminal in a time-diversion mode
CN112035309A (en) * 2020-09-07 2020-12-04 深圳市亿道信息股份有限公司 Automatic testing method, server and automatic testing system for intelligent terminal function
CN112231199A (en) * 2019-07-15 2021-01-15 北京京东尚科信息技术有限公司 Test method and device for object to be tested and test system
CN112487664A (en) * 2020-12-18 2021-03-12 努比亚技术有限公司 Endurance model establishing method and device and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10445205B2 (en) * 2017-05-18 2019-10-15 Wipro Limited Method and device for performing testing across a plurality of smart devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607494A (en) * 2013-11-30 2014-02-26 广东欧珀移动通信有限公司 Method and terminal for automatically testing runtime of terminal in a time-diversion mode
CN112231199A (en) * 2019-07-15 2021-01-15 北京京东尚科信息技术有限公司 Test method and device for object to be tested and test system
CN112035309A (en) * 2020-09-07 2020-12-04 深圳市亿道信息股份有限公司 Automatic testing method, server and automatic testing system for intelligent terminal function
CN112487664A (en) * 2020-12-18 2021-03-12 努比亚技术有限公司 Endurance model establishing method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN113064775A (en) 2021-07-02

Similar Documents

Publication Publication Date Title
CN113064775B (en) Method and device for testing endurance time of intelligent wearable device
WO2020181599A1 (en) Model application method and system, and model management method and server
CN106897206B (en) Service testing method and device
CN105224343A (en) A kind of renewal reminding method of application program and device
CN104580532A (en) Cross-platform application system
CN108132809A (en) Method, apparatus, terminal and the storage medium of loading
CN109379299A (en) A kind of method for limiting of data traffic, device and system
CN112181378B (en) Method and device for realizing business process
CN105260082A (en) Display method for test data and development terminal
CN111934908A (en) Internet of things simulation method, device and system and storage medium
CN104572126A (en) Advertisement processing method and system
US10193989B2 (en) Visualization of user behavior
CN111464352A (en) Call link data processing method and device
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN114244821B (en) Data processing method, device, equipment, electronic equipment and storage medium
CN110782253B (en) Transaction processing method, device and equipment based on block chain
CN109710474B (en) Hard disk fault detection method and device, terminal and readable storage medium
CN114547874A (en) Method and device for reproducing operation process of equipment
CN112711624B (en) Data packaging control method and device, electronic equipment and storage medium
CN111638871A (en) Equipment information processing method, device, equipment and medium
CN109474822A (en) A kind of method and device of the multi-lingual automatic test of Android TV
CN113392091A (en) Distributed cluster data migration method and device
CN113138549B (en) Method and device for simulating duration of intelligent wearable device
CN114118435A (en) Time sequence model training method based on transfer learning and method for time sequence prediction
CN113407175A (en) Timed task management 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