技术领域technical field
本发明涉及互联网技术领域,具体涉及一种设备管理方法及装置,一种服务器和一种存储介质。The present invention relates to the technical field of the Internet, in particular to a device management method and device, a server and a storage medium.
背景技术Background technique
随着终端技术的发展,终端设备的性能越来越好,因此越来越多的应用程序开始涌现。用户可以使用各种应用程序执行所需的操作,如通过游戏应用玩游戏,通过视频应用播放音视频,通过浏览器应用进行搜索、查询信息等。With the development of terminal technology, the performance of terminal equipment is getting better and better, so more and more applications are emerging. Users can use various applications to perform desired operations, such as playing games through game applications, playing audio and video through video applications, and searching and querying information through browser applications.
应用程序在开发完,正式上线发布之前,需要对应用程序进行测试,测试完成没有问题后才会上线,其中由于不同终端设备的操作系统存在一定的区别,因此应用程序需要在不同型号的终端设备上进行测试。为了便于应用程序进行测试,可以提供测试平台,该测试平台提供多种不同型号的测试设备,服务器对测试设备进行远程控制,从而可以在测试设备上运行应用程序。测试设备在完成应用程序的测试后,会将测试结果上传到测试平台,测试平台会将结果分发到服务器中存储,完成测试。After the application program is developed and officially launched, it needs to be tested. The application program will not be launched until there is no problem after the test is completed. Due to the differences in the operating systems of different terminal devices, the application program needs to be installed on different types of terminal devices. to test on. In order to facilitate the testing of the application program, a test platform can be provided. The test platform provides a variety of different types of test equipment, and the server remotely controls the test equipment, so that the application program can be run on the test equipment. After the test equipment finishes testing the application program, it will upload the test results to the test platform, and the test platform will distribute the results to the server for storage to complete the test.
测试平台需要管理大量不同型号的测试设备,因此迫切需要本领域技术人员提供一种对测试设备进行有效管理的方法。The test platform needs to manage a large number of different types of test equipment, so it is urgently needed for those skilled in the art to provide a method for effectively managing the test equipment.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的设备管理方法及装置,服务器以及存储介质。In view of the above problems, the present invention is proposed to provide a device management method and device, a server, and a storage medium that overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种设备管理方法,应用于测试平台,所述测试平台包括服务器、多于一台代理服务器以及多于一台测试设备,所述方法包括:接收各代理服务器按照预设时间间隔上报的心跳包;其中,所述心跳包中携带有上报所述心跳包的代理服务器的服务器标识以及所述代理服务器当前连接的各测试设备的设备标识;依据各代理服务器上报的心跳包,确定各代理服务器与各测试设备之间的关系以及各测试设备的状态;依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理。According to one aspect of the present invention, a device management method is provided, which is applied to a test platform, and the test platform includes a server, more than one proxy server and more than one test device, and the method includes: receiving each proxy server A heartbeat packet reported according to a preset time interval; wherein, the heartbeat packet carries the server identification of the proxy server reporting the heartbeat packet and the device identification of each test device currently connected to the proxy server; according to each proxy server report Heartbeat packets to determine the relationship between each proxy server and each test device and the status of each test device; manage each test device based on the relationship between each proxy server and each test device and the status of each test device.
可选地,所述依据各代理服务器上报的心跳包,确定各测试设备与代理服务器之间的关系以及各测试设备的状态,包括:针对每台代理服务器,依据所述代理服务器历史上报的各心跳包,确定所述代理服务器管理的各测试设备以及所述代理服务器管理的各测试设备的状态。Optionally, the determining the relationship between each test device and the proxy server and the state of each test device according to the heartbeat packets reported by each proxy server includes: for each proxy server, according to each proxy server historically reported The heartbeat packet is used to determine the test devices managed by the proxy server and the states of the test devices managed by the proxy server.
可选地,所述依据所述代理服务器历史上报的各心跳包,确定所述代理服务器管理的各测试设备以及所述代理服务器管理的各测试设备的状态,包括:确定所述代理服务器历史上报的各心跳包中携带的设备标识的并集;将所述并集包含的设备标识数量确定为所述代理服务器的应有设备数量,将所述并集包含的设备标识对应的设备确定为所述代理服务器管理的应有测试设备;将所述代理服务器最近一次上报的心跳包中携带的设备标识对应的测试设备确定为在线测试设备;将所述应有测试设备中除所述在线测试设备外的其他设备确定为掉线测试设备。Optionally, the determining the test devices managed by the proxy server and the states of the test devices managed by the proxy server according to the heartbeat packets reported by the proxy server history includes: determining the historical report of the proxy server The union of the device identifications carried in each heartbeat packet; determine the number of device identifications contained in the union as the number of devices that the proxy server should have, and determine the equipment corresponding to the device identifications contained in the union as all The appropriate test equipment managed by the proxy server; the test equipment corresponding to the device identification carried in the heartbeat packet reported by the proxy server last time is determined as the online test equipment; the online test equipment is excluded from the appropriate test equipment The other equipment outside is determined as the drop test equipment.
可选地,所述方法还包括:当通过各代理服务器上报的心跳包检测到一台测试设备从第一代理服务器切换到第二代理服务器时,将所述测试设备的设备标识从所述第一代理服务器对应的设备标识并集中删除。Optionally, the method further includes: when the heartbeat packets reported by the proxy servers detect that a test device is switched from the first proxy server to the second proxy server, changing the device identification of the test device from the first proxy server to the second proxy server. The device identification corresponding to a proxy server is deleted centrally.
可选地,所述心跳包中还包括:测试设备对应的用户标识。Optionally, the heartbeat packet further includes: a user identification corresponding to the testing device.
可选地,所述依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理,包括:针对每台代理服务器,依据所述代理服务器管理的在线测试设备以及掉线测试设备信息,生成代理服务器与测试设备间的关系意图并在显示界面中显示,以供用户依据各所述关系示意图对各测试设备进行管理。Optionally, the managing each test device according to the relationship between each proxy server and each test device and the state of each test device includes: for each proxy server, according to the online test device managed by the proxy server As well as the offline test equipment information, the relationship intent between the proxy server and the test equipment is generated and displayed on the display interface, so that the user can manage each test equipment according to the relationship schematic diagrams.
可选地,所述关系示意图中包括:代理服务器的服务器标识与所述代理服务器所管理的在线测试设备的设备标识和数量、所述代理服务器所管理的掉线测试设备的设备标识和数量以及各测试设备对应的用户标识之间的关联关系。Optionally, the schematic diagram of the relationship includes: the server identifier of the proxy server and the device identifier and quantity of the online test equipment managed by the proxy server, the device identifier and quantity of the offline test equipment managed by the proxy server, and The association relationship between the user identifiers corresponding to each test equipment.
可选地,在所述生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,所述方法还包括:接收用户在所述显示界面中对目标代理服务器的选择指令;接收用户对待更新程序包的选择指令;将待更新程序包通过长连接推送至所述代理服务器,以通过所述代理服务器将所述待更新程序包推送至所述目标代理服务器管理的测试设备进行程序更新。Optionally, after generating the relationship intention between the proxy server and the test equipment and displaying it on the display interface, the method further includes: receiving a user's selection instruction for the target proxy server in the display interface; receiving the user's treatment A selection instruction for updating the program package; pushing the program package to be updated to the proxy server through a long connection, so as to push the program package to be updated to the test equipment managed by the target proxy server through the proxy server for program update.
可选地,在所述生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,所述方法还包括:接收用户在所述显示界面中对待重启测试设备的选择指令;确定管理所述待重启测试设备的目标代理服务器;向所述目标代理服务器发送测试设备重启指令,以供所述目标代理服务器依据所述测试设备重启指令重启所述待重启测试设备;其中,所述测试设备重启指令中携带有待重启测试设备的设备标识。Optionally, after generating the relationship intention between the proxy server and the test equipment and displaying it on the display interface, the method further includes: receiving a selection instruction from the user on the display interface for the test equipment to be restarted; Describe the target proxy server of the test device to be restarted; send a test device restart instruction to the target proxy server, so that the target proxy server restarts the test device to be restarted according to the test device restart instruction; wherein the test device The restart command carries the device identifier of the test device to be restarted.
可选地,所述在所述生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,所述方法还包括:接收用户输入的搜索关键词;其中,所述搜索关键词包括:用户标识、设备标识、掉线测试设备、在线测试设备、应有测试设备中的至少之一;查找与所述搜索关键词对应的设备标识和/或服务器标识并显示。Optionally, after the generation of the relationship intention between the proxy server and the test equipment and displaying it on the display interface, the method further includes: receiving a search keyword input by a user; wherein the search keyword includes: At least one of user ID, device ID, offline test equipment, online test equipment, and due test equipment; find and display the equipment ID and/or server ID corresponding to the search keyword.
根据本发明的另一方面,提供了一种设备管理装置,应用于测试平台,所述测试平台包括服务器、多于一台代理服务器以及多于一台测试设备,所述的装置包括:接收模块,用于接收各代理服务器按照预设时间间隔上报的心跳包;其中,所述心跳包中携带有上报所述心跳包的代理服务器的服务器标识以及所述代理服务器当前连接的各测试设备的设备标识;确定模块,用于依据各代理服务器上报的心跳包,确定各代理服务器与各测试设备之间的关系以及各测试设备的状态;管理模块,用于依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理。According to another aspect of the present invention, a device management device is provided, which is applied to a test platform, and the test platform includes a server, more than one proxy server and more than one test device, and the device includes: a receiving module , for receiving heartbeat packets reported by each proxy server according to a preset time interval; wherein, the heartbeat packet carries the server identification of the proxy server reporting the heartbeat packet and the equipment of each test device currently connected to the proxy server Identification; determination module, used to determine the relationship between each proxy server and each test device and the status of each test device according to the heartbeat packets reported by each proxy server; management module, used to determine the relationship between each proxy server and each test device relationship and the status of each test equipment, and manage each test equipment.
可选地,所述确定模块具体用于:针对每台代理服务器,依据所述代理服务器历史上报的各心跳包,确定所述代理服务器管理的各测试设备以及所述代理服务器管理的各测试设备的状态。Optionally, the determination module is specifically configured to: for each proxy server, determine the test devices managed by the proxy server and the test devices managed by the proxy server according to the heartbeat packets historically reported by the proxy server status.
可选地,所述确定模块包括:标识集确定子模块,用于针对每台代理服务器,确定所述代理服务器历史上报的各心跳包中携带的设备标识的并集;第一确定子模块,用于将所述并集包含的设备标识数量确定为所述代理服务器的应有设备数量,将所述并集包含的设备标识对应的设备确定为所述代理服务器管理的应有测试设备;第二确定子模块,用于将所述代理服务器最近一次上报的心跳包中携带的设备标识对应的测试设备,确定为在线测试设备;第三确定子模块,用于将所述应有测试设备中除所述在线测试设备外的其他设备,确定为掉线测试设备。Optionally, the determining module includes: an identification set determining submodule, configured to, for each proxy server, determine a union of device identifications carried in heartbeat packets reported historically by the proxy server; a first determining submodule, It is used to determine the number of equipment identifiers included in the union set as the number of equipment that the proxy server should have, and determine the equipment corresponding to the equipment identifiers included in the union set as the equipment that should be tested by the proxy server; The second determination submodule is used to determine the test equipment corresponding to the device identification carried in the heartbeat packet reported by the proxy server last time as an online test equipment; the third determination submodule is used to determine the corresponding test equipment in the said due test equipment Other equipment other than the online test equipment is determined as the offline test equipment.
可选地,所述装置还包括:删除模块,用于当通过各代理服务器上报的心跳包检测到一台测试设备从第一代理服务器切换到第二代理服务器时,将所述测试设备的设备标识从所述第一代理服务器对应的设备标识并集中删除。Optionally, the device further includes: a deletion module, configured to delete the device of the test device when it is detected that a test device is switched from the first proxy server to the second proxy server through the heartbeat packets reported by the proxy servers. The identifier is deleted centrally from the device identifier corresponding to the first proxy server.
可选地,所述心跳包中还包括:测试设备对应的用户标识。Optionally, the heartbeat packet further includes: a user identification corresponding to the testing device.
可选地,所述管理模块包括:显示子模块,用于针对每台代理服务器,依据所述代理服务器管理的在线测试设备以及掉线测试设备信息,生成代理服务器与测试设备间的关系意图并在显示界面中显示,以供用户依据各所述关系示意图对各测试设备进行管理。Optionally, the management module includes: a display submodule, for each proxy server, according to the information of the online test equipment and the offline test equipment managed by the proxy server, generating the relationship intention between the proxy server and the test equipment and It is displayed on the display interface for the user to manage each test device according to each of the relationship schematic diagrams.
可选地,所述关系示意图中包括:代理服务器的服务器标识与所述代理服务器所管理的在线测试设备的设备标识和数量、所述代理服务器所管理的掉线测试设备的设备标识和数量以及各测试设备对应的用户标识之间的关联关系。Optionally, the schematic diagram of the relationship includes: the server identifier of the proxy server and the device identifier and quantity of the online test equipment managed by the proxy server, the device identifier and quantity of the offline test equipment managed by the proxy server, and The association relationship between the user identifiers corresponding to each test equipment.
可选地,所述管理模块还包括:第一指令接收子模块,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户在所述显示界面中对目标代理服务器的选择指令;第二指令接收子模块,用于接收用户对待更新程序包的选择指令;程序更新子模块,用于将待更新程序包通过长连接推送至所述代理服务器,以通过所述代理服务器将所述待更新程序包推送至所述目标代理服务器管理的测试设备进行程序更新。Optionally, the management module further includes: a first instruction receiving submodule, configured to receive the user's instruction on the display after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it on the display interface. Instructions for selecting the target proxy server in the interface; the second instruction receiving submodule is used to receive the user’s selection instruction of the program package to be updated; the program update submodule is used to push the program package to be updated to the proxy server through a long connection , so as to push the program package to be updated to the test equipment managed by the target proxy server through the proxy server for program update.
可选地,所述管理模块还包括:第三指令接收子模块,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户在所述显示界面中对待重启测试设备的选择指令;代理服务器确定子模块,用于确定管理所述待重启测试设备的目标代理服务器;指令发送子模块,用于向所述目标代理服务器发送测试设备重启指令,以供所述目标代理服务器依据所述测试设备重启指令重启所述待重启测试设备;其中,所述测试设备重启指令中携带有待重启测试设备的设备标识。Optionally, the management module further includes: a third instruction receiving submodule, configured to receive the user’s instruction on the display after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it on the display interface. The selection instruction of the test equipment to be restarted in the interface; the proxy server determination submodule is used to determine the target proxy server that manages the test equipment to be restarted; the instruction sending submodule is used to send the test equipment restart instruction to the target proxy server, For the target proxy server to restart the test device to be restarted according to the test device restart instruction; wherein, the test device restart instruction carries the device identifier of the test device to be restarted.
可选地,所述管理模块还包括:标识接收子模块,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户输入搜索关键词;其中,所述搜索关键词包括:用户标识、设备标识、掉线测试设备、在线测试设备、应有测试设备中的至少之一;查找子模块,用于查找与所述搜索关键词对应的设备标识和/或服务器标识并显示。Optionally, the management module further includes: an identification receiving submodule, configured to receive a search keyword input by a user after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it on the display interface; wherein , the search keyword includes: at least one of user ID, device ID, drop-off test equipment, online test equipment, and required test equipment; a search submodule is used to search for the device ID corresponding to the search keyword and/or server ID and display.
根据本发明的再一个方面,提供了一种服务器,包括:一个或多个处理器;和其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述服务器执行本发明所述的任意一种设备管理方法。According to still another aspect of the present invention, there is provided a server, comprising: one or more processors; and one or more machine-readable media having instructions stored thereon, when executed by the one or more processors , causing the server to execute any one of the device management methods described in the present invention.
根据本发明的又一个方面,提供了一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得服务器执行本发明所述的任意一种设备管理方法。According to another aspect of the present invention, there is provided one or more machine-readable media, on which instructions are stored, and when executed by one or more processors, the server executes any one of the device management methods described in the present invention .
本发明实施例提供的设备管理方法及装置,通过多台代理服务器上报包含各自所连接的测试设备的标识的心跳包,服务器通过心跳包中携带的信息即可确定测试设备的分布以及状态,技术人员即用户在服务器上依据测试设备的分布以及测试设备状态即可对测试设备进行有效管理,能够提升管理效率。In the equipment management method and device provided by the embodiments of the present invention, multiple proxy servers report the heartbeat packets containing the identifications of the test equipments they are connected to, and the server can determine the distribution and status of the test equipment through the information carried in the heartbeat packets. Personnel, that is, users, can effectively manage test equipment on the server according to the distribution of test equipment and the status of test equipment, which can improve management efficiency.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了根据本发明一个实施例的一种设备管理方法的步骤流程图;FIG. 1 shows a flowchart of steps of a device management method according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的另一种设备管理方法的步骤流程图;FIG. 2 shows a flowchart of steps of another device management method according to an embodiment of the present invention;
图3示出了根据本发明一个实施例的一种设备管理装置实施例的结构框图;Fig. 3 shows a structural block diagram of an embodiment of an equipment management apparatus according to an embodiment of the present invention;
图4示出了根据本发明一个实施例的另一种设备管理装置实施例的结构框图Fig. 4 shows a structural block diagram of another device management device embodiment according to an embodiment of the present invention
图5示意性地示出了用于执行根据本发明的方法的服务器的框图;Fig. 5 schematically shows a block diagram of a server for performing the method according to the present invention;
图6示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元;以及Fig. 6 schematically shows a storage unit for holding or carrying program codes for realizing the method according to the present invention; and
图7示意性地示出了与本发明实施例提供的终端设备相关的部分结构的框图。Fig. 7 schematically shows a block diagram of a partial structure related to a terminal device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
本发明实施例中,测试平台用于对应用程序进行测试,例如可以测试运行的状态,如卡顿、流畅度,又如测试应用程序的兼容性,又如进行UI(User Interface,用户界面)遍历测试等。测试平台包括服务器、对于一台的代理服务器和多于一台测试设备,代理服务器可连接多台测试设备,并上报携带所连接测试设备的标识的心跳包至服务器,以使服务器确定各台测试设备的分布及状态。服务器用于对测试设备进行管理,依据代理服务器上报的心跳包可以确定测试设备的状态,为测试设备分发任务以及确定任务结果等。测试设备用于对应用程序进行测试。测试平台的服务器包括多种,例如包括管理服务器、存储服务器等,其中,存储服务器也可包括多台,例如存储日志数据的日志服务器,存储图片数据的图片服务器等。其中,每一种服务器可以有一台或多台,如测试平台可具有一台或多台管理服务器,不同的管理服务器可以管理相同或不同的项目。In the embodiment of the present invention, the test platform is used to test the application program, for example, the state of running can be tested, such as stuck, fluency, and the compatibility of the application program is tested, and the UI (User Interface, user interface) is performed again. Traverse tests etc. The test platform includes a server, and for one proxy server and more than one test equipment, the proxy server can connect multiple test equipment, and report the heartbeat packet carrying the identity of the connected test equipment to the server, so that the server can determine the The distribution and status of the equipment. The server is used to manage the test equipment. According to the heartbeat packet reported by the proxy server, the status of the test equipment can be determined, tasks can be distributed to the test equipment, and task results can be determined. Test equipment is used to test the application. The test platform includes multiple servers, such as a management server, a storage server, etc., wherein the storage server may also include multiple, such as a log server for storing log data, a picture server for storing picture data, and the like. Among them, there may be one or more servers of each type, for example, the test platform may have one or more management servers, and different management servers may manage the same or different projects.
本发明实施例中,测试平台可提供各种用户进行APP的测试,不同用户对于测试的需求也不同,例如一些用户是大客户,有一些用户是小客户。其中,大客户也可称为专有用户,专有用户通常具有数量较多的APP需要测试,也可在具有自己的专有测试设备连接到测试平台中,这些设备为该用户的专用设备,从而该用户的应用测试由专用设备完成。小客户也可称为公有用户,这些用户通常需要测试的APP数量较小,没有自己的专用设备,而是通过测试平台提供的公用设备执行测试。In the embodiment of the present invention, the test platform can provide various users to test the APP, and different users have different requirements for testing, for example, some users are large customers, and some users are small customers. Among them, a large customer can also be called a dedicated user. A dedicated user usually has a large number of APPs to be tested, and can also connect to the test platform with its own dedicated testing equipment. These equipment are the dedicated equipment of the user. Thus the user's application testing is done by the dedicated equipment. Small customers can also be referred to as public users. These users usually need to test a small number of APPs and do not have their own dedicated equipment, but use the public equipment provided by the test platform to perform tests.
其中,由于应用程序通常会在不同型号的测试设备上进行测试,因此测试平台可包括各种型号的测试设备,其中公用设备和专用设备均具有各种型号的测试设备。为了便于为更多应用程序提供测试服务,本实施例中,对于公用设备和专用设备,均可将测试设备按照设备型号进行分组,每个分组包括至少一个测试设备,从而通过不同分组区分不同的测试设备,便于服务器查询不同型号的设备进行测试,该分组也可看作是设备池,则同一型号的各测试设备可构成设备池,从而服务器可从设备池中选取设备进行应用程序的测试。Wherein, since the application program is usually tested on different types of test equipment, the test platform may include various types of test equipment, and both the public equipment and the special equipment have various types of test equipment. In order to facilitate the provision of testing services for more applications, in this embodiment, for public equipment and special equipment, test equipment can be grouped according to equipment models, and each group includes at least one test equipment, so that different groups can be used to distinguish different Test equipment, which is convenient for the server to query different types of equipment for testing. This group can also be regarded as a equipment pool, and each test equipment of the same model can form a equipment pool, so that the server can select equipment from the equipment pool for application testing.
测试平台需要管理大量不同型号的测试设备,本发明提供了对测试设备进行有效管理的方法,具体如下:The test platform needs to manage a large number of different types of test equipment. The present invention provides a method for effectively managing the test equipment, as follows:
参照图1,示出了本发明一个实施例的一种设备管理方法的步骤流程图。Referring to FIG. 1 , it shows a flowchart of steps of a device management method according to an embodiment of the present invention.
步骤102:接收各代理服务器按照预设时间间隔上报的心跳包。Step 102: Receive heartbeat packets reported by each proxy server at preset time intervals.
测试平台中包含多于一台代理服务器,代理服务器管理多台测试设备并通过心跳包向服务器上报所管理的测试设备,服务器则通过代理服务器间接对测试设备进行管理。The test platform contains more than one proxy server, and the proxy server manages multiple test devices and reports the managed test devices to the server through the heartbeat packet, and the server indirectly manages the test devices through the proxy server.
各代理服务器分别按照预设时间间隔上报心跳包至服务器。其中,心跳包中携带有上报心跳包的代理服务器的服务器标识以及代理服务器当前连接的各测试设备的设备标识,每个测试设备对应唯一的设备标识。通过代理服务器上报的心跳包可以确定代理服务器当前所连接的测试设备即在线测试设备,还可以确定在线测试设备的数量。此外,心跳包中还可以包括测试设备所属用户的用户标识。Each proxy server reports a heartbeat packet to the server at preset time intervals. Wherein, the heartbeat packet carries the server identifier of the proxy server reporting the heartbeat packet and the device identifiers of the test devices currently connected to the proxy server, and each test device corresponds to a unique device identifier. The heartbeat packet reported by the proxy server can determine the test device currently connected to the proxy server, that is, the online test device, and can also determine the number of online test devices. In addition, the heartbeat packet may also include the user ID of the user to whom the testing device belongs.
其中,预设时间间隔可以由本领域技术人员根据实际需求进行设置,本发明实施例中对此不做具体限制。例如:将时间间隔设置为40秒、45秒或50秒等。Wherein, the preset time interval may be set by those skilled in the art according to actual needs, and is not specifically limited in this embodiment of the present invention. For example: set the time interval to 40 seconds, 45 seconds or 50 seconds etc.
步骤104:依据各代理服务器上报的心跳包,确定各代理服务器与各测试设备之间的关系以及各测试设备的状态。Step 104: Determine the relationship between each proxy server and each test device and the status of each test device according to the heartbeat packets reported by each proxy server.
代理服务器每隔预设时间间隔上报一次心跳包,在两次心跳包上报期间代理服务器上所连接的测试设备可能发生变化,而心跳包中携带当前所连接的测试设备的设备标识,因此可以通过代理服务器历史所上报的各心跳包确定该代理服务器所管理的全部测试设备即应有测试设备,在线测试设备以及掉线测试设备。相应地,通过各代理服务器上报的心跳包可确定各代理服务器对应的应有测试设备、掉线测试设备以及在线测试设备。其中,掉线测试设备为曾与代理服务器连接当前未与其连接,但也未与其他代理服务器连接的测试设备。The proxy server reports a heartbeat packet every preset time interval, and the test equipment connected to the proxy server may change during the two heartbeat packet reporting periods, and the heartbeat packet carries the device identification of the currently connected test equipment, so it can be passed Each heartbeat packet reported by the proxy server history determines all test devices managed by the proxy server, that is, the due test device, the online test device and the offline test device. Correspondingly, through the heartbeat packets reported by each proxy server, the corresponding test equipment, disconnection test equipment and online test equipment corresponding to each proxy server can be determined. Wherein, the disconnection test device is a test device that has been connected to the proxy server and is not currently connected to it, but is not connected to other proxy servers.
例如:前一次上报第一心跳包时代理服务器上连接有设备标识为1、3、4以及5的测试设备,则心跳包中携带的设备标识为1、3、4以及5;第一心跳包上报后代理服务器上连接的设备发生了变化测试设备4掉线并且连接了测试设备6以及7,此时当上报第二心跳包心跳包中携带设备标识为1、、3、5、6以及7。通过代理服务器上报的这两个心跳包可确定代理服务器对应的在线测试设备的设备标识为1、3、5、6以及7,掉线测试设备的设备标识为4,应有测试设备的设备标识为1、3、4、5、6以及7。For example: when the first heartbeat packet was reported last time, the proxy server was connected to test equipment with device identifiers 1, 3, 4, and 5, and the device identifiers carried in the heartbeat packet were 1, 3, 4, and 5; the first heartbeat packet After reporting, the device connected to the proxy server has changed. Test device 4 is offline and connected to test devices 6 and 7. At this time, when reporting the second heartbeat packet, the heartbeat packet carries device identifiers 1, 3, 5, 6, and 7. . Through the two heartbeat packets reported by the proxy server, it can be determined that the device IDs of the online test equipment corresponding to the proxy server are 1, 3, 5, 6, and 7, and the equipment ID of the offline test equipment is 4, which should have the equipment ID of the test equipment 1, 3, 4, 5, 6 and 7.
步骤106:依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理。Step 106: Manage each test device according to the relationship between each proxy server and each test device and the status of each test device.
通过各代理服务器历史上报的各心跳包,可以确定代理服务器对应的应有测试设备、在线测试设备以及掉线测试设备。服务器可以依据这些信息对测试平台中的各测试设备进行管理。其中,对测试设备的管理可以包括但不限于:测试设备搜索、测试设备重启、测试设备程序更新、配置更新以及获取测试设备截图等管理操作中的一个或多个操作。Through the heartbeat packets historically reported by each proxy server, it is possible to determine the corresponding test equipment, online test equipment, and offline test equipment corresponding to the proxy server. The server can manage each test device in the test platform according to the information. Wherein, the management of the test equipment may include but not limited to: one or more operations in management operations such as test equipment search, test equipment restart, test equipment program update, configuration update, and acquisition of test equipment screenshots.
综上,多台代理服务器上报包含各自所连接的测试设备的标识的心跳包至服务器,服务器通过心跳包中携带的信息即可确定测试设备的分布以及状态,技术人员即用户在服务器上依据测试设备的分布以及测试设备状态即可对测试设备进行有效管理,能够提升管理效率。To sum up, multiple proxy servers report heartbeat packets containing the identifications of the test equipment they are connected to the server, and the server can determine the distribution and status of the test equipment through the information carried in the heartbeat packets. The distribution of equipment and the status of test equipment can effectively manage test equipment, which can improve management efficiency.
参照图2,示出了本发明一个实施例的另一种设备管理方法的步骤流程图。Referring to FIG. 2 , it shows a flowchart of steps of another device management method according to an embodiment of the present invention.
步骤202:接收各代理服务器按照预设时间间隔上报的心跳包。Step 202: Receive heartbeat packets reported by each proxy server at preset time intervals.
其中,心跳包中携带有上报心跳包的代理服务器的服务器标识以及代理服务器当前连接的各测试设备的设备标识,心跳包中还可以携带当前连接的各测试设备对应的用户标识和程序版本信息、代理服务器的程序版本信息。Wherein, the heartbeat packet carries the server identifier of the proxy server that reported the heartbeat packet and the device identifiers of each test device currently connected to the proxy server, and the heartbeat packet can also carry the user identifier and program version information corresponding to each currently connected test device, The program version information of the proxy server.
针对每台代理服务器,服务器可以依据该台代理服务器历史上报的各心跳包,确定该台代理服务器管理的各测试设备以及代理服务器管理的各测试设备的状态。具体确定方式如步骤204至步骤210中所述。For each proxy server, the server can determine the test equipment managed by the proxy server and the status of the test equipment managed by the proxy server according to the heartbeat packets previously reported by the proxy server. The specific determination method is as described in step 204 to step 210 .
步骤204:确定代理服务器历史上报的各心跳包中携带的设备标识的并集。Step 204: Determine the union of the device identifiers carried in the heartbeat packets reported by the proxy server in history.
代理服务器每隔预设时间间隔上报心跳包至测试平台的服务器,每次上报心跳包中的设备标识仅是上报心跳时当前连接的测试设备的标识。因此,将同一台代理服务器历史上报的全部心跳包中的设备标识求并集,即可得到该代理服务器所管理的各测试设备即应有测试设备。其中,应用测试设备包括在线测试设备以及掉线测试设备。The proxy server reports a heartbeat packet to the server of the test platform at preset time intervals, and the device identifier in the heartbeat packet reported each time is only the identifier of the currently connected test device when the heartbeat is reported. Therefore, all the test devices managed by the proxy server, that is, the required test devices, can be obtained by summing the device identifications in all the heartbeat packets previously reported by the same proxy server. Wherein, the application testing equipment includes online testing equipment and offline testing equipment.
服务器接收到代理服务器上报的心跳包后,可以将心跳包中携带的信息记录到数据库中。After receiving the heartbeat packet reported by the proxy server, the server may record the information carried in the heartbeat packet into the database.
步骤206:将并集包含的设备标识数量确定为代理服务器的应有设备数量,将并集包含的设备标识对应的设备确定为代理服务器管理的应有测试设备。Step 206: Determine the number of device identifiers contained in the union set as the number of devices that the proxy server should have, and determine the devices corresponding to the device identifiers included in the union set as the test devices that should be managed by the proxy server.
例如:代理服务器共上报四次心跳包,先后四次上报的心跳包依次为第一心跳包、第二心跳包、第三心跳包以及第四心跳包,其中,第一心跳包中携带的设备标识为:1、2、3、4以及5;第二心跳包中携带的设备标识为1、2、5、6以及7;第三心跳包中携带的设备标识为1、5以及9;第四心跳包中携带的设备标识为1、5、9以及10。则设备标识并集为1、2、3、4、5、6、7、9以及10。For example: the proxy server reports four heartbeat packets in total, and the heartbeat packets reported four times successively are the first heartbeat packet, the second heartbeat packet, the third heartbeat packet, and the fourth heartbeat packet. Among them, the device carried in the first heartbeat packet The identifiers are: 1, 2, 3, 4 and 5; the device identifiers carried in the second heartbeat packet are 1, 2, 5, 6 and 7; the device identifiers carried in the third heartbeat packet are 1, 5 and 9; The device identifiers carried in the four heartbeat packets are 1, 5, 9 and 10. Then the union of device identifiers is 1, 2, 3, 4, 5, 6, 7, 9 and 10.
步骤208:将代理服务器最近一次上报的心跳包中携带的设备标识对应的测试设备确定为在线测试设备。Step 208: Determine the test device corresponding to the device identifier carried in the latest heartbeat packet reported by the proxy server as the online test device.
每个心跳包对应一个上报时间,上报时间可以是心跳包生成的时间携带在心跳包中,也可以是服务器接收到心跳包的时间。Each heartbeat packet corresponds to a reporting time, and the reporting time may be the time when the heartbeat packet is generated and carried in the heartbeat packet, or the time when the server receives the heartbeat packet.
依然延续步骤206中的举例,由于第四心跳包是代理服务器最近一次上报的心跳包,因此该代理服务器所管理的在线测试设备的为设备标识为1、5、9以及10的测试设备。Still continuing the example in step 206, since the fourth heartbeat packet is the latest heartbeat packet reported by the proxy server, the online test devices managed by the proxy server are test devices with device IDs 1, 5, 9 and 10.
步骤210:将应有测试设备中除在线测试设备外的其他设备确定为掉线测试设备。Step 210: Determining devices other than the online test device among the required test devices as offline test devices.
依然延续步骤206中的举例,则该代理服务器所管理的掉线测试设备为设备标识为2、3、4、6以及7。需要说明的是,若掉线测试设备中的某一个测试设备与另一台代理服务器连接,则该掉线设备不再属于之前所属代理服务器的应有测试设备,而属于当前连接的代理服务器的应有测试设备。也即,当通过各代理服务器上报的心跳包检测到一台测试设备从第一代理服务器切换到第二代理服务器时,将测试设备的设备标识从第一代理服务器对应的设备标识并集中删除。Still continuing the example in step 206, the disconnection testing devices managed by the proxy server are identified as 2, 3, 4, 6 and 7. It should be noted that if one of the disconnected test devices is connected to another proxy server, the disconnected device no longer belongs to the proper test device of the proxy server to which it belonged before, but belongs to the proxy server of the currently connected proxy server. There should be test equipment. That is, when a test device is switched from the first proxy server to the second proxy server through the heartbeat packets reported by the proxy servers, the device ID of the test device is deleted from the corresponding device ID of the first proxy server.
重复执行步骤202至步骤210可以确定各代理服务器管理的应有测试设备、在线测试设备以及掉线测试设备,以及各测试设备对应的用户标识、程序版本信息等。Repeated execution of steps 202 to 210 can determine the appropriate test equipment, online test equipment, and offline test equipment managed by each proxy server, as well as the user identification and program version information corresponding to each test equipment.
步骤212:针对每台代理服务器,依据代理服务器管理的在线测试设备以及掉线测试设备信息,生成代理服务器与测试设备间的关系意图并在显示界面中显示。Step 212: For each proxy server, according to the online test equipment and offline test equipment information managed by the proxy server, generate a relationship intention between the proxy server and the test equipment and display it on the display interface.
关系示意图中包括:代理服务器的服务器标识与所述代理服务器所管理的在线测试设备的设备标识和数量、代理服务器所管理的掉线测试设备的设备标识和数量以及各测试设备对应的用户标识之间的关联关系。The relationship schematic diagram includes: the server identification of the proxy server and the equipment identification and quantity of the online testing equipment managed by the proxy server, the equipment identification and quantity of the offline testing equipment managed by the proxy server, and the user identification corresponding to each testing equipment. relationship between.
在显示界面中显示各代理服务器与测试设备的关系示意图,便于用户直观地了解测试设备的分布以及各测试设备的当前状态。其中,关系示意图中可以用绿色设备标识指示在线测试设备,用红色设备标识指示掉线测试设备。此外,用户可以直接从显示界面中通过选择设备标识或服务器标识选择相应测试设备或者代理服务器,对测试设备或者代理服务器执行管理操作。其中,对测试设备的管理操作可以包括但不限于:对设备执行重启操作、程序更新操作、配置更新操作或者截屏操作等。步骤214至步骤218中以对测试设备执行程序更新操作为例进行说明。The schematic diagram of the relationship between each proxy server and the test equipment is displayed on the display interface, which is convenient for the user to intuitively understand the distribution of the test equipment and the current status of each test equipment. Wherein, in the relationship schematic diagram, a green device mark may be used to indicate an online test device, and a red device mark may be used to indicate an offline test device. In addition, the user can directly select a corresponding test device or proxy server by selecting a device ID or a server ID from the display interface, and perform management operations on the test device or proxy server. Wherein, the management operation on the test device may include, but not limited to: restarting the device, updating the program, updating the configuration, or taking a screenshot of the device. Steps 214 to 218 are described by taking the program updating operation on the testing equipment as an example.
步骤214:接收用户在显示界面中对目标代理服务器的选择指令。Step 214: Receive the user's selection instruction on the target proxy server in the display interface.
服务器通过特定程序软件与测试设备进行交互,控制测试设备执行测试任务。而当特定程序软件版本更新时则需要对测试设备中所安装的特定程序软件进行版本更新,因此,可以通过代理服务器将待更新程序包推送至代理服务器管理的各测试设备上,以完成批量测试设备中特定程序软件的更新。The server interacts with the test equipment through specific program software, and controls the test equipment to perform test tasks. When the specific program software version is updated, it is necessary to update the version of the specific program software installed in the test equipment. Therefore, the program package to be updated can be pushed to each test equipment managed by the proxy server through the proxy server to complete batch testing. Updates to specific program software in your device.
当然并不限于此,用户还可以选择仅对代理服务器所管理的部分测试设备进行特定程序软更新。Of course, it is not limited to this, and the user can also choose to perform a specific program soft update only on some test devices managed by the proxy server.
步骤216:接收用户对待更新程序包的选择指令。Step 216: Receive the user's selection instruction of the program package to be updated.
步骤218:将待更新程序包通过长连接推送至代理服务器,以通过代理服务器将待更新程序包推送至目标代理服务器管理的测试设备进行程序更新。Step 218: Push the program package to be updated to the proxy server through the persistent connection, so as to push the program package to be updated to the test device managed by the target proxy server through the proxy server for program update.
服务器可以通过TCP(Transmission Control Protocol传输控制协议)长连接与代理服务器之间进行数据传输。The server can transmit data between the proxy server and the proxy server through a TCP (Transmission Control Protocol) long connection.
一种可选的实施例中,用户还可以在查看到显示界面中显示的关系示意图后,在显示界面中执行相应地操作控制某一台测试设备重启,具体方式如下:接收用户在显示界面中对待重启测试设备的选择指令;确定管理该待重启测试设备的目标代理服务器;向目标代理服务器发送测试设备重启指令,以供目标代理服务器依据测试设备重启指令重启待重启测试设备;其中,测试设备重启指令中携带有待重启测试设备的设备标识。具体地,目标代理服务器向待重启测试设备发送重启指令,待重启测试设备依据重启指令重启。In an optional embodiment, after viewing the schematic diagram of the relationship displayed in the display interface, the user can perform corresponding operations on the display interface to control a certain test device to restart. The specific method is as follows: An instruction to select the test equipment to be restarted; determine the target proxy server that manages the test device to be restarted; send a test device restart instruction to the target proxy server, so that the target proxy server restarts the test device to be restarted according to the test device restart instruction; wherein, the test device The restart command carries the device identifier of the test device to be restarted. Specifically, the target proxy server sends a restart instruction to the test device to be restarted, and the test device to be restarted is restarted according to the restart instruction.
通过该种可选方法,用户可以远程控制测试设备重启,无需用户手动逐个对测试设备进行重启,能够节省测试设备重启的等待时长。Through this optional method, the user can remotely control the restart of the test equipment, without the need for the user to manually restart the test equipment one by one, which can save the waiting time for the restart of the test equipment.
一种可选的实施例中,用户还可以在查看到显示界面中显示的关系示意图后,输入搜索关键词对测试设备进行搜索,具体方式如下:接收用户输入的搜索关键词;其中,搜索关键词可以包括:用户标识、设备标识、掉线测试设备、在线测试设备、应有测试设备中的至少之一;查找与搜索关键词对应的设备标识和/或服务器标识并显示。In an optional embodiment, the user can also enter a search keyword to search the test device after viewing the schematic diagram of the relationship displayed on the display interface. The specific method is as follows: receive the search keyword input by the user; wherein, the search key The words may include: at least one of user ID, device ID, offline test device, online test device, and due test device; the device ID and/or server ID corresponding to the search keyword is searched for and displayed.
通过该种可选方法,用户可以通过输入用户标识查询单个用户的测试设备的分布以及该用户的测试设备的状态;可以通过输入设备标识查询某一台测试设备所属的代理服务器,以及该测试设备的状态;可以通过输入掉线测试设备关键词搜索测试平台中的掉线测试设备以及各台掉线测试设备所属的代理服务器;也可以通过输入在线测试设备关键词搜索测试平台中的在线测试设备以及各台在线测试设备所属的代理服务器。此外,并不限于此用户还可以查询测试平台中掉线测试设备的数量、在线测试设备的数量等。Through this optional method, the user can query the distribution of a single user's test equipment and the status of the user's test equipment by inputting the user ID; the user can query the proxy server to which a certain test equipment belongs and the status of the test equipment by inputting the equipment ID. You can search for the offline test equipment in the test platform and the proxy server to which each offline test equipment belongs by inputting the keyword of the offline test equipment; you can also search for the online test equipment in the test platform by entering the keyword of the online test equipment And the proxy server to which each online test device belongs. In addition, not limited to this, the user can also query the number of offline test equipment and the number of online test equipment in the test platform.
一种可选的实施例中,用户还可以在查看到显示界面中显示的关系示意图后,在显示界面中执行相应地操作以获取某一测试设备的截屏图像便于近一步了解该测试设备的当前状态,具体方式如下:接收用户在显示界面中对待截屏目标测试设备的选择指令;确定管理该目标测试设备的目标代理服务器;向目标代理服务器发送截屏指令,以供目标代理服务器依据截屏指令得到目标测试设备的截屏图像并返回至服务器;其中,截屏指令中携带有待截屏测试设备的设备标识。In an optional embodiment, after viewing the schematic diagram of the relationship displayed in the display interface, the user can perform corresponding operations on the display interface to obtain a screenshot of a certain test device, so as to further understand the current state of the test device. state, the specific method is as follows: receive the user’s selection instruction of the target test device to be screened in the display interface; determine the target proxy server that manages the target test device; send a screenshot command to the target proxy server, so that the target proxy server obtains the target according to the screenshot command The screen capture image of the test device is returned to the server; wherein, the screen capture instruction carries the device identifier of the test device to be screen capture.
综上,多台代理服务器上报包含各自所连接的测试设备的标识的心跳包至服务器,服务器通过心跳包中携带的信息即可确定测试设备的分布以及状态,技术人员即用户在服务器上依据测试设备的分布以及测试设备状态即可对测试设备进行重启、程序更新等管理,能够提升管理效率。To sum up, multiple proxy servers report heartbeat packets containing the identifications of the test equipment they are connected to the server, and the server can determine the distribution and status of the test equipment through the information carried in the heartbeat packets. The distribution of equipment and the status of test equipment can be used to manage test equipment restarts, program updates, etc., which can improve management efficiency.
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action order, because according to the embodiment of the present invention , certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
在上述实施例的基础上,本实施例还提供了一种设备管理装置,应用于测试平台,所述测试平台包括服务器、多于一台代理服务器和多于一台测试设备。On the basis of the above embodiments, this embodiment also provides a device management device, which is applied to a test platform, and the test platform includes a server, more than one proxy server, and more than one test device.
参照图3,示出了根据本发明一个实施例的一种设备管理装置实施例的结构框图,具体可以包括如下模块:Referring to FIG. 3 , it shows a structural block diagram of an embodiment of a device management device according to an embodiment of the present invention, which may specifically include the following modules:
接收模块302,用于接收各代理服务器按照预设时间间隔上报的心跳包;其中,所述心跳包中携带有上报所述心跳包的代理服务器的服务器标识以及所述代理服务器当前连接的各测试设备的设备标识;The receiving module 302 is configured to receive a heartbeat packet reported by each proxy server according to a preset time interval; wherein, the heartbeat packet carries the server identification of the proxy server reporting the heartbeat packet and each test of the current connection of the proxy server the device identification of the device;
确定模块304,用于依据各代理服务器上报的心跳包,确定各代理服务器与各测试设备之间的关系以及各测试设备的状态;Determining module 304, for determining the relationship between each proxy server and each test device and the state of each test device according to the heartbeat packets reported by each proxy server;
管理模块306,用于依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理。The management module 306 is configured to manage each test device according to the relationship between each proxy server and each test device and the status of each test device.
综上,通过多台代理服务器上报包含各自所连接的测试设备的标识的心跳包,服务器通过心跳包中携带的信息即可确定测试设备的分布以及状态,技术人员即用户在服务器上依据测试设备的分布以及测试设备状态即可对测试设备进行有效管理,能够提升管理效率。To sum up, multiple proxy servers report the heartbeat packets containing the identifications of the test equipment they are connected to, and the server can determine the distribution and status of the test equipment through the information carried in the heartbeat packets. The distribution of test equipment and the status of test equipment can be used to effectively manage test equipment, which can improve management efficiency.
参照图4,示出了根据本发明一个实施例的另一种设备管理装置实施例的结构框图,具体可以包括如下模块:Referring to FIG. 4 , it shows a structural block diagram of another device management device embodiment according to an embodiment of the present invention, which may specifically include the following modules:
接收模块402,用于接收各代理服务器按照预设时间间隔上报的心跳包;其中,所述心跳包中携带有上报所述心跳包的代理服务器的服务器标识以及所述代理服务器当前连接的各测试设备的设备标识;The receiving module 402 is configured to receive a heartbeat packet reported by each proxy server according to a preset time interval; wherein, the heartbeat packet carries the server identification of the proxy server reporting the heartbeat packet and each test of the current connection of the proxy server the device identification of the device;
确定模块404,用于依据各代理服务器上报的心跳包,确定各代理服务器与各测试设备之间的关系以及各测试设备的状态;Determining module 404, for determining the relationship between each proxy server and each test device and the state of each test device according to the heartbeat packets reported by each proxy server;
管理模块406,用于依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理。The management module 406 is configured to manage each test device according to the relationship between each proxy server and each test device and the state of each test device.
其中,所述确定模块404具体用于:针对每台代理服务器,依据所述代理服务器历史上报的各心跳包,确定所述代理服务器管理的各测试设备以及所述代理服务器管理的各测试设备的状态。Wherein, the determining module 404 is specifically configured to: for each proxy server, according to each heartbeat packet reported by the proxy server history, determine each test device managed by the proxy server and the state.
所述确定模块404可以包括:标识集确定子模块4042,用于针对每台代理服务器,确定所述代理服务器历史上报的各心跳包中携带的设备标识的并集;第一确定子模块4044,用于将所述并集包含的设备标识数量确定为所述代理服务器的应有设备数量,将所述并集包含的设备标识对应的设备确定为所述代理服务器管理的应有测试设备;第二确定子模块4046,用于将所述代理服务器最近一次上报的心跳包中携带的设备标识对应的测试设备,确定为在线测试设备;第三确定子模块4048,用于将所述应有测试设备中除所述在线测试设备外的其他设备,确定为掉线测试设备。The determination module 404 may include: an identification set determination sub-module 4042, configured to, for each proxy server, determine the union of device identifications carried in heartbeat packets reported historically by the proxy server; a first determination sub-module 4044, It is used to determine the number of equipment identifiers included in the union set as the number of equipment that the proxy server should have, and determine the equipment corresponding to the equipment identifiers included in the union set as the equipment that should be tested by the proxy server; The second determination sub-module 4046 is used to determine the test device corresponding to the device identification carried in the heartbeat packet reported by the proxy server last time as an online test device; the third determination sub-module 4048 is used to determine the test device that should be tested Other equipment in the equipment except the online testing equipment is determined as the offline testing equipment.
设备管理装置还可以包括:删除模块408,用于当通过各代理服务器上报的心跳包检测到一台测试设备从第一代理服务器切换到第二代理服务器时,将所述测试设备的设备标识从所述第一代理服务器对应的设备标识并集中删除。The device management apparatus may also include: a deletion module 408, configured to remove the device identifier of the test device from The device identification corresponding to the first proxy server is deleted centrally.
所述心跳包中还可以包括:测试设备对应的用户标识。The heartbeat packet may also include: a user identification corresponding to the testing device.
所述管理模块406可以包括:显示子模块4062,用于针对每台代理服务器,依据所述代理服务器管理的在线测试设备以及掉线测试设备信息,生成代理服务器与测试设备间的关系意图并在显示界面中显示,以供用户依据各所述关系示意图对各测试设备进行管理。The management module 406 may include: a display submodule 4062, for each proxy server, according to the online test equipment managed by the proxy server and the offline test equipment information, generate the relationship intention between the proxy server and the test equipment and displayed on the display interface, for the user to manage each test device according to each of the relationship schematic diagrams.
所述关系示意图中包括:代理服务器的服务器标识与所述代理服务器所管理的在线测试设备的设备标识和数量、所述代理服务器所管理的掉线测试设备的设备标识和数量以及各测试设备对应的用户标识之间的关联关系。The schematic diagram of the relationship includes: the server identification of the proxy server corresponds to the equipment identification and quantity of the online test equipment managed by the proxy server, the equipment identification and quantity of the offline test equipment managed by the proxy server, and each test equipment The association relationship between user IDs.
所述管理模块406还可以包括:第一指令接收子模块4064,用于在所述显示子模块4062生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户在所述显示界面中对目标代理服务器的选择指令;第二指令接收子模块4066,用于接收用户对待更新程序包的选择指令;程序更新子模块4068,用于将待更新程序包通过长连接推送至所述代理服务器,以通过所述代理服务器将所述待更新程序包推送至所述目标代理服务器管理的测试设备进行程序更新。The management module 406 may also include: a first instruction receiving submodule 4064, configured to receive the user's instructions on the display after the display submodule 4062 generates the relationship intention between the proxy server and the test equipment and displays it on the display interface. Instructions for selecting the target proxy server in the interface; the second instruction receiving submodule 4066 is used to receive the user’s selection instruction of the program package to be updated; the program update submodule 4068 is used to push the program package to be updated to the The proxy server is configured to push the program package to be updated to the test equipment managed by the target proxy server through the proxy server for program update.
所述管理模块406还可以包括:第三指令接收子模块40610,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户在所述显示界面中对待重启测试设备的选择指令;代理服务器确定子模块40612,用于确定管理所述待重启测试设备的目标代理服务器;指令发送子模块40614,用于向所述目标代理服务器发送测试设备重启指令,以供所述目标代理服务器依据所述测试设备重启指令重启所述待重启测试设备;其中,所述测试设备重启指令中携带有待重启测试设备的设备标识。The management module 406 may also include: a third instruction receiving submodule 40610, configured to receive the user's instruction on the display interface after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it on the display interface. The selection instruction of the test equipment to be restarted; the proxy server determination submodule 40612 is used to determine the target proxy server that manages the test equipment to be restarted; the instruction sending submodule 40614 is used to send the test equipment restart instruction to the target proxy server , for the target proxy server to restart the test device to be restarted according to the test device restart instruction; wherein, the test device restart instruction carries the device identifier of the test device to be restarted.
所述管理模块406还可以包括:标识接收子模块40616,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户输入搜索关键词;其中,所述搜索关键词包括:用户标识、设备标识、掉线测试设备、在线测试设备、应有测试设备中的至少之一;查找子模块40618,用于查找与所述搜索关键词对应的设备标识和/或服务器标识并显示。The management module 406 may also include: an identification receiving submodule 40616, configured to receive a search keyword input by the user after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it on the display interface; wherein, The search keywords include: at least one of user ID, device ID, disconnection test equipment, online test equipment, and required test equipment; the search submodule 40618 is used to search for the device ID corresponding to the search keyword and/or server ID and display.
综上,多台代理服务器上报包含各自所连接的测试设备的标识的心跳包至服务器,服务器通过心跳包中携带的信息即可确定测试设备的分布以及状态,技术人员即用户在服务器上依据测试设备的分布以及测试设备状态即可对测试设备进行重启、程序更新等管理,能够提升管理效率。To sum up, multiple proxy servers report heartbeat packets containing the identifications of the test equipment they are connected to the server, and the server can determine the distribution and status of the test equipment through the information carried in the heartbeat packets. The distribution of equipment and the status of test equipment can be used to manage test equipment restarts, program updates, etc., which can improve management efficiency.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的电子设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。电子设备可包括服务器(集群)、终端设备等。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the electronic device according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form. Electronic devices may include servers (clusters), terminal devices, and the like.
本发明实施例提供了一种服务器,包括:一个或多个处理器;和,其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述服务器执行如本发明实施例中一个或多个所述的设备管理方法。An embodiment of the present invention provides a server, including: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause The server executes the device management method described in one or more of the embodiments of the present invention.
本发明实施例提供了一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得服务器执行如本发明实施例中一个或多个所述的设备管理方法。An embodiment of the present invention provides one or more machine-readable media, on which instructions are stored, and when executed by one or more processors, the server performs device management as described in one or more of the embodiments of the present invention method.
本发明实施例一个示例中提供了一种服务器,例如,图5示出了可以实现根据本发明的用于设备管理的服务器,例如应用服务器、云控服务服务器集群等。该服务器传统上包括处理器510和以存储器520形式的计算机程序产品或者计算机可读介质。存储器520可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器520具有用于执行上述方法中的任何方法步骤的程序代码531的存储空间530。例如,用于程序代码的存储空间530可以包括分别用于实现上面的方法中的各种步骤的各个程序代码531。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图6所述的便携式或者固定存储单元。该存储单元可以具有与图5的服务器中的存储器520类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码531’,即可以由例如诸如510之类的处理器读取的代码,这些代码当由服务器运行时,导致该服务器执行上面所描述的方法中的各个步骤。An example of an embodiment of the present invention provides a server. For example, FIG. 5 shows a server that can implement device management according to the present invention, such as an application server, a cloud control service server cluster, and the like. The server conventionally includes a processor 510 and a computer program product or computer readable medium in the form of memory 520 . Memory 520 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 520 has a storage space 530 for program code 531 for performing any method steps in the methods described above. For example, the storage space 530 for program codes may include respective program codes 531 for respectively implementing various steps in the above methods. These program codes can be read from or written into one or more computer program products. These computer program products comprise program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. 6 . The storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 520 in the server of FIG. 5 . The program code can eg be compressed in a suitable form. Typically, the memory unit includes computer readable code 531', i.e. code readable by, for example, a processor such as 510, which code, when executed by the server, causes the server to perform the steps of the methods described above.
本发明实施例一个示例中还提供的终端设备,如用于测试的终端设备等,如图7所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端设备可以为包括手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售设备)、车载电脑等任意设备。The terminal equipment provided in an example of the embodiment of the present invention, such as the terminal equipment used for testing, etc., is shown in Figure 7. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. For details, please refer to the method part of the embodiment of the present invention. The terminal device may be any device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, sales device), a vehicle-mounted computer, and the like.
图7示出的是与本发明实施例提供的终端设备相关的部分结构的框图。参考图7,终端设备包括:射频(Radio Frequency,RF)电路710、存储器720、输入单元730、显示单元740、传感器750、音频电路760、无线保真(wireless fidelity,WiFi)模块770、处理器780、电源790以及摄像头7110等部件。本领域技术人员可以理解,图7中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Fig. 7 shows a block diagram of a partial structure related to the terminal device provided by the embodiment of the present invention. 7, the terminal device includes: a radio frequency (Radio Frequency, RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (wireless fidelity, WiFi) module 770, a processor 780, power supply 790, camera 7110 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 7 does not constitute a limitation on the terminal device, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
下面结合图7对终端设备的各个构成部件进行具体的介绍:The following describes each component of the terminal device in detail in combination with FIG. 7:
RF电路710可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器780处理;另外,将设计上行的数据发送给基站。通常,RF电路710包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路710还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 710 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 780; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 710 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器720可用于存储软件程序以及模块,处理器780通过运行存储在存储器720的软件程序以及模块,从而执行终端设备的各种功能应用以及数据处理。存储器720可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 720 may be used to store software programs and modules, and the processor 780 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 720 . The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of terminal equipment (such as audio data, phonebook, etc.), etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元730可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元730可包括触控面板731以及其他输入设备732。触控面板731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上或在触控面板731附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器780,并能接收处理器780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732。具体地,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 730 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732 . The touch panel 731, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 731 or near the touch panel 731). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 731 , the input unit 730 may also include other input devices 732 . Specifically, other input devices 732 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元740可用于显示由用户输入的信息或提供给用户的信息以及终端设备的各种菜单。显示单元740可包括显示面板741,可选的,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板741。进一步的,触控面板731可覆盖显示面板741,当触控面板731检测到在其上或附近的触摸操作后,传送给处理器780以确定触摸事件的类型,随后处理器780根据触摸事件的类型在显示面板741上提供相应的视觉输出。虽然在图7中,触控面板731与显示面板741是作为两个独立的部件来实现终端设备的输入和输入功能,但是在某些实施例中,可以将触控面板731与显示面板741集成而实现终端设备的输入和输出功能。The display unit 740 may be used to display information input by or provided to the user and various menus of the terminal device. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the touch panel 731 may cover the display panel 741, and when the touch panel 731 detects a touch operation on or near it, it transmits to the processor 780 to determine the type of the touch event, and then the processor 780 according to the touch event The type provides a corresponding visual output on the display panel 741 . Although in FIG. 7, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and input functions of the terminal device, in some embodiments, the touch panel 731 and the display panel 741 can be integrated And realize the input and output functions of the terminal equipment.
终端设备还可包括至少一种传感器750,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板741的亮度,接近传感器可在终端设备移动到耳边时,关闭显示面板741和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal device may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 741 and the display panel 741 when the terminal device moves to the ear. / or backlighting. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of terminal equipment (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for the gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors that can be configured on the terminal device, here No longer.
音频电路760、扬声器761,传声器762可提供用户与终端设备之间的音频接口。音频电路760可将接收到的音频数据转换后的电信号,传输到扬声器761,由扬声器761转换为声音信号输出;另一方面,传声器762将收集的声音信号转换为电信号,由音频电路760接收后转换为音频数据,再将音频数据输出处理器780处理后,经RF电路710以发送给比如另一终端设备,或者将音频数据输出至存储器720以便进一步处理。The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the terminal device. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the speaker 761 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 780, and then sent to another terminal device through the RF circuit 710, or the audio data is output to the memory 720 for further processing.
WiFi属于短距离无线传输技术,终端设备通过WiFi模块770可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块770,但是可以理解的是,其并不属于终端设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The terminal device can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 770, which provides users with wireless broadband Internet access. Although FIG. 7 shows a WiFi module 770, it can be understood that it is not an essential component of the terminal device, and can be completely omitted as required without changing the essence of the invention.
处理器780是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器720内的软件程序和/或模块,以及调用存储在存储器720内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。可选的,处理器780可包括一个或多个处理单元;优选的,处理器780可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器780中。The processor 780 is the control center of the terminal equipment, which uses various interfaces and lines to connect various parts of the entire terminal equipment, runs or executes software programs and/or modules stored in the memory 720, and calls data stored in the memory 720 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 780 .
终端设备还包括给各个部件供电的电源790(比如电池),优选的,电源可以通过电源管理系统与处理器780逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through the power management system, so that functions such as management of charging, discharging, and power consumption management can be realized through the power management system.
摄像头7110可以执行拍照的功能。The camera 7110 can perform the function of taking pictures.
尽管未示出,终端设备还可以包括蓝牙模块等,在此不再赘述。Although not shown, the terminal device may also include a Bluetooth module, etc., which will not be repeated here.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
本发明公开了A1、一种设备管理方法,应用于测试平台,所述测试平台包括服务器、多于一台代理服务器以及多于一台测试设备,所述方法包括:The present invention discloses A1, a device management method applied to a test platform, the test platform includes a server, more than one proxy server and more than one test device, the method includes:
接收各代理服务器按照预设时间间隔上报的心跳包;其中,所述心跳包中携带有上报所述心跳包的代理服务器的服务器标识以及所述代理服务器当前连接的各测试设备的设备标识;Receiving heartbeat packets reported by each proxy server according to a preset time interval; wherein, the heartbeat packet carries the server identification of the proxy server reporting the heartbeat packet and the device identification of each test device currently connected to the proxy server;
依据各代理服务器上报的心跳包,确定各代理服务器与各测试设备之间的关系以及各测试设备的状态;According to the heartbeat packets reported by each proxy server, determine the relationship between each proxy server and each test device and the status of each test device;
依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理。Each test device is managed according to the relationship between each proxy server and each test device and the status of each test device.
A2、根据A1所述的方法,其中,所述依据各代理服务器上报的心跳包,确定各测试设备与代理服务器之间的关系以及各测试设备的状态,包括:A2. The method according to A1, wherein, determining the relationship between each test device and the proxy server and the state of each test device according to the heartbeat packets reported by each proxy server includes:
针对每台代理服务器,依据所述代理服务器历史上报的各心跳包,确定所述代理服务器管理的各测试设备以及所述代理服务器管理的各测试设备的状态。For each proxy server, according to the heartbeat packets historically reported by the proxy server, determine the test devices managed by the proxy server and the states of the test devices managed by the proxy server.
A3、根据A2所述的方法,其中,所述依据所述代理服务器历史上报的各心跳包,确定所述代理服务器管理的各测试设备以及所述代理服务器管理的各测试设备的状态,包括:A3. The method according to A2, wherein, determining each test device managed by the proxy server and the state of each test device managed by the proxy server according to each heartbeat packet reported by the proxy server history includes:
确定所述代理服务器历史上报的各心跳包中携带的设备标识的并集;Determining the union of the device identifications carried in each heartbeat packet reported by the proxy server in history;
将所述并集包含的设备标识数量确定为所述代理服务器的应有设备数量,将所述并集包含的设备标识对应的设备确定为所述代理服务器管理的应有测试设备;Determining the number of device identifiers contained in the union set as the number of devices that the proxy server should have, and determining the device corresponding to the device identifiers included in the union set as the proper test equipment managed by the proxy server;
将所述代理服务器最近一次上报的心跳包中携带的设备标识对应的测试设备确定为在线测试设备;Determining the test device corresponding to the device identifier carried in the heartbeat packet reported by the proxy server last time as the online test device;
将所述应有测试设备中除所述在线测试设备外的其他设备确定为掉线测试设备。Determining other equipment except the online testing equipment in the required testing equipment as the offline testing equipment.
A4、根据A3所述的方法,其中,所述方法还包括:A4. The method according to A3, wherein the method also includes:
当通过各代理服务器上报的心跳包检测到一台测试设备从第一代理服务器切换到第二代理服务器时,将所述测试设备的设备标识从所述第一代理服务器对应的设备标识并集中删除。When the heartbeat packet reported by each proxy server detects that a test device is switched from the first proxy server to the second proxy server, the device identification of the test device is deleted from the corresponding device identification of the first proxy server .
A5、根据A3所述的方法,其中,所述心跳包中还包括:测试设备对应的用户标识。A5. The method according to A3, wherein the heartbeat packet further includes: a user identification corresponding to the testing device.
A6、根据A5所述的方法,其中,所述依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理,包括:A6, according to the method described in A5, wherein, according to the relationship between each proxy server and each test device and the state of each test device, each test device is managed, including:
针对每台代理服务器,依据所述代理服务器管理的在线测试设备以及掉线测试设备信息,生成代理服务器与测试设备间的关系意图并在显示界面中显示,以供用户依据各所述关系示意图对各测试设备进行管理。For each proxy server, according to the online test equipment managed by the proxy server and the offline test equipment information, the relationship intention between the proxy server and the test equipment is generated and displayed in the display interface, so that the user can compare the relationship according to each described relationship schematic diagram. Each test device is managed.
A7、根据A6所述的方法,其中,所述关系示意图中包括:代理服务器的服务器标识与所述代理服务器所管理的在线测试设备的设备标识和数量、所述代理服务器所管理的掉线测试设备的设备标识和数量以及各测试设备对应的用户标识之间的关联关系。A7. The method according to A6, wherein the schematic diagram of the relationship includes: the server ID of the proxy server and the device ID and quantity of the online test equipment managed by the proxy server, and the offline test managed by the proxy server The relationship between the device ID and quantity of the device and the user ID corresponding to each test device.
A8、根据A6所述的方法,其中,在所述生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,所述方法还包括:A8. The method according to A6, wherein, after generating the relationship intention between the proxy server and the test equipment and displaying it in the display interface, the method further includes:
接收用户在所述显示界面中对目标代理服务器的选择指令;receiving a user's selection instruction on the target proxy server in the display interface;
接收用户对待更新程序包的选择指令;receiving a user's selection instruction of the program package to be updated;
将待更新程序包通过长连接推送至所述代理服务器,以通过所述代理服务器将所述待更新程序包推送至所述目标代理服务器管理的测试设备进行程序更新。Pushing the program package to be updated to the proxy server through the long connection, so as to push the program package to be updated to the test equipment managed by the target proxy server through the proxy server for program update.
A9、根据A6所述的方法,其中,在所述生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,所述方法还包括:A9. The method according to A6, wherein, after generating the relationship intention between the proxy server and the test equipment and displaying it in the display interface, the method further includes:
接收用户在所述显示界面中对待重启测试设备的选择指令;receiving a user's selection instruction of the device to be restarted in the display interface;
确定管理所述待重启测试设备的目标代理服务器;Determine the target proxy server that manages the test equipment to be restarted;
向所述目标代理服务器发送测试设备重启指令,以供所述目标代理服务器依据所述测试设备重启指令重启所述待重启测试设备;其中,所述测试设备重启指令中携带有待重启测试设备的设备标识。Sending a test device restart instruction to the target proxy server, so that the target proxy server restarts the test device to be restarted according to the test device restart instruction; wherein, the test device restart instruction carries the device of the test device to be restarted logo.
A10、根据A6所述的方法,其中,所述在所述生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,所述方法还包括:A10. The method according to A6, wherein, after said generating the relationship intention between the proxy server and the test equipment and displaying it in the display interface, the method further includes:
接收用户输入的搜索关键词;其中,所述搜索关键词包括:用户标识、设备标识、掉线测试设备、在线测试设备、应有测试设备中的至少之一;Receiving search keywords input by the user; wherein, the search keywords include: at least one of user identification, equipment identification, disconnected testing equipment, online testing equipment, and required testing equipment;
查找与所述搜索关键词对应的设备标识和/或服务器标识并显示。Find and display the device ID and/or server ID corresponding to the search keyword.
本发明公开了B11、一种设备管理装置,应用于测试平台,所述测试平台包括服务器、多于一台代理服务器以及多于一台测试设备,所述的装置包括:The present invention discloses B11, a device management device, which is applied to a test platform. The test platform includes a server, more than one proxy server and more than one test device. The device includes:
接收模块,用于接收各代理服务器按照预设时间间隔上报的心跳包;其中,所述心跳包中携带有上报所述心跳包的代理服务器的服务器标识以及所述代理服务器当前连接的各测试设备的设备标识;The receiving module is configured to receive heartbeat packets reported by each proxy server according to a preset time interval; wherein, the heartbeat packet carries the server identification of the proxy server reporting the heartbeat packet and each test device currently connected to the proxy server equipment identification;
确定模块,用于依据各代理服务器上报的心跳包,确定各代理服务器与各测试设备之间的关系以及各测试设备的状态;A determination module is used to determine the relationship between each proxy server and each test device and the state of each test device according to the heartbeat packets reported by each proxy server;
管理模块,用于依据各代理服务器与各测试设备之间的关系以及各测试设备的状态,对各测试设备进行管理。The management module is used to manage each test device according to the relationship between each proxy server and each test device and the status of each test device.
B12、根据B11所述的装置,其中,所述确定模块具体用于:B12. The device according to B11, wherein the determining module is specifically used for:
针对每台代理服务器,依据所述代理服务器历史上报的各心跳包,确定所述代理服务器管理的各测试设备以及所述代理服务器管理的各测试设备的状态。For each proxy server, according to the heartbeat packets historically reported by the proxy server, determine the test devices managed by the proxy server and the states of the test devices managed by the proxy server.
B13、根据B12所述的装置,其中,所述确定模块包括:B13. The device according to B12, wherein the determining module includes:
标识集确定子模块,用于针对每台代理服务器,确定所述代理服务器历史上报的各心跳包中携带的设备标识的并集;The identification set determination submodule is used to determine, for each proxy server, the union of the device identifications carried in each heartbeat packet reported by the proxy server in history;
第一确定子模块,用于将所述并集包含的设备标识数量确定为所述代理服务器的应有设备数量,将所述并集包含的设备标识对应的设备确定为所述代理服务器管理的应有测试设备;The first determining submodule is configured to determine the number of device identifiers included in the union as the number of devices that the proxy server should have, and determine the device corresponding to the device identifiers included in the union to be managed by the proxy server There should be testing equipment;
第二确定子模块,用于将所述代理服务器最近一次上报的心跳包中携带的设备标识对应的测试设备,确定为在线测试设备;The second determining submodule is used to determine the testing equipment corresponding to the equipment identifier carried in the heartbeat packet reported by the proxy server last time as an online testing equipment;
第三确定子模块,用于将所述应有测试设备中除所述在线测试设备外的其他设备,确定为掉线测试设备。The third determining sub-module is used to determine other equipment in the required testing equipment except the online testing equipment as the offline testing equipment.
B14、根据B13所述的装置,其中,所述装置还包括:B14. The device according to B13, wherein the device also includes:
删除模块,用于当通过各代理服务器上报的心跳包检测到一台测试设备从第一代理服务器切换到第二代理服务器时,将所述测试设备的设备标识从所述第一代理服务器对应的设备标识并集中删除。The deletion module is used to change the device identification of the test device from the corresponding one of the first proxy server when the heartbeat packet reported by each proxy server detects that a test device is switched from the first proxy server to the second proxy server. Device identification and central deletion.
B15、根据B13所述的装置,其中,所述心跳包中还包括:测试设备对应的用户标识。B15. The device according to B13, wherein the heartbeat packet further includes: a user identification corresponding to the testing device.
B16、根据B15所述的装置,其中,所述管理模块包括:B16. The device according to B15, wherein the management module includes:
显示子模块,用于针对每台代理服务器,依据所述代理服务器管理的在线测试设备以及掉线测试设备信息,生成代理服务器与测试设备间的关系意图并在显示界面中显示,以供用户依据各所述关系示意图对各测试设备进行管理。The display sub-module is used for each proxy server, according to the information of the online test equipment and the offline test equipment managed by the proxy server, generating the relationship intention between the proxy server and the test equipment and displaying it in the display interface for the user to rely on Each of the relationship schematic diagrams manages each test device.
B17、根据B16所述的装置,其中,所述关系示意图中包括:代理服务器的服务器标识与所述代理服务器所管理的在线测试设备的设备标识和数量、所述代理服务器所管理的掉线测试设备的设备标识和数量以及各测试设备对应的用户标识之间的关联关系。B17. The device according to B16, wherein the schematic diagram of the relationship includes: the server identification of the proxy server and the equipment identification and quantity of the online test equipment managed by the proxy server, the offline test managed by the proxy server The relationship between the device ID and quantity of the device and the user ID corresponding to each test device.
B18、根据B16所述的装置,其中,所述管理模块还包括:B18. The device according to B16, wherein the management module also includes:
第一指令接收子模块,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户在所述显示界面中对目标代理服务器的选择指令;The first instruction receiving submodule is used to receive the user's selection instruction for the target proxy server in the display interface after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it in the display interface;
第二指令接收子模块,用于接收用户对待更新程序包的选择指令;The second instruction receiving sub-module is used to receive the user's selection instruction of the program package to be updated;
程序更新子模块,用于将待更新程序包通过长连接推送至所述代理服务器,以通过所述代理服务器将所述待更新程序包推送至所述目标代理服务器管理的测试设备进行程序更新。The program update sub-module is configured to push the program package to be updated to the proxy server through a long connection, so as to push the program package to be updated to the test equipment managed by the target proxy server through the proxy server for program update.
B19、根据B16所述的装置,其中,所述管理模块还包括:B19. The device according to B16, wherein the management module also includes:
第三指令接收子模块,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户在所述显示界面中对待重启测试设备的选择指令;The third instruction receiving submodule is used to receive the user's selection instruction of the test equipment to be restarted in the display interface after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it in the display interface;
代理服务器确定子模块,用于确定管理所述待重启测试设备的目标代理服务器;A proxy server determining submodule, configured to determine a target proxy server that manages the test equipment to be restarted;
指令发送子模块,用于向所述目标代理服务器发送测试设备重启指令,以供所述目标代理服务器依据所述测试设备重启指令重启所述待重启测试设备;其中,所述测试设备重启指令中携带有待重启测试设备的设备标识。An instruction sending submodule, configured to send a test device restart instruction to the target proxy server, so that the target proxy server restarts the test device to be restarted according to the test device restart instruction; wherein, in the test device restart instruction Carries the device ID of the device under test to be restarted.
B20、根据B16所述的装置,其中,所述管理模块还包括:B20. The device according to B16, wherein the management module also includes:
标识接收子模块,用于在所述显示子模块生成代理服务器与测试设备间的关系意图并在显示界面中显示之后,接收用户输入搜索关键词;其中,所述搜索关键词包括:用户标识、设备标识、掉线测试设备、在线测试设备、应有测试设备中的至少之一;The identification receiving submodule is used to receive the user input search keyword after the display submodule generates the relationship intention between the proxy server and the test equipment and displays it on the display interface; wherein the search keyword includes: user identification, At least one of equipment identification, drop test equipment, online test equipment, and due test equipment;
查找子模块,用于查找与所述搜索关键词对应的设备标识和/或服务器标识并显示。A search submodule, configured to search for and display the device ID and/or server ID corresponding to the search keyword.
本发明公开了C21、一种服务器,包括:The invention discloses C21, a server, including:
一个或多个处理器;和one or more processors; and
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述服务器执行如A1-A10中一个或多个所述的设备管理方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, causes the server to perform the device management method described in one or more of A1-A10.
本发明还公开了D22、一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得服务器执行如A1-A10中一个或多个所述的设备管理方法。The present invention also discloses D22, one or more machine-readable media having instructions stored thereon which, when executed by one or more processors, cause the server to perform device management as described in one or more of A1-A10 method.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711065877.9ACN107995024A (en) | 2017-10-30 | 2017-10-30 | A kind of device management method, device, server and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711065877.9ACN107995024A (en) | 2017-10-30 | 2017-10-30 | A kind of device management method, device, server and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN107995024Atrue CN107995024A (en) | 2018-05-04 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711065877.9APendingCN107995024A (en) | 2017-10-30 | 2017-10-30 | A kind of device management method, device, server and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN107995024A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108632089A (en)* | 2018-05-07 | 2018-10-09 | 平安普惠企业管理有限公司 | Test management method, device, equipment and the computer storage media of terminal |
| CN109617766A (en)* | 2019-01-11 | 2019-04-12 | 视联动力信息技术股份有限公司 | A kind of heartbeat treating method and apparatus |
| CN109981415A (en)* | 2019-04-04 | 2019-07-05 | 深圳市网心科技有限公司 | Condition judgement method, electronic equipment, system and medium |
| CN110958162A (en)* | 2019-12-06 | 2020-04-03 | 广东博智林机器人有限公司 | BLE cascade network, link detection method, equipment and terminal thereof |
| CN111813613A (en)* | 2020-07-20 | 2020-10-23 | 网易(杭州)网络有限公司 | Test management method, test management device, electronic equipment and storage medium |
| CN111835902A (en)* | 2020-07-20 | 2020-10-27 | 网易(杭州)网络有限公司 | Device testing method and device, electronic device and storage medium |
| CN112118149A (en)* | 2020-08-14 | 2020-12-22 | 深圳市科陆电子科技股份有限公司 | Equipment testing method, electronic equipment and storage medium |
| CN113220515A (en)* | 2021-05-12 | 2021-08-06 | 武汉中仪物联技术股份有限公司 | Mobile device connection state detection method and device, electronic device and storage medium |
| CN113836040A (en)* | 2021-11-03 | 2021-12-24 | 盐城金堤科技有限公司 | Application program testing method and device, computer storage medium and electronic equipment |
| CN115225531A (en)* | 2022-07-15 | 2022-10-21 | 北京天融信网络安全技术有限公司 | Database firewall testing method and device, electronic equipment and medium |
| CN119766702A (en)* | 2025-03-06 | 2025-04-04 | 杭州浩联智能科技有限公司 | Method and device for detecting and activating Internet of things equipment, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060020555A1 (en)* | 2004-07-26 | 2006-01-26 | Septon Daven W | Monitoring a license proxy |
| CN102572939A (en)* | 2011-01-04 | 2012-07-11 | 中国移动通信有限公司 | Heartbeat packet sending method, device thereof and system thereof |
| CN103152374A (en)* | 2011-12-07 | 2013-06-12 | 华为终端有限公司 | Method and device for learning terminal online state |
| CN104021078A (en)* | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Software monitoring device and method |
| CN104301926A (en)* | 2014-10-31 | 2015-01-21 | 大唐移动通信设备有限公司 | Distributed automatic dial testing system and method used for communication network testing |
| CN104461898A (en)* | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | Application testing method, center control server, test terminal and system |
| CN104518903A (en)* | 2013-09-30 | 2015-04-15 | 腾讯科技(北京)有限公司 | Method, system and device for patrolling online business |
| CN104639379A (en)* | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Proxy testing method and device |
| CN104850491A (en)* | 2014-02-19 | 2015-08-19 | 深圳中兴网信科技有限公司 | Software test method, equipment and system |
| CN105893220A (en)* | 2016-04-01 | 2016-08-24 | 浪潮电子信息产业股份有限公司 | Server monitoring and management method, device and system |
| CN105959174A (en)* | 2016-04-13 | 2016-09-21 | 青岛海信传媒网络技术有限公司 | Testing method and testing device for intelligent equipment platform |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060020555A1 (en)* | 2004-07-26 | 2006-01-26 | Septon Daven W | Monitoring a license proxy |
| CN102572939A (en)* | 2011-01-04 | 2012-07-11 | 中国移动通信有限公司 | Heartbeat packet sending method, device thereof and system thereof |
| CN103152374A (en)* | 2011-12-07 | 2013-06-12 | 华为终端有限公司 | Method and device for learning terminal online state |
| CN104518903A (en)* | 2013-09-30 | 2015-04-15 | 腾讯科技(北京)有限公司 | Method, system and device for patrolling online business |
| CN104639379A (en)* | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Proxy testing method and device |
| CN104850491A (en)* | 2014-02-19 | 2015-08-19 | 深圳中兴网信科技有限公司 | Software test method, equipment and system |
| CN104021078A (en)* | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Software monitoring device and method |
| CN104301926A (en)* | 2014-10-31 | 2015-01-21 | 大唐移动通信设备有限公司 | Distributed automatic dial testing system and method used for communication network testing |
| CN104461898A (en)* | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | Application testing method, center control server, test terminal and system |
| CN105893220A (en)* | 2016-04-01 | 2016-08-24 | 浪潮电子信息产业股份有限公司 | Server monitoring and management method, device and system |
| CN105959174A (en)* | 2016-04-13 | 2016-09-21 | 青岛海信传媒网络技术有限公司 | Testing method and testing device for intelligent equipment platform |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108632089A (en)* | 2018-05-07 | 2018-10-09 | 平安普惠企业管理有限公司 | Test management method, device, equipment and the computer storage media of terminal |
| CN109617766A (en)* | 2019-01-11 | 2019-04-12 | 视联动力信息技术股份有限公司 | A kind of heartbeat treating method and apparatus |
| CN109981415B (en)* | 2019-04-04 | 2021-08-06 | 深圳市网心科技有限公司 | State determination method, electronic device, system and medium |
| CN109981415A (en)* | 2019-04-04 | 2019-07-05 | 深圳市网心科技有限公司 | Condition judgement method, electronic equipment, system and medium |
| CN110958162A (en)* | 2019-12-06 | 2020-04-03 | 广东博智林机器人有限公司 | BLE cascade network, link detection method, equipment and terminal thereof |
| CN111813613A (en)* | 2020-07-20 | 2020-10-23 | 网易(杭州)网络有限公司 | Test management method, test management device, electronic equipment and storage medium |
| CN111835902A (en)* | 2020-07-20 | 2020-10-27 | 网易(杭州)网络有限公司 | Device testing method and device, electronic device and storage medium |
| CN112118149A (en)* | 2020-08-14 | 2020-12-22 | 深圳市科陆电子科技股份有限公司 | Equipment testing method, electronic equipment and storage medium |
| CN113220515A (en)* | 2021-05-12 | 2021-08-06 | 武汉中仪物联技术股份有限公司 | Mobile device connection state detection method and device, electronic device and storage medium |
| CN113836040A (en)* | 2021-11-03 | 2021-12-24 | 盐城金堤科技有限公司 | Application program testing method and device, computer storage medium and electronic equipment |
| CN115225531A (en)* | 2022-07-15 | 2022-10-21 | 北京天融信网络安全技术有限公司 | Database firewall testing method and device, electronic equipment and medium |
| CN115225531B (en)* | 2022-07-15 | 2024-03-15 | 北京天融信网络安全技术有限公司 | Database firewall testing method and device, electronic equipment and medium |
| CN119766702A (en)* | 2025-03-06 | 2025-04-04 | 杭州浩联智能科技有限公司 | Method and device for detecting and activating Internet of things equipment, electronic equipment and storage medium |
| CN119766702B (en)* | 2025-03-06 | 2025-06-03 | 杭州浩联智能科技有限公司 | Method, device, electronic device and storage medium for detecting activity of Internet of Things devices |
| Publication | Publication Date | Title |
|---|---|---|
| CN107995024A (en) | A kind of device management method, device, server and storage medium | |
| US10708649B2 (en) | Method, apparatus and system for displaying bullet screen information | |
| CN104618440B (en) | Smart machine control method and device | |
| CN104967679B (en) | Information recommendation system, method and device | |
| CN107943685B (en) | Traversal path generation method and device, server and storage medium | |
| CN106778117B (en) | Permission open method, apparatus and system | |
| CN106686396A (en) | Method and system for switching broadcasting rooms | |
| CN107943683A (en) | A kind of test script generation method, device, electronic equipment and storage medium | |
| CN107943684A (en) | A kind of test crash retries method, apparatus, server and storage medium | |
| CN107894950A (en) | A kind of equipment detection method, device, server and storage medium | |
| CN107943686A (en) | A kind of test dispatching method, apparatus, server and storage medium | |
| CN108958805A (en) | menu display method and device | |
| CN106155818A (en) | A kind of terminal pulls the processing method of information and terminal and server | |
| US20170064352A1 (en) | Method and system for collecting statistics on streaming media data, and related apparatus | |
| CN106375582B (en) | Vibration control method and device | |
| CN107153537A (en) | A kind of information display method based on multitask interface, device and mobile terminal | |
| CN106201547A (en) | Method, device and the mobile terminal that a kind of message based on mobile terminal shows | |
| CN104102560B (en) | The method and device of system performance testing | |
| CN109218313A (en) | A kind of method, equipment and the storage medium of supervision application | |
| CN105550316A (en) | Pushing method and device of audio list | |
| CN106020945B (en) | Shortcut item adding method and device | |
| CN108200281B (en) | Comment data loading method and device | |
| CN108052443A (en) | A kind of test assignment dispatching method, device, server and storage medium | |
| CN107943687B (en) | Device sharing method, device, server and storage medium | |
| CN109451295A (en) | A kind of method and system obtaining virtual information |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20180504 |