[go: up one dir, main page]

CN103744761B - Method and system for controlling multiple mobile terminals to automatically execute tasks - Google Patents

Method and system for controlling multiple mobile terminals to automatically execute tasks Download PDF

Info

Publication number
CN103744761B
CN103744761B CN201410027603.0A CN201410027603A CN103744761B CN 103744761 B CN103744761 B CN 103744761B CN 201410027603 A CN201410027603 A CN 201410027603A CN 103744761 B CN103744761 B CN 103744761B
Authority
CN
China
Prior art keywords
task
mobile terminal
terminal
entity
execution
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.)
Expired - Fee Related
Application number
CN201410027603.0A
Other languages
Chinese (zh)
Other versions
CN103744761A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410027603.0A priority Critical patent/CN103744761B/en
Publication of CN103744761A publication Critical patent/CN103744761A/en
Application granted granted Critical
Publication of CN103744761B publication Critical patent/CN103744761B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a system for controlling multiple mobile terminals to automatically execute tasks. When the method and the system are applied to automatic testing of cellphones, multiple cellphones can be controlled to simultaneously execute different tasks by setting a single thread for each cellphone in connection with a computer at a computer side and establishing corresponding task entities for tasks needed to be executed, so that execution time of automatic testing is greatly reduced, and testing efficiency is effectively improved; through a comprehensive mechanism for task execution result confirmation and re-execution, accuracy of testing results can be improved greatly, smoothness of automatic testing is greatly guaranteed, and the problem of testing interrupt caused by various abnormities in the process of testing is effectively solved.

Description

一种控制多台移动终端自动执行任务的方法及系统Method and system for controlling multiple mobile terminals to automatically execute tasks

技术领域technical field

本发明涉及一种控制多台移动终端自动执行任务的方法及系统。The invention relates to a method and system for controlling multiple mobile terminals to automatically execute tasks.

背景技术Background technique

随着移动终端的普及,人们对移动终端的需求也越来越多、越来越高。对于移动终端制造商而言,移动终端(如智能手机)的测试也越来越复杂,随之而出现的是越来越多的自动化测试工具。但纵观市场上的自动化测试工具,只能单线程执行测试任务,每次只能使一台智能手机执行一个任务,从而使得测试的时间较长,效率比较低。With the popularization of mobile terminals, people have more and more demands on mobile terminals. For mobile terminal manufacturers, the testing of mobile terminals (such as smart phones) is becoming more and more complex, and more and more automated testing tools are emerging accordingly. However, looking at the automated testing tools on the market, they can only perform testing tasks in a single thread, and only one smartphone can perform one task at a time, which makes the testing time longer and the efficiency lower.

发明内容Contents of the invention

为了克服现有技术中的不足,本发明提供一种控制多台移动终端自动执行任务的方法及测试终端,以提高测试的效率及测试准确率。In order to overcome the deficiencies in the prior art, the present invention provides a method for controlling multiple mobile terminals to automatically perform tasks and a test terminal to improve test efficiency and test accuracy.

本发明是通过以下技术方案实现的:The present invention is achieved through the following technical solutions:

一种控制多台移动终端自动执行任务的方法,所述方法包括:A method for controlling multiple mobile terminals to automatically perform tasks, the method comprising:

S1、将多台移动终端与测试终端连接,测试终端获取各移动终端的设备名称,建立端口映射,并构建移动终端实体,所述移动终端实体用于记录各移动终端的相关信息;S1. Connect multiple mobile terminals to the test terminal, the test terminal obtains the device name of each mobile terminal, establishes port mapping, and constructs a mobile terminal entity, and the mobile terminal entity is used to record relevant information of each mobile terminal;

S2、为已与测试终端建立连接的每一移动终端设置一单独的线程,所述线程用于检测对应的移动终端和执行任务;S2. Set up a separate thread for each mobile terminal that has established a connection with the test terminal, and the thread is used to detect the corresponding mobile terminal and perform tasks;

S3、获取需要执行的任务,分别为每一单独的任务构建一任务实体,并将各任务实体添加至任务队列中,所述任务实体用于记录各任务的相关信息;S3. Obtain the tasks that need to be executed, construct a task entity for each individual task, and add each task entity to the task queue, and the task entity is used to record the relevant information of each task;

S4、从任务队列中取出相应的任务,并将其分配发送至各移动终端;S4. Take out the corresponding task from the task queue, and send its distribution to each mobile terminal;

S5、各移动终端执行相应的任务,测试终端等待移动终端端返回执行结果;S5. Each mobile terminal executes a corresponding task, and the test terminal waits for the mobile terminal to return an execution result;

S6、当任务队列中的所有任务均已被执行完毕,测试终端收集执行结果并将其输出。S6. When all the tasks in the task queue have been executed, the test terminal collects the execution results and outputs them.

进一步地,所述步骤S5还包括:Further, the step S5 also includes:

S51、若移动终端成功执行某一任务,则将执行结果返回至测试终端,测试终端接收执行结果并从任务队列中取出下一任务分配发送至该移动终端,若移动终端未成功执行某一任务,则将执行结果返回至测试终端,测试终端接收执行结果并发送相关指令,使该移动终端重新执行该任务;S51. If the mobile terminal successfully executes a certain task, return the execution result to the test terminal, and the test terminal receives the execution result and takes out the next task from the task queue and sends it to the mobile terminal; if the mobile terminal fails to execute a certain task , the execution result is returned to the test terminal, and the test terminal receives the execution result and sends relevant instructions to make the mobile terminal re-execute the task;

S52、若重新执行该任务成功,则测试终端更新执行结果,并从任务队列中取出下一任务分配发送至该移动终端;若重新执行该任务失败,则标志重新执行该任务失败,测试终端更改任务执行状态,从任务队列中取出下一任务分配发送至该移动终端,同时将标志重新执行失败的任务添加至任务队列中的待执行任务的位置处。S52. If the re-execution of the task is successful, the test terminal updates the execution result, and takes out the next task assignment from the task queue and sends it to the mobile terminal; In the task execution state, the next task assignment is taken out from the task queue and sent to the mobile terminal, and the task whose re-execution fails is marked is added to the position of the task to be executed in the task queue.

优选地,所述步骤S52中,在重新执行任务过程中,若重复执行某一任务的次数超过预设值,才标志重新执行该任务失败,测试终端更改任务执行状态;所述任务队列中的待执行任务的位置处优选为任务队列的最末端位置;所述的测试终端为电脑,所述的移动终端为手机。Preferably, in the step S52, in the process of re-executing the task, if the number of times of re-executing a certain task exceeds the preset value, it will be marked as failure to re-execute the task, and the test terminal will change the task execution status; The position where the task is to be executed is preferably the end position of the task queue; the test terminal is a computer, and the mobile terminal is a mobile phone.

较佳地,所述移动终端实体记录各移动终端的相关信息包括各移动终端的移动终端名称、连接端口号、是否已与测试终端建立连接以及移动终端工作状态中的一项或多项信息;所述任务实体记录各任务的相关信息包括各任务的任务编号、被执行次数以及已被哪台移动终端执行中的一项或多项信息。Preferably, the relevant information of each mobile terminal recorded by the mobile terminal entity includes one or more information of each mobile terminal's mobile terminal name, connection port number, whether a connection has been established with the test terminal, and the working status of the mobile terminal; The relevant information of each task recorded by the task entity includes one or more information of each task's task number, execution times, and which mobile terminal has been executed.

基于上述发明构思,本发明还提供了一种控制多台移动终端自动执行任务的系统,其应用于测试终端中,所述系统包括:Based on the above inventive concept, the present invention also provides a system for controlling multiple mobile terminals to automatically perform tasks, which is applied to test terminals, and the system includes:

移动终端实体构建模块,用于当多台移动终端与测试终端连接,测试终端获取各移动终端的设备名称后,建立端口映射并构建移动终端实体,所述移动终端实体用于记录各移动终端的相关信息;The mobile terminal entity building module is used for when multiple mobile terminals are connected to the test terminal, after the test terminal obtains the device name of each mobile terminal, establishes port mapping and constructs a mobile terminal entity, and the mobile terminal entity is used to record the information of each mobile terminal Related Information;

线程设置模块,用于为已与测试终端建立连接的每一移动终端设置一单独的线程,所述线程用于检测对应的移动终端和执行任务;The thread setting module is used to set up a separate thread for each mobile terminal that has established a connection with the test terminal, and the thread is used to detect the corresponding mobile terminal and perform tasks;

任务实体构建模块,用于当获取需要执行的任务后,分别为每一单独的任务构建一任务实体,并将各任务实体添加至任务队列中,所述任务实体用于记录各任务的相关信息;The task entity construction module is used to construct a task entity for each individual task after obtaining the task to be executed, and add each task entity to the task queue, and the task entity is used to record the relevant information of each task ;

任务分配发送模块,用于从任务队列中取出相应的任务,并将其分配发送至各移动终端;The task allocation sending module is used to take out the corresponding task from the task queue, and send its allocation to each mobile terminal;

执行结果接收与输出模块,用于当各移动终端执行相应的任务后,接收来自各移动终端返回的执行结果,当任务队列中的所有任务均已被执行完毕,收集执行结果并将其输出。The execution result receiving and output module is used to receive the execution result returned from each mobile terminal after each mobile terminal executes the corresponding task, and when all the tasks in the task queue have been executed, collect the execution result and output it.

进一步地,所述系统还包括有任务执行结果确认及任务重新执行模块,所述任务执行结果确认及任务重新执行模块用于:Further, the system also includes a task execution result confirmation and task re-execution module, and the task execution result confirmation and task re-execution module is used for:

当移动终端成功执行某一任务,将执行结果返回至测试终端后,测试终端接收执行结果并从任务队列中取出下一任务分配发送至该移动终端;When the mobile terminal successfully executes a task and returns the execution result to the test terminal, the test terminal receives the execution result and takes out the next task from the task queue and sends it to the mobile terminal;

当移动终端未成功执行任务,将执行结果返回至测试终端后,测试终端接收执行结果并发送相关指令,使该移动终端重新执行该任务;When the mobile terminal fails to execute the task, after returning the execution result to the test terminal, the test terminal receives the execution result and sends relevant instructions to make the mobile terminal re-execute the task;

若重新执行该任务成功,则测试终端更新执行结果,并从任务队列中取出下一任务分配发送至该移动终端;若重新执行该任务失败,则标志重新执行该任务失败,测试终端更改任务执行状态,从任务队列中取出下一任务分配发送至该移动终端,同时将标志重新执行失败的任务添加至任务队列中的待执行任务的位置处;在重新执行任务过程中,若重复执行某一任务的次数超过预设值,才标志重新执行该任务失败,测试终端更改任务执行状态。If the re-execution of the task is successful, the test terminal updates the execution result, and takes out the next task assignment from the task queue and sends it to the mobile terminal; if the re-execution of the task fails, it marks the failure of re-execution of the task, and the test terminal changes the task execution state, take out the next task assignment from the task queue and send it to the mobile terminal, and add the task that failed to be re-executed to the position of the task to be executed in the task queue; in the process of re-executing the task, if a certain If the number of times of the task exceeds the preset value, it will be marked that the re-execution of the task has failed, and the test terminal will change the task execution status.

所述移动终端实体记录各移动终端的相关信息包括各移动终端的移动终端名称、连接端口号、是否已与测试终端建立连接以及移动终端工作状态中的一项或多项信息;所述任务实体记录各任务的相关信息包括各任务的任务编号、被执行次数以及已被哪台移动终端执行中的一项或多项信息;所述任务队列中的待执行任务的位置处优选为任务队列的最末端位置;所述的测试终端为电脑,所述的移动终端为手机。The relevant information of each mobile terminal recorded by the mobile terminal entity includes the mobile terminal name of each mobile terminal, the connection port number, whether a connection has been established with the test terminal, and one or more information in the working state of the mobile terminal; the task entity Recording the relevant information of each task includes the task number of each task, the number of execution times and one or more information in which mobile terminal has been executed; the position of the task to be executed in the task queue is preferably the task queue. The most end position; the test terminal is a computer, and the mobile terminal is a mobile phone.

将本发明应用于手机的自动化测试时,通过在电脑端为每一与电脑建立连接的手机设置一单独的线程以及为需要执行的任务建立相应的任务实体,可控制多台手机同时执行不同的任务,极大地缩短自动化测试的执行时间,有效地提升了测试效率;同时,通过完善的任务执行结果确认及重新执行的机制,能够极大提升测试结果的准确率,也极大地保障了自动化测试的流畅性,有效减少测试过程中因出现各种异常而导致测试中断的问题。When the present invention is applied to the automated testing of mobile phones, by setting up a separate thread on the computer side for each mobile phone connected to the computer and establishing corresponding task entities for tasks that need to be performed, multiple mobile phones can be controlled to execute different tasks simultaneously. Tasks greatly shorten the execution time of automated tests and effectively improve test efficiency; at the same time, through a complete mechanism for confirming and re-executing task execution results, the accuracy of test results can be greatly improved, and automated testing is also greatly guaranteed. The smoothness of the test can effectively reduce the problem of test interruption caused by various abnormalities during the test process.

附图说明Description of drawings

附图1为本发明实施例的方法流程示意图;Accompanying drawing 1 is the method flow diagram of the embodiment of the present invention;

附图2为本发明实施例中一种控制多台移动终端自动执行任务的系统的结构模块示意图;Accompanying drawing 2 is a schematic structural module diagram of a system for controlling multiple mobile terminals to automatically perform tasks in an embodiment of the present invention;

附图3为本发明具体实施例的流程示意简图。Accompanying drawing 3 is the schematic flow diagram of the specific embodiment of the present invention.

具体实施方式detailed description

为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述。In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings.

如附图1所示,一种控制多台移动终端自动执行任务的方法,所述方法包括:As shown in Figure 1, a method for controlling multiple mobile terminals to automatically perform tasks, the method includes:

S1、将多台移动终端与测试终端连接,测试终端获取各移动终端的设备名称,建立端口映射,并构建移动终端实体,所述移动终端实体用于记录各移动终端的相关信息;S1. Connect multiple mobile terminals to the test terminal, the test terminal obtains the device name of each mobile terminal, establishes port mapping, and constructs a mobile terminal entity, and the mobile terminal entity is used to record relevant information of each mobile terminal;

S2、为已与测试终端建立连接的每一移动终端设置一单独的线程,所述线程用于检测对应的移动终端和执行任务;S2. Set up a separate thread for each mobile terminal that has established a connection with the test terminal, and the thread is used to detect the corresponding mobile terminal and perform tasks;

S3、获取需要执行的任务,分别为每一单独的任务构建一任务实体,并将各任务实体添加至任务队列中,所述任务实体用于记录各任务的相关信息;S3. Obtain the tasks that need to be executed, construct a task entity for each individual task, and add each task entity to the task queue, and the task entity is used to record the relevant information of each task;

S4、从任务队列中取出相应的任务,并将其分配发送至各移动终端;S4. Take out the corresponding task from the task queue, and send its distribution to each mobile terminal;

S5、各移动终端执行相应的任务,测试终端等待移动终端端返回执行结果;S5. Each mobile terminal executes a corresponding task, and the test terminal waits for the mobile terminal to return an execution result;

S51、若移动终端成功执行某一任务,则将执行结果返回至测试终端,测试终端接收执行结果并从任务队列中取出下一任务分配发送至该移动终端,若移动终端未成功执行某一任务,则将执行结果返回至测试终端,测试终端接收执行结果并发送相关指令,使该移动终端重新执行该任务;S51. If the mobile terminal successfully executes a certain task, return the execution result to the test terminal, and the test terminal receives the execution result and takes out the next task from the task queue and sends it to the mobile terminal; if the mobile terminal fails to execute a certain task , the execution result is returned to the test terminal, and the test terminal receives the execution result and sends relevant instructions to make the mobile terminal re-execute the task;

S52、若重新执行该任务成功,则测试终端更新执行结果,并从任务队列中取出下一任务分配发送至该移动终端;若重新执行该任务失败,则标志重新执行该任务失败,测试终端更改任务执行状态,从任务队列中取出下一任务分配发送至该移动终端,同时将标志重新执行失败的任务添加至任务队列中的待执行任务的位置处;本步骤S52中,在重新执行任务过程中,若重复执行某一任务的次数超过预设值,才标志重新执行该任务失败,测试终端更改任务执行状态;所述任务队列中的待执行任务的位置处优选为任务队列的最末端位置;S52. If the re-execution of the task is successful, the test terminal updates the execution result, and takes out the next task assignment from the task queue and sends it to the mobile terminal; Task execution status, take out the next task assignment from the task queue and send it to the mobile terminal, and add the task of re-execution failure to the position of the task to be executed in the task queue; in this step S52, in the re-execution task process Among them, if the number of repeated executions of a certain task exceeds the preset value, it will be marked that the re-execution of the task has failed, and the test terminal changes the task execution status; the position of the task to be executed in the task queue is preferably the most end position of the task queue ;

S6、当任务队列中的所有任务均已被执行完毕,测试终端收集执行结果并将其输出。S6. When all the tasks in the task queue have been executed, the test terminal collects the execution results and outputs them.

其中,所述移动终端实体记录各移动终端的相关信息包括各移动终端的移动终端名称、连接端口号、是否已与测试终端建立连接以及移动终端工作状态中的一项或多项信息;所述任务实体记录各任务的相关信息包括各任务的任务编号、被执行次数以及已被哪台移动终端执行中的一项或多项信息。Wherein, the relevant information of each mobile terminal recorded by the mobile terminal entity includes the mobile terminal name of each mobile terminal, the connection port number, whether a connection has been established with the test terminal, and one or more pieces of information in the working status of the mobile terminal; The relevant information of each task recorded by the task entity includes one or more information of each task's task number, execution times, and which mobile terminal has been executed.

如附图2所示为本发明提供的一种控制多台移动终端自动执行任务的系统,应用于测试终端中,所述系统包括:As shown in Figure 2, a system for controlling multiple mobile terminals to automatically perform tasks provided by the present invention is applied to test terminals, and the system includes:

移动终端实体构建模块,用于当多台移动终端与测试终端连接,测试终端获取各移动终端的设备名称后,建立端口映射并构建移动终端实体,所述移动终端实体用于记录各移动终端的相关信息;The mobile terminal entity building module is used for when multiple mobile terminals are connected to the test terminal, after the test terminal obtains the device name of each mobile terminal, establishes port mapping and constructs a mobile terminal entity, and the mobile terminal entity is used to record the information of each mobile terminal Related Information;

线程设置模块,用于为已与测试终端建立连接的每一移动终端设置一单独的线程,所述线程用于检测对应的移动终端和执行任务;The thread setting module is used to set up a separate thread for each mobile terminal that has established a connection with the test terminal, and the thread is used to detect the corresponding mobile terminal and perform tasks;

任务实体构建模块,用于当获取需要执行的任务后,分别为每一单独的任务构建一任务实体,并将各任务实体添加至任务队列中,所述任务实体用于记录各任务的相关信息;The task entity construction module is used to construct a task entity for each individual task after obtaining the task to be executed, and add each task entity to the task queue, and the task entity is used to record the relevant information of each task ;

任务分配发送模块,用于从任务队列中取出相应的任务,并将其分配发送至各移动终端;The task allocation sending module is used to take out the corresponding task from the task queue, and send its allocation to each mobile terminal;

任务执行结果确认及任务重新执行模块,其用于:Task execution result confirmation and task re-execution module, which is used for:

当移动终端成功执行某一任务,将执行结果返回至测试终端后,测试终端接收执行结果并从任务队列中取出下一任务分配发送至该移动终端;When the mobile terminal successfully executes a task and returns the execution result to the test terminal, the test terminal receives the execution result and takes out the next task from the task queue and sends it to the mobile terminal;

当移动终端未成功执行任务,将执行结果返回至测试终端后,测试终端接收执行结果并发送相关指令,使该移动终端重新执行该任务;When the mobile terminal fails to execute the task, after returning the execution result to the test terminal, the test terminal receives the execution result and sends relevant instructions to make the mobile terminal re-execute the task;

若重新执行该任务成功,则测试终端更新执行结果,并从任务队列中取出下一任务分配发送至该移动终端;若重新执行该任务失败,则标志重新执行该任务失败,测试终端更改任务执行状态,从任务队列中取出下一任务分配发送至该移动终端,同时将标志重新执行失败的任务添加至任务队列中的待执行任务的位置处;在重新执行任务过程中,若重复执行某一任务的次数超过预设值,才标志重新执行该任务失败,测试终端更改任务执行状态;If the re-execution of the task is successful, the test terminal updates the execution result, and takes out the next task assignment from the task queue and sends it to the mobile terminal; if the re-execution of the task fails, it marks the failure of re-execution of the task, and the test terminal changes the task execution state, take out the next task assignment from the task queue and send it to the mobile terminal, and add the task that failed to be re-executed to the position of the task to be executed in the task queue; in the process of re-executing the task, if a certain If the number of tasks exceeds the preset value, it will be marked as a failure to re-execute the task, and the test terminal will change the task execution status;

执行结果接收与输出模块,用于当各移动终端执行相应的任务后,接收来自各移动终端返回的执行结果,当任务队列中的所有任务均已被执行完毕,收集执行结果并将其输出。The execution result receiving and output module is used to receive the execution result returned from each mobile terminal after each mobile terminal executes the corresponding task, and when all the tasks in the task queue have been executed, collect the execution result and output it.

其中,所述移动终端实体记录各移动终端的相关信息包括各移动终端的移动终端名称、连接端口号、是否已与测试终端建立连接以及移动终端工作状态中的一项或多项信息;所述任务实体记录各任务的相关信息包括各任务的任务编号、被执行次数以及已被哪台移动终端执行中的一项或多项信息;所述任务队列中的待执行任务的位置处优选为任务队列的最末端位置。Wherein, the relevant information of each mobile terminal recorded by the mobile terminal entity includes the mobile terminal name of each mobile terminal, the connection port number, whether a connection has been established with the test terminal, and one or more pieces of information in the working status of the mobile terminal; The task entity records the relevant information of each task, including the task number of each task, the number of execution times and one or more information in which mobile terminal has been executed; the position of the task to be executed in the task queue is preferably a task The end position of the queue.

下面将本发明应用于手机的自动化测试作为具体的实施例对本发明作更进一步的阐述说明,其中,测试终端以电脑(PC)、移动终端以采用Android系统的手机为具体实施例来进行详细说明。The automatic test that the present invention is applied to mobile phone is taken as specific embodiment below and the present invention is further elaborated and illustrated, and wherein, test terminal is described in detail with computer (PC), mobile terminal with the mobile phone that adopts Android system as specific embodiment .

步骤001、将多台手机与PC连接,PC获取各手机的设备名称,建立端口映射,并构建手机实体。Step 001. Connect multiple mobile phones to the PC, and the PC obtains the device names of each mobile phone, establishes port mapping, and constructs a mobile phone entity.

在本实施例中,各手机与PC之间通过数据线(如USB数据线)连接,在连接完毕之后,PC端通过“ADB Forward”建立端口映射,这样就可以利用Socket通信来进行PC端和手机端的数据传输了。PC端再通过“ADB Devices”获取到各手机的名称来作为每台手机的身份标识,从而构建手机实体。ADB的全称为Android Debug Bridge,就是起到调试桥的作用。ADB是Android SDK的一个工具, 用这个工具可以直接操作管理Android模拟器或者真实的Android设备。手机实体用于记录手机的相关信息,在本实施例中,手机实体记录各手机的相关信息包括各手机的手机名称、连接端口号、是否已与PC建立连接、手机工作状态等等。In this embodiment, each mobile phone is connected to the PC through a data line (such as a USB data line). After the connection is completed, the PC side establishes port mapping through "ADB Forward", so that the PC side and the PC side can be connected using Socket communication. The data on the mobile phone is transferred. The PC side then obtains the name of each mobile phone through "ADB Devices" as the identity of each mobile phone, thereby constructing a mobile phone entity. The full name of ADB is Android Debug Bridge, which is to play the role of debugging bridge. ADB is a tool of Android SDK, which can directly operate and manage Android emulator or real Android device. The mobile phone entity is used to record the relevant information of the mobile phone. In this embodiment, the mobile phone entity records the relevant information of each mobile phone including the mobile phone name of each mobile phone, the connection port number, whether it has established a connection with the PC, the working status of the mobile phone, and the like.

步骤002、在PC端为每一台已与其建立连接的手机设置一单独的线程,各线程用于检测对应的手机和执行相应的任务。Step 002: Set up a separate thread on the PC side for each mobile phone that has established a connection with it, and each thread is used to detect the corresponding mobile phone and perform corresponding tasks.

步骤003、获取需要执行的任务,分别为每一单独的任务构建一任务实体,并将各任务实体添加至任务队列中。Step 003, obtain the tasks to be executed, construct a task entity for each individual task, and add each task entity to the task queue.

PC端在获取需要执行的任务后,为各任务分别构建任务实体,任务实体用于记录各任务的任务编号、被执行次数以及已被哪手机执行等相关信息。After obtaining the tasks to be executed, the PC side constructs task entities for each task. The task entities are used to record the task number, number of executions, and which mobile phone has been executed by each task.

步骤004、从任务队列中取出相应的任务,并将其分配发送至各手机;在构建任务实体,将各任务实体添加到任务队列后,即可从任务队列中取出任务分配发送至手机端执行。本实施例中,假设与PC连接的手机为三台,分别为手机A、B、C,从任务队列中取出任务编号为1、2、3的任务分别分配发送到手机A、B、C。Step 004, take out the corresponding tasks from the task queue, and send their assignments to each mobile phone; after constructing the task entity and adding each task entity to the task queue, the task assignment can be taken from the task queue and sent to the mobile phone for execution . In this embodiment, it is assumed that there are three mobile phones connected to the PC, namely mobile phones A, B, and C, and tasks with task numbers 1, 2, and 3 are taken out from the task queue and sent to mobile phones A, B, and C respectively.

步骤005、各手机执行相应的任务,PC端等待各手机返回执行结果。若手机A成功执行任务1,则将执行结果返回至PC端,PC端收集该执行结果,并从任务队列中取出下一任务(如任务4)分配发送至手机A;若手机B未成功执行任务2,则将执行结果返回至PC端,PC端接收执行结果并发送相关指令,使手机B重新执行该任务2;若重新执行该任务2成功,则PC端更新执行结果,并从任务队列中取出下一任务(如任务5)分配发送至手机B;若重新执行任务2失败,可重复执行该任务2多次(重复执行的次数可由用户预设,本实施例中,重复执行的次数为两次,即在重新执行任务过程中,重复执行某一任务的次数的预设值为2),则标志重新执行该任务失败,PC端更改任务执行状态,从任务队列中取出下一任务(如任务5)分配发送至该移动终端,同时将标志重新执行失败的任务(即任务2)添加至任务队列中的待执行任务的位置处,这里,待执行任务的位置处可以为还没有被执行过的任务的位置处(如任务6、7、8……等之间的位置处,本实施例优选为任务队列的最末端位置)。手机C执行任务的过程与上述手机A、B执行的任务类似,这里不再赘述。在各手机执行任务的过程中,若任务的数量多于手机的数量时,PC端会取出相应的任务分配发送至各手机,以确保每台手机都有任务执行,并且所执行的任务也各不相同,即可使多台手机同时执行不同的任务,使得其执行任务的时间大大缩短,Step 005, each mobile phone executes the corresponding task, and the PC waits for each mobile phone to return the execution result. If mobile phone A successfully executes task 1, it returns the execution result to the PC, and the PC collects the execution result, takes out the next task (such as task 4) from the task queue and assigns it to mobile phone A; if mobile phone B fails to execute For task 2, the execution result is returned to the PC, and the PC receives the execution result and sends relevant instructions to make mobile phone B re-execute the task 2; Take out the next task (such as task 5) and distribute it to mobile phone B; if re-executing task 2 fails, this task 2 can be repeated multiple times (the number of repeated executions can be preset by the user. In this embodiment, the number of repeated executions Twice, that is, in the process of re-executing a task, the preset value of the number of times of re-executing a certain task is 2), it indicates that the re-execution of the task failed, the PC side changes the task execution status, and takes out the next task from the task queue (such as task 5) is assigned and sent to the mobile terminal, and the task (i.e. task 2) that fails to be re-executed is added to the position of the task to be executed in the task queue at the same time. Here, the position of the task to be executed can be that there is no The position of the task that has been executed (for example, the position between tasks 6, 7, 8, etc., this embodiment is preferably the end position of the task queue). The process of performing tasks by mobile phone C is similar to the tasks performed by mobile phones A and B above, and will not be repeated here. During the task execution process of each mobile phone, if the number of tasks is more than the number of mobile phones, the PC will take out the corresponding task distribution and send it to each mobile phone to ensure that each mobile phone has a task to execute, and the tasks executed are also different. Not the same, it can make multiple mobile phones perform different tasks at the same time, so that the time for performing tasks is greatly shortened,

在任务被执行的过程中,手机实体会相应地记录手机的的工作状态等相关信息,如手机已有任务在执行时,手机的工作状态为忙,则将手机的工作状态置为1,手机已执行完某一任务,PC还没有相应的任务分配时,手机的工作状态为空闲,则将其工作状态置为0,若PC端已将某一任务分配发送给该手机后,则又将手机的工作状态置为1;同时,任务实体也会在任务过程中记录各任务的被执行次数,已被哪台手机执行等信息,如上述所说的任务2,若其被手机B首次执行失败,并被手机重复执行的过程中,对应的任务实体会记录任务2已被手机B执行,其被手机B执行的次数;若其被手机B执行的次数已达3次(即被手机B重复执行的次数为两次),且在第三次被执行后还失败的话,将会被标志重新执行该任务失败。在任务被执行的过程中,本实施例通过完善的任务执行结果确认及重新执行的机制,能够极大提升测试结果的准确率,也极大地保障了自动化测试的流畅性,有效减少测试过程中因出现各种异常而导致测试中断的问题。During the execution of the task, the mobile phone entity will correspondingly record the working status of the mobile phone and other related information. When a certain task has been executed and the PC has no corresponding task assignment, the mobile phone’s working status is idle, and its working status is set to 0. If the PC has sent a certain task assignment to the mobile phone, it will set The working status of the mobile phone is set to 1; at the same time, the task entity will also record the number of execution times of each task during the task process, which mobile phone has been executed and other information, such as task 2 mentioned above, if it is executed by mobile phone B for the first time In the process of failing and being repeatedly executed by the mobile phone, the corresponding task entity will record that task 2 has been executed by mobile phone B, and the number of times it has been executed by mobile phone B; The number of repeated executions is two), and if it fails after the third execution, it will be marked as failed to re-execute the task. In the process of task execution, this embodiment can greatly improve the accuracy of test results through the perfect task execution result confirmation and re-execution mechanism, and also greatly guarantee the fluency of automated testing, effectively reducing the number of tasks in the testing process. A problem that breaks the test due to various exceptions.

步骤006、当任务队列中的所有任务均已被执行完毕,PC端收集执行结果并将其输出。Step 006, when all the tasks in the task queue have been executed, the PC collects the execution results and outputs them.

本具体实施例的简要流程可参阅附图3,这里不再赘述。另外,需要说明的是,本发明不仅仅适用于手机(或其他移动终端)的自动化测试,还可适用于将大量文件传送至多台手机(或其他移动终端),在多台手机(或其他移动终端)上安装大量软件等。The brief process of this specific embodiment can refer to the accompanying drawing 3, and will not be repeated here. In addition, it should be noted that the present invention is not only applicable to automated testing of mobile phones (or other mobile terminals), but also applicable to transferring a large number of files to multiple mobile phones (or other mobile terminals), Terminal) to install a lot of software, etc.

上述实施例中提到的内容为本发明较佳的实施方式,并非是对本发明的限定,在不脱离本发明构思的前提下,任何显而易见的替换均在本发明的保护范围之内。The content mentioned in the above examples is the preferred implementation mode of the present invention, and is not a limitation of the present invention. Without departing from the concept of the present invention, any obvious replacements are within the protection scope of the present invention.

Claims (10)

1. a kind of method controlling multiple stage mobile terminal automatically to execute task, methods described includes:
S1, multiple stage mobile terminal is connected with test terminal, test terminal obtains the device name of each mobile terminal, sets up port Mapping, and build mobile terminal entity, described mobile terminal entity is used for recording the relevant information of each mobile terminal;
S2, each mobile terminal for being connected with test terminal foundation arrange a single thread, and described thread is used for detecting Corresponding mobile terminal and execution task;
S3, acquisition need the task of execution, and respectively each single task builds a Task entity, and each Task entity is added Add in task queue, described Task entity is used for recording the relevant information of each task;
S4, take out corresponding task from task queue, and distributed transmission to each mobile terminal;
S5, each mobile terminal execute corresponding task, and the standby communication terminal such as test terminal returns implementing result;
S6, finish when all tasks in task queue are all performed, test terminal is collected implementing result and simultaneously output it.
2. method according to claim 1 is it is characterised in that described step S5 also includes:
If a certain task of S51 mobile terminal successful execution, implementing result is back to test terminal, test terminal receives and holds Row result simultaneously takes out the distribution transmission of next task to this mobile terminal, if the unsuccessful execution of mobile terminal is a certain from task queue Task, then be back to test terminal by implementing result, and test terminal receives implementing result and sends dependent instruction, makes this movement eventually End re-executes this task;
If S52 re-executes this Mission Success, test terminal updates implementing result, and takes out next from task queue Business distribution sends to this mobile terminal;If re-executing this mission failure, mark re-executes this mission failure, test terminal Change execution status of task, takes out the distribution of next task from task queue and sends to this mobile terminal, again by mark simultaneously The task of execution failure is added at the position of pending task to task queue.
3. method according to claim 2 it is characterised in that:In described step S52, in re-executing task process, If the number of times repeating a certain task exceedes preset value, ability mark re-executes this mission failure, and task is changed in test terminal Execution state.
4. method according to claim 3 it is characterised in that:At the position of pending task in described task queue it is The most end end position of task queue.
5. the method according to any one of Claims 1 to 4 it is characterised in that:Described mobile terminal entity record respectively moves Whether the relevant information of dynamic terminal is included the mobile terminal title of each mobile terminal, connection end slogan, is set up with test terminal One or more information in connection and mobile terminal working condition;The relevant information bag of each task of described Task entity record Include the mission number of each task, be performed number of times and by executory one or more information of any platform mobile terminal.
6. the method according to any one of Claims 1 to 4 it is characterised in that:Described test terminal is computer, described Mobile terminal be mobile phone.
7. a kind of control multiple stage mobile terminal automatically to execute the system of task, be applied in test terminal it is characterised in that described System includes:
Mobile terminal entity builds module, and for being connected with test terminal when multiple stage mobile terminal, test terminal obtains each movement After the device name of terminal, set up port mapping and build mobile terminal entity, described mobile terminal entity is used for recording each shifting The relevant information of dynamic terminal;
Thread setup module, for arranging a single thread, institute for setting up each mobile terminal being connected with test terminal State thread to be used for detecting corresponding mobile terminal and execution task;
Task entity builds module, for, after obtaining the task of needing execution, respectively each single task builds one Entity, and each Task entity is added to task queue, described Task entity is used for recording the relevant information of each task;
Task distributes sending module, for taking out corresponding task from task queue, and is distributed transmission to each movement eventually End;
Implementing result receives and output module, for, after each mobile terminal executes corresponding task, receiving from each movement eventually The implementing result that end returns, finishes when all tasks in task queue are all performed, collects implementing result and outputs it.
8. system according to claim 7 is it is characterised in that described system also includes task action result confirmation and appoints Business re-executes module, and described task action result confirms and task re-executes module and is used for:
When a certain task of mobile terminal successful execution, implementing result is back to behind test terminal, test terminal receives and executes knot Fruit simultaneously takes out the distribution transmission of next task to this mobile terminal from task queue;
When mobile terminal unsuccessful execution task, implementing result is back to behind test terminal, test terminal receives implementing result And send dependent instruction, make this mobile terminal re-execute this task;
If re-executing this Mission Success, test terminal updates implementing result, and takes out next task from task queue and divide This mobile terminal is delivered in allocation;If re-executing this mission failure, mark re-executes this mission failure, and test terminal is changed Execution status of task, takes out the distribution of next task from task queue and sends to this mobile terminal, re-execute mark simultaneously The task of failure is added at the position of pending task to task queue;In re-executing task process, if repeating to hold The number of times of a certain task of row exceedes preset value, and ability mark re-executes this mission failure, and execution status of task is changed in test terminal.
9. system according to claim 8 it is characterised in that:The correlation of each mobile terminal of described mobile terminal entity record Whether information is included the mobile terminal title of each mobile terminal, connection end slogan, is set up with test terminal and has been connected and movement One or more information in terminal operating status;The relevant information of each task of described Task entity record includes appointing of each task Business is numbered, is performed number of times and by executory one or more information of which platform mobile terminal;In described task queue It is the most end end position of task queue at the position of pending task.
10. the system according to any one of claim 7~9 it is characterised in that:Described test terminal is computer, institute The mobile terminal stated is mobile phone.
CN201410027603.0A 2014-01-22 2014-01-22 Method and system for controlling multiple mobile terminals to automatically execute tasks Expired - Fee Related CN103744761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410027603.0A CN103744761B (en) 2014-01-22 2014-01-22 Method and system for controlling multiple mobile terminals to automatically execute tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410027603.0A CN103744761B (en) 2014-01-22 2014-01-22 Method and system for controlling multiple mobile terminals to automatically execute tasks

Publications (2)

Publication Number Publication Date
CN103744761A CN103744761A (en) 2014-04-23
CN103744761B true CN103744761B (en) 2017-02-08

Family

ID=50501781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410027603.0A Expired - Fee Related CN103744761B (en) 2014-01-22 2014-01-22 Method and system for controlling multiple mobile terminals to automatically execute tasks

Country Status (1)

Country Link
CN (1) CN103744761B (en)

Families Citing this family (103)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8677377B2 (en) 2005-09-08 2014-03-18 Apple Inc. Method and apparatus for building an intelligent automated assistant
US9318108B2 (en) 2010-01-18 2016-04-19 Apple Inc. Intelligent automated assistant
US8977255B2 (en) 2007-04-03 2015-03-10 Apple Inc. Method and system for operating a multi-function portable electronic device using voice-activation
US8676904B2 (en) 2008-10-02 2014-03-18 Apple Inc. Electronic devices with voice command and contextual data processing capabilities
US10255566B2 (en) 2011-06-03 2019-04-09 Apple Inc. Generating and processing task items that represent tasks to perform
US10276170B2 (en) 2010-01-18 2019-04-30 Apple Inc. Intelligent automated assistant
US8682667B2 (en) 2010-02-25 2014-03-25 Apple Inc. User profiling for selecting user specific voice input processing information
US10417037B2 (en) 2012-05-15 2019-09-17 Apple Inc. Systems and methods for integrating third party services with a digital assistant
DE212014000045U1 (en) 2013-02-07 2015-09-24 Apple Inc. Voice trigger for a digital assistant
US10652394B2 (en) 2013-03-14 2020-05-12 Apple Inc. System and method for processing voicemail
US10748529B1 (en) 2013-03-15 2020-08-18 Apple Inc. Voice activated device for use with a voice-based digital assistant
EP3008641A1 (en) 2013-06-09 2016-04-20 Apple Inc. Device, method, and graphical user interface for enabling conversation persistence across two or more instances of a digital assistant
US10176167B2 (en) 2013-06-09 2019-01-08 Apple Inc. System and method for inferring user intent from speech inputs
DE112014003653B4 (en) 2013-08-06 2024-04-18 Apple Inc. Automatically activate intelligent responses based on activities from remote devices
US10296160B2 (en) 2013-12-06 2019-05-21 Apple Inc. Method for extracting salient dialog usage from live data
US9430463B2 (en) 2014-05-30 2016-08-30 Apple Inc. Exemplar-based natural language processing
US9633004B2 (en) 2014-05-30 2017-04-25 Apple Inc. Better resolution when referencing to concepts
US9715875B2 (en) 2014-05-30 2017-07-25 Apple Inc. Reducing the need for manual start/end-pointing and trigger phrases
US10170123B2 (en) 2014-05-30 2019-01-01 Apple Inc. Intelligent assistant for home automation
CN110797019B (en) 2014-05-30 2023-08-29 苹果公司 Multi-command single speech input method
US9338493B2 (en) 2014-06-30 2016-05-10 Apple Inc. Intelligent automated assistant for TV user interactions
US9668121B2 (en) 2014-09-30 2017-05-30 Apple Inc. Social reminders
US10127911B2 (en) 2014-09-30 2018-11-13 Apple Inc. Speaker identification and unsupervised speaker adaptation techniques
US10152299B2 (en) 2015-03-06 2018-12-11 Apple Inc. Reducing response latency of intelligent automated assistants
US9721566B2 (en) 2015-03-08 2017-08-01 Apple Inc. Competing devices responding to voice triggers
US9886953B2 (en) 2015-03-08 2018-02-06 Apple Inc. Virtual assistant activation
US10460227B2 (en) 2015-05-15 2019-10-29 Apple Inc. Virtual assistant in a communication session
US10200824B2 (en) 2015-05-27 2019-02-05 Apple Inc. Systems and methods for proactively identifying and surfacing relevant content on a touch-sensitive device
US10083688B2 (en) 2015-05-27 2018-09-25 Apple Inc. Device voice control for selecting a displayed affordance
CN104965780A (en) * 2015-06-04 2015-10-07 北京奇虎科技有限公司 Data processing method and system
US9578173B2 (en) 2015-06-05 2017-02-21 Apple Inc. Virtual assistant aided communication with 3rd party service in a communication session
US20160378747A1 (en) 2015-06-29 2016-12-29 Apple Inc. Virtual assistant for media playback
US10747498B2 (en) 2015-09-08 2020-08-18 Apple Inc. Zero latency digital assistant
US10331312B2 (en) 2015-09-08 2019-06-25 Apple Inc. Intelligent automated assistant in a media environment
US10671428B2 (en) 2015-09-08 2020-06-02 Apple Inc. Distributed personal assistant
US10740384B2 (en) 2015-09-08 2020-08-11 Apple Inc. Intelligent automated assistant for media search and playback
US11587559B2 (en) 2015-09-30 2023-02-21 Apple Inc. Intelligent device identification
US10691473B2 (en) 2015-11-06 2020-06-23 Apple Inc. Intelligent automated assistant in a messaging environment
US10956666B2 (en) 2015-11-09 2021-03-23 Apple Inc. Unconventional virtual assistant interactions
US10223066B2 (en) 2015-12-23 2019-03-05 Apple Inc. Proactive assistance based on dialog communication between devices
US11227589B2 (en) 2016-06-06 2022-01-18 Apple Inc. Intelligent list reading
US12223282B2 (en) 2016-06-09 2025-02-11 Apple Inc. Intelligent automated assistant in a home environment
US10586535B2 (en) 2016-06-10 2020-03-10 Apple Inc. Intelligent digital assistant in a multi-tasking environment
CN107491469B (en) * 2016-06-11 2020-11-24 苹果公司 Intelligent task discovery
CN113238707A (en) * 2016-06-11 2021-08-10 苹果公司 Application integration with digital assistant
DK179343B1 (en) 2016-06-11 2018-05-14 Apple Inc Intelligent task discovery
DK201670540A1 (en) 2016-06-11 2018-01-08 Apple Inc Application integration with a digital assistant
DK179415B1 (en) 2016-06-11 2018-06-14 Apple Inc Intelligent device arbitration and control
US12197817B2 (en) 2016-06-11 2025-01-14 Apple Inc. Intelligent device arbitration and control
US10474753B2 (en) 2016-09-07 2019-11-12 Apple Inc. Language identification using recurrent neural networks
US11204787B2 (en) 2017-01-09 2021-12-21 Apple Inc. Application integration with a digital assistant
CN106997307A (en) * 2017-02-13 2017-08-01 上海大学 A kind of Socket thread pool design methods towards multiple terminals radio communication
DK201770383A1 (en) 2017-05-09 2018-12-14 Apple Inc. User interface for correcting recognition errors
DK180048B1 (en) 2017-05-11 2020-02-04 Apple Inc. MAINTAINING THE DATA PROTECTION OF PERSONAL INFORMATION
US10395654B2 (en) 2017-05-11 2019-08-27 Apple Inc. Text normalization based on a data-driven learning network
US10726832B2 (en) 2017-05-11 2020-07-28 Apple Inc. Maintaining privacy of personal information
DK201770428A1 (en) 2017-05-12 2019-02-18 Apple Inc. Low-latency intelligent automated assistant
DK179745B1 (en) 2017-05-12 2019-05-01 Apple Inc. SYNCHRONIZATION AND TASK DELEGATION OF A DIGITAL ASSISTANT
US11301477B2 (en) 2017-05-12 2022-04-12 Apple Inc. Feedback analysis of a digital assistant
DK179496B1 (en) 2017-05-12 2019-01-15 Apple Inc. USER-SPECIFIC Acoustic Models
DK201770411A1 (en) 2017-05-15 2018-12-20 Apple Inc. MULTI-MODAL INTERFACES
US20180336275A1 (en) 2017-05-16 2018-11-22 Apple Inc. Intelligent automated assistant for media exploration
US20180336892A1 (en) 2017-05-16 2018-11-22 Apple Inc. Detecting a trigger of a digital assistant
US10311144B2 (en) 2017-05-16 2019-06-04 Apple Inc. Emoji word sense disambiguation
DK179560B1 (en) 2017-05-16 2019-02-18 Apple Inc. Far-field extension for digital assistant services
CN108073514B (en) * 2017-07-18 2023-09-05 北京微应软件科技有限公司 Method and device for simultaneously connecting multiple mobile phone terminals by personal computer
US10592604B2 (en) 2018-03-12 2020-03-17 Apple Inc. Inverse text normalization for automatic speech recognition
US10818288B2 (en) 2018-03-26 2020-10-27 Apple Inc. Natural assistant interaction
US11145294B2 (en) 2018-05-07 2021-10-12 Apple Inc. Intelligent automated assistant for delivering content from user experiences
US10928918B2 (en) 2018-05-07 2021-02-23 Apple Inc. Raise to speak
US10892996B2 (en) 2018-06-01 2021-01-12 Apple Inc. Variable latency device coordination
DK201870355A1 (en) 2018-06-01 2019-12-16 Apple Inc. Virtual assistant operation in multi-device environments
DK180639B1 (en) 2018-06-01 2021-11-04 Apple Inc DISABILITY OF ATTENTION-ATTENTIVE VIRTUAL ASSISTANT
DK179822B1 (en) 2018-06-01 2019-07-12 Apple Inc. Voice interaction at a primary device to access call functionality of a companion device
US10504518B1 (en) 2018-06-03 2019-12-10 Apple Inc. Accelerated task performance
CN110895488B (en) * 2018-09-12 2023-10-20 三六零科技集团有限公司 Task scheduling method and device
US11010561B2 (en) 2018-09-27 2021-05-18 Apple Inc. Sentiment prediction from textual data
US10839159B2 (en) 2018-09-28 2020-11-17 Apple Inc. Named entity normalization in a spoken dialog system
US11462215B2 (en) 2018-09-28 2022-10-04 Apple Inc. Multi-modal inputs for voice commands
US11170166B2 (en) 2018-09-28 2021-11-09 Apple Inc. Neural typographical error modeling via generative adversarial networks
US11475898B2 (en) 2018-10-26 2022-10-18 Apple Inc. Low-latency multi-speaker speech recognition
CN109636404A (en) * 2018-12-29 2019-04-16 福建易联众医联信息技术有限公司 A kind of fast and safely method of payment, system, equipment and the readable medium of hospital
US11638059B2 (en) 2019-01-04 2023-04-25 Apple Inc. Content playback on multiple devices
US11348573B2 (en) 2019-03-18 2022-05-31 Apple Inc. Multimodality in digital assistant systems
DK201970509A1 (en) 2019-05-06 2021-01-15 Apple Inc Spoken notifications
US11475884B2 (en) 2019-05-06 2022-10-18 Apple Inc. Reducing digital assistant latency when a language is incorrectly determined
US11307752B2 (en) 2019-05-06 2022-04-19 Apple Inc. User configurable task triggers
US11423908B2 (en) 2019-05-06 2022-08-23 Apple Inc. Interpreting spoken requests
US11140099B2 (en) 2019-05-21 2021-10-05 Apple Inc. Providing message response suggestions
DK201970510A1 (en) 2019-05-31 2021-02-11 Apple Inc Voice identification in digital assistant systems
US11289073B2 (en) 2019-05-31 2022-03-29 Apple Inc. Device text to speech
DK180129B1 (en) 2019-05-31 2020-06-02 Apple Inc. USER ACTIVITY SHORTCUT SUGGESTIONS
US11496600B2 (en) 2019-05-31 2022-11-08 Apple Inc. Remote execution of machine-learned models
US11468890B2 (en) 2019-06-01 2022-10-11 Apple Inc. Methods and user interfaces for voice-based control of electronic devices
US11360641B2 (en) 2019-06-01 2022-06-14 Apple Inc. Increasing the relevance of new available information
WO2021056255A1 (en) 2019-09-25 2021-04-01 Apple Inc. Text detection using global geometry estimators
US12301635B2 (en) 2020-05-11 2025-05-13 Apple Inc. Digital assistant hardware abstraction
US11061543B1 (en) 2020-05-11 2021-07-13 Apple Inc. Providing relevant data items based on context
US11043220B1 (en) 2020-05-11 2021-06-22 Apple Inc. Digital assistant hardware abstraction
US11755276B2 (en) 2020-05-12 2023-09-12 Apple Inc. Reducing description length based on confidence
US11490204B2 (en) 2020-07-20 2022-11-01 Apple Inc. Multi-device audio adjustment coordination
US11438683B2 (en) 2020-07-21 2022-09-06 Apple Inc. User identification using headphones
CN114756348A (en) * 2022-04-24 2022-07-15 青岛海尔科技有限公司 Execution method and device of dial testing task, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5383192A (en) * 1992-12-23 1995-01-17 Intel Corporation Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints
CN1149735A (en) * 1994-05-25 1997-05-14 西门子公司 Service personal computer of modular structure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5383192A (en) * 1992-12-23 1995-01-17 Intel Corporation Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints
CN1149735A (en) * 1994-05-25 1997-05-14 西门子公司 Service personal computer of modular structure

Also Published As

Publication number Publication date
CN103744761A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN103744761B (en) Method and system for controlling multiple mobile terminals to automatically execute tasks
CN109634728B (en) Job scheduling method and device, terminal equipment and readable storage medium
CN102929585B (en) A kind of batch processing method and system supporting the distributed data processing of many main frames
CN102967815B (en) Chip testing method, automated testing equipment and system
CN102750301B (en) Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description
CN102035896B (en) TTCN-3-based distributed testing framework applicable to software system
CN102662846A (en) Testing method combining automatic tool and testing case
CN102937932A (en) Automated testing device and method of integrated heterogeneous testing tool
WO2016145848A1 (en) Test connection device, system and automatic test connection method
CN105450476A (en) Regression test system and test method
CN106776294A (en) Android mobile phone automated testing method and system
CN107015902B (en) Test method and test equipment
WO2019134113A1 (en) Automated test method and system
CN105653401A (en) Method and device for scheduling disaster recovery, operation and maintenance, monitoring and emergency start-stop of application systems
CN104020763A (en) Automatic test method and system for input and output interfaces
CN110727581B (en) Crash location method and electronic device
CN104462243A (en) Data verification combined ETL scheduling system and method
CN109885905B (en) Verification system for improving function verification efficiency of digital circuit
CN102135939B (en) Test case operation dispatching device and method
CN116859214A (en) Remote test method, remote test device, industrial personal computer and integrated circuit test system
CN107861869A (en) Multi-mode interface testing system suitable for cloud platform and implementation method thereof
CN104679648B (en) Across the automated testing method of application
CN103019944A (en) Device and method for testing based on code injection mode
CN111737065B (en) Interface testing method and system based on requirement model of server interface testing
CN106354597B (en) A kind of interface circuit and method for supporting SWP and 7816 interfaces while debugging

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170208