WO2016202036A1 - Detection processing method and apparatus - Google Patents

Detection processing method and apparatus 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
French (fr)
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/en

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.

Abstract

Disclosed are a detection processing method and apparatus. The method comprises: receiving a detection instruction issued by an upper computer, wherein the upper computer issues the detection instruction after a pre-set time when detecting that a detected device has acquired information about a current version established by a server; and performing detection processing according to the detection instruction. The problem in the relevant art that a defect exists in a device detection method is solved, and automatic detection of a device is achieved, thereby saving resources.

Description

检测处理方法及装置Detection processing method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及检测处理方法及装置。The present invention relates to the field of communications, and in particular to a detection processing method and apparatus.
背景技术Background technique
随着通讯领域日新月异的发展,通讯设备更新周期越来越短,为了迅速抢占市场,给用户提供更高质量的通讯设备,对自动化检测提出了更高的要求。专利CN200410050816.1提供了一种设备检测的方法,但是该方法没有实现真实意义的自动化检测,并且没有提供同步验证软件版本稳定性的方法。如果后续软件出现多处修改,引入了故障,就不能高效定位是哪处修改引入了故障,需要逐一排查。检测人员希望,能够在迅速定位检测设备故障的情况下,也能确保实时软件版本的稳定性,且在引入软件故障时能快速定位到是哪个开发人员,在什么时候合入代码引入的故障。With the rapid development of the communication field, the communication equipment update cycle is getting shorter and shorter. In order to quickly seize the market and provide users with higher quality communication equipment, higher requirements are imposed on automatic detection. 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.
针对相关技术中的设备检测的方法存在缺陷的问题,还未提出有效的解决方案。There is a problem that the method for detecting a device in the related art has a defect, and an effective solution has not been proposed.
发明内容Summary of the invention
本发明实施例提供了检测处理方法及装置,以至少解决相关技术中的设备检测的方法存在缺陷的问题。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.
根据本发明实施例的一个方面,提供了一种检测处理方法,包括:接收上位机下发的检测指令,其中,所述检测指令是所述上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;根据所述检测指令进行检测处理。According to an aspect of the present invention, a detection processing method is provided, 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.
进一步地,在接收所述上位机下发的检测指令之前,所述方法还包括:接收所述上位机下发的复位指令,其中,所述复位指令用于触发获取所述当前版本信息;在接收到所述复位指令之后获取所述当前版本信息。Further, before receiving the detection instruction sent by the upper computer, 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.
进一步地,根据所述检测指令进行检测处理包括:通过预先设置的检测用例根据所述检测指令进行检测处理。Further, 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.
根据本发明实施例的另一方面,提供了一种检测处理方法,包括:在被测设备获取到服务器构建的当前版本信息的情况下,向所述被测设备下发检测指令;接收所述被测设备根据所述检测指令进行检测的结果。According to another aspect of the present invention, a detection processing method is provided, 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.
进一步地,在向所述被测设备下发检测指令之前,所述方法还包括:向所述被测设备下发复位指令,其中,所述复位指令用于触发所述被测设备在接收到所述复位指令之后获取所述当前版本信息。 Further, before the sending the detection instruction to the device under test, 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.
进一步地,在接收所述被测设备根据所述检测指令进行检测的结果之后,所述方法还包括:将所述结果反馈给服务器,供所述服务器将所述结果以邮件的方式进行反馈。Further, after receiving the result of the detection by the device under test according to the detection 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.
根据本发明实施例的再一方面,还提供了一种检测处理方法,包括:触发构建版本信息;将构建的当前版本信息发送给被测设备,其中,所述当前版本信息用于触发上位机向所述被测设备下发检测指令,所述检测指令用于所述被测设备根据所述检测指令进行检测。According to still another aspect of the present invention, a detection processing method is further provided, 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.
进一步地,在将构建的当前版本信息发送给被测设备之后,所述方法还包括:通过所述上位机接收所述被测设备根据所述检测指令进行检测的结果;以邮件的方式反馈所述结果。Further, after the current version information is sent to the device under test, 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.
根据本发明实施例的另一方面,提供了一种检测处理装置,包括:第一接收模块,设置为接收上位机下发的检测指令,其中,所述检测指令是所述上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;检测处理模块,设置为根据所述检测指令进行检测处理。According to another aspect of the present invention, a detection processing apparatus is provided, 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.
进一步地,所述检测处理模块包括:检测处理单元,设置为通过预先设置的检测用例根据所述检测指令进行检测处理。Further, 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.
根据本发明实施例的另一方面,还提供了一种检测处理装置,包括:下发模块,设置为在被测设备获取到服务器构建的当前版本信息的情况下,向所述被测设备下发检测指令;第二接收模块,设置为接收所述被测设备根据所述检测指令进行检测的结果。According to another aspect of the present invention, a detection processing apparatus is further provided, 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.
根据本发明实施例的再一方面,还提供了一种检测处理装置,包括:触发模块,设置为触发构建版本信息;发送模块,设置为将构建的当前版本信息发送给被测设备,其中,所述当前版本信息用于触发上位机向所述被测设备下发检测指令,所述检测指令用于所述被测设备根据所述检测指令进行检测。According to still another aspect of the embodiments of the present invention, a detection processing apparatus is provided, 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.
通过本发明实施例,采用接收上位机下发的检测指令,其中,所述检测指令是所述上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;根据所述检测指令进行检测处理,解决了相关技术中的设备检测的方法存在缺陷的问题,实现了对设备进行自动检测,节省了资源。According to the embodiment of the present invention, 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.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的检测处理方法的流程图一;1 is a first flowchart of a detection processing method according to an embodiment of the present invention;
图2是根据本发明实施例的检测处理方法的流程图二;2 is a second flowchart of a detection processing method according to an embodiment of the present invention;
图3是根据本发明实施例的检测处理方法的流程图三;3 is a third flowchart of a detection processing method according to an embodiment of the present invention;
图4是根据本发明实施例的检测处理装置的框图一; 4 is a block diagram 1 of a detection processing apparatus according to an embodiment of the present invention;
图5是根据本发明优选实施例的检测处理装置的框图;Figure 5 is a block diagram of a detection processing apparatus in accordance with a preferred embodiment of the present invention;
图6是根据本发明实施例的检测处理装置的框图二;6 is a block diagram 2 of a detection processing apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的检测处理装置的框图三;Figure 7 is a block diagram 3 of a detection processing apparatus according to an embodiment of the present invention;
图8是根据本发明实施的自动检测方法流程图;Figure 8 is a flow chart of an automatic detection method in accordance with an embodiment of the present invention;
图9是根据本发明实施例的自动检测系统的框图。9 is a block diagram of an automatic detection system in accordance with an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种检测处理方法,图1是根据本发明实施例的检测处理方法的流程图一,如图1所示,该流程包括如下步骤:In the embodiment, a detection processing method is provided. 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:
步骤S102,接收上位机下发的检测指令,其中,该检测指令是该上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;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;
步骤S104,根据该检测指令进行检测处理。Step S104, performing detection processing according to the detection instruction.
通过上述步骤,接收上位机下发的检测指令,其中,该检测指令是该上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;根据该检测指令进行检测处理,解决了相关技术中的设备检测的方法存在缺陷的问题,实现了对设备进行自动检测,节省了资源。Receiving, by the above step, a detection instruction sent by the upper computer, wherein the detection instruction is sent after the upper computer detects that the device under test has acquired the current version information of the server construction, and performs 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.
在接收该上位机下发的检测指令之前,该方法还包括:接收该上位机下发的复位指令,其中,该复位指令用于触发获取该当前版本信息;在接收到该复位指令之后获取该当前版本信息。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.
根据该检测指令进行检测处理的方式不止一种,在一个可选的实施例中,可以通过预先设置的检测用例根据该检测指令进行检测处理,其中,所述检测用例是预先设置在被测设备上的,针对被测设备上不同芯片及芯片之间的通路做了专门的检测用例用于检测芯片的性能及链路的连通性,不同的检测用例用不同的命令码进行区分,然后将命令码、检测设备位置等信息构成一条检测命令写入检测脚本中,每一个检测命令码都对应有一条检测命令。这个检测脚本存放在环境主控的硬盘或flash设备中,当环境主控下发自动化检测开始命令后会逐条解析检测脚本中的检测命令,然后发送给检测设备,当检测设备执行完当前命令码对应的检测用例返回检测结果给环境主控后,环境主控再发送下一条检测命令。该检测用例可以是复位主控的检测用例,也可以是复位一个或多个外围单板的检测用例。There is more than one way of performing detection processing according to the detection instruction. In an optional embodiment, 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. On the above, 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. When the environment master sends the automatic detection start command, the detection command in the detection script is parsed one by one, and then sent to the detection device. When the detection device executes the current command code. After the corresponding detection case returns the detection result to the environment master, the environment master sends the next detection command. 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.
本发明实施例还提供了一种检测处理方法,图2是根据本发明实施例的检测处理方法的流程图二,如图2所示,该流程包括如下步骤: The embodiment of the present invention further provides a detection processing method. 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:
步骤S202,在被测设备获取到服务器构建的当前版本信息的情况下,向该被测设备下发检测指令;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;
步骤S204,接收该被测设备根据该检测指令进行检测的结果。Step S204: Receive a result of detecting by the device under test according to the detection instruction.
在向该被测设备下发检测指令之前,向该被测设备下发复位指令,其中,该复位指令用于触发该被测设备在接收到该复位指令之后获取该当前版本信息。Before the detecting instruction is sent to the device under test, 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.
为了实时地掌控检测结果,在接收该被测设备根据该检测指令进行检测的结果之后,将该结果反馈给服务器,供该服务器将该结果以邮件的方式进行反馈。In order to control the detection result in real time, after receiving the result of the detection by the device under test according to the detection instruction, the result is fed back to the server, and the server feeds the result in an email manner.
本发明实施例还提供了一种检测处理方法,图3是根据本发明实施例的检测处理方法的流程图三,如图3所示,该流程包括如下步骤:The embodiment of the present invention further provides a detection processing method, and 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:
步骤S302,触发构建版本信息;Step S302, triggering build version information;
步骤S304,将构建的当前版本信息发送给被测设备,其中,该当前版本信息用于触发上位机向该被测设备下发检测指令,该检测指令用于该被测设备根据该检测指令进行检测。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.
为了实时地掌控检测结果,在将构建的当前版本信息发送给被测设备之后,通过该上位机接收该被测设备根据该检测指令进行检测的结果;以邮件的方式反馈该结果,可以反馈给事先设置的邮箱地址。In order to control the detection result in real time, after transmitting the current version information of the construction to the device under test, 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.
本发明实施例提供了一种检测处理装置,图4是根据本发明实施例的检测处理装置的框图一,如图4所示,包括:An embodiment of the present invention provides a detection processing apparatus. 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:
第一接收模块42,设置为接收上位机下发的检测指令,其中,该检测指令是该上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;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;
检测处理模块44,设置为根据该检测指令进行检测处理。The detection processing module 44 is configured to perform detection processing according to the detection instruction.
图5是根据本发明优选实施例的检测处理装置的框图,如图5所示,检测处理模块包括: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:
检测处理单元52,设置为通过预先设置的检测用例根据该检测指令进行检测处理。The detection processing unit 52 is configured to perform detection processing based on the detection command by a detection example set in advance.
本发明实施例还提供了一种检测处理装置,图6是根据本发明实施例的检测处理装置的框图二,如图6所示,包括:The embodiment of the present invention further provides a detection processing device. 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:
下发模块62,设置为在被测设备获取到服务器构建的当前版本信息的情况下,向该被测设备下发检测指令;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;
第二接收模块64,设置为接收该被测设备根据该检测指令进行检测的结果。The second receiving module 64 is configured to receive a result of detecting by the device under test according to the detection instruction.
本发明实施例还提供了一种检测处理装置,图7是根据本发明实施例的检测处理装置的框图三,如图7所示,包括:The embodiment of the present invention further provides a detection processing device. 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:
触发模块72,设置为触发构建版本信息; The triggering module 72 is configured to trigger the build version information;
发送模块74,设置为将构建的当前版本信息发送给被测设备,其中,该当前版本信息用于触发上位机向该被测设备下发检测指令,该检测指令用于该被测设备根据该检测指令进行检测。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.
针对相关技术中存在的上述问题,下面结合自动化检测(自动化测试)对上述检测处理方法进行进一步说明,下述可选实施例结合了上述可选实施例及其可选实施方式。In view of the above problems in the related art, the above detection processing method will be further described below in conjunction with an automatic detection (automated test), which is combined with the above-described alternative embodiment and its optional embodiments.
设备检测是生成发货的一个重要环节,自动化检测又是设备检测的重要手段,通过自动化检测,一方面可以迅速定位设备故障点,另一方面也可以确保软件检测版本的稳定。因此,为了能够提供给设备检测高效、稳定的软件检测版本,迅速定位生成检测中设备存在的问题,需要有一套完善的自动化检测方案。针对设备检测的要求,自动化检测必须具备如下几个特点:(1)能定时从版本服务器下载最新构建的检测版本;(2)自动更换版本;(3)自动下发开始检测命令;(4)自动开始检测;(5)自动查询检测结果;(6)将检测结果反馈给检测版本的负责人。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. For the requirements of equipment detection, 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.
本可选实施例提供了一种标模工装自动化检测方法,包括:定时从版本服务器下载最新版本(svn有代码更新时,jenkins服务器会自动构建版本,然后定时从jenkins服务器上下载最新的版本,包括代码编译及版本打包)、复位整个检测系统、自动下发检测开始命令、自动开始检测、自动查询检测结果。还包括反馈检测结果,并将检测结果,通过邮件发送给检测软件开发负责人,如果有检测错误,同时将检测结果,通过邮件发送给最近合入代码的开发人员。从自动化检测必须完成的这些功能出发,提出了一套检测方案,该方案包括三个部分,第一个是通讯上位机,第二个是自动化检测脚本,第三个是集成在检测软件中的自动化检测功能。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. When sending, two commands need to be issued. The first one is the reset command. There are two kinds of reset commands. One is to reset the environment master itself, and the other is to reset the peripheral board. 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. These two instructions need to be implemented in the software detection version.
自动化检测脚本放在版本构建PC机上,利用jenkins服务器,在版本构建、编译、打包,成功构建set集后,开始执行该脚本。利用jenkins服务器有两个重要的原因:第一是因为jenkins服务器会定时构建版本,可利用该功能实现自动触发功能。第二是jenkins服务器有邮件发送功能,可在检测出现错误时发送邮件给负责人。脚本必须具备如下两个功能:首先是换版本功能:可以利用ftp软件命令。然后是查询检测结果:自动化检测开始后,linux上位机会实时接收从检测系统反馈的检测结果,与此同时,脚本实时检测检测结果是否正确。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. There are two important reasons for using the Jenkins server: The first is because 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.
图8是根据本发明实施的自动检测方法流程图,如图8所示,整个流程包括编译版本,打包版本,换版本,复位单板,自动下发检测开始命令,自动查询检测结果并反馈给单板负责人,包括以下步骤: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:
步骤S801,检测系统上电,包括环境主控和被测单板上电,保证网络畅通;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;
步骤S802,检测制作的通讯上位机于检测系统是否建立通讯连接,正确配置ftp服务器,使得环境主控重启的时候能要到最新的版本;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;
步骤S803,定时从版本服务器更新软件版本,Jenkins服务器自动更新检测代码,编译版本,打包版本;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;
步骤S804,上位机下发复位环境主控命令和/或上位机下发复位外围单板命令,复位外围单板,同时立即复位环境主控,确保环境主控和外围单板启动的都是最新的版本;In 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;
步骤S805,待检测系统启动完成后,上位机下发自动化检测开始命令;Step S805, after the startup of the system to be detected is completed, the host computer sends an automatic detection start command;
步骤S806,检测系统开始自动化检测,软件版本集成了自动化检测功能,针对检测设备的各个检测点设计了专门的检测用例,并且能将检测结果反馈给通讯上位机,供脚本解析;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;
步骤S807,检测系统上传检测结果给上位机,同时脚本解析上位机收到的检测结果。反馈给上位机的结果定制成某种特殊的格式,可以通过解析返回结果的格式判断检测是否成功;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;
步骤S808,上位机解析检测结果;Step S808, the upper computer parses the detection result;
步骤S809,上位机根据检测结果判断是否检测成功,在判断结果为是的情况下,循环执行步骤S807,在判断结果为否的情况下,执行步骤S810;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;
步骤S810,上位机下发停止自动化检测指令;Step S810, the host computer sends an automatic detection instruction to stop;
步骤S811,Jenkins服务器自动下发邮件到最近合入代码的开发人。In 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. When the software code is updated (after the developer has incorporated the code), 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. More importantly, 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. .
图9是根据本发明实施例的自动检测系统的框图,如图9所示。在jenkins软件上配置好检测项目,配置项目之前需要完成通讯上位机的制作及专用脚本的制作,同时需要配置好ftp服务器,确保网络畅通的情况下,环境主控能下载到最新构建的版本。当jenkins在配置的时 间点感知到服务器上有代码更新后,开始全部的自动化检测流程;这个过程包括,自动更新软件版本,自动编译软件版本,自动打包版本,自动将构建的版本复制到ftp的共享目录,然后下发复位系统命令(复位系统包括复位环境主控和外围单板),待系统启动完成再下发自动化检测开始命令,最后根据检测系统反馈的检测结果自动下发邮件。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. When jenkins are in the configuration After the point is aware that there is code update on the server, all the automated detection processes are started; this process includes automatically updating the software version, automatically compiling the software version, automatically packaging the version, automatically copying the built version to the ftp shared directory, and then The reset system command (the reset system includes the reset environment master and the peripheral board), and the automatic detection start command is issued after the system is started, and finally the mail is automatically sent according to the detection result fed back by the detection system.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various 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. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
上述的本发明实施例,可以应用于通信领域,解决了相关技术中的设备检测的方法存在缺陷的问题,实现了对设备进行自动检测,节省了资源。 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.

Claims (12)

  1. 一种检测处理方法,包括:A detection processing method includes:
    接收上位机下发的检测指令,其中,所述检测指令是所述上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;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 built by the server for a predetermined time;
    根据所述检测指令进行检测处理。The detection process is performed according to the detection instruction.
  2. 根据权利要求1所述的方法,其中,在接收所述上位机下发的检测指令之前,所述方法还包括:The method according to claim 1, wherein the method further comprises: before receiving the detection instruction sent by the upper computer, the method further comprising:
    接收所述上位机下发的复位指令,其中,所述复位指令用于触发获取所述当前版本信息;Receiving a reset command issued by the upper computer, where the reset command is used to trigger acquiring the current version information;
    在接收到所述复位指令之后向所述服务器获取所述当前版本信息。The current version information is obtained from the server after receiving the reset instruction.
  3. 根据权利要求1或2所述的方法,其中,根据所述检测指令进行检测处理包括:The method according to claim 1 or 2, wherein the detecting processing according to the detecting instruction comprises:
    通过预先设置的检测用例根据所述检测指令进行检测处理。The detection processing is performed in accordance with the detection command by a detection case set in advance.
  4. 一种检测处理方法,包括:A detection processing method includes:
    在检测到被测设备已获取到服务器构建的当前版本信息的情况下,向所述被测设备下发检测指令;When detecting that the device under test has obtained the current version information of the server configuration, sending a detection instruction to the device under test;
    接收所述被测设备根据所述检测指令进行检测的结果。Receiving a result of detecting by the device under test according to the detection instruction.
  5. 根据权利要求4所述的方法,其中,在向所述被测设备下发检测指令之前,所述方法还包括:The method of claim 4, wherein before the sending the detection instruction to the device under test, the method further comprises:
    向所述被测设备下发复位指令,其中,所述复位指令用于触发所述被测设备在接收到所述复位指令之后获取所述当前版本信息。And sending a reset instruction 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 instruction.
  6. 根据权利要求4所述的方法,其中,在接收所述被测设备根据所述检测指令进行检测的结果之后,所述方法还包括:The method according to claim 4, wherein after receiving the result of the detecting by the device under test according to the detection instruction, the method further comprises:
    将所述结果反馈给服务器,供所述服务器以邮件的方式进行反馈。The result is fed back to the server for feedback by the server by mail.
  7. 一种检测处理方法,包括:A detection processing method includes:
    触发构建版本信息;Trigger build version information;
    将构建的当前版本信息发送给被测设备,其中,所述当前版本信息用于触发上位机向所述被测设备下发检测指令,所述检测指令用于所述被测设备根据所述检测指令进行检测处理。Sending 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 detection The instruction performs detection processing.
  8. 根据权利要求7所述的方法,其中,在将构建的当前版本信息发送给被测设备之后,所述方法还包括: The method of claim 7, wherein after the current version information of the construct is sent to the device under test, the method further comprises:
    通过所述上位机接收所述被测设备根据所述检测指令进行检测的结果;Receiving, by the upper computer, a result of detecting by the device under test according to the detection instruction;
    以邮件的方式进行反馈。Send feedback by email.
  9. 一种检测处理装置,包括:A detection processing device comprising:
    第一接收模块,设置为接收上位机下发的检测指令,其中,所述检测指令是所述上位机在检测到被测设备已获取到服务器构建的当前版本信息预定时间之后发送的;The first receiving module 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 constructed by the server for a predetermined time;
    检测处理模块,设置为根据所述检测指令进行检测处理。The detection processing module is configured to perform detection processing according to the detection instruction.
  10. 根据权利要求9所述的装置,其中,所述检测处理模块包括:The apparatus of claim 9, wherein the detection processing module comprises:
    检测处理单元,设置为通过预先设置的检测用例根据所述检测指令进行检测处理。The detection processing unit is configured to perform detection processing based on the detection command by a detection case set in advance.
  11. 一种检测处理装置,包括:A detection processing device comprising:
    下发模块,设置为在被测设备获取到服务器构建的当前版本信息的情况下,向所述被测设备下发检测指令;The sending module is configured to send a detection instruction to the device under test if the current version information of the server is obtained by the device under test;
    第二接收模块,设置为接收所述被测设备根据所述检测指令进行检测的结果。The second receiving module is configured to receive a result that the device under test performs detection according to the detection instruction.
  12. 一种检测处理装置,包括:A detection processing device comprising:
    触发模块,设置为触发构建版本信息;Trigger module, set to trigger build version information;
    发送模块,设置为将构建的当前版本信息发送给被测设备,其中,所述当前版本信息用于触发上位机向所述被测设备下发检测指令,所述检测指令用于所述被测设备根据所述检测指令进行检测。 a sending module, configured to send the current version information of the construct 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 for the measured The device performs detection according to the detection instruction.
PCT/CN2016/077268 2015-06-19 2016-03-24 Detection processing method and apparatus WO2016202036A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510347208.5 2015-06-19
CN201510347208.5A CN106330583A (en) 2015-06-19 2015-06-19 Detection processing method and device

Publications (1)

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

Family

ID=57544963

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077268 WO2016202036A1 (en) 2015-06-19 2016-03-24 Detection processing method and apparatus

Country Status (2)

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

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 (en) * 2010-11-01 2011-03-23 中兴通讯股份有限公司 Test method and system of single plate fault
CN102185738A (en) * 2011-05-13 2011-09-14 迈普通信技术股份有限公司 Communication equipment hardware host testing system and testing method
CN103870368A (en) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 SAS (Serial Attached SCSI (small computer system interface)) expander testing system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461699C (en) * 2006-06-28 2009-02-11 华为技术有限公司 Method for automatic updating of equipment
CN102255748B (en) * 2011-06-27 2017-12-29 中兴通讯股份有限公司 Automatization test system and method, version server and terminal

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 (en) * 2010-11-01 2011-03-23 中兴通讯股份有限公司 Test method and system of single plate fault
CN102185738A (en) * 2011-05-13 2011-09-14 迈普通信技术股份有限公司 Communication equipment hardware host testing system and testing method
CN103870368A (en) * 2012-12-17 2014-06-18 鸿富锦精密工业(深圳)有限公司 SAS (Serial Attached SCSI (small computer system interface)) expander testing system and method

Also Published As

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

Similar Documents

Publication Publication Date Title
US9940225B2 (en) Automated error checking system for a software application and method therefor
CN105302716B (en) Test method, device under the development mode of interflow
CN110032507B (en) Application program testing method, device and system, electronic equipment and storage medium
US11169815B2 (en) Method and system for automation tool set for server maintenance actions
CN109634843B (en) Distributed automatic software testing method and platform for AI chip platform
CN104125504A (en) Deployment method, device and system based on continuous integration
WO2017028574A1 (en) Router testing method and testing device
CN110659198A (en) Application program test case execution method and device and software test system
CN113064630B (en) Mobile terminal APP automatic packaging method, system, electronic equipment and storage medium
CN111651352B (en) Warehouse code merging method and device
CN106897223A (en) A kind of software kit delivery method and device based on continuous integrating
CN112231228A (en) Firmware upgrade test method, device, platform, equipment and storage medium
CN106445541B (en) Software construction method, software construction device and software construction system
CN110287112B (en) Maintenance method and device for client and readable storage medium
CN105468507A (en) Branch fulfillment detection method and apparatus
CN108319551B (en) Software testing method and device, computer equipment and readable storage medium
CN112596784B (en) Iterative version deployment method and device
CN112328467B (en) Embedded system program testing method and device
CN108241545B (en) Debugging method and device for system fault
WO2016202036A1 (en) Detection processing method and apparatus
CN114546819A (en) Code processing method and device, electronic equipment and readable medium
CN107332730B (en) Protocol extensible service availability detection system and method
CN102801576A (en) Detection system and detection method for network equipment
KR102068830B1 (en) Server Validation Automation and Management System
CN116938779A (en) Automatic detection method, single board, electronic device and storage medium

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