WO2016202036A1 - Procédé et appareil de traitement de détection - Google Patents

Procédé et appareil de traitement de détection Download PDF

Info

Publication number
WO2016202036A1
WO2016202036A1 PCT/CN2016/077268 CN2016077268W WO2016202036A1 WO 2016202036 A1 WO2016202036 A1 WO 2016202036A1 CN 2016077268 W CN2016077268 W CN 2016077268W WO 2016202036 A1 WO2016202036 A1 WO 2016202036A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection
under test
instruction
device under
version information
Prior art date
Application number
PCT/CN2016/077268
Other languages
English (en)
Chinese (zh)
Inventor
文跃荣
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016202036A1 publication Critical patent/WO2016202036A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • the present invention relates to the field of communications, and in particular to a detection processing method and apparatus.
  • Patent CN200410050816.1 provides a method for device detection, but this method does not implement automatic detection in a real sense, and does not provide a method for verifying the stability of the software version. If there are multiple modifications in the subsequent software, and a fault is introduced, it is impossible to locate efficiently. Which modification introduces the fault and needs to be checked one by one. The inspectors hope that the stability of the real-time software version can be ensured in the case of rapid detection of the failure of the detection device, and it is possible to quickly locate which developer the software is involved in, and when the error introduced by the code is incorporated.
  • the embodiments of the present invention provide a detection processing method and apparatus to solve at least the problem that the method of device detection in the related art is defective.
  • a detection processing method including: receiving a detection instruction issued by a host computer, wherein the detection instruction is that the upper computer detects that the device under test has acquired the server.
  • the current version information is transmitted after the predetermined time; the detection processing is performed according to the detection instruction.
  • the method further includes: receiving a reset instruction sent by the upper computer, wherein the reset instruction is used to trigger acquisition of the current version information; The current version information is acquired after receiving the reset instruction.
  • performing the detection processing according to the detection instruction includes performing detection processing according to the detection instruction by a detection use case set in advance.
  • a detection processing method including: when a device under test acquires current version information of a server, sending a detection instruction to the device under test; receiving the The result of the detection by the device under test according to the detection instruction.
  • the method further includes: issuing a reset instruction to the device under test, wherein the reset instruction is used to trigger the device under test to receive The current version information is acquired after the reset instruction.
  • the method further includes: feeding back the result to the server, and the server is configured to feed the result in an email manner.
  • a detection processing method including: triggering build version information; and transmitting the current version information of the construct to the device under test, where the current version information is used to trigger the upper computer And sending a detection instruction to the device under test, where the detection instruction is used by the device under test to perform detection according to the detection instruction.
  • the method further includes: receiving, by the host computer, a result of detecting by the device under test according to the detection instruction; and feeding back by using an email Said the result.
  • a detection processing apparatus including: a first receiving module, configured to receive a detection instruction issued by a host computer, wherein the detection instruction is that the upper computer detects The device under test has acquired the current version information of the server configuration and is sent after a predetermined time; the detection processing module is configured to perform detection processing according to the detection instruction.
  • the detection processing module includes: a detection processing unit configured to perform detection processing according to the detection instruction by a detection use case set in advance.
  • a detection processing apparatus including: a sending module, configured to, under the condition that the device under test acquires current version information built by the server, to the device under test Sending a detection instruction; the second receiving module is configured to receive a result of detecting by the device under test according to the detection instruction.
  • a detection processing apparatus including: a triggering module configured to trigger build version information; and a sending module configured to send the constructed current version information to the device under test, where The current version information is used to trigger the host computer to send a detection instruction to the device under test, and the detection instruction is used by the device under test to perform detection according to the detection instruction.
  • the detection instruction sent by the upper computer is received, wherein the detection instruction is sent by the upper computer after detecting that the device under test has acquired the current version information constructed by the server for a predetermined time;
  • the detection instruction performs detection processing, and solves the problem that the method of device detection in the related art is defective, and realizes automatic detection of the device, thereby saving resources.
  • FIG. 1 is a first flowchart of a detection processing method according to an embodiment of the present invention
  • FIG. 2 is a second flowchart of a detection processing method according to an embodiment of the present invention.
  • FIG. 3 is a third flowchart of a detection processing method according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 1 of a detection processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram of a detection processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a block diagram 2 of a detection processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a block diagram 3 of a detection processing apparatus according to an embodiment of the present invention.
  • Figure 8 is a flow chart of an automatic detection method in accordance with an embodiment of the present invention.
  • FIG. 9 is a block diagram of an automatic detection system in accordance with an embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of a detection processing method according to an embodiment of the present invention. As shown in FIG. 1 , the flow includes the following steps:
  • Step S102 receiving a detection instruction issued by the upper computer, wherein the detection instruction is sent by the upper computer after detecting that the device under test has acquired the current version information of the server construction for a predetermined time;
  • Step S104 performing detection processing according to the detection instruction.
  • the invention solves the problem that the method of device detection in the related art has defects, and realizes automatic detection of the device, thereby saving resources.
  • the method Before receiving the detection instruction sent by the upper computer, the method further includes: receiving a reset instruction issued by the upper computer, wherein the reset instruction is used to trigger acquisition of the current version information; and acquiring the reset instruction after receiving the reset instruction Current version information.
  • the detection processing may be performed according to the detection instruction by a preset detection use case, wherein the detection use case is preset in the device under test.
  • a special detection case is used for detecting the path between different chips and chips on the device under test, and the performance of the chip and the connectivity of the link are detected.
  • Different detection cases are distinguished by different command codes, and then the command is used.
  • the code, the location of the detection device, and the like constitute a detection command write detection script, and each detection command code corresponds to a detection command.
  • the detection script is stored in the hard disk or flash device of the environment master.
  • the detection use case may be a detection use case of resetting the main control, or may be a detection use case of resetting one or more peripheral boards.
  • FIG. 2 is a second flowchart of a detection processing method according to an embodiment of the present invention. As shown in FIG. 2, the flow includes the following steps:
  • Step S202 in the case that the device under test obtains the current version information of the server, the detection instruction is sent to the device under test;
  • Step S204 Receive a result of detecting by the device under test according to the detection instruction.
  • a reset command is sent to the device under test, where the reset command is used to trigger the device under test to acquire the current version information after receiving the reset command.
  • the result is fed back to the server, and the server feeds the result in an email manner.
  • FIG. 3 is a flowchart 3 of a detection processing method according to an embodiment of the present invention. As shown in FIG. 3, the flow includes the following steps:
  • Step S302 triggering build version information
  • Step S304 the current version information is sent to the device under test, where the current version information is used to trigger the host computer to send a detection instruction to the device under test, where the detection instruction is used by the device under test according to the detection instruction. Detection.
  • the host computer receives the result of the detection of the device under test according to the detection instruction; and feeds back the result by means of mail, which can be fed back to The email address set in advance.
  • FIG. 4 is a block diagram of a detection processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • the first receiving module 42 is configured to receive a detection instruction issued by the upper computer, where the detection instruction is sent by the upper computer after detecting that the device under test has acquired the current version information of the server construction for a predetermined time;
  • the detection processing module 44 is configured to perform detection processing according to the detection instruction.
  • FIG. 5 is a block diagram of a detection processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 5, the detection processing module includes:
  • the detection processing unit 52 is configured to perform detection processing based on the detection command by a detection example set in advance.
  • FIG. 6 is a block diagram 2 of the detection processing device according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
  • the sending module 62 is configured to send a detection instruction to the device under test if the current version information of the server is acquired by the device under test;
  • the second receiving module 64 is configured to receive a result of detecting by the device under test according to the detection instruction.
  • FIG. 7 is a block diagram 3 of the detection processing device according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
  • the triggering module 72 is configured to trigger the build version information
  • the sending module 74 is configured to send the current version information of the configuration to the device under test, where the current version information is used to trigger the host computer to send a detection instruction to the device under test, where the detection instruction is used by the device under test according to the The detection command is detected.
  • Equipment detection is an important part of generating shipments. Automated inspection is an important means of equipment detection. Through automatic detection, on the one hand, it can quickly locate equipment failure points, on the other hand, it can ensure the stability of software detection version. Therefore, in order to provide an efficient and stable software detection version for the device, and to quickly locate the problem of the device in the detection, a complete automated detection solution is needed.
  • the automatic detection must have the following characteristics: (1) can download the latest build detection version from the version server regularly; (2) automatically replace the version; (3) automatically issue the start detection command; (4) Automatically start detection; (5) automatically query the detection result; (6) feedback the detection result to the person in charge of the detection version.
  • the optional embodiment provides a method for automatically detecting the tooling tool, including: periodically downloading the latest version from the version server (when the code update is performed, the jenkins server automatically builds the version, and then periodically downloads the latest version from the jenkins server. Including code compilation and version packaging, resetting the entire detection system, automatically issuing a detection start command, automatically starting detection, and automatically querying the detection result. It also includes the feedback test result, and sends the test result to the person in charge of the detection software development by email. If there is a detection error, the test result is sent to the developer who recently joined the code by mail. Starting from these functions that must be completed by automated testing, a set of testing schemes is proposed. The scheme consists of three parts. The first one is the communication upper computer, the second is the automated detection script, and the third is integrated in the detection software. Automated detection.
  • the upper computer is responsible for communication with the environment master, and needs to have the function of sending and receiving.
  • two commands need to be issued.
  • the first one is the reset command.
  • Two test cases can be designed on the environment master, one is to reset the test case of the master, and the other is to reset the test case of the peripheral board.
  • the second instruction is an automated detection start command. After the board is replaced with the version, the instruction is issued to start the automatic detection.
  • the automated detection script is placed on the version build PC, and the Jenkins server is used to build the build, compile, package, and successfully build the set.
  • the Jenkins server will periodically build the version, which can be used to implement automatic triggering.
  • the second is that the Jenkins server has a mail sending function that can send an email to the person in charge when an error is detected.
  • the script must have the following two functions: First, the version change function: You can use the ftp software command. Then the query detection result: After the automatic detection starts, the linux host opportunity receives the detection result fed back from the detection system in real time, and at the same time, the script detects whether the detection result is correct in real time.
  • the automated detection integrated in the software version consists of three parts, one is the thread that controls the automatic detection of the detection board.
  • the thread is the thread on the environment master.
  • Each detection board has an independent control thread to control it or start or Stop detection.
  • the other part is designed to detect the detection of all the detection points of the board, and to ensure the integrity of the detection.
  • the third part is the function of uploading the test results.
  • Each test board uploads the test results of each test case to the environment master, and the environment master sends the test result to the host computer at the same time.
  • FIG. 8 is a flowchart of an automatic detection method according to an embodiment of the present invention. As shown in FIG. 8 , the entire process includes a compiled version, a packaged version, a changed version, a reset board, an automatic detection start command, and an automatic query detection result and feedback to The person in charge of the board includes the following steps:
  • Step S801 detecting that the system is powered on, including the environment main control and the board to be tested, to ensure that the network is unblocked;
  • Step S802 detecting whether the prepared communication upper computer establishes a communication connection in the detection system, and correctly configuring the ftp server, so that the environment master can restart to the latest version;
  • Step S803 the software version is updated from the version server, and the Jenkins server automatically updates the detection code, the compiled version, and the packaged version;
  • step S804 the host computer sends a reset environment main control command and/or the host computer sends a reset peripheral board command to reset the peripheral board, and immediately resets the environment master control to ensure that the environment master and peripheral boards are all up to date. version of;
  • Step S805 after the startup of the system to be detected is completed, the host computer sends an automatic detection start command
  • Step S806 the detection system starts automatic detection, and the software version integrates the automatic detection function, and a special detection use case is designed for each detection point of the detection device, and the detection result can be fed back to the communication upper computer for script analysis;
  • Step S807 the detection system uploads the detection result to the upper computer, and the script parses the detection result received by the upper computer.
  • the result fed back to the host computer is customized into a special format, and the format of the returned result can be judged to determine whether the detection is successful;
  • Step S808 the upper computer parses the detection result
  • Step S809 the host computer determines whether the detection is successful according to the detection result, if the determination result is yes, the loop execution step S807, if the determination result is no, step S810 is performed;
  • Step S810 the host computer sends an automatic detection instruction to stop
  • step S811 the Jenkins server automatically sends an email to the developer who recently joined the code.
  • the above-mentioned automatic detection method is efficient and fully functional.
  • the detection code can be updated regularly; the code is compiled, the packaged version is automatically updated; the automatic detection is automatically issued. Start command; use the automatic detection function integrated in the software version and the designed special detection case automatic detection; automatically upload the detection result to the communication host computer; automatically send the detection stop command.
  • the test result email can be fed back to the relevant developer who has recently joined the code, so that it is easy to locate the problem of the software version based on the detection result.
  • the method does not rely on the traditional automatic detection software, and only relies on the designed communication upper computer and customized special script to complete the entire automatic detection function, and has complete functions and great practical value. It solves the problem of equipment detection, and can not fully automate the detection. It can effectively detect the detection points of the detection equipment, ensure the stability of the software detection version, save the labor cost of the positioning problem, and improve the efficiency of equipment detection. .
  • FIG. 9 is a block diagram of an automatic detection system, as shown in FIG. 9, in accordance with an embodiment of the present invention.
  • Configure the detection project on the Jenkins software Before configuring the project, you need to complete the production of the communication host computer and the production of the dedicated script. At the same time, you need to configure the ftp server to ensure that the environment master can download the latest build version.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing embodiments of the present invention can be applied to the field of communications, and solve the problem that the method for detecting a device in the related art is flawed, and implement automatic detection of the device, thereby saving resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente invention concerne un procédé et un appareil de traitement de détection. Le procédé comprend les étapes consistant : à recevoir une instruction de détection transmise par un ordinateur supérieur, l'ordinateur supérieur transmettant des instructions de détection après une durée pré-établie lors de la détection qu'un dispositif détecté a acquis des informations concernant une version actuelle établie par un serveur ; et à réaliser un traitement de détection selon l'instruction de détection. Le problème dans l'état de la technique selon lequel il existe un défaut dans un procédé de détection de dispositif est résolu, et la détection automatique d'un dispositif est réalisée, ce qui permet d'économiser les ressources.
PCT/CN2016/077268 2015-06-19 2016-03-24 Procédé et appareil de traitement de détection WO2016202036A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510347208.5A CN106330583A (zh) 2015-06-19 2015-06-19 检测处理方法及装置
CN201510347208.5 2015-06-19

Publications (1)

Publication Number Publication Date
WO2016202036A1 true WO2016202036A1 (fr) 2016-12-22

Family

ID=57544963

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077268 WO2016202036A1 (fr) 2015-06-19 2016-03-24 Procédé et appareil de traitement de détection

Country Status (2)

Country Link
CN (1) CN106330583A (fr)
WO (1) WO2016202036A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005357A1 (en) * 1999-09-15 2003-01-02 I-Bus/Phoenix, Incorporated Standby SBC backplane
CN101989936A (zh) * 2010-11-01 2011-03-23 中兴通讯股份有限公司 单板故障的测试方法及系统
CN102185738A (zh) * 2011-05-13 2011-09-14 迈普通信技术股份有限公司 通信设备硬件主机的测试系统及测试方法
CN103870368A (zh) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 Sas扩展卡测试系统及方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461699C (zh) * 2006-06-28 2009-02-11 华为技术有限公司 一种设备自动化升级的方法
CN102255748B (zh) * 2011-06-27 2017-12-29 中兴通讯股份有限公司 自动化测试系统及方法、版本服务器、以及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005357A1 (en) * 1999-09-15 2003-01-02 I-Bus/Phoenix, Incorporated Standby SBC backplane
CN101989936A (zh) * 2010-11-01 2011-03-23 中兴通讯股份有限公司 单板故障的测试方法及系统
CN102185738A (zh) * 2011-05-13 2011-09-14 迈普通信技术股份有限公司 通信设备硬件主机的测试系统及测试方法
CN103870368A (zh) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 Sas扩展卡测试系统及方法

Also Published As

Publication number Publication date
CN106330583A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
US9940225B2 (en) Automated error checking system for a software application and method therefor
CN105302716B (zh) 合流开发模式下的测试方法、装置
CN109634843B (zh) 一种面向ai芯片平台的分布式自动化软件测试方法及平台
WO2019090454A1 (fr) Système et procédé de test bluetooth
CN110032507B (zh) 应用程序测试方法、装置、系统、电子设备及存储介质
US11169815B2 (en) Method and system for automation tool set for server maintenance actions
WO2017028574A1 (fr) Procédé de test de routeur, et dispositif de test
CN110659198A (zh) 应用程序的测试用例执行方法、装置和软件测试系统
CN113064630B (zh) 移动端app自动打包方法、系统、电子设备及存储介质
CN111651352B (zh) 一种仓库代码的合并方法及装置
CN112231228A (zh) 一种固件升级测试方法、装置、平台、设备及存储介质
CN106445541B (zh) 软件构建方法、软件构建装置和软件构建系统
CN110287112B (zh) 客户端的维护方法、装置及可读存储介质
CN107678969B (zh) 测试版本发布方法、装置、版本控制设备和测试机
CN105468507A (zh) 分支达标检测方法及装置
CN108319551B (zh) 一种软件的测试方法、装置、计算机设备及可读存储介质
CN112328467B (zh) 一种嵌入式系统程序测试方法及装置
CN108241545B (zh) 系统故障的调试方法及装置
WO2016202036A1 (fr) Procédé et appareil de traitement de détection
CN114546819A (zh) 代码处理方法、装置、电子设备及可读介质
CN107332730B (zh) 一种协议可扩展的服务可用性探测系统及方法
CN107870840B (zh) 基于ipmi的服务器多个测试指令自动执行方法
CN102801576A (zh) 网络设备的检测系统及检测方法
CN113992739B (zh) 一种局域网ota固件升级装置、方法及系统
KR102068830B1 (ko) 서버 검증 자동화 및 관리시스템

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16810777

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810777

Country of ref document: EP

Kind code of ref document: A1