[go: up one dir, main page]

CN113515415B - Test medium generation method, system and medium - Google Patents

Test medium generation method, system and medium Download PDF

Info

Publication number
CN113515415B
CN113515415B CN202110390964.1A CN202110390964A CN113515415B CN 113515415 B CN113515415 B CN 113515415B CN 202110390964 A CN202110390964 A CN 202110390964A CN 113515415 B CN113515415 B CN 113515415B
Authority
CN
China
Prior art keywords
data
input information
pulse
control unit
test medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110390964.1A
Other languages
Chinese (zh)
Other versions
CN113515415A (en
Inventor
陳正川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110390964.1A priority Critical patent/CN113515415B/en
Publication of CN113515415A publication Critical patent/CN113515415A/en
Application granted granted Critical
Publication of CN113515415B publication Critical patent/CN113515415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

本发明公开了一种测试介质生成方法,包括以下步骤:获取控制器触发信息,基于所述控制器触发信息判断用户需求;配置格式标准和键入信息范围,基于所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据;引入控制单元,基于所述控制单元以及所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质;本发明能够生成一套完整的介质产生架构,可以通过该架构生成多种不同类型的测试信号或协议,以满足研发人员的工作需求,极大的提高了研发人员工作效率,且普适性和延展性极强。

The invention discloses a test medium generation method, which includes the following steps: obtaining controller trigger information, judging user needs based on the controller trigger information; configuring format standards and input information range, based on the user needs, the format standard and the input information range to obtain a protocol configuration command or pulse configuration data; introduce a control unit, and obtain the first test medium or the second test medium based on the control unit and the protocol configuration command or the pulse configuration data; the present invention can Generate a complete set of media generation architecture, through which a variety of different types of test signals or protocols can be generated to meet the work needs of R&D personnel, greatly improving the work efficiency of R&D personnel, and is extremely universal and scalable. powerful.

Description

一种测试介质生成方法、系统及介质A test medium generation method, system and medium

技术领域Technical field

本发明涉及服务器信号调制技术领域,特别是涉及一种测试介质生成方法、系统及介质。The present invention relates to the technical field of server signal modulation, and in particular to a test medium generation method, system and medium.

背景技术Background technique

在服务器的开发过程中,研发人员需要对服务器进行调试,在调试过程中,研发人员需要通过不同类型的测试信号,进而获取服务器上不同设备或部件的测试反馈信息。During the development process of the server, the R&D personnel need to debug the server. During the debugging process, the R&D personnel need to obtain test feedback information of different devices or components on the server through different types of test signals.

现有技术中,对于一些协议或信号有独立的产生装置或电路,但没有将各个信号和协议整合到一起的产生架构,故每次研发人员进行测试时,需要配备多个设备或者搭建多个电路,进而产生不同类型的信号,这种方法的便利性较差,成本较高,因没有完整的架构,故在面对大批量的服务器开发时,会降低研发人员的工作效率以及服务器开发过程的进度。In the existing technology, there are independent generation devices or circuits for some protocols or signals, but there is no generation architecture that integrates each signal and protocol. Therefore, every time R&D personnel conduct testing, they need to equip multiple devices or build multiple circuits to generate different types of signals. This method is less convenient and more costly. Since it does not have a complete architecture, it will reduce the work efficiency of R&D personnel and the server development process when facing large-volume server development. progress.

发明内容Contents of the invention

本发明主要解决的是现有技术中没有将各个信号和协议整合到一起的产生架构,导致服务器开发过程的成本较高,研发人员工作难度较大以及工作效率较低的问题。The present invention mainly solves the problem that in the existing technology, there is no generation architecture that integrates various signals and protocols, which results in higher costs in the server development process, greater difficulty in the work of R&D personnel, and lower work efficiency.

为解决上述技术问题,本发明采用的一个技术方案是:提供一种测试介质生成方法,包括以下步骤:In order to solve the above technical problems, one technical solution adopted by the present invention is to provide a test medium generation method, which includes the following steps:

获取控制器触发信息,基于所述控制器触发信息判断用户需求;Obtain controller trigger information and determine user needs based on the controller trigger information;

配置格式标准和键入信息范围,基于所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据;Configure the format standard and the input information range, and obtain the protocol configuration command or pulse configuration data based on the user requirements, the format standard and the input information range;

引入控制单元,基于所述控制单元以及所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质。A control unit is introduced, and the first test medium or the second test medium is acquired based on the control unit and the protocol configuration command or the pulse configuration data.

作为一种改进方案,所述基于所述控制单元以及所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质的步骤进一步包括;As an improved solution, the step of obtaining the first test medium or the second test medium based on the control unit and the protocol configuration command or the pulse configuration data further includes;

基于所述控制单元和所述协议配置命令执行第一介质生成步骤,得到所述第一测试介质;Perform the first medium generation step based on the control unit and the protocol configuration command to obtain the first test medium;

基于所述控制单元和所述脉冲配置数据执行第二介质生成步骤,得到所述第二测试介质。The second medium generating step is performed based on the control unit and the pulse configuration data to obtain the second test medium.

作为一种改进方案,所述第一介质生成步骤包括:As an improved solution, the first medium generating step includes:

提取所述协议配置命令中的操作标识数据;Extract the operation identification data in the protocol configuration command;

识别所述操作标识数据的操作类别;Identify the operation category of the operation identification data;

基于所述控制单元和所述操作类别获取所述第一测试介质。The first test medium is obtained based on the control unit and the operation category.

作为一种改进方案,所述基于所述控制单元和所述操作类别获取所述第一测试介质的步骤进一步包括:As an improvement, the step of obtaining the first test medium based on the control unit and the operation category further includes:

若所述操作类别为写入类,则通过所述控制单元提取所述协议配置命令中的待存取数据、第一数据地址和第一存放地址,并将所述待存取数据和所述第一数据地址写入所述第一存放地址所链接的存取端;If the operation type is a write type, the data to be accessed, the first data address and the first storage address in the protocol configuration command are extracted through the control unit, and the data to be accessed and the The first data address is written into the access port linked to the first storage address;

若所述操作类别为读取类,则通过所述控制单元提取所述协议配置命令中的第二数据地址和第二存放地址,并提取所述第二存放地址所链接的存取端中与所述第二数据地址对应的待打印数据;通过所述控制单元将所述待打印数据打印,得到所述第一测试介质。If the operation type is a read type, the second data address and the second storage address in the protocol configuration command are extracted through the control unit, and the access terminal linked to the second storage address is extracted. The data to be printed corresponding to the second data address is printed by the control unit to obtain the first test medium.

作为一种改进方案,所述第二介质生成步骤包括:As an improvement, the second medium generating step includes:

获取第一控制器键入信息和脉冲端口状态;Obtain the first controller input information and pulse port status;

基于所述第一控制器键入信息、所述脉冲端口状态、所述脉冲配置数据和所述控制单元输出脉冲信号;Output a pulse signal based on the first controller input information, the pulse port status, the pulse configuration data and the control unit;

设定所述脉冲信号为所述第二测试介质。The pulse signal is set as the second test medium.

作为一种改进方案,所述基于所述第一控制器键入信息、所述脉冲端口状态、所述脉冲配置数据和所述控制单元输出脉冲信号的步骤进一步包括:As an improvement, the step of outputting a pulse signal based on the first controller input information, the pulse port status, the pulse configuration data and the control unit further includes:

判断所述脉冲端口状态是否为开启状态;Determine whether the pulse port status is in an open state;

若是所述开启状态,则判断所述第一控制器键入信息是否为第一键入信息,若非所述第一键入信息,则通过所述控制单元输出与所述脉冲配置数据对应的所述脉冲信号;If it is the on state, it is determined whether the input information of the first controller is the first input information. If it is not the first input information, the pulse signal corresponding to the pulse configuration data is output through the control unit. ;

若非所述开启状态,则判断所述第一控制器键入信息是否为第二键入信息,若是所述第二键入信息,则通过控制单元将所述脉冲端口状态调整为所述开启状态,并输出与所述脉冲配置数据对应的所述脉冲信号。If it is not in the on state, it is determined whether the first controller input information is the second input information. If it is the second input information, the control unit adjusts the pulse port state to the on state and outputs the pulse signal corresponding to the pulse configuration data.

作为一种改进方案,所述基于所述控制器触发信息判断用户需求的步骤进一步包括:As an improvement, the step of determining user needs based on the controller trigger information further includes:

配置第一选项和第二选项;Configure the first and second options;

若所述控制器触发信息与所述第一选项匹配,则判断所述用户需求为协议配置类需求;If the controller trigger information matches the first option, it is determined that the user requirement is a protocol configuration requirement;

若所述控制器触发信息与所述第二选项匹配,则判断所述用户需求为脉冲信号类需求。If the controller trigger information matches the second option, it is determined that the user demand is a pulse signal type demand.

作为一种改进方案,所述基于所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据的步骤进一步包括:As an improved solution, the step of obtaining protocol configuration commands or pulse configuration data based on the user requirements, the format standard and the input information range further includes:

当所述用户需求为所述协议配置类需求时,获取协议初始命令,并判断所述协议初始命令是否与所述格式标准匹配,若匹配,则设定所述协议初始命令为所述协议配置命令;When the user requirement is the protocol configuration requirement, obtain the protocol initial command, and determine whether the protocol initial command matches the format standard. If it matches, set the protocol initial command to the protocol configuration Order;

当所述用户需求为所述脉冲信号类需求时,获取第二控制器键入信息,并判断所述第二控制器键入信息是否处于所述键入信息范围内,若处于,则设定所述第二控制器键入信息为所述脉冲配置数据。When the user demand is the pulse signal type demand, obtain the input information of the second controller, and determine whether the input information of the second controller is within the input information range. If it is, set the first input information. The second controller inputs information as the pulse configuration data.

本发明还提供一种测试介质生成系统,包括:The invention also provides a test medium generation system, including:

操作触发单元、初始介质获取单元和控制单元,所述初始介质获取单元中配置有格式标准和键入信息范围;An operation triggering unit, an initial media acquisition unit and a control unit, where the initial media acquisition unit is configured with a format standard and input information range;

所述操作触发单元用于获取控制器触发信息,并根据所述控制器触发信息判断用户需求;The operation triggering unit is used to obtain controller trigger information and determine user needs based on the controller trigger information;

所述初始介质获取单元用于根据所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据;The initial medium acquisition unit is used to acquire protocol configuration commands or pulse configuration data according to the user requirements, the format standard and the input information range;

所述控制单元用于根据所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质。The control unit is configured to obtain the first test medium or the second test medium according to the protocol configuration command or the pulse configuration data.

本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现所述测试介质生成方法的步骤。The present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the test medium generating method are implemented.

本发明的有益效果是:The beneficial effects of the present invention are:

1、本发明所述的测试介质生成方法,可以实现生成一套完整的介质产生架构,在服务器开发过程中,研发人员可以通过该架构生成多种不同类型的测试信号或协议,以满足研发人员的工作需求,极大的提高了研发人员工作效率,且本方法的普适性和延展性极强。1. The test medium generation method of the present invention can generate a complete set of media generation architecture. During the server development process, R&D personnel can generate a variety of different types of test signals or protocols through this architecture to satisfy R&D personnel. work requirements, greatly improving the work efficiency of R&D personnel, and this method is extremely universal and scalable.

2、本发明所述的测试介质生成系统,可以通过操作触发单元、初始介质获取单元和控制单元的相互配合,进而实现生成一套完整的介质产生架构,在服务器开发过程中,研发人员可以通过该架构生成多种不同类型的测试信号或协议,以满足研发人员的工作需求,极大的提高了研发人员工作效率,且本系统的普适性和延展性极强。2. The test media generation system of the present invention can generate a complete set of media generation architecture through the cooperation of the operation trigger unit, the initial media acquisition unit and the control unit. During the server development process, R&D personnel can This architecture generates a variety of different types of test signals or protocols to meet the work needs of R&D personnel, greatly improving the work efficiency of R&D personnel, and the system is extremely universal and scalable.

3、本发明所述的计算机可读存储介质,可以实现引导操作触发单元、初始介质获取单元和控制单元进行配合,进而实现生成一套完整的介质产生架构,在服务器开发过程中,研发人员可以通过该架构生成多种不同类型的测试信号或协议,以满足研发人员的工作需求,极大的提高了研发人员工作效率,有效的增加了所述测试介质生成方法的可操作性。3. The computer-readable storage medium of the present invention can realize the cooperation of the boot operation triggering unit, the initial media acquisition unit and the control unit, thereby generating a complete set of media generation architecture. During the server development process, R&D personnel can Multiple different types of test signals or protocols are generated through this architecture to meet the work needs of R&D personnel, greatly improving the work efficiency of R&D personnel, and effectively increasing the operability of the test medium generation method.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description The drawings illustrate some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.

图1是本发明实施例1所述测试介质生成方法的流程图;Figure 1 is a flow chart of the test medium generation method according to Embodiment 1 of the present invention;

图2是本发明实施例1所述步骤S100的具体流程示意图;Figure 2 is a specific flow diagram of step S100 in Embodiment 1 of the present invention;

图3是本发明实施例1所述步骤S200的具体流程示意图;Figure 3 is a specific flow diagram of step S200 in Embodiment 1 of the present invention;

图4是本发明实施例1所述步骤S300的具体流程示意图;Figure 4 is a specific flow diagram of step S300 in Embodiment 1 of the present invention;

图5是本发明实施例1所述格式标准表的示意图;Figure 5 is a schematic diagram of the format standard table according to Embodiment 1 of the present invention;

图6是本发明实施例2所述测试介质生成系统的架构图;Figure 6 is an architectural diagram of the test medium generation system according to Embodiment 2 of the present invention;

图7是本发明实施例2所述操作触发单元的具体架构示意图;Figure 7 is a schematic diagram of the specific architecture of the operation triggering unit according to Embodiment 2 of the present invention;

图8是本发明实施例2所述初始介质获取单元的具体架构示意图;Figure 8 is a schematic diagram of the specific architecture of the initial medium acquisition unit according to Embodiment 2 of the present invention;

图9是本发明实施例2所述控制单元的具体架构示意图。FIG. 9 is a schematic diagram of the specific architecture of the control unit according to Embodiment 2 of the present invention.

具体实施方式Detailed ways

下面结合附图对本发明的较佳实施例进行详细阐述,以使本发明的优点和特征能更易于被本领域技术人员理解,从而对本发明的保护范围做出更为清楚明确的界定。The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, and the protection scope of the present invention can be more clearly defined.

在本发明的描述中,需要说明的是,本发明所描述的实施例是本发明一部分实施例,而不是全部的实施例;基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In the description of the present invention, it should be noted that the embodiments described in the present invention are part of the embodiments of the present invention, rather than all embodiments; based on the embodiments of the present invention, those of ordinary skill in the art will not make any All other embodiments obtained under the premise of creative work belong to the scope of protection of the present invention.

在本发明的描述中,需要说明的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“操作触发单元”、“初始介质获取单元”、“控制单元”、“格式标准”、“键入信息范围”、“控制器触发信息”、“介质获取信号”、“用户需求”、“协议配置命令”、“脉冲配置数据”、“介质生成步骤”、“测试介质”、“数据地址”、“待存取数据”、“操作标识数据”、“存取端”、“控制器键入信息”、“脉冲端口状态”、“开启状态”、“协议配置类需求”、“脉冲信号类需求”、“脉冲信号”应做广义理解。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise clearly stated and limited, the terms "operation triggering unit", "initial media acquisition unit", "control unit", "format standard", "keyed information range" , "Controller trigger information", "Media acquisition signal", "User requirements", "Protocol configuration command", "Pulse configuration data", "Media generation steps", "Test media", "Data address", "To be saved "Get data", "Operation identification data", "Access terminal", "Controller input information", "Pulse port status", "Open status", "Protocol configuration requirements", "Pulse signal requirements", "Pulse "Signal" should be understood broadly. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.

在本发明的描述中,需要说明的是:In the description of the present invention, it should be noted that:

IIC Slave是IIC从端;IIC Slave is the IIC slave;

IIC Master是IIC主端;IIC Master is the IIC master;

Debug是计算机排除故障;Debug is computer troubleshooting;

Console Port是控制台端口;Console Port is the console port;

Bytes是数据存储的计量单位;Bytes is the unit of measurement for data storage;

MCU(Microcontroller Unit)是微控制单元;MCU (Microcontroller Unit) is a microcontroller unit;

IIC(Inter-Integrated Circuit)是集成电路总线;IIC (Inter-Integrated Circuit) is an integrated circuit bus;

PWM(Pulse Width Modulation)是脉冲宽度调制;PWM (Pulse Width Modulation) is pulse width modulation;

BMC(Baseboard Management Controller)是基板管理控制器;BMC (Baseboard Management Controller) is a baseboard management controller;

CPLD(Complex Programming Logic Device)是复杂可编程逻辑器件。CPLD (Complex Programming Logic Device) is a complex programmable logic device.

实施例1Example 1

本实施例提供一种测试介质生成方法,如图1至图5所示,包括以下步骤:This embodiment provides a test medium generation method, as shown in Figures 1 to 5, including the following steps:

需要说明的是,通常情况下,研发人员在服务器开发阶段,需要通过测试信号对服务器进行系统除错,即Debug,故通过本方法提供的架构和研发人员进行交互,获取研发人员的需求,根据需求进行具体的测试介质产生步骤。It should be noted that under normal circumstances, during the server development stage, R&D personnel need to use test signals to perform system debugging on the server, that is, Debug. Therefore, the architecture provided by this method is used to interact with R&D personnel to obtain the needs of R&D personnel. According to Specific test media generation steps are required.

S100、获取控制器触发信息,基于所述控制器触发信息判断用户需求;S100. Obtain controller trigger information, and determine user needs based on the controller trigger information;

步骤S100具体包括:Step S100 specifically includes:

S110、配置对应的选项数据(即第一选项和第二选项),向用户端的PC机发送与该选项数据对应的通讯信号;研发人员可以通过PC机上的Console Port接收该通讯信号,得到对应的选项信息,之后研发人员可以通过控制器,即鼠标选取对应的选项,进而开始下一步的操作;在本实施例中,控制器触发信息为PC机端用户进行选择选项的触发动作;S110. Configure the corresponding option data (i.e., the first option and the second option), and send a communication signal corresponding to the option data to the user's PC; the R&D personnel can receive the communication signal through the Console Port on the PC and obtain the corresponding Option information, then the R&D personnel can select the corresponding option through the controller, that is, the mouse, and then start the next operation; in this embodiment, the controller trigger information is the trigger action for the PC user to select the option;

S120、识别所述控制器触发信息;若所述控制器触发信息与选项数据中第一选项匹配,则判断用户需求为协议配置类需求;若所述控制器触发信息与选项数据中第二选项匹配,则判断用户需求为脉冲信号类需求;S120. Identify the controller trigger information; if the controller trigger information matches the first option in the option data, determine that the user demand is a protocol configuration requirement; if the controller trigger information matches the second option in the option data If matching, the user demand is judged to be a pulse signal type demand;

需要说明的是,在本实施例中,控制器触发信息有两种,一种是用户选择了选项1(即第一选项),另一种是用户选择了选项2(即第二选项);对应的,在预先配置中,设置选项1为IIC相关流程,选项2为PWM相关流程,因用户在使用过程中还会出现其他的误按或者重复选择等错误操作,故在除了选项1和选项2以外的所有控制器触发信息被获取时,会向PC机发送报错信息,并提示用户重新选择;It should be noted that in this embodiment, there are two types of controller trigger information, one is that the user selects option 1 (i.e., the first option), and the other is that the user selects option 2 (i.e., the second option); Correspondingly, in the pre-configuration, option 1 is set to the IIC-related process, and option 2 is set to the PWM-related process. Since the user may cause other incorrect operations such as mis-pressing or repeated selection during use, in addition to option 1 and option When the trigger information of all controllers except 2 is obtained, an error message will be sent to the PC and the user will be prompted to reselect;

此步骤通过初始设置的选项架构,可以根据用户需求选择启动不同的运行流程,普适性极强。Through the initial setting option structure, this step can choose to start different running processes according to user needs, which is extremely universal.

S200、配置格式标准和键入信息范围,基于所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据;S200. Configure the format standard and the input information range, and obtain the protocol configuration command or pulse configuration data based on the user requirements, the format standard and the input information range;

需要说明的是,在本实施例中,该格式标准针对于IIC命令,该键入信息范围对应PWM信号的占空比范围;It should be noted that in this embodiment, the format standard is for the IIC command, and the input information range corresponds to the duty cycle range of the PWM signal;

步骤S200具体包括:Step S200 specifically includes:

S210、当所述用户需求为所述协议配置类需求时,获取IIC命令(即协议初始命令),并判断所述IIC命令是否与所述格式标准匹配;若匹配,则设定所述IIC命令为所述协议配置命令;若非匹配,则将打印错误信息至PC机,提示用户输入错误,并重新获取IIC命令;S210. When the user requirement is the protocol configuration requirement, obtain the IIC command (i.e., protocol initial command), and determine whether the IIC command matches the format standard; if it matches, set the IIC command Configure commands for the protocol; if they do not match, an error message will be printed to the PC, prompting the user to enter an error, and re-obtaining the IIC command;

需要说明的是,在本实施例中,因本方法针对于服务器的惯用IIC协议,最多支持4bytes的IIC命令,故格式标准为4bytes;具体的,判断IIC命令在4bytes以内或等于4bytes为正确的IIC命令,在4bytes以外的为错误的IIC命令;其中,该格式标准可在一开始发送至PC机供用户参考,具体可见图5的格式标准表;It should be noted that in this embodiment, because this method is aimed at the server's conventional IIC protocol and supports up to 4bytes of IIC commands, the format standard is 4bytes; specifically, it is correct to judge that the IIC command is within 4bytes or equal to 4bytes. IIC commands, anything other than 4 bytes are incorrect IIC commands; among them, the format standard can be sent to the PC at the beginning for user reference. For details, see the format standard table in Figure 5;

S220、当所述用户需求为所述脉冲信号类需求时,获取第二控制器键入信息,并判断所述第二控制器键入信息是否处于所述键入信息范围内;若处于,则设定所述第二控制器键入信息为所述脉冲配置数据;若未处于,则将打印错误信息至PC机,并重新获取第二控制器键入信息;S220. When the user demand is the pulse signal type demand, obtain the input information of the second controller, and determine whether the input information of the second controller is within the input information range; if so, set the input information of the second controller. The second controller input information is the pulse configuration data; if it is not in the state, an error message will be printed to the PC, and the second controller input information will be reacquired;

需要说明的是,在本实施例中,第二控制器键入信息属于用户端PC机所输入的PWM占空比,若用户端PC机所输入的PWM占空比在键入信息范围内,则其正确,若未在,则其不正确;若其正确,设定该第二控制器键入信息为脉冲配置数据,并将其保存至MCU的内部寄存器中;若其不正确,则将打印错误信息至PC机,提示用户输入错误,并重新获取第二控制器键入信息;It should be noted that in this embodiment, the second controller input information belongs to the PWM duty cycle input by the user PC. If the PWM duty cycle input by the user PC is within the input information range, then its Correct, if not, it is incorrect; if it is correct, set the second controller input information as pulse configuration data and save it to the internal register of the MCU; if it is incorrect, an error message will be printed Go to the PC, prompt the user for input errors, and re-obtain the input information from the second controller;

需要说明的是,在本实施例中,预先设置的键入信息范围为与该服务器对应的PWM信号占空比的0~100%,该具体范围不做限定,仅作为一种实施方式,可以根据不同的需求进行设定;同时,该键入范围MCU可在一开始发送至PC机供用户参考。It should be noted that in this embodiment, the preset input information range is 0 to 100% of the duty cycle of the PWM signal corresponding to the server. This specific range is not limited and is only used as an implementation manner. It can be based on Set according to different needs; at the same time, the input range MCU can be sent to the PC for user reference at the beginning.

此步骤获取了配置协议或者生成信号的过程中所需要的必要介质,且该介质是符合用户需求的,故本步骤为接下来协议的配置或信号的生成提供了数据基础。This step obtains the necessary media required for the process of configuring the protocol or generating signals, and the media meets the user's needs. Therefore, this step provides a data basis for the subsequent configuration of the protocol or generation of signals.

S300、引入控制单元,基于所述控制单元以及所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质;S300. Introduce a control unit, and obtain the first test medium or the second test medium based on the control unit and the protocol configuration command or the pulse configuration data;

需要说明的是,在本实施例中,控制单元为MCU,通过本方法的架构使MCU可以根据研发人员的需求产生对应的测试信号或协议,此处MCU不做任何限定,仅作为一种实施方式,同样MCU可以在后期的技术发展中改进为BMC、CPLD或其他控制单元;It should be noted that in this embodiment, the control unit is an MCU. Through the architecture of this method, the MCU can generate corresponding test signals or protocols according to the needs of the R&D personnel. The MCU is not limited here and is only used as an implementation. In the same way, MCU can be improved into BMC, CPLD or other control units in the later technological development;

步骤S300具体包括:Step S300 specifically includes:

S310、所述控制单元根据所述协议配置命令执行第一介质生成步骤,得到所述第一测试介质;S310. The control unit executes the first medium generation step according to the protocol configuration command to obtain the first test medium;

S311、所述第一介质生成步骤包括:所述控制单元提取所述协议配置命令中的操作标识数据;所述控制单元识别所述操作标识数据的操作类别;所述控制单元根据所述操作类别对所述协议配置命令执行对应步骤,得到所述第一测试介质;S311. The first medium generating step includes: the control unit extracts the operation identification data in the protocol configuration command; the control unit identifies the operation category of the operation identification data; the control unit determines the operation category according to the operation category. Execute corresponding steps on the protocol configuration command to obtain the first test medium;

A1、若所述操作标识数据为第一标识数据,则所述操作类别为写入类,所述控制单元提取所述协议配置命令中的第一数据地址、待存取数据和第一存放地址,并将所述待存取数据和第一数据地址写入所述第一存放地址所链接的存取端;A1. If the operation identification data is the first identification data, the operation category is the write category, and the control unit extracts the first data address, the data to be accessed and the first storage address in the protocol configuration command. , and write the data to be accessed and the first data address into the access port linked to the first storage address;

B1、若所述操作标识数据为第二标识数据,则所述操作类别为读取类,所述控制单元提取所述协议配置命令中的第二数据地址和第二存放地址,并访问所述第二数据地址,所述控制单元将所述第二数据地址所链接的存取端中与所述第二数据地址对应的待打印数据打印,得到所述第一测试介质;B1. If the operation identification data is the second identification data, the operation category is the reading category, and the control unit extracts the second data address and the second storage address in the protocol configuration command, and accesses the second data address, the control unit prints the data to be printed corresponding to the second data address in the access port linked to the second data address to obtain the first test medium;

需要说明的是,在本实施例中,第一介质生成步骤有以下范例:若IIC命令为i2cw1 0x23 0x01 0xAA,该命令为1byte格式;其中w1代表需要写入1byte的数据,即操作标识数据,若该操作标识数据为w数据头,则需要对数据进行写入,即w为第一标识数据;其中0x23为第一存放地址,0x01为第一数据地址,0xAA为待存取数据,此时控制单元将0xAA和0x01写入0x23所链接的IIC Slave(即所述数据地址所链接的存取端);并打印该0xAA,提示用户写入成功;若IIC命令为i2c r1 0x23 0x01,则该命令同样为1byte格式,但因r1的操作标识数据的数据头为r,故要对数据进行读取,即r为第二标识数据;在本实施例中,0x23为第二存放地址,0x01为第二数据地址;IIC可以一次性读取1~4byte;此时,控制单元读取并打印与0x23所链接的IIC Slave中与该0x01对应的数据,打印出的数据即为第一测试介质,在PC机端的打印步骤仍通过Console port进行打印;It should be noted that in this embodiment, the first medium generation step has the following example: if the IIC command is i2cw1 0x23 0x01 0xAA, the command is in 1byte format; w1 represents the data that needs to be written to 1byte, that is, the operation identification data, If the operation identification data is w data header, the data needs to be written, that is, w is the first identification data; 0x23 is the first storage address, 0x01 is the first data address, and 0xAA is the data to be accessed. At this time The control unit writes 0xAA and 0x01 to the IIC Slave linked to 0x23 (that is, the access port linked to the data address); and prints the 0xAA to prompt the user to write successfully; if the IIC command is i2c r1 0x23 0x01, then the The command is also in 1byte format, but because the data header of the operation identification data of r1 is r, the data needs to be read, that is, r is the second identification data; in this embodiment, 0x23 is the second storage address, and 0x01 is The second data address; IIC can read 1 to 4 bytes at one time; at this time, the control unit reads and prints the data corresponding to 0x01 in the IIC Slave linked to 0x23, and the printed data is the first test medium. The printing step on the PC side is still done through the Console port;

S320、所述控制单元根据所述脉冲配置数据执行第二介质生成步骤,得到所述第二测试介质;S320. The control unit executes the second medium generation step according to the pulse configuration data to obtain the second test medium;

S321、所述第二介质生成步骤包括:所述控制单元中配置有PWM端口;所述控制单元获取第一控制器键入信息和PWM端口状态(即脉冲端口状态);所述控制单元基于所述第一控制器键入信息、所述脉冲端口状态和所述脉冲配置数据输出脉冲信号,并设定所述脉冲信号为所述第二测试介质;S321. The second medium generating step includes: the control unit is configured with a PWM port; the control unit obtains the first controller input information and the PWM port status (ie, the pulse port status); the control unit based on the The first controller inputs information, the pulse port status and the pulse configuration data to output a pulse signal, and sets the pulse signal to the second test medium;

A2、所述控制单元判断所述PWM端口当前的状态;A2. The control unit determines the current status of the PWM port;

B2、若是所述开启状态,则所述控制单元判断所述第一控制器键入信息是否为第一键入信息;若非所述第一键入信息,即PWM端口保持脉冲配置数据状态,所述控制单元输出与所述脉冲配置数据,即与用户需求对应占空比的PWM信号(即脉冲信号),并设定所述PWM信号为所述第二测试介质;B2. If it is the on state, the control unit determines whether the input information of the first controller is the first input information; if it is not the first input information, that is, the PWM port maintains the pulse configuration data state, the control unit Output the pulse configuration data, that is, the PWM signal (i.e., pulse signal) with a duty cycle corresponding to the user's needs, and set the PWM signal as the second test medium;

C2、若非所述开启状态,则所述控制单元判断所述第一控制器键入信息是否为第二键入信息;若是所述第二键入信息,则所述控制单元开启PWM端口,PWM端口将改变为开启状态,此时控制单元打印PWM开启标识信息,此PWM开启标识信息提示在PC机端,控制单元输出与所述脉冲配置数据对应的PWM信号,所述控制单元设定该PWM信号为所述第二测试介质。C2. If it is not in the on state, the control unit determines whether the input information of the first controller is the second input information; if it is the second input information, the control unit opens the PWM port, and the PWM port will change is in the on state. At this time, the control unit prints the PWM on identification information. This PWM on identification information prompts that on the PC side, the control unit outputs the PWM signal corresponding to the pulse configuration data, and the control unit sets the PWM signal to the desired Describe the second test medium.

本步骤仅通过MCU就可以实现不同的协议配置及脉冲信号的产生,极大的降低了研发人员的工作难度,提高了研发人员的工作效率。This step can realize different protocol configurations and pulse signal generation only through the MCU, which greatly reduces the difficulty of the work of the R&D personnel and improves the work efficiency of the R&D personnel.

需要说明的是,在本实施例中,第一控制器键入信息为用户是否需要关闭PWM端口的象征,对应的控制单元会向用户端发送PWM选项数据,选项数据包括PWM选项1和PWM选项2,控制单元根据用户的选择进行判断:It should be noted that in this embodiment, the input information of the first controller is a symbol of whether the user needs to close the PWM port, and the corresponding control unit will send PWM option data to the user end. The option data includes PWM option 1 and PWM option 2. , the control unit makes a judgment based on the user’s selection:

需要说明的是,在本实施例中,当用户选择PWM选项1时,控制单元判断第一控制器键入信息为第一键入信息,代表用户需要关闭PWM端口;当用户选择PWM选项2时,控制单元判断第一控制器键入信息为第二键入信息,代表用户需要开启PWM端口;It should be noted that in this embodiment, when the user selects PWM option 1, the control unit determines that the input information of the first controller is the first input information, which means that the user needs to close the PWM port; when the user selects PWM option 2, the control unit The unit determines that the input information of the first controller is the second input information, which means that the user needs to open the PWM port;

需要说明的是,在本实施中,通过PWM端口发送的PWM信号为25khz,对应的该频率可以根据服务器的具体规格和测试需要进行修改;It should be noted that in this implementation, the PWM signal sent through the PWM port is 25khz, and the corresponding frequency can be modified according to the specific specifications and testing needs of the server;

需要说明的是,在本实施例中,除以上两种情况外,若PWM端口处于开启状态,而第一控制器键入信息为第一键入信息,即用户需要关闭PWM端口时,控制单元将PWM端口关闭;It should be noted that in this embodiment, in addition to the above two situations, if the PWM port is in the open state and the input information of the first controller is the first input information, that is, when the user needs to close the PWM port, the control unit will port closed;

需要说明的是,在本实施例中,PWM端口有两个,一个为PWM_1,一个为PWM_0;该PWM端口数量不做限定,仅作为一种实施方式,具体数量可以根据测试需求进行配置;It should be noted that in this embodiment, there are two PWM ports, one is PWM_1 and the other is PWM_0; the number of PWM ports is not limited and is only used as an implementation method. The specific number can be configured according to test requirements;

需要说明的是,因MCU与PC机存在交互功能,在MCU中预先设置,当用户按下“、”键时,对应的PC机上显示的页面将会回到上一页,该功能按键不做限定,仅作为一种实施方式,具体数量可以根据测试需求进行配置。It should be noted that because the MCU and PC have interactive functions, which are pre-set in the MCU, when the user presses the "," key, the page displayed on the corresponding PC will return to the previous page, and this function key will not work. Limitation is only an implementation method, and the specific number can be configured according to test requirements.

需要说明的是,本实施例中仅描述了IIC和PWM相关的信号产生和协议配置情况,其仅作为一种实施方式,对于本领域技术人员来说,上述详细披露仅仅作为示例,而并不构成对本说明书的限定。虽然此处并没有明确说明,本领域技术人员可能会对本说明书进行各种修改,改进和修止。例如,本领域技术人员可以通过本实施例中所描述方法的架构思路在本方法或本方法以外的架构中添加SPI或SGPIO等不同类型的协议或信号的生成架构,该类修改、改进和修正在本说明书中被建议,所以该类修改、改进、修正仍属于本说明书示范实施例的精神和范围。It should be noted that this embodiment only describes the signal generation and protocol configuration related to IIC and PWM, which is only an implementation manner. For those skilled in the art, the above detailed disclosure is only an example and does not constitute a limitation on this manual. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and amendments to this specification. For example, those skilled in the art can use the architectural ideas of the method described in this embodiment to add different types of protocols or signal generation architectures such as SPI or SGPIO to this method or architectures other than this method. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements, and corrections remain within the spirit and scope of the exemplary embodiments of this specification.

通过本实施例中所描述的测试介质生成方法,可以对多种类型的测试信号进行生成,对多种类型的测试协议进行配置,极大的降低了研发人员的工作难度,提高了研发人员的工作效率,本方法的设计思路普适性和延展性极强,可以在后期进行不断的扩充,进而实现更多类型的信号或协议的配置。Through the test medium generation method described in this embodiment, multiple types of test signals can be generated and multiple types of test protocols can be configured, which greatly reduces the work difficulty of R&D personnel and improves the efficiency of R&D personnel. Work efficiency, the design idea of this method is extremely universal and scalable, and can be continuously expanded in the later stage to realize the configuration of more types of signals or protocols.

实施例2Example 2

本实施例提供一种测试介质生成系统,如图6至图9所示,包括:操作触发单元、初始介质获取单元和控制单元;This embodiment provides a test medium generation system, as shown in Figures 6 to 9, including: an operation trigger unit, an initial medium acquisition unit and a control unit;

所述的测试介质生成系统中,操作触发单元用于获取控制器触发信息,并根据所述控制器触发信息判断用户需求;In the test media generation system, the operation trigger unit is used to obtain controller trigger information and determine user needs based on the controller trigger information;

具体的,操作触发单元包括信息获取单元和信息识别单元;Specifically, the operation triggering unit includes an information acquisition unit and an information identification unit;

具体的,在本实施例中,操作触发单元中配置有对应的选项数据,操作触发单元向用户端的PC机发送与该选项数据对应的通讯信号,研发人员可以通过PC机上的ConsolePort接收该通讯信号,得到对应的选项信息,之后研发人员可以通过控制器,即鼠标选取对应的选项,进而开始下一步的操作;Specifically, in this embodiment, the operation triggering unit is configured with corresponding option data, and the operation triggering unit sends a communication signal corresponding to the option data to the user's PC. The R&D personnel can receive the communication signal through the ConsolePort on the PC. , get the corresponding option information, and then the developer can select the corresponding option through the controller, that is, the mouse, and then start the next operation;

具体的,信息获取单元用于获取所述控制器触发信息;在本实施例中,控制器触发信息为PC机端用户进行选择选项的触发动作;Specifically, the information acquisition unit is used to obtain the controller trigger information; in this embodiment, the controller trigger information is a trigger action for the PC user to select an option;

具体的,信息识别单元用于识别所述控制器触发信息;若所述控制器触发信息与选项数据中第一选项匹配,则所述信息识别单元判断用户需求为协议配置类需求;若所述控制器触发信息与选项数据中第二选项匹配,则所述信息识别单元判断用户需求为脉冲信号类需求;Specifically, the information identification unit is used to identify the controller trigger information; if the controller trigger information matches the first option in the option data, the information identification unit determines that the user demand is a protocol configuration requirement; if the If the controller trigger information matches the second option in the option data, the information identification unit determines that the user demand is a pulse signal type demand;

需要说明的是,在本实施例中,控制器触发信息有两种,一种是用户选择了选项1(即第一选项),另一种是用户选择了选项2(即第二选项);对应的,在初始介质获取单元和控制单元的预先配置中,设置选项1为IIC相关流程,选项2为PWM相关流程,因此初始介质获取单元会准备获取对应的初始介质,控制单元准备开始根据初始介质执行相关的操作;因用户在使用过程中还会出现其他的误按或者重复选择等错误操作,故在除了选项1和选项2以外的所有控制器触发信息被获取时,信息识别单元会向PC机发送报错信息,并提示用户重新选择。It should be noted that in this embodiment, there are two types of controller trigger information, one is that the user selects option 1 (i.e., the first option), and the other is that the user selects option 2 (i.e., the second option); Correspondingly, in the pre-configuration of the initial media acquisition unit and the control unit, option 1 is set to the IIC-related process, and option 2 is the PWM-related process. Therefore, the initial media acquisition unit will prepare to acquire the corresponding initial media, and the control unit is ready to start according to the initial The media performs related operations; because the user may also make other incorrect operations such as mis-pressing or repeated selections during use, when all controller trigger information except option 1 and option 2 are obtained, the information recognition unit will The PC sends an error message and prompts the user to reselect.

所述的测试介质生成系统中,初始介质获取单元中配置有格式标准和键入信息范围,初始介质获取单元用于根据所述用户需求、所述格式标准和所述键入信息范围获取初始介质;初始介质获取单元在本系统中起到承上启下的作用;In the test media generation system, the initial media acquisition unit is configured with a format standard and a range of input information, and the initial media acquisition unit is used to acquire initial media according to the user needs, the format standard, and the range of input information; initial The media acquisition unit plays a connecting role in this system;

具体的,所述初始介质获取单元包括需求判断单元和执行单元;所述初始介质包括协议配置命令或脉冲配置数据;Specifically, the initial medium acquisition unit includes a demand judgment unit and an execution unit; the initial medium includes protocol configuration commands or pulse configuration data;

具体的,在本实施例中,可以通过MCU在初始介质获取单元中配置对应的格式标准和键入信息范围,该格式标准针对于IIC命令,该键入信息范围对应PWM信号的占空比范围;Specifically, in this embodiment, the corresponding format standard and input information range can be configured in the initial media acquisition unit through the MCU. The format standard is for the IIC command, and the input information range corresponds to the duty cycle range of the PWM signal;

具体的,所述需求判断单元在用户需求为协议配置类需求时,向所述执行单元发送IIC获取信号;Specifically, when the user demand is a protocol configuration type demand, the demand judgment unit sends an IIC acquisition signal to the execution unit;

具体的,所述执行单元用于根据所述IIC获取信号获取IIC命令(即协议初始命令),并判断所述IIC命令是否与所述格式标准匹配;若匹配,则所述执行单元设定所述IIC命令为所述协议配置命令;若非匹配,则所述执行单元将打印错误信息至PC机,提示用户输入错误,并重新获取IIC命令;在本实施例中,执行单元采用IIC Master,其针对于服务器的惯用IIC协议,其最多支持4bytes的IIC命令,故格式标准为4bytes;具体的,执行单元判断IIC命令在4bytes以内或等于4bytes为正确的IIC命令,在4bytes以外的为错误的IIC命令;其中,该格式标准MCU可在一开始发送至PC机供用户参考;Specifically, the execution unit is used to obtain an IIC command (i.e., protocol initial command) according to the IIC acquisition signal, and determine whether the IIC command matches the format standard; if it matches, the execution unit sets the The IIC command is the protocol configuration command; if there is no match, the execution unit will print error information to the PC, prompt the user to enter the error, and re-obtain the IIC command; in this embodiment, the execution unit uses IIC Master, whose For the conventional IIC protocol of the server, it supports up to 4bytes of IIC commands, so the format standard is 4bytes; specifically, the execution unit determines that the IIC command is within 4bytes or equal to 4bytes as a correct IIC command, and if it is outside 4bytes, it is an incorrect IIC command. command; among them, the standard MCU in this format can be sent to the PC for user reference at the beginning;

具体的,所述需求判断单元还用于在用户需求为脉冲信号类需求时,向所述执行单元发送PWM获取信号;Specifically, the demand judgment unit is also configured to send a PWM acquisition signal to the execution unit when the user demand is a pulse signal type demand;

具体的,所述执行单元还用于根据所述PWM获取信号获取第二控制器键入信息,并判断所述第二控制器键入信息是否处于所述键入信息范围;若处于,则所述执行单元设定所述第二控制器键入信息为所述脉冲配置数据;若未处于,则所述执行单元将打印错误信息至PC机,并重新获取第二控制器键入信息;在本实施例中,第二控制器键入信息属于用户端PC机所输入的PWM占空比,若用户端PC机所输入的PWM占空比在键入信息范围内,则其正确,若未在,则其不正确;若其正确,执行单元设定该第二控制器键入信息为脉冲配置数据,并将其保存至MCU的内部寄存器中;若其不正确,则所述执行单元将打印错误信息至PC机,提示用户输入错误,并重新获取第二控制器键入信息;在本实施例中,预先设置的键入信息范围为与该服务器对应的PWM信号占空比的0~100%,该具体范围不做限定,仅作为一种实施方式,可以根据不同的需求进行设定;同时,该键入范围MCU可在一开始发送至PC机供用户参考。Specifically, the execution unit is also used to obtain the input information of the second controller according to the PWM acquisition signal, and determine whether the input information of the second controller is within the input information range; if so, the execution unit Set the input information of the second controller to the pulse configuration data; if not, the execution unit will print error information to the PC and re-obtain the input information of the second controller; in this embodiment, The input information of the second controller belongs to the PWM duty cycle input by the user's PC. If the PWM duty cycle input by the user's PC is within the input information range, it is correct; if it is not, it is incorrect; If it is correct, the execution unit sets the second controller input information as pulse configuration data and saves it to the internal register of the MCU; if it is incorrect, the execution unit will print an error message to the PC and prompt The user makes an input error and re-obtains the input information from the second controller; in this embodiment, the preset input information range is 0 to 100% of the duty cycle of the PWM signal corresponding to the server, and this specific range is not limited. As an implementation only, it can be set according to different needs; at the same time, the input range MCU can be sent to the PC for user reference at the beginning.

所述的测试介质生成系统中,所述控制单元用于根据所述协议配置命令或所述脉冲配置数据获取与所述用户需求对应的第一测试介质或第二测试介质;In the test medium generation system, the control unit is configured to obtain the first test medium or the second test medium corresponding to the user requirements according to the protocol configuration command or the pulse configuration data;

具体的,所述控制单元包括IIC协议配置单元和PWM信号生成单元;测试介质包括与协议配置类需求对应的第一测试介质和与脉冲信号类需求对应的第二测试介质;Specifically, the control unit includes an IIC protocol configuration unit and a PWM signal generation unit; the test medium includes a first test medium corresponding to protocol configuration requirements and a second test medium corresponding to pulse signal requirements;

具体的,所述IIC协议配置单元用于根据所述协议配置命令执行第一介质生成步骤,得到所述第一测试介质;Specifically, the IIC protocol configuration unit is configured to execute the first medium generation step according to the protocol configuration command to obtain the first test medium;

具体的,所述PWM信号生成单元用于根据所述脉冲配置数据执行第二介质生成步骤,得到所述第二测试介质;Specifically, the PWM signal generation unit is configured to perform a second medium generation step according to the pulse configuration data to obtain the second test medium;

具体的,所述第一介质生成步骤包括:所述IIC协议配置单元提取所述协议配置命令中的操作标识数据;所述IIC协议配置单元识别所述操作标识数据的操作类别;若所述操作标识数据为第一标识数据,则所述操作类别为写入类,所述IIC协议配置单元提取所述协议配置命令中的第一数据地址、待存取数据和第一存放地址,并将所述待存取数据和第一数据地址写入所述第一存放地址所链接的存取端;若所述操作标识数据为第二标识数据,则所述操作类别为读取类,所述IIC协议配置单元提取所述协议配置命令中的第二数据地址和第二存放地址,并访问所述第二数据地址,所述IIC协议配置单元将所述第二数据地址所链接的存取端中与所述第二数据地址对应的待打印数据打印,得到所述第一测试介质;Specifically, the first medium generating step includes: the IIC protocol configuration unit extracts the operation identification data in the protocol configuration command; the IIC protocol configuration unit identifies the operation category of the operation identification data; if the operation If the identification data is the first identification data, the operation category is the writing category. The IIC protocol configuration unit extracts the first data address, the data to be accessed and the first storage address in the protocol configuration command, and stores the The data to be accessed and the first data address are written into the access port linked to the first storage address; if the operation identification data is the second identification data, the operation category is read, and the IIC The protocol configuration unit extracts the second data address and the second storage address in the protocol configuration command, and accesses the second data address. The IIC protocol configuration unit stores the second data address in the access port linked to the second data address. Print the data to be printed corresponding to the second data address to obtain the first test medium;

具体的,例如:IIC命令为i2c w1 0x23 0x01 0xAA,该命令为1byte格式;其中w1代表需要写入1byte的数据,即操作标识数据,若该操作标识数据为w数据头,则需要对数据进行写入,即w为第一标识数据;其中0x23为第一存放地址,0x01为第一数据地址,0xAA为待存取数据,此时IIC协议配置单元将0xAA和0x01写入0x23所链接的IIC Slave(即所述数据地址所链接的存取端);并打印该0xAA,提示用户写入成功;Specifically, for example: the IIC command is i2c w1 0x23 0x01 0xAA, which is in 1byte format; w1 represents the data that needs to be written to 1byte, that is, the operation identification data. If the operation identification data is the w data header, the data needs to be Write, that is, w is the first identification data; 0x23 is the first storage address, 0x01 is the first data address, and 0xAA is the data to be accessed. At this time, the IIC protocol configuration unit writes 0xAA and 0x01 into the IIC linked to 0x23 Slave (that is, the access port linked to the data address); and prints the 0xAA to prompt the user that the write is successful;

具体的,若IIC命令为i2c r1 0x23 0x01,则该命令同样为1byte格式,但因r1的操作标识数据的数据头为r,故要对数据进行读取,即r为第二标识数据;在本实施例中,0x23为第二存放地址,0x01为第二数据地址;IIC可以一次性读取1~4byte;此时,IIC协议配置单元读取并打印与0x23所链接的IIC Slave中与该0x01对应的数据,打印出的数据即为第一测试介质,在PC机端的打印步骤仍通过Console port进行打印。Specifically, if the IIC command is i2c r1 0x23 0x01, the command is also in 1byte format, but because the data header of the operation identification data of r1 is r, the data needs to be read, that is, r is the second identification data; in In this embodiment, 0x23 is the second storage address, and 0x01 is the second data address; IIC can read 1 to 4 bytes at a time; at this time, the IIC protocol configuration unit reads and prints the IIC Slave linked to 0x23 and the The data corresponding to 0x01, the printed data is the first test medium, and the printing step on the PC side is still done through the Console port.

具体的,所述PWM信号生成单元用于根据所述脉冲配置数据执行所述第二介质生成步骤,得到所述第二测试介质。Specifically, the PWM signal generation unit is configured to perform the second medium generation step according to the pulse configuration data to obtain the second test medium.

具体的,所述PWM信号生成单元中配置有PWM端口,所述PWM信号生成措施包括:所述PWM信号生成单元获取第一控制器键入信息和PWM端口状态(即脉冲端口状态);在本实施例中,第一控制器键入信息为用户是否需要关闭PWM端口的象征,对应的PWM信号生成单元会向用户端发送PWM选项数据,并根据用户的选择进行判断:Specifically, the PWM signal generation unit is configured with a PWM port, and the PWM signal generation measures include: the PWM signal generation unit obtains the first controller input information and the PWM port status (ie, pulse port status); in this implementation In this example, the input information of the first controller is a symbol of whether the user needs to close the PWM port. The corresponding PWM signal generation unit will send PWM option data to the user end and make a judgment based on the user's choice:

具体的,当用户选择PWM选项1时,PWM信号生成单元判断第一控制器键入信息为第一键入信息,代表用户需要关闭PWM端口;当用户选择PWM选项2时,PWM信号生成单元判断第一控制器键入信息为第二键入信息,代表用户需要开启PWM端口;Specifically, when the user selects PWM option 1, the PWM signal generation unit determines that the input information of the first controller is the first input information, which means that the user needs to close the PWM port; when the user selects PWM option 2, the PWM signal generation unit determines that the first input information is the first input information. The controller input information is the second input information, which means that the user needs to open the PWM port;

具体的,PWM信号生成单元判断所述PWM端口当前的状态是否为开启状态;若是所述开启状态,则所述PWM信号生成单元判断所述第一控制器键入信息是否为第一键入信息;若非所述第一键入信息,即PWM端口保持脉冲配置数据状态,所述PWM信号生成单元输出与所述脉冲配置数据,即与用户需求对应占空比的PWM信号(即脉冲信号),并设定所述PWM信号为所述第二测试介质;Specifically, the PWM signal generating unit determines whether the current state of the PWM port is the open state; if it is the open state, the PWM signal generating unit determines whether the input information of the first controller is the first input information; if not The first input information, that is, the PWM port maintains the pulse configuration data state, and the PWM signal generation unit outputs the pulse configuration data, that is, the PWM signal (i.e., pulse signal) with a duty cycle corresponding to the user's needs, and sets The PWM signal is the second test medium;

具体的,若非所述开启状态,则所述PWM信号生成单元判断所述第一控制器键入信息是否为第二键入信息;若是所述第二键入信息,则所述PWM信号生成单元开启PWM端口,PWM端口将改变为开启状态,此时PWM信号生成单元打印PWM开启标识信息,此PWM开启标识信息提示在PC机端,PWM信号生成单元输出与所述脉冲配置数据对应的PWM信号,所述PWM信号生成单元设定该PWM信号为所述第二测试介质;Specifically, if it is not in the on state, the PWM signal generation unit determines whether the input information of the first controller is the second input information; if it is the second input information, the PWM signal generation unit opens the PWM port. , the PWM port will change to the open state. At this time, the PWM signal generation unit prints the PWM open identification information. This PWM open identification information prompts that on the PC side, the PWM signal generation unit outputs the PWM signal corresponding to the pulse configuration data. The PWM signal generating unit sets the PWM signal as the second test medium;

需要说明的是,本实施例中仅描述了IIC和PWM相关的信号产生和协议配置情况,其仅作为一种实施方式,对于本领域技术人员来说,上述详细披露仅仅作为示例,而并不构成对本说明书的限定。虽然此处并没有明确说明,本领域技术人员可能会对本说明书进行各种修改,改进和修止。例如,本领域技术人员可以通过本实施例中所述系统的架构思路在本系统或本系统以外的装置中添加SPI或SGPIO等不同类型的协议或信号的生成架构,该类修改、改进和修正在本说明书中被建议,所以该类修改、改进、修正仍属于本说明书示范实施例的精神和范围。It should be noted that this embodiment only describes the signal generation and protocol configuration related to IIC and PWM, which is only an implementation manner. For those skilled in the art, the above detailed disclosure is only an example and does not constitute a limitation on this manual. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and amendments to this specification. For example, those skilled in the art can use the architectural ideas of the system described in this embodiment to add different types of protocols or signal generation architectures such as SPI or SGPIO to this system or devices other than this system. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements, and corrections remain within the spirit and scope of the exemplary embodiments of this specification.

通过本实施例中所描述的测试介质生成系统,可以对多种类型的测试信号进行生成,对多种类型的测试协议进行配置,本系统为实施例1所述测试介质生成方法提供了有效的技术支撑,极大的降低了研发人员的工作难度,提高了研发人员的工作效率,且其普适性和延展性极强,可以在后期进行不断的扩充,进而实现更多类型的信号或协议的配置。Through the test medium generation system described in this embodiment, multiple types of test signals can be generated and multiple types of test protocols can be configured. This system provides an effective method for the test medium generation method described in Embodiment 1. Technical support greatly reduces the work difficulty of R&D personnel and improves their work efficiency. It is extremely universal and scalable and can be continuously expanded in the later stage to realize more types of signals or protocols. Configuration.

实施例3Example 3

本实施例提供一种计算机可读存储介质,包括:This embodiment provides a computer-readable storage medium, including:

所述存储介质用于储存将上述实施例1所述的测试介质生成方法实现所用的计算机软件指令,其包含用于执行上述为测试介质生成方法所设置的程序;具体的,该可执行程序可以内置在实施例2所述的测试介质生成系统中,这样,系统就可以通过执行内置的可执行程序实现所述实施例1的测试介质生成方法。The storage medium is used to store computer software instructions used to implement the test medium generation method described in the above-mentioned Embodiment 1, which includes a program for executing the above-mentioned test medium generation method; specifically, the executable program can Built into the test media generation system described in Embodiment 2, the system can implement the test media generation method in Embodiment 1 by executing the built-in executable program.

此外,本实施例具有的计算机可读存储介质可以采用一个或多个可读存储介质的任意组合,其中,可读存储介质包括电、光、电磁、红外线或半导体的系统、装置或器件,或者以上任意组合。In addition, the computer-readable storage medium provided in this embodiment may be any combination of one or more readable storage media, wherein the readable storage medium includes an electrical, optical, electromagnetic, infrared or semiconductor system, device or device, or Any combination of the above.

区别于现有技术,采用本申请一种测试介质生成方法、系统及介质可以通过本方法生成一套完整的介质产生架构,在服务器开发过程中,研发人员可以通过该架构生成多种不同类型的测试信号或协议,以满足研发人员的工作需求,通过本系统可以对本方法提供有效的技术支撑,最终极大的提高了研发人员工作效率,且本申请的普适性和延展性极强。Different from the existing technology, using the test media generation method, system and media of the present application can generate a complete set of media generation architecture through this method. During the server development process, R&D personnel can generate multiple different types of media through this architecture. Test signals or protocols to meet the work needs of R&D personnel. This system can provide effective technical support for this method, ultimately greatly improving the work efficiency of R&D personnel, and this application is extremely universal and scalable.

上述本发明实施例公开实施例序号仅仅为了描述,不代表实施例的优劣。The embodiment numbers disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or the relevant hardware can be instructed by a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only examples of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description and drawings of the present invention, or directly or indirectly applied to other related technologies fields are equally included in the scope of patent protection of the present invention.

Claims (7)

1.一种测试介质生成方法,其特征在于,包括以下步骤:获取控制器触发信息,基于所述控制器触发信息判断用户需求;1. A test medium generation method, characterized in that it includes the following steps: obtaining controller trigger information, and judging user needs based on the controller trigger information; 配置格式标准和键入信息范围,基于所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据;Configure the format standard and the input information range, and obtain the protocol configuration command or pulse configuration data based on the user requirements, the format standard and the input information range; 引入控制单元,基于所述控制单元以及所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质;Introduce a control unit, and obtain the first test medium or the second test medium based on the control unit and the protocol configuration command or the pulse configuration data; 所述基于所述控制单元以及所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质的步骤进一步包括;The step of obtaining the first test medium or the second test medium based on the control unit and the protocol configuration command or the pulse configuration data further includes; 基于所述控制单元和所述协议配置命令执行第一介质生成步骤,得到所述第一测试介质;Perform the first medium generation step based on the control unit and the protocol configuration command to obtain the first test medium; 基于所述控制单元和所述脉冲配置数据执行第二介质生成步骤,得到所述第二测试介质;Perform a second medium generation step based on the control unit and the pulse configuration data to obtain the second test medium; 所述第一介质生成步骤包括:The first medium generating step includes: 提取所述协议配置命令中的操作标识数据;Extract the operation identification data in the protocol configuration command; 识别所述操作标识数据的操作类别;Identify the operation category of the operation identification data; 基于所述控制单元和所述操作类别获取所述第一测试介质;Obtain the first test medium based on the control unit and the operation category; 所述基于所述控制单元和所述操作类别获取所述第一测试介质的步骤进一步包括:The step of obtaining the first test medium based on the control unit and the operation category further includes: 若所述操作类别为写入类,则通过所述控制单元提取所述协议配置命令中的待存取数据、第一数据地址和第一存放地址,并将所述待存取数据和所述第一数据地址写入所述第一存放地址所链接的存取端;If the operation type is a write type, the data to be accessed, the first data address and the first storage address in the protocol configuration command are extracted through the control unit, and the data to be accessed and the The first data address is written into the access port linked to the first storage address; 若所述操作类别为读取类,则通过所述控制单元提取所述协议配置命令中的第二数据地址和第二存放地址,并提取所述第二存放地址所链接的存取端中与所述第二数据地址对应的待打印数据;通过所述控制单元将所述待打印数据打印,得到所述第一测试介质。If the operation type is a read type, the second data address and the second storage address in the protocol configuration command are extracted through the control unit, and the access terminal linked to the second storage address is extracted. The data to be printed corresponding to the second data address is printed by the control unit to obtain the first test medium. 2.根据权利要求1所述的测试介质生成方法,其特征在于,所述第二介质生成步骤包括:2. The test medium generating method according to claim 1, characterized in that the second medium generating step includes: 获取第一控制器键入信息和脉冲端口状态;Obtain the first controller input information and pulse port status; 基于所述第一控制器键入信息、所述脉冲端口状态、所述脉冲配置数据和所述控制单元输出脉冲信号;Output a pulse signal based on the first controller input information, the pulse port status, the pulse configuration data and the control unit; 设定所述脉冲信号为所述第二测试介质。The pulse signal is set as the second test medium. 3.根据权利要求2所述的测试介质生成方法,其特征在于,所述基于所述第一控制器键入信息、所述脉冲端口状态、所述脉冲配置数据和所述控制单元输出脉冲信号的步骤进一步包括:3. The test medium generation method according to claim 2, wherein the method is based on the first controller input information, the pulse port status, the pulse configuration data and the control unit output pulse signal. Steps further include: 判断所述脉冲端口状态是否为开启状态;Determine whether the pulse port status is in an open state; 若是所述开启状态,则判断所述第一控制器键入信息是否为第一键入信息,若非所述第一键入信息,则通过所述控制单元输出与所述脉冲配置数据对应的所述脉冲信号;If it is the on state, it is determined whether the input information of the first controller is the first input information. If it is not the first input information, the pulse signal corresponding to the pulse configuration data is output through the control unit. ; 若非所述开启状态,则判断所述第一控制器键入信息是否为第二键入信息,若是所述第二键入信息,则通过控制单元将所述脉冲端口状态调整为所述开启状态,并输出与所述脉冲配置数据对应的所述脉冲信号。If it is not in the on state, it is determined whether the first controller input information is the second input information. If it is the second input information, the control unit adjusts the pulse port state to the on state and outputs the pulse signal corresponding to the pulse configuration data. 4.根据权利要求1所述的测试介质生成方法,其特征在于,所述基于所述控制器触发信息判断用户需求的步骤进一步包括:4. The test medium generation method according to claim 1, wherein the step of determining user needs based on the controller trigger information further includes: 配置第一选项和第二选项;Configure the first and second options; 若所述控制器触发信息与所述第一选项匹配,则判断所述用户需求为协议配置类需求;If the controller trigger information matches the first option, it is determined that the user requirement is a protocol configuration requirement; 若所述控制器触发信息与所述第二选项匹配,则判断所述用户需求为脉冲信号类需求。If the controller trigger information matches the second option, it is determined that the user demand is a pulse signal type demand. 5.根据权利要求4所述的测试介质生成方法,其特征在于,所述基于所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据的步骤进一步包括:5. The test medium generation method according to claim 4, wherein the step of obtaining protocol configuration commands or pulse configuration data based on the user requirements, the format standard and the input information range further includes: 当所述用户需求为所述协议配置类需求时,获取协议初始命令,并判断所述协议初始命令是否与所述格式标准匹配,若匹配,则设定所述协议初始命令为所述协议配置命令;When the user requirement is the protocol configuration requirement, obtain the protocol initial command, and determine whether the protocol initial command matches the format standard. If it matches, set the protocol initial command to the protocol configuration Order; 当所述用户需求为所述脉冲信号类需求时,获取第二控制器键入信息,并判断所述第二控制器键入信息是否处于所述键入信息范围内,若处于,则设定所述第二控制器键入信息为所述脉冲配置数据。When the user demand is the pulse signal type demand, obtain the input information of the second controller, and determine whether the input information of the second controller is within the input information range. If it is, set the first input information. The second controller inputs information as the pulse configuration data. 6.一种测试介质生成系统,其特征在于,包括:操作触发单元、初始介质获取单元和控制单元,所述初始介质获取单元中配置有格式标准和键入信息范围;6. A test media generation system, characterized in that it includes: an operation trigger unit, an initial media acquisition unit and a control unit, the initial media acquisition unit is configured with a format standard and input information range; 所述操作触发单元用于获取控制器触发信息,并根据所述控制器触发信息判断用户需求;The operation triggering unit is used to obtain controller trigger information and determine user needs based on the controller trigger information; 所述初始介质获取单元用于根据所述用户需求、所述格式标准和所述键入信息范围获取协议配置命令或脉冲配置数据;The initial medium acquisition unit is used to acquire protocol configuration commands or pulse configuration data according to the user requirements, the format standard and the input information range; 所述控制单元用于根据所述协议配置命令或所述脉冲配置数据获取第一测试介质或第二测试介质;The control unit is configured to obtain the first test medium or the second test medium according to the protocol configuration command or the pulse configuration data; 所述控制单元包括IIC协议配置单元和PWM信号生成单元;The control unit includes an IIC protocol configuration unit and a PWM signal generation unit; 所述IIC协议配置单元用于根据所述协议配置命令执行第一介质生成步骤,得到所述第一测试介质;The IIC protocol configuration unit is configured to perform the first medium generation step according to the protocol configuration command to obtain the first test medium; 所述PWM信号生成单元用于根据所述脉冲配置数据执行第二介质生成步骤,得到所述第二测试介质;The PWM signal generation unit is configured to perform a second medium generation step according to the pulse configuration data to obtain the second test medium; 所述第一介质生成步骤包括:所述IIC协议配置单元提取所述协议配置命令中的操作标识数据;所述IIC协议配置单元识别所述操作标识数据的操作类别;若所述操作标识数据为第一标识数据,则所述操作类别为写入类,所述IIC协议配置单元提取所述协议配置命令中的第一数据地址、待存取数据和第一存放地址,并将所述待存取数据和第一数据地址写入所述第一存放地址所链接的存取端;若所述操作标识数据为第二标识数据,则所述操作类别为读取类,所述IIC协议配置单元提取所述协议配置命令中的第二数据地址和第二存放地址,并访问所述第二数据地址,所述IIC协议配置单元将所述第二数据地址所链接的存取端中与所述第二数据地址对应的待打印数据打印,得到所述第一测试介质。The first medium generation step includes: the IIC protocol configuration unit extracts the operation identification data in the protocol configuration command; the IIC protocol configuration unit identifies the operation category of the operation identification data; if the operation identification data is If the first identification data is the first identification data, the operation category is the write category, the IIC protocol configuration unit extracts the first data address, the data to be accessed and the first storage address in the protocol configuration command, and stores the data to be stored. Get the data and write the first data address to the access port linked to the first storage address; if the operation identification data is the second identification data, the operation category is the read category, and the IIC protocol configuration unit Extract the second data address and the second storage address in the protocol configuration command, and access the second data address. The IIC protocol configuration unit connects the access port linked to the second data address with the The data to be printed corresponding to the second data address is printed to obtain the first test medium. 7.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1~5中任一项所述测试介质生成方法的步骤。7. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the test medium of any one of claims 1 to 5 is implemented. Generate the steps of the method.
CN202110390964.1A 2021-04-12 2021-04-12 Test medium generation method, system and medium Active CN113515415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110390964.1A CN113515415B (en) 2021-04-12 2021-04-12 Test medium generation method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110390964.1A CN113515415B (en) 2021-04-12 2021-04-12 Test medium generation method, system and medium

Publications (2)

Publication Number Publication Date
CN113515415A CN113515415A (en) 2021-10-19
CN113515415B true CN113515415B (en) 2024-03-08

Family

ID=78062568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110390964.1A Active CN113515415B (en) 2021-04-12 2021-04-12 Test medium generation method, system and medium

Country Status (1)

Country Link
CN (1) CN113515415B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560932A (en) * 2013-11-05 2014-02-05 重庆邮电大学 Wireless sensor network remote protocol conformance testing system and method
CN104937428A (en) * 2013-01-22 2015-09-23 泰拉丁公司 Embedded tester

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100450080B1 (en) * 2001-11-13 2004-10-06 (주)지에스텔레텍 Portable storage medium based on Universal Serial Bus standard and Control Method therefor
US7543188B2 (en) * 2005-06-29 2009-06-02 Oracle International Corp. Browser based remote control of functional testing tool
JP4940791B2 (en) * 2006-07-04 2012-05-30 富士通株式会社 Test support program, test support apparatus, and test support method
US20120324302A1 (en) * 2011-06-17 2012-12-20 Qualcomm Incorporated Integrated circuit for testing using a high-speed input/output interface
US20140237292A1 (en) * 2013-02-21 2014-08-21 Advantest Corporation Gui implementations on central controller computer system for supporting protocol independent device testing
US20160149987A1 (en) * 2014-11-24 2016-05-26 lxia Methods, systems, and computer readable media for automatic generation of programming-language-neutral representation of web application protocol interactions that implement network test
US10848372B2 (en) * 2018-03-12 2020-11-24 Spirent Communications, Inc. Scalability, fault tolerance and fault management for TWAMP with a large number of test sessions

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104937428A (en) * 2013-01-22 2015-09-23 泰拉丁公司 Embedded tester
CN103560932A (en) * 2013-11-05 2014-02-05 重庆邮电大学 Wireless sensor network remote protocol conformance testing system and method

Also Published As

Publication number Publication date
CN113515415A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
CN111679836B (en) Automobile ECU flashing system and method
US7577776B2 (en) Multiple virtual USB devices with virtual HUB implemented using one USB device controller
CN109783340B (en) SoC test code programming method, IP test method and device
CN113704104B (en) Program debugging method, device, system, electronic device and storage medium
CN103914324A (en) Method for automatically burning firmware of embedded equipment, and system thereof
CN114138360B (en) Multi-core programming starting method and system for DSP (digital Signal processor) on Flash
CN112034330A (en) Automatic QC method and device for SOC chip
CN114578790A (en) A UAV flight control automatic test method, system, equipment and medium
CN118675602A (en) Memory testing system and testing method thereof
CN119091952A (en) A memory testing system and a memory testing method
CN113515415B (en) Test medium generation method, system and medium
CN110459260B (en) Automatic test switching device, method and system
CN105677429A (en) Program burning method, processor and electronic circuit
CN107908418B (en) Method for upgrading logic program of fiber channel node card and fiber channel bus equipment
CN118860937A (en) A method for implementing a serial hot-swap controller in a PCIe system
CN110515853A (en) A dual serial port debugging method and device
CN117724919A (en) Method for generating test signal of PXIe bus digital signal tester
CN116860219A (en) A multi-board sharing method of CPLD firmware and related components
CN111142954A (en) Startup control method and device and computer readable storage medium
CN115016684B (en) Data processing method, platform, device and medium for sharing charge bank lease service
CN209086900U (en) A kind of ARM programmable device based on USART serial port communicating protocol
CN106708731A (en) Equipment debugging switching method and CPLD (Complex Programmable Logic Device)
CN117406934B (en) Flash memory data access method, electric quantity calculation method, device and storage medium
CN115766541B (en) Device testing method, device, computer equipment and storage medium
CN118689832B (en) Information synchronization method, device, equipment and medium of high-speed serial bus equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant