CN116820193A - Cable connection correctness identification systems, methods, devices, equipment and storage media - Google Patents
Cable connection correctness identification systems, methods, devices, equipment and storage media Download PDFInfo
- Publication number
- CN116820193A CN116820193A CN202310615411.0A CN202310615411A CN116820193A CN 116820193 A CN116820193 A CN 116820193A CN 202310615411 A CN202310615411 A CN 202310615411A CN 116820193 A CN116820193 A CN 116820193A
- Authority
- CN
- China
- Prior art keywords
- signal
- connector
- identification bit
- programmable logic
- logic device
- 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.)
- Pending
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Details Of Connecting Devices For Male And Female Coupling (AREA)
Abstract
Description
技术领域Technical field
本申请涉及服务器技术领域,特别是涉及一种线缆连接正确性识别系统、方法、装置、设备和存储介质。The present application relates to the field of server technology, and in particular to a cable connection correctness identification system, method, device, equipment and storage medium.
背景技术Background technique
现在科技日新月异、发展迅速,服务器功能越来越多、效能日益强大,所需要的芯片也越来越多,服务器的资料量越来越庞大,多节点设计的服务器也广受datacenter(数据中心)的青睐,但衍生出来的问题是在有多个线缆的情况下容易导致插错。Nowadays, technology is changing and developing rapidly. Servers have more and more functions and become more powerful. They require more and more chips. The amount of data in servers is getting larger and larger. Servers with multi-node designs are also widely used in data centers. However, the resulting problem is that when there are multiple cables, it is easy to plug them incorrectly.
现有的多节点服务器系统设计会有许多的线缆连接到中背板与硬盘背板,但为了共用性通常都会将线缆的pin(引脚)定义制作的一模一样,正所谓防呆不防傻,即便有工艺文件详细说明系统线缆的连接方式,但工厂生产仍然会有人工插错的风险,如图1所示,为多节点系统与中背板及硬盘背板连接方式,IMPEL1连接MCIO1、IMPEL2连接MCIO2依此类推,但仍然有人工出错将IMPEL1连接到MCIO2的风险,并且这个错误无法被测试程式验证出来,若是到客户端才发现这个问题会造成公司信誉下降、庞大的重工与人力派遣费用。Existing multi-node server system designs have many cables connected to the mid-board and hard disk backplane. However, for the sake of commonality, the pin definitions of the cables are usually made exactly the same. Silly, even if there are process documents detailing the connection method of system cables, there is still the risk of manual insertion errors in factory production. As shown in Figure 1, it is the connection method between the multi-node system and the mid-backplane and hard disk backplane. IMPEL1 connection MCIO1, IMPEL2 is connected to MCIO2 and so on, but there is still the risk of manual error in connecting IMPEL1 to MCIO2, and this error cannot be verified by the test program. If this problem is not discovered until the client, it will cause the company's reputation to decline, huge heavy work and Manpower dispatch costs.
因此,亟需提出一种能够预防线缆连接错误的线缆连接正确性识别系统、方法、装置、设备和存储介质。Therefore, it is urgent to propose a cable connection correctness identification system, method, device, equipment and storage medium that can prevent cable connection errors.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种能够预防线缆连接错误的线缆连接正确性识别系统、方法、装置、设备和存储介质。Based on this, it is necessary to provide a cable connection correctness identification system, method, device, equipment and storage medium that can prevent cable connection errors in view of the above technical problems.
第一方面,提供一种线缆连接正确性识别系统,所述系统包括主板、中背板和硬盘背板;In a first aspect, a cable connection correctness identification system is provided. The system includes a motherboard, a mid-backplane and a hard disk backplane;
所述硬盘背板包括至少一个高速信号连接器,以及与所述高速信号连接器进行连接的第一标识位和第二标识位;The hard disk backplane includes at least one high-speed signal connector, and a first identification bit and a second identification bit connected to the high-speed signal connector;
所述主板通过高速信号线缆与所述高速信号连接器进行连接,通过边带信号线缆与设置于所述中背板中的第一复杂可编程逻辑器件进行连接。The mainboard is connected to the high-speed signal connector through a high-speed signal cable, and is connected to the first complex programmable logic device provided in the mid-backplane through a sideband signal cable.
可选的,所述主板包括基板管理控制器、第二复杂可编程逻辑器件和至少一个高密度连接器;Optionally, the mainboard includes a baseboard management controller, a second complex programmable logic device and at least one high-density connector;
所述基板管理控制器通过双向二线制同步串行总线与所述第二复杂可编程逻辑器件进行连接;The baseboard management controller is connected to the second complex programmable logic device through a bidirectional two-wire synchronous serial bus;
所述第二复杂可编程逻辑器件通过双向二线制同步串行总线与所述高密度连接器进行连接,通过所述边带信号线缆与所述第一复杂可编程逻辑器件进行连接;The second complex programmable logic device is connected to the high-density connector through a bidirectional two-wire synchronous serial bus, and is connected to the first complex programmable logic device through the sideband signal cable;
所述高密度连接器通过所述高速信号线缆与所述高速信号连接器进行连接。The high-density connector is connected to the high-speed signal connector through the high-speed signal cable.
第二方面,提供一种线缆连接正确性识别方法,所述方法包括:In a second aspect, a method for identifying the correctness of cable connection is provided. The method includes:
响应于检测到高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的第一标识位和第二标识位的信号值;In response to detecting that the high-speed signal connector is connected to the high-density connector, based on the second complex programmable logic device, read the signal value of the first identification bit and the second identification bit corresponding to the high-speed signal connector;
基于第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;Based on the first complex programmable logic device, read the presence signal corresponding to the high-density connector and send it to the second complex programmable logic device;
所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;The second complex programmable logic device determines the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit;
基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;Based on the pin number and the presence signal, determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly;
响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。In response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, error information is sent to the baseboard management controller and saved in a log file.
可选的,所述基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号,包括:Optionally, determining the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit includes:
利用所述第二复杂可编程逻辑器件读取所述第一标识位对应的第一电压值;Using the second complex programmable logic device to read the first voltage value corresponding to the first identification bit;
将所述第一电压值与第一预设值进行比对;Compare the first voltage value with a first preset value;
响应于检测到所述第一电压值大于所述第一预设值时,确定所述第一标识位的信号值为第一标准值;In response to detecting that the first voltage value is greater than the first preset value, determining that the signal value of the first identification bit is a first standard value;
响应于检测到所述第一电压值小于或等于所述第一预设值时,确定所述第一标识位的信号值为第二标准值;In response to detecting that the first voltage value is less than or equal to the first preset value, determine that the signal value of the first identification bit is a second standard value;
同时,利用所述第二复杂可编程逻辑器件读取所述第二标识位对应的第二电压值;At the same time, the second complex programmable logic device is used to read the second voltage value corresponding to the second identification bit;
将所述第二电压值与所述第一预设值进行比对;Compare the second voltage value with the first preset value;
响应于检测到所述第二电压值大于所述第一预设值时,确定所述第二标识位的信号值为第一标准值;In response to detecting that the second voltage value is greater than the first preset value, determining that the signal value of the second identification bit is a first standard value;
响应于检测到所述第二电压值小于或等于第一预设值时,确定所述第二标识位的信号值为第二标准值;In response to detecting that the second voltage value is less than or equal to the first preset value, determine that the signal value of the second identification bit is a second standard value;
合并所述第一标识位的信号值和所述第二标识位的信号值,生成第三标准值,即为所述引脚序号。The signal value of the first identification bit and the signal value of the second identification bit are combined to generate a third standard value, which is the pin number.
可选的,所述高密度连接器的在位信号的获取方法包括:Optionally, the method for obtaining the presence signal of the high-density connector includes:
基于所述高密度连接器和所述第一复杂可编程逻辑器件的连接关系,确定每个所述高密度连接器的在位信号,并将所述在位信号保存至所述第一复杂可编程逻辑器件;Based on the connection relationship between the high-density connector and the first complex programmable logic device, determine the presence signal of each high-density connector, and save the presence signal to the first complex programmable logic device. Programming logic devices;
响应于检测到目标高密度连接器的节点回传信号时,提取预存于所述第一复杂可编程逻辑器件中所述节点回传信号对应的所述高密度连接器的在位信号;In response to detecting the node return signal of the target high-density connector, extract the in-position signal of the high-density connector corresponding to the node return signal pre-stored in the first complex programmable logic device;
将所述高密度连接器的在位信号发送至所述第二复杂可编程逻辑器件。The presence signal of the high density connector is sent to the second complex programmable logic device.
可选的,所述基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确,包括:Optionally, determining whether the cable between the high-speed signal connector and the high-density connector is correctly connected based on the pin number and the presence signal includes:
获取历史数据库中所述第三标准值对应的映射集合,提取所述映射集合中的第一目标在位信号;Obtain the mapping set corresponding to the third standard value in the historical database, and extract the first target presence signal in the mapping set;
响应于检测到所述第一目标在位信号与所述在位信号比对成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接正确;In response to detecting that the comparison between the first target presence signal and the presence signal is successful, determining that the cable connection between the high-speed signal connector and the high-density connector is correct;
响应于检测到所述第一目标在位信号与所述在位信号比对不成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接不正确。In response to detecting that the comparison between the first target presence signal and the presence signal is unsuccessful, it is determined that the cable connection between the high-speed signal connector and the high-density connector is incorrect.
可选的,所述历史数据库的构建方法包括:Optionally, the construction method of the historical database includes:
获取所述第一标识位和第二标识位的信号值对应的第三标准值,以及所述高密度连接器的在位信号;Obtain the third standard value corresponding to the signal value of the first identification bit and the second identification bit, and the in-position signal of the high-density connector;
确定所述第三标准值与第二目标在位信号之间的映射关系,生成对应的映射集合;Determine the mapping relationship between the third standard value and the second target presence signal, and generate a corresponding mapping set;
基于所述第三标准值对目标映射集合进行标号,并保存至数据库,形成所述历史数据库。The target mapping set is labeled based on the third standard value and saved in a database to form the historical database.
第三方面,提供了一种线缆连接正确性识别装置,所述装置包括:In a third aspect, a cable connection correctness identification device is provided, and the device includes:
信号值读取模块,用于响应于检测到高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的第一标识位和第二标识位的信号值;A signal value reading module, configured to read the first identification bit and the second identification corresponding to the high-speed signal connector based on the second complex programmable logic device in response to detecting that the high-speed signal connector is connected to the high-density connector. bit signal value;
在位信号读取模块,用于基于第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;The in-position signal reading module is used to read the in-position signal corresponding to the high-density connector based on the first complex programmable logic device, and send it to the second complex programmable logic device;
引脚序号确定模块,用于利用所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;A pin number determination module, configured to use the second complex programmable logic device to determine the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit;
判断模块,用于基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;A judgment module configured to determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly based on the pin number and the in-position signal;
信息发送模块,用于响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。An information sending module, configured to send error information to the baseboard management controller in response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, and save it in a log file.
再一方面,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In yet another aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
响应于检测到所述高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的所述第一标识位和第二标识位的信号值;In response to detecting that the high-speed signal connector is connected to the high-density connector, based on the second complex programmable logic device, read the signal values of the first identification bit and the second identification bit corresponding to the high-speed signal connector. ;
基于所述第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;Based on the first complex programmable logic device, read the presence signal corresponding to the high-density connector and send it to the second complex programmable logic device;
所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;The second complex programmable logic device determines the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit;
基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;Based on the pin number and the presence signal, determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly;
响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。In response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, error information is sent to the baseboard management controller and saved in a log file.
又一方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:In another aspect, a computer-readable storage medium is provided, with a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
响应于检测到所述高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的所述第一标识位和第二标识位的信号值;In response to detecting that the high-speed signal connector is connected to the high-density connector, based on the second complex programmable logic device, read the signal values of the first identification bit and the second identification bit corresponding to the high-speed signal connector. ;
基于所述第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;Based on the first complex programmable logic device, read the presence signal corresponding to the high-density connector and send it to the second complex programmable logic device;
所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;The second complex programmable logic device determines the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit;
基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;Based on the pin number and the presence signal, determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly;
响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。In response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, error information is sent to the baseboard management controller and saved in a log file.
上述线缆连接正确性识别系统、方法、装置、设备和存储介质,所述系统包括主板、中背板和硬盘背板;所述硬盘背板包括至少一个高速信号连接器,以及与所述高速信号连接器进行连接的第一标识位和第二标识位;所述主板通过高速信号线缆与所述高速信号连接器进行连接,通过边带信号线缆与设置于所述中背板中的第一复杂可编程逻辑器件进行连接,本申请可以准确识别出服务器线缆接错的问题,从而避免因线缆连接错误衍生的额外费用支出以及人力资源浪费。The above-mentioned cable connection correctness identification system, method, device, equipment and storage medium, the system includes a motherboard, a mid-backplane and a hard disk backplane; the hard disk backplane includes at least one high-speed signal connector, and is connected to the high-speed signal connector. The first identification position and the second identification position of the signal connector are connected; the mainboard is connected to the high-speed signal connector through a high-speed signal cable, and is connected to the high-speed signal connector provided in the middle backplane through a sideband signal cable. The first complex programmable logic device is connected. This application can accurately identify the problem of incorrect connection of server cables, thereby avoiding additional expenses and waste of human resources caused by incorrect cable connection.
附图说明Description of the drawings
图1为背景技术中现有线缆的连接方式示意图;Figure 1 is a schematic diagram of the connection method of existing cables in the background technology;
图2为一个实施例中线缆连接正确性识别方法的应用环境图;Figure 2 is an application environment diagram of the cable connection correctness identification method in one embodiment;
图3为一个实施例中线缆连接正确性识别系统的结构框图;Figure 3 is a structural block diagram of a cable connection correctness identification system in one embodiment;
图4为一个实施例中线缆连接正确性识别系统的另一结构框图Figure 4 is another structural block diagram of the cable connection correctness identification system in one embodiment.
图5为一个实施例中线缆连接正确性识别方法的流程示意图;Figure 5 is a schematic flowchart of a method for identifying the correctness of cable connection in an embodiment;
图6为一个实施例中线缆连接正确性识别方法的信号值取值示意图;Figure 6 is a schematic diagram of the signal value of the cable connection correctness identification method in one embodiment;
图7为一个实施例中线缆连接正确性识别方法的在位信号取值示意图;Figure 7 is a schematic diagram of the in-position signal value of the cable connection correctness identification method in one embodiment;
图8为一个实施例中线缆连接正确性识别装置的结构框图;Figure 8 is a structural block diagram of a cable connection correctness identification device in one embodiment;
图9为一个实施例中计算机设备的内部结构图。Figure 9 is an internal structure diagram of a computer device in one embodiment.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only Some of the embodiments of this application are provided, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
应当理解,在本申请的描述中,除非上下文明确要求,否则整个说明书中的“包括”、“包含”等类似词语应当解释为包含的含义而不是排他或穷举的含义;也就是说,是“包括但不限于”的含义。It should be understood that in the description of the present application, unless the context clearly requires it, the words "including", "includes" and other similar words throughout the specification should be interpreted as having an inclusive meaning rather than an exclusive or exhaustive meaning; that is, "Including but not limited to" means.
还应当理解,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should also be understood that the terms "first," "second," etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise stated, the meaning of “plurality” is two or more.
需要注意的是,术语“S1”、“S2”等仅用于步骤的描述目的,并非特别指称次序或顺位的意思,亦非用以限定本申请,其仅仅是为了方便描述本申请的方法,而不能理解为指示步骤的先后顺序。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the terms "S1", "S2", etc. are only used for the purpose of describing the steps, and do not specifically refer to the sequence or order, nor are they used to limit the present application. They are only used to facilitate the description of the method of the present application. , and cannot be understood as indicating the sequence of steps. In addition, the technical solutions in various embodiments can be combined with each other, but it must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that such a combination of technical solutions does not exist. , nor is it within the scope of protection required by this application.
本申请提供的线缆连接正确性识别方法,可以应用于如图2所示的应用环境中。其中,终端102通过网络与设置于服务器104上的数据处理平台进行通信,其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The cable connection correctness identification method provided by this application can be applied to the application environment as shown in Figure 2. The terminal 102 communicates with a data processing platform provided on the server 104 through the network. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets and portable wearable devices. The server 104 can It is implemented using a stand-alone server or a server cluster composed of multiple servers.
实施例1:在一个实施例中,如图3所示,提供了一种线缆连接正确性识别系统,所述系统包括主板、中背板和硬盘背板;Embodiment 1: In one embodiment, as shown in Figure 3, a cable connection correctness identification system is provided. The system includes a motherboard, a mid-backplane and a hard disk backplane;
所述硬盘背板包括至少一个高速信号连接器,以及与所述高速信号连接器进行连接的第一标识位和第二标识位;The hard disk backplane includes at least one high-speed signal connector, and a first identification bit and a second identification bit connected to the high-speed signal connector;
所述主板通过高速信号线缆与所述高速信号连接器进行连接,通过边带信号线缆与设置于所述中背板中的第一复杂可编程逻辑器件进行连接。The mainboard is connected to the high-speed signal connector through a high-speed signal cable, and is connected to the first complex programmable logic device provided in the mid-backplane through a sideband signal cable.
其中,所述主板包括基板管理控制器、第二复杂可编程逻辑器件和至少一个高密度连接器;Wherein, the mainboard includes a baseboard management controller, a second complex programmable logic device and at least one high-density connector;
所述基板管理控制器通过双向二线制同步串行总线与所述第二复杂可编程逻辑器件进行连接;The baseboard management controller is connected to the second complex programmable logic device through a bidirectional two-wire synchronous serial bus;
所述第二复杂可编程逻辑器件通过双向二线制同步串行总线与所述高密度连接器进行连接,通过所述边带信号线缆与所述第一复杂可编程逻辑器件进行连接;The second complex programmable logic device is connected to the high-density connector through a bidirectional two-wire synchronous serial bus, and is connected to the first complex programmable logic device through the sideband signal cable;
所述高密度连接器通过所述高速信号线缆与所述高速信号连接器进行连接。The high-density connector is connected to the high-speed signal connector through the high-speed signal cable.
具体的,如图4所示,第一标识位和第二标识位分别为IDO和ID1脚位,IDO和ID1脚位是用来识别正单面或配件类型等ID识别信号针脚,每个高速信号连接器都会连接一个IDO和一个ID1脚位,基于此来判断高速信号连接器的具体节点位置,每个IDO和ID1脚位会分别连接P3V3_AUX的上位电源,高速信号连接器可以是MCIO,高密度连接器为IMPEL,第一复杂可编程逻辑器件和第二复杂可编程逻辑器件皆为CPLD,基板管理控制器为BMC,双向二线制同步串行总线为I2C,边带信号线缆为Sideband,该系统中各部件的具体作用以及之间的交互关系在线缆连接正确性识别方法的实施例中详述,在此不再赘述。Specifically, as shown in Figure 4, the first identification bit and the second identification bit are the IDO and ID1 pins respectively. The IDO and ID1 pins are used to identify the ID identification signal pins such as the front side or the accessory type. Each high-speed The signal connector will be connected to an IDO and an ID1 pin. Based on this, the specific node position of the high-speed signal connector is determined. Each IDO and ID1 pin will be connected to the upper power supply of P3V3_AUX respectively. The high-speed signal connector can be MCIO, high The density connector is IMPEL, the first complex programmable logic device and the second complex programmable logic device are both CPLD, the baseboard management controller is BMC, the bidirectional two-wire synchronous serial bus is I2C, and the sideband signal cable is Sideband. The specific functions of each component in the system and the interactive relationship between them are described in detail in the embodiment of the cable connection correctness identification method, and will not be described again here.
实施例2:在一个实施例中,如图5所示,提供了一种线缆连接正确性识别方法,以该方法应用于图2中的终端为例进行说明,包括以下步骤:Embodiment 2: In one embodiment, as shown in Figure 5, a method for identifying the correctness of cable connection is provided. This method is explained by taking the method applied to the terminal in Figure 2 as an example, and includes the following steps:
S1:响应于检测到所述高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的所述第一标识位和第二标识位的信号值。S1: In response to detecting that the high-speed signal connector is connected to the high-density connector, based on the second complex programmable logic device, read the first identification bit and the second identification bit corresponding to the high-speed signal connector. signal value.
需要说明的是,当高速信号连接器与高密度连接器进行连接时,与高速信号连接器进行连接的IDO和ID1脚位会自动向第二复杂可编程逻辑器件发送对应的信号值,第二复杂可编程逻辑器件对发送来的信号值进行读取分析,其对应的分析结果可以用于后续判断高速信号连接器的具体节点位置。It should be noted that when the high-speed signal connector is connected to the high-density connector, the IDO and ID1 pins connected to the high-speed signal connector will automatically send the corresponding signal value to the second complex programmable logic device. The complex programmable logic device reads and analyzes the signal value sent, and the corresponding analysis results can be used to subsequently determine the specific node location of the high-speed signal connector.
在上述实施方式中,因为每个高速信号连接器对应的节点位置是固定的,则连接所述高速信号连接器的IDO和ID1脚位对应的信号值也是固定,因此,通过IDO和ID1脚位对应的信号值可以准确地获取高速信号连接器的具体节点位置,提高判断准确性。In the above embodiment, because the node position corresponding to each high-speed signal connector is fixed, the signal values corresponding to the IDO and ID1 pins connected to the high-speed signal connector are also fixed. Therefore, through the IDO and ID1 pins The corresponding signal value can accurately obtain the specific node position of the high-speed signal connector, improving the accuracy of judgment.
S2:基于所述第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件。S2: Based on the first complex programmable logic device, read the presence signal corresponding to the high-density connector and send it to the second complex programmable logic device.
需要说明的是,所述高密度连接器的在位信号的获取方法包括:It should be noted that the method for obtaining the presence signal of the high-density connector includes:
基于所述高密度连接器和所述第一复杂可编程逻辑器件的连接关系,确定每个所述高密度连接器的在位信号,并将所述在位信号保存至所述第一复杂可编程逻辑器件;Based on the connection relationship between the high-density connector and the first complex programmable logic device, determine the presence signal of each high-density connector, and save the presence signal to the first complex programmable logic device. Programming logic devices;
响应于检测到目标高密度连接器的节点回传信号时,提取预存于所述第一复杂可编程逻辑器件中所述节点回传信号对应的所述高密度连接器的在位信号;In response to detecting the node return signal of the target high-density connector, extract the in-position signal of the high-density connector corresponding to the node return signal pre-stored in the first complex programmable logic device;
将所述高密度连接器的在位信号发送至所述第二复杂可编程逻辑器件。The presence signal of the high density connector is sent to the second complex programmable logic device.
具体的,如图7所示,主板CPLD(第二复杂可编程逻辑器件)每个节点的在位信号与中背板CPLD(第一复杂可编程逻辑器件)之间是通过I2C信号进行沟通,每个节点的I2C信号PIN(引脚)连接到中背板CPLD也是固定的,因此,中背板CPLD可以读取到高密度连接器节点对应的在位信号,然后将在位信号预存在register(占存器)中,当检测到所述高速信号连接器与高密度连接器进行连接时,中背板CPLD可以根据高密度连接器的节点回传信号向主板CPLD发送对应的在位信号,以便于后续判断高密度连接器的具体节点位置与高速信号连接器的节点位置是否连接正确。Specifically, as shown in Figure 7, the on-site signal of each node of the mainboard CPLD (the second complex programmable logic device) and the mid-backboard CPLD (the first complex programmable logic device) are communicated through I2C signals. The I2C signal PIN (pin) of each node connected to the mid-backplane CPLD is also fixed. Therefore, the mid-backplane CPLD can read the in-place signal corresponding to the high-density connector node, and then pre-store the in-place signal in the register (memory), when it is detected that the high-speed signal connector is connected to the high-density connector, the mid-backplane CPLD can send the corresponding presence signal to the mainboard CPLD according to the node return signal of the high-density connector. This will facilitate subsequent judgment as to whether the specific node positions of the high-density connector and the node positions of the high-speed signal connector are connected correctly.
在上述实施方式中,因为每个高密度连接器对应节点的在位信号连接到中背板CPLD的PIN是固定的,因此,当需要进行线缆连接正确性判断时,读取中背板CPLD中高密度连接器对应的在位信号,可以确保判断准确性。In the above embodiment, because the PIN of connecting the in-place signal of the corresponding node of each high-density connector to the mid-backplane CPLD is fixed, when it is necessary to judge the correctness of the cable connection, read the mid-backplane CPLD The presence signals corresponding to medium and high density connectors can ensure the accuracy of judgment.
S3:所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号。S3: The second complex programmable logic device determines the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit.
需要说明的是,该步骤具体包括:It should be noted that this step specifically includes:
利用所述第二复杂可编程逻辑器件读取所述第一标识位对应的第一电压值;Using the second complex programmable logic device to read the first voltage value corresponding to the first identification bit;
将所述第一电压值与第一预设值进行比对;Compare the first voltage value with a first preset value;
响应于检测到所述第一电压值大于所述第一预设值时,确定所述第一标识位的信号值为第一标准值;In response to detecting that the first voltage value is greater than the first preset value, determining that the signal value of the first identification bit is a first standard value;
响应于检测到所述第一电压值小于或等于所述第一预设值时,确定所述第一标识位的信号值为第二标准值;In response to detecting that the first voltage value is less than or equal to the first preset value, determine that the signal value of the first identification bit is a second standard value;
同时,利用所述第二复杂可编程逻辑器件读取所述第二标识位对应的第二电压值;At the same time, the second complex programmable logic device is used to read the second voltage value corresponding to the second identification bit;
将所述第二电压值与所述第一预设值进行比对;Compare the second voltage value with the first preset value;
响应于检测到所述第二电压值大于所述第一预设值时,确定所述第二标识位的信号值为第一标准值;In response to detecting that the second voltage value is greater than the first preset value, determining that the signal value of the second identification bit is a first standard value;
响应于检测到所述第二电压值小于或等于第一预设值时,确定所述第二标识位的信号值为第二标准值;In response to detecting that the second voltage value is less than or equal to the first preset value, determine that the signal value of the second identification bit is a second standard value;
合并所述第一标识位的信号值和所述第二标识位的信号值,生成第三标准值,即为所述引脚序号;Combine the signal value of the first identification bit and the signal value of the second identification bit to generate a third standard value, which is the pin number;
其中,第一预设值可以根据实际需求进行设定。Among them, the first preset value can be set according to actual needs.
具体的,CPLD可以通过电压来识别判断第一标识位和第二标识位的信号值,如图6所示,以ID信号01来举例,定义第一预设值为3V,ID0信号因为对地电阻有上件,信号连接到“地”,所以CPLD会读到第一电压值是0,因此判断第一标识位的信号值为0,即为第二标准值,ID1信号因为上拉电阻有上件,连接到3.3_AUX,所以CPLD会读到第二电压值是3.3,因此判断判断第一标识位的信号值为1,即为第一标准值,因此,生成的第三标准值为01,即为所述高速信号连接器的引脚序号。Specifically, CPLD can identify and judge the signal value of the first identification bit and the second identification bit through voltage. As shown in Figure 6, taking ID signal 01 as an example, the first preset value is defined as 3V. The ID0 signal is grounded because it The resistor has an upper part and the signal is connected to "ground", so the CPLD will read that the first voltage value is 0, so it is judged that the signal value of the first identification bit is 0, which is the second standard value. The ID1 signal has a pull-up resistor because The upper part is connected to 3.3_AUX, so the CPLD will read that the second voltage value is 3.3, so it is judged that the signal value of the first flag bit is 1, which is the first standard value. Therefore, the generated third standard value is 01 , which is the pin number of the high-speed signal connector.
在上述实施方式中,通过电压值来获取第一标识位和第二标识位对应的标准值,以获取准确的引脚序号,用于提高后续比对结果的准确性。In the above embodiment, the standard value corresponding to the first identification bit and the second identification bit is obtained through the voltage value to obtain the accurate pin number, which is used to improve the accuracy of subsequent comparison results.
S4:基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确。S4: Based on the pin number and the presence signal, determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly.
需要说明的是,该步骤具体包括:It should be noted that this step specifically includes:
获取历史数据库中所述第三标准值对应的映射集合,提取所述映射集合中的第一目标在位信号;Obtain the mapping set corresponding to the third standard value in the historical database, and extract the first target presence signal in the mapping set;
响应于检测到所述第一目标在位信号与所述在位信号比对成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接正确;In response to detecting that the comparison between the first target presence signal and the presence signal is successful, determining that the cable connection between the high-speed signal connector and the high-density connector is correct;
响应于检测到所述第一目标在位信号与所述在位信号比对不成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接不正确。In response to detecting that the comparison between the first target presence signal and the presence signal is unsuccessful, it is determined that the cable connection between the high-speed signal connector and the high-density connector is incorrect.
在一些具体实施方式中,还可以获取历史数据库中所述在位信号对应的映射集合,提取所述映射集合中的目标第三标准值;In some specific implementations, the mapping set corresponding to the in-position signal in the historical database can also be obtained, and the target third standard value in the mapping set can be extracted;
响应于检测到所述目标第三标准值与所述引脚序号对应的第三标准值比对成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接正确;In response to detecting that the target third standard value is successfully compared with the third standard value corresponding to the pin number, it is determined that the cable connection between the high-speed signal connector and the high-density connector is correct;
响应于检测到所述目标第三标准值与所述引脚序号对应的第三标准值比对不成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接不正确。In response to detecting that the comparison between the target third standard value and the third standard value corresponding to the pin number is unsuccessful, it is determined that the cable connection between the high-speed signal connector and the high-density connector is not successful. correct.
其中,所述历史数据库的构建方法包括:Wherein, the construction method of the historical database includes:
获取所述第一标识位和第二标识位的信号值对应的第三标准值,以及所述高密度连接器的在位信号;Obtain the third standard value corresponding to the signal value of the first identification bit and the second identification bit, and the in-position signal of the high-density connector;
确定所述第三标准值与第二目标在位信号之间的映射关系,生成对应的映射集合,如第三标准值为01,其预设对应的在位信号为X,则生成的映射集合为{01,X};Determine the mapping relationship between the third standard value and the second target in-position signal, and generate a corresponding mapping set. For example, if the third standard value is 01 and its preset corresponding in-position signal is X, then the generated mapping set is {01,X};
基于所述第三标准值对目标映射集合进行标号,示例性的,如第三标准值包括01、10、11等,则对应生成的映射集合可以为{01,X1}、{10,X2}、{11,X3},对应的标号为01、10、11,并按照顺序保存至数据库,形成所述历史数据库。Label the target mapping set based on the third standard value. For example, if the third standard value includes 01, 10, 11, etc., the corresponding generated mapping set may be {01, X1}, {10, X2} , {11, X3}, the corresponding labels are 01, 10, and 11, and are saved to the database in order to form the historical database.
在上述实施方式中,通过引脚序号和在位信号与历史数据库中的相关数据进行比对,从而判断出高速信号连接器与高密度连接器是否连接准确,以识别出服务器线缆接错的问题,从而避免因线缆连接错误衍生的额外费用支出以及人力资源浪费。In the above embodiment, by comparing the pin number and the in-place signal with the relevant data in the historical database, it is determined whether the high-speed signal connector and the high-density connector are connected accurately, so as to identify the incorrect connection of the server cable. problems, thereby avoiding additional expenses and waste of human resources due to incorrect cable connections.
S5:响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。S5: In response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, send error information to the baseboard management controller and save it in a log file.
需要说明的是,错误信息可以包括错误连接的线缆以及该线缆对应的连接端口等,将错误信息发送至基板管理控制器,可以让技术人员及时得知高速信号连接器与高密度连接器连接错误,并对连接错误的线缆进行调整,从而避免因线缆连接错误衍生的额外费用支出以及人力资源浪费。It should be noted that the error information can include incorrectly connected cables and the connection ports corresponding to the cables. Sending the error information to the baseboard management controller can allow technicians to promptly learn about high-speed signal connectors and high-density connectors. If the connection is incorrect, adjust the incorrectly connected cable to avoid additional expenses and waste of human resources caused by incorrect cable connection.
上述线缆连接正确性识别方法中,所述方法包括:响应于检测到所述高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的所述第一标识位和第二标识位的信号值;基于所述第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。本申请可以准确识别出服务器线缆接错的问题,从而避免因线缆连接错误衍生的额外费用支出以及人力资源浪费。In the above cable connection correctness identification method, the method includes: in response to detecting that the high-speed signal connector is connected to a high-density connector, based on the second complex programmable logic device, reading the high-speed signal connector corresponding The signal values of the first identification bit and the second identification bit; based on the first complex programmable logic device, read the in-position signal corresponding to the high-density connector and send it to the second complex programmable logic device device; the second complex programmable logic device determines the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit; based on the pin number and the in-position signal to determine whether the cable connection between the high-speed signal connector and the high-density connector is correct; in response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect , the error message is sent to the baseboard management controller and saved in the log file. This application can accurately identify the problem of incorrect server cable connection, thereby avoiding additional expenses and waste of human resources caused by incorrect cable connection.
应该理解的是,虽然图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although each step in the flowchart of FIG. 5 is shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Figure 5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily sequential, but may be performed in turn or alternately with other steps or sub-steps of other steps or at least part of the stages.
实施例3:在一个实施例中,如图8所示,提供了一种线缆连接正确性识别装置,包括:信号值读取模块、在位信号读取模块、引脚序号确定模块、判断模块和信息发送模块,其中:Embodiment 3: In one embodiment, as shown in Figure 8, a cable connection correctness identification device is provided, including: a signal value reading module, an in-position signal reading module, a pin number determination module, and a judgment module. module and information sending module, where:
信号值读取模块,用于响应于检测到高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的第一标识位和第二标识位的信号值;A signal value reading module, configured to read the first identification bit and the second identification corresponding to the high-speed signal connector based on the second complex programmable logic device in response to detecting that the high-speed signal connector is connected to the high-density connector. bit signal value;
在位信号读取模块,用于基于第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;The in-position signal reading module is used to read the in-position signal corresponding to the high-density connector based on the first complex programmable logic device, and send it to the second complex programmable logic device;
引脚序号确定模块,用于利用所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;A pin number determination module, configured to use the second complex programmable logic device to determine the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit;
判断模块,用于基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;A judgment module configured to determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly based on the pin number and the in-position signal;
信息发送模块,用于响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。An information sending module, configured to send error information to the baseboard management controller in response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, and save it in a log file.
作为一种较优的实施方式,本发明实施例中,所述引脚序号确定模块具体用于:As a preferred implementation manner, in the embodiment of the present invention, the pin number determination module is specifically used for:
利用所述第二复杂可编程逻辑器件读取所述第一标识位对应的第一电压值;Using the second complex programmable logic device to read the first voltage value corresponding to the first identification bit;
将所述第一电压值与第一预设值进行比对;Compare the first voltage value with a first preset value;
响应于检测到所述第一电压值大于所述第一预设值时,确定所述第一标识位的信号值为第一标准值;In response to detecting that the first voltage value is greater than the first preset value, determining that the signal value of the first identification bit is a first standard value;
响应于检测到所述第一电压值小于或等于所述第一预设值时,确定所述第一标识位的信号值为第二标准值;In response to detecting that the first voltage value is less than or equal to the first preset value, determine that the signal value of the first identification bit is a second standard value;
同时,利用所述第二复杂可编程逻辑器件读取所述第二标识位对应的第二电压值;At the same time, the second complex programmable logic device is used to read the second voltage value corresponding to the second identification bit;
将所述第二电压值与所述第一预设值进行比对;Compare the second voltage value with the first preset value;
响应于检测到所述第二电压值大于所述第一预设值时,确定所述第二标识位的信号值为第一标准值;In response to detecting that the second voltage value is greater than the first preset value, determining that the signal value of the second identification bit is a first standard value;
响应于检测到所述第二电压值小于或等于第一预设值时,确定所述第二标识位的信号值为第二标准值;In response to detecting that the second voltage value is less than or equal to the first preset value, determine that the signal value of the second identification bit is a second standard value;
合并所述第一标识位的信号值和所述第二标识位的信号值,生成第三标准值,即为所述引脚序号。The signal value of the first identification bit and the signal value of the second identification bit are combined to generate a third standard value, which is the pin number.
作为一种较优的实施方式,本发明实施例中,所述在位信号读取模块具体用于:As a preferred implementation manner, in the embodiment of the present invention, the in-position signal reading module is specifically used for:
基于所述高密度连接器和所述第一复杂可编程逻辑器件的连接关系,确定每个所述高密度连接器的在位信号,并将所述在位信号保存至所述第一复杂可编程逻辑器件;Based on the connection relationship between the high-density connector and the first complex programmable logic device, determine the presence signal of each high-density connector, and save the presence signal to the first complex programmable logic device. Programming logic devices;
响应于检测到目标高密度连接器的节点回传信号时,提取预存于所述第一复杂可编程逻辑器件中所述节点回传信号对应的所述高密度连接器的在位信号;In response to detecting the node return signal of the target high-density connector, extract the in-position signal of the high-density connector corresponding to the node return signal pre-stored in the first complex programmable logic device;
将所述高密度连接器的在位信号发送至所述第二复杂可编程逻辑器件。The presence signal of the high density connector is sent to the second complex programmable logic device.
作为一种较优的实施方式,本发明实施例中,所述判断模块具体用于:As a preferred implementation manner, in the embodiment of the present invention, the judgment module is specifically used for:
获取历史数据库中所述第三标准值对应的映射集合,提取所述映射集合中的第一目标在位信号;Obtain the mapping set corresponding to the third standard value in the historical database, and extract the first target presence signal in the mapping set;
响应于检测到所述第一目标在位信号与所述在位信号比对成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接正确;In response to detecting that the comparison between the first target presence signal and the presence signal is successful, determining that the cable connection between the high-speed signal connector and the high-density connector is correct;
响应于检测到所述第一目标在位信号与所述在位信号比对不成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接不正确。In response to detecting that the comparison between the first target presence signal and the presence signal is unsuccessful, it is determined that the cable connection between the high-speed signal connector and the high-density connector is incorrect.
作为一种较优的实施方式,本发明实施例中,所述判断模块具体还用于:As a preferred implementation manner, in the embodiment of the present invention, the judgment module is also specifically used for:
获取所述第一标识位和第二标识位的信号值对应的第三标准值,以及所述高密度连接器的在位信号;Obtain the third standard value corresponding to the signal value of the first identification bit and the second identification bit, and the in-position signal of the high-density connector;
确定所述第三标准值与第二目标在位信号之间的映射关系,生成对应的映射集合;Determine the mapping relationship between the third standard value and the second target presence signal, and generate a corresponding mapping set;
基于所述第三标准值对目标映射集合进行标号,并保存至数据库,形成所述历史数据库。The target mapping set is labeled based on the third standard value and saved in a database to form the historical database.
关于线缆连接正确性识别装置的具体限定可以参见上文中对于线缆连接正确性识别方法的限定,在此不再赘述。上述线缆连接正确性识别装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the cable connection correctness identification device, please refer to the limitations on the cable connection correctness identification method mentioned above, which will not be described again here. Each module in the above-mentioned cable connection correctness identification device can be implemented in whole or in part by software, hardware and combinations thereof. Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
实施例4:在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图9所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种线缆连接正确性识别方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。Embodiment 4: In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in Figure 9. The computer equipment includes a processor, memory, network interface, display screen and input device connected by a system bus. Wherein, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The non-volatile storage medium stores operating systems and computer programs. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media. The network interface of the computer device is used to communicate with external terminals through a network connection. The computer program implements a cable connection correctness identification method when executed by a processor. The display screen of the computer device may be a liquid crystal display or an electronic ink display. The input device of the computer device may be a touch layer covered on the display screen, or may be a button, trackball or touch pad provided on the computer device shell. , it can also be an external keyboard, trackpad or mouse, etc.
本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 9 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Specific computer equipment can May include more or fewer parts than shown, or combine certain parts, or have a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
S1:响应于检测到所述高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的所述第一标识位和第二标识位的信号值;S1: In response to detecting that the high-speed signal connector is connected to the high-density connector, based on the second complex programmable logic device, read the first identification bit and the second identification bit corresponding to the high-speed signal connector. signal value;
S2:基于所述第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;S2: Based on the first complex programmable logic device, read the presence signal corresponding to the high-density connector and send it to the second complex programmable logic device;
S3:所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;S3: The second complex programmable logic device determines the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit;
S4:基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;S4: Based on the pin number and the presence signal, determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly;
S5:响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。S5: In response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, send error information to the baseboard management controller and save it in a log file.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor also implements the following steps when executing the computer program:
利用所述第二复杂可编程逻辑器件读取所述第一标识位对应的第一电压值;Using the second complex programmable logic device to read the first voltage value corresponding to the first identification bit;
将所述第一电压值与第一预设值进行比对;Compare the first voltage value with a first preset value;
响应于检测到所述第一电压值大于所述第一预设值时,确定所述第一标识位的信号值为第一标准值;In response to detecting that the first voltage value is greater than the first preset value, determining that the signal value of the first identification bit is a first standard value;
响应于检测到所述第一电压值小于或等于所述第一预设值时,确定所述第一标识位的信号值为第二标准值;In response to detecting that the first voltage value is less than or equal to the first preset value, determine that the signal value of the first identification bit is a second standard value;
同时,利用所述第二复杂可编程逻辑器件读取所述第二标识位对应的第二电压值;At the same time, the second complex programmable logic device is used to read the second voltage value corresponding to the second identification bit;
将所述第二电压值与所述第一预设值进行比对;Compare the second voltage value with the first preset value;
响应于检测到所述第二电压值大于所述第一预设值时,确定所述第二标识位的信号值为第一标准值;In response to detecting that the second voltage value is greater than the first preset value, determining that the signal value of the second identification bit is a first standard value;
响应于检测到所述第二电压值小于或等于第一预设值时,确定所述第二标识位的信号值为第二标准值;In response to detecting that the second voltage value is less than or equal to the first preset value, determine that the signal value of the second identification bit is a second standard value;
合并所述第一标识位的信号值和所述第二标识位的信号值,生成第三标准值,即为所述引脚序号。The signal value of the first identification bit and the signal value of the second identification bit are combined to generate a third standard value, which is the pin number.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor also implements the following steps when executing the computer program:
基于所述高密度连接器和所述第一复杂可编程逻辑器件的连接关系,确定每个所述高密度连接器的在位信号,并将所述在位信号保存至所述第一复杂可编程逻辑器件;Based on the connection relationship between the high-density connector and the first complex programmable logic device, determine the presence signal of each high-density connector, and save the presence signal to the first complex programmable logic device. Programming logic devices;
响应于检测到目标高密度连接器的节点回传信号时,提取预存于所述第一复杂可编程逻辑器件中所述节点回传信号对应的所述高密度连接器的在位信号;In response to detecting the node return signal of the target high-density connector, extract the in-position signal of the high-density connector corresponding to the node return signal pre-stored in the first complex programmable logic device;
将所述高密度连接器的在位信号发送至所述第二复杂可编程逻辑器件。The presence signal of the high density connector is sent to the second complex programmable logic device.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor also implements the following steps when executing the computer program:
获取历史数据库中所述第三标准值对应的映射集合,提取所述映射集合中的第一目标在位信号;Obtain the mapping set corresponding to the third standard value in the historical database, and extract the first target presence signal in the mapping set;
响应于检测到所述第一目标在位信号与所述在位信号比对成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接正确;In response to detecting that the comparison between the first target presence signal and the presence signal is successful, determining that the cable connection between the high-speed signal connector and the high-density connector is correct;
响应于检测到所述第一目标在位信号与所述在位信号比对不成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接不正确。In response to detecting that the comparison between the first target presence signal and the presence signal is unsuccessful, it is determined that the cable connection between the high-speed signal connector and the high-density connector is incorrect.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor also implements the following steps when executing the computer program:
获取所述第一标识位和第二标识位的信号值对应的第三标准值,以及所述高密度连接器的在位信号;Obtain the third standard value corresponding to the signal value of the first identification bit and the second identification bit, and the in-position signal of the high-density connector;
确定所述第三标准值与第二目标在位信号之间的映射关系,生成对应的映射集合;Determine the mapping relationship between the third standard value and the second target presence signal, and generate a corresponding mapping set;
基于所述第三标准值对目标映射集合进行标号,并保存至数据库,形成所述历史数据库。The target mapping set is labeled based on the third standard value and saved in a database to form the historical database.
实施例5:在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:Embodiment 5: In one embodiment, a computer-readable storage medium is provided, with a computer program stored thereon. When the computer program is executed by a processor, the following steps are implemented:
S1:响应于检测到所述高速信号连接器与高密度连接器进行连接时,基于第二复杂可编程逻辑器件,读取高速信号连接器对应的所述第一标识位和第二标识位的信号值;S1: In response to detecting that the high-speed signal connector is connected to the high-density connector, based on the second complex programmable logic device, read the first identification bit and the second identification bit corresponding to the high-speed signal connector. signal value;
S2:基于所述第一复杂可编程逻辑器件,读取高密度连接器对应的在位信号,并发送至所述第二复杂可编程逻辑器件;S2: Based on the first complex programmable logic device, read the presence signal corresponding to the high-density connector and send it to the second complex programmable logic device;
S3:所述第二复杂可编程逻辑器件基于所述第一标识位和第二标识位的信号值,确定所述高速信号连接器的引脚序号;S3: The second complex programmable logic device determines the pin number of the high-speed signal connector based on the signal values of the first identification bit and the second identification bit;
S4:基于所述引脚序号和所述在位信号,确定所述高速信号连接器与所述高密度连接器之间的线缆是否连接正确;S4: Based on the pin number and the presence signal, determine whether the cable between the high-speed signal connector and the high-density connector is connected correctly;
S5:响应于检测到所述高速信号连接器与所述高密度连接器之间的线缆连接不正确时,将错误信息发送至基板管理控制器,并保存到日志文件中。S5: In response to detecting that the cable connection between the high-speed signal connector and the high-density connector is incorrect, send error information to the baseboard management controller and save it in a log file.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:
利用所述第二复杂可编程逻辑器件读取所述第一标识位对应的第一电压值;Using the second complex programmable logic device to read the first voltage value corresponding to the first identification bit;
将所述第一电压值与第一预设值进行比对;Compare the first voltage value with a first preset value;
响应于检测到所述第一电压值大于所述第一预设值时,确定所述第一标识位的信号值为第一标准值;In response to detecting that the first voltage value is greater than the first preset value, determining that the signal value of the first identification bit is a first standard value;
响应于检测到所述第一电压值小于或等于所述第一预设值时,确定所述第一标识位的信号值为第二标准值;In response to detecting that the first voltage value is less than or equal to the first preset value, determine that the signal value of the first identification bit is a second standard value;
同时,利用所述第二复杂可编程逻辑器件读取所述第二标识位对应的第二电压值;At the same time, the second complex programmable logic device is used to read the second voltage value corresponding to the second identification bit;
将所述第二电压值与所述第一预设值进行比对;Compare the second voltage value with the first preset value;
响应于检测到所述第二电压值大于所述第一预设值时,确定所述第二标识位的信号值为第一标准值;In response to detecting that the second voltage value is greater than the first preset value, determining that the signal value of the second identification bit is a first standard value;
响应于检测到所述第二电压值小于或等于第一预设值时,确定所述第二标识位的信号值为第二标准值;In response to detecting that the second voltage value is less than or equal to the first preset value, determine that the signal value of the second identification bit is a second standard value;
合并所述第一标识位的信号值和所述第二标识位的信号值,生成第三标准值,即为所述引脚序号。The signal value of the first identification bit and the signal value of the second identification bit are combined to generate a third standard value, which is the pin number.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:
基于所述高密度连接器和所述第一复杂可编程逻辑器件的连接关系,确定每个所述高密度连接器的在位信号,并将所述在位信号保存至所述第一复杂可编程逻辑器件;Based on the connection relationship between the high-density connector and the first complex programmable logic device, determine the presence signal of each high-density connector, and save the presence signal to the first complex programmable logic device. Programming logic devices;
响应于检测到目标高密度连接器的节点回传信号时,提取预存于所述第一复杂可编程逻辑器件中所述节点回传信号对应的所述高密度连接器的在位信号;In response to detecting the node return signal of the target high-density connector, extract the in-position signal of the high-density connector corresponding to the node return signal pre-stored in the first complex programmable logic device;
将所述高密度连接器的在位信号发送至所述第二复杂可编程逻辑器件。The presence signal of the high density connector is sent to the second complex programmable logic device.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:
获取历史数据库中所述第三标准值对应的映射集合,提取所述映射集合中的第一目标在位信号;Obtain the mapping set corresponding to the third standard value in the historical database, and extract the first target presence signal in the mapping set;
响应于检测到所述第一目标在位信号与所述在位信号比对成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接正确;In response to detecting that the comparison between the first target presence signal and the presence signal is successful, determining that the cable connection between the high-speed signal connector and the high-density connector is correct;
响应于检测到所述第一目标在位信号与所述在位信号比对不成功时,确定所述高速信号连接器与所述高密度连接器之间的线缆连接不正确。In response to detecting that the comparison between the first target presence signal and the presence signal is unsuccessful, it is determined that the cable connection between the high-speed signal connector and the high-density connector is incorrect.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program, when executed by the processor, also implements the following steps:
获取所述第一标识位和第二标识位的信号值对应的第三标准值,以及所述高密度连接器的在位信号;Obtain the third standard value corresponding to the signal value of the first identification bit and the second identification bit, and the in-position signal of the high-density connector;
确定所述第三标准值与第二目标在位信号之间的映射关系,生成对应的映射集合;Determine the mapping relationship between the third standard value and the second target presence signal, and generate a corresponding mapping set;
基于所述第三标准值对目标映射集合进行标号,并保存至数据库,形成所述历史数据库。The target mapping set is labeled based on the third standard value and saved in a database to form the historical database.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage. In the media, when executed, the computer program may include the processes of the above method embodiments. Any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined in any way. To simplify the description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, all possible combinations should be used. It is considered to be within the scope of this manual.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。The above-described embodiments only express several implementation modes of the present application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all fall within the protection scope of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310615411.0A CN116820193A (en) | 2023-05-29 | 2023-05-29 | Cable connection correctness identification systems, methods, devices, equipment and storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310615411.0A CN116820193A (en) | 2023-05-29 | 2023-05-29 | Cable connection correctness identification systems, methods, devices, equipment and storage media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116820193A true CN116820193A (en) | 2023-09-29 |
Family
ID=88123180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310615411.0A Pending CN116820193A (en) | 2023-05-29 | 2023-05-29 | Cable connection correctness identification systems, methods, devices, equipment and storage media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116820193A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117667818A (en) * | 2024-01-31 | 2024-03-08 | 苏州元脑智能科技有限公司 | Signal transmission structure, server and signal transmission method |
CN119253372A (en) * | 2024-12-05 | 2025-01-03 | 常州凌天达新能源科技有限公司 | A connector welding auxiliary jig |
-
2023
- 2023-05-29 CN CN202310615411.0A patent/CN116820193A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117667818A (en) * | 2024-01-31 | 2024-03-08 | 苏州元脑智能科技有限公司 | Signal transmission structure, server and signal transmission method |
CN117667818B (en) * | 2024-01-31 | 2024-05-14 | 苏州元脑智能科技有限公司 | Signal transmission structure, server and signal transmission method |
CN119253372A (en) * | 2024-12-05 | 2025-01-03 | 常州凌天达新能源科技有限公司 | A connector welding auxiliary jig |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116820193A (en) | Cable connection correctness identification systems, methods, devices, equipment and storage media | |
CN109917978B (en) | BiM model-based annotation corresponding component display method and device and storage device | |
CN110471838A (en) | Method of calibration, device, computer equipment and the storage medium of test case | |
CN110147354B (en) | Batch data editing method, device, computer equipment and storage medium | |
CN115098139A (en) | Firmware updating method and system, lower computer and storage medium | |
US7293204B2 (en) | Computer peripheral connecting interface system configuration debugging method and system | |
CN111694684A (en) | Abnormal construction method and device of storage equipment, electronic equipment and storage medium | |
CN111949510A (en) | Test processing method, apparatus, electronic device, and readable storage medium | |
CN114253642B (en) | System information processing method, device, electronic equipment and medium | |
CN116610336A (en) | A firmware upgrade method, system, device and readable storage medium | |
CN113011125B (en) | Printed circuit board checking method, device, equipment and computer storage medium | |
CN116414762A (en) | PCIe link control method, control device, equipment and medium | |
CN113284141A (en) | Model determination method, device and equipment for defect detection | |
CN114117446A (en) | BIOS (basic input output System) image file refreshing and checking method, device, terminal and storage medium | |
US20070169117A1 (en) | Firmware loading device | |
CN110825572A (en) | Method, device and system for detecting I2C equipment address and electronic equipment | |
CN113722208B (en) | Project progress verification method and device for software test report | |
CN105786658A (en) | Computer system and method capable of detecting internal state of computer | |
CN113064771B (en) | A method, system, terminal and storage medium for I2C link inspection | |
CN114706715B (en) | Control method, device, equipment and medium for distributed RAID based on BMC | |
CN105354158A (en) | Memory card based data burning method and apparatus | |
CN115392175B (en) | Circuit design error processing method, device and medium | |
CN112949262B (en) | Method, device, computer equipment and storage medium for processing review sheets | |
CN115640236B (en) | A script quality detection method and computing device | |
CN110187658B (en) | Chip processing method and device, chip and elevator outbound board |
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 |