Cascade control method of CAN communication network scanner system

Connecting the scanner with the electronic patch panel through CAN communication technology solves the problems of connection quantity, communication distance and scanning speed of the network scanner system, realizes efficient and low-cost wiring management, and improves the flexibility and scalability of the system.

CN120729665APending Publication Date: 2025-09-30SHANGHAI TIANCHENG COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510901697.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-01
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

Existing network scanner systems have limited connection numbers, short communication distances, slow scanning speeds, and high costs, and cannot meet the needs of modern wiring management.

Method used

Using CAN communication technology, the scanner is connected to multiple electronic patch panels through CAN lines, the connection order is determined and a comprehensive scan is performed, multi-node parallel communication and group scanning are supported, a 4-core network cable is used to replace the traditional 14-core flat cable, and the terminal resistance selection switch optimizes the connection.

Benefits of technology

The flexibility and scalability of the system have been significantly improved, the communication distance has been increased to 100 meters, the scanning speed has been shortened to 100ms, the wiring complexity and cost have been reduced, and the operational convenience and system scalability have been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120729665A_ABST
    Figure CN120729665A_ABST
Patent Text Reader

Abstract

The invention provides a cascade control method of a CAN communication network scanner system, and relates to the field of network communication control. Comprising the following steps of: connecting the scanner with a plurality of electronic distribution frames through a CAN (Controller Area Network) line; determining the last electronic distribution frame in the plurality of electronic distribution frames and connecting the last electronic distribution frame with a terminal resistance selection switch; the scanner is powered on and initialized; determining the connection sequence of the plurality of electronic distribution frames and the scanner according to the dial plates on the plurality of electronic distribution frames; based on the electronic distribution frame with the determined sequence and the last electronic distribution frame, CAN line comprehensive scanning is carried out, and scanning information is obtained; and controlling the port devices at the plurality of electronic distribution frames according to the scanning information. According to the invention, the problems of low speed, limited communication distance, high cost and limited connection number of a network scanner system in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication network control, in particular to a cascade control method for a network scanner system with CAN communication. Background Art

[0002] Digital transformation is driving data-intensive applications such as the Internet of Things (IoT), big data, and artificial intelligence. Consequently, as data center applications continue to expand, users of intelligent cabling management technologies are seeking more efficient remote intelligent management of these devices. The latest development in this area is the intelligent cabling system for electronic patch panels (EPFs), which records the connections and assignments of each network port. With the emergence of EPF technology and its gradual adoption, intelligent cabling management systems for EPFs are expected to be widely adopted and implemented as intelligent buildings emerge. Traditional cabling system management relies solely on manual record updates, making it difficult to immediately reflect changes to equipment and connections in management documents, leading to numerous errors. Furthermore, with increasingly severe cybersecurity issues, traditional cabling management systems are no longer able to meet the requirements of modern cabling construction. The intelligent cabling management system for EPFs was born in this context.

[0003] An intelligent electronic patch panel cabling system combines traditional cabling systems with intelligent management. Through the intelligent electronic patch panel cabling system, network connection architecture and changes are automatically transmitted to system management software. The management system processes this real-time information, allowing users to query the management system and stay updated on the latest cabling system layout. By digitizing all management elements, intuitive, real-time, and efficient paperless management is achieved.

[0004] The connection control method of the existing network scanner system has the following problems:

[0005] Limited number of connections: The old scanner connection method uses up to 24 flat cables, which greatly limits the maximum number of fully loaded ports to only 576, which cannot meet the growing connection needs.

[0006] Limited communication distance: The use of TTL communication links results in a maximum length of only 20 meters for a single communication line, which limits the installation distance between the scanner and the electronic distribution frame and reduces the flexibility of the system.

[0007] Slow scanning speed: The old system lacks effective parallel processing capabilities, resulting in long scanning cycles. It is not adapted to the market demand for rapid response and cannot meet the requirements for real-time monitoring of port status.

[0008] High cost and complex wiring: The 14-core flat cable connection method not only increases the complexity of wiring, but also takes up a lot of space. In actual applications, customized cable lengths are required, which increases the cost and time of project implementation. Summary of the Invention

[0009] In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a cascade control method for a network scanner system with CAN communication, which solves the problems of slow speed, limited communication distance, high cost and limited number of connections in the network scanner system in the prior art.

[0010] To achieve the above object, the present invention provides the following solutions:

[0011] A cascade control method for a CAN communication network scanner system, comprising:

[0012] Connecting the scanner to several electronic distribution frames via CAN lines;

[0013] Determine the last electronic distribution frame among the plurality of electronic distribution frames and connect it to the terminal resistance selection switch;

[0014] Powering on and initializing the scanner;

[0015] Determining a connection sequence between the plurality of electronic distribution frames and the scanner according to the dials on the plurality of electronic distribution frames;

[0016] Perform a comprehensive scan of the CAN lines based on the electronic distribution frames in a determined order and the last electronic distribution frame to obtain scan information;

[0017] Control the port devices on several electronic distribution frames based on the scan information.

[0018] Preferably, the communication baud rate of the CAN line is 1 MHz.

[0019] Preferably, the maximum number of the plurality of electronic distribution frames is 32.

[0020] Preferably, the CAN line is a 4-core network cable.

[0021] Preferably, the maximum number of fully loaded ports of the scanner is 768.

[0022] Preferably, the longest single communication line corresponding to the CAN line is 100 meters.

[0023] Preferably, the scanning mode of the CAN line full scan is divided into:

[0024] Single scan and dual scan.

[0025] Preferably, the single scan includes:

[0026] Grouping the plurality of electronic distribution frames connected to the CAN lines to obtain four groups of electronic distribution frames;

[0027] Grouping the ports of each of the four groups of electronic distribution frames to obtain three corresponding groups of ports;

[0028] The four groups of electronic distribution frames and the groups of ports corresponding to the four groups of electronic distribution frames are scanned to obtain single distribution scanning results.

[0029] Preferably, the dual-matching scan includes:

[0030] Determine the starting and ending ports of the dual-configuration scan;

[0031] Perform dual-port matching on the determined start port and end port and set a scanning cycle to perform scanning to obtain a dual-matching scanning result.

[0032] The present invention discloses the following technical effects:

[0033] The present invention provides a cascade control method for a network scanner system with CAN communication, comprising: connecting the scanner and several electronic distribution frames via a CAN line; determining the last electronic distribution frame among the several electronic distribution frames and connecting it to a terminal resistance selection switch; powering on and initializing the scanner; determining the connection order of the several electronic distribution frames and the scanner according to the various dials on the several electronic distribution frames; performing a comprehensive CAN line scan based on the electronic distribution frames with a determined order and the last electronic distribution frame to obtain scanning information; and controlling the port devices on the several electronic distribution frames according to the scanning information. By adopting CAN communication technology, the present invention achieves significant improvements in multiple key aspects of the scanner system. First, the connectivity of up to 768 ports is greatly improved. Compared with the traditional 24 flat wire connection method, a single 4-core network cable can be connected in series with up to 32 electronic distribution frames, which greatly improves the flexibility and scalability of the system. Secondly, the communication reliability is significantly enhanced. Replacing the existing TTL communication link with CAN communication extends the maximum length of a single communication line from 20 meters to 100 meters. The parity bit mechanism also improves communication quality and interference resistance. In terms of scanning speed, the system uses multi-node parallel communication and group scanning to shorten the port scanning cycle to just 100ms, significantly improving efficiency. Cost reduction also offers advantages. The new design supports multiple electronic patch panels with a single cable, reducing wiring complexity. The use of 4-pin connectors is more cost-effective and space-efficient than 14-pin connectors. Finally, the multi-node parallel nature of CAN communication enables flexible system expansion, and the reconfigurable terminal resistors facilitate the addition or removal of electronic patch panels and other compatible devices. Furthermore, field technicians can independently complete wiring using simple network cable construction methods, enhancing operational convenience and flexibility, further improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 A flow chart of a cascade control method for a CAN communication network scanner system provided by an embodiment of the present invention;

[0036] Figure 2 A detailed flowchart of a cascade control method for a CAN communication network scanner system provided by an embodiment of the present invention;

[0037] Figure 3 A schematic diagram of CAN line cascade provided in an embodiment of the present invention;

[0038] Figure 4 This is a schematic diagram of setting terminal resistance provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0041] like Figure 1 As shown, the present invention provides a cascade control method for a network scanner system of CAN communication, comprising:

[0042] Step 100: Connecting the scanner to several electronic distribution frames via CAN lines;

[0043] Step 200: Determine the last electronic distribution frame among the plurality of electronic distribution frames and connect it to a terminal resistance selection switch;

[0044] Step 300: Power on and initialize the scanner;

[0045] Step 400: determining a connection sequence between the plurality of electronic distribution frames and the scanner according to the dials on the plurality of electronic distribution frames;

[0046] Step 500: Perform a full scan of the CAN lines based on the electronic distribution frames in the determined order and the last electronic distribution frame to obtain scan information;

[0047] Step 600: Controlling port devices on a plurality of electronic distribution frames according to the scanning information.

[0048] Specifically, such as Figure 2 As shown in the figure, after the scanner is powered on, the system is first initialized, and then determines whether the communication starts to receive data from the electronic distribution frame on the CAN line. The command mode is divided into single-matching scanning and dual-matching scanning according to the different hardware connections.

[0049] The scanner software system will be connected to the electronic patch panel via CAN communication.

[0050] Set the terminal resistance: Figure 4 As shown, when the electronic distribution frame is connected to the scanner, the electronic distribution frame at the terminal end is determined, and the 120-ohm terminal resistor of the electronic distribution frame is connected to the electronic distribution frame through the "terminal resistor selection switch".

[0051] Determine the connection sequence of the electronic patch panels: When connecting the CAN lines to each electronic patch panel, the sequence number of the dial on the electronic patch panel should be determined at the same time. If the electronic patch panel with a determined sequence number needs to be shifted, the dial needs to be reset.

[0052] Scanning electronic patch panel: Figure 3 As shown, after the connection is completed, the scanner software will fully scan the entire CAN line, quickly determining the order of connecting the EDFs and the final EDF. CAN communication uses a 1MHz baud rate for multi-node communication control. The CAN communication TX transmits information about each EDF and collects real-time feedback from each EDF through the CAN communication RX.

[0053] Furthermore, the communication baud rate of the CAN line is 1 MHz.

[0054] Furthermore, the maximum number of the plurality of electronic distribution frames is 32.

[0055] Furthermore, the CAN cable is a 4-core network cable.

[0056] Furthermore, the maximum number of fully loaded ports of the scanner is 768.

[0057] Furthermore, the maximum length of a single communication line corresponding to the CAN line is 100 meters.

[0058] Furthermore, the scanning mode of the CAN line full scan is divided into:

[0059] Single scan and dual scan.

[0060] Furthermore, the single scan includes:

[0061] Grouping the plurality of electronic distribution frames connected to the CAN lines to obtain four groups of electronic distribution frames;

[0062] Grouping the ports of each of the four groups of electronic distribution frames to obtain three corresponding groups of ports;

[0063] The four groups of electronic distribution frames and the groups of ports corresponding to the four groups of electronic distribution frames are scanned to obtain single distribution scanning results.

[0064] Specifically, the scanner software system will roughly divide all the CAN ports it is connected to (that is, all the lower-level electronic distribution frames) into four groups: SA, SB, SC, and SD (each group contains a maximum of 8 electronic distribution frames), and divide the 24 ports 1-8 on the corresponding electronic distribution frames into the PA group, ports 9-16 into the PB group, and ports 17-24 into the PC group.

[0065] 1) Scan the first group of ports

[0066] The control system scans the corresponding port status of SA1-PA, SB1-PA, SC1-PA, and SD1-PA simultaneously. If a port is not plugged into a jumper, no scan data will be sent to the CAN port.

[0067] 2) Scan the second set of ports

[0068] The control system simultaneously scans the corresponding port status of SA1-PB, SB1-PB, SC1-PB, and SD-PB connected to the electronic wire distribution frame. If a port is not inserted with a jumper, no scanning data will be sent to the CAN port.

[0069] 3) Scan the third group of ports

[0070] The control system simultaneously scans the corresponding port status of SA1-PC, SB1-PC, SC1-PC, and SD-PC connected to the electronic wire distribution frame. If a port is not inserted with a jumper, no scanning data will be sent to the CAN port.

[0071] 4) Port data package upload

[0072] The scanned port status is combined into a word, where the 48th bit indicates whether the electronic patch panel is connected, 1 indicates that the electronic patch panel is connected, and 0 indicates that the electronic patch panel is not connected; bits 1 to 8 indicate the port status of the PA, bits 9 to 16 indicate the port status of the PB, and bits 17 to 24 indicate the port status of the PC, where 1 indicates that the port is connected to a jumper, and 0 indicates that the port is not connected to a jumper;

[0073] 5) Repeat the scan to complete the 4*8 matrix scan

[0074] Repeat steps 1-4 above to scan the port status under SA2, SB2, SC2, SD2, etc. until the port status under SA8, SB8, SC8, and SD8 is scanned.

[0075] Single configuration scan completed.

[0076] Furthermore, the dual-matching scan includes:

[0077] Determine the starting and ending ports of the dual-configuration scan;

[0078] Perform dual-port matching on the determined start port and end port and set a scanning cycle to perform scanning to obtain a dual-matching scanning result.

[0079] Specifically, 1) determine the starting port for dual-configuration scanning:

[0080] The scanner software control system determines whether CAN port No. 1 is connected to the electronic distribution frame. If the CAN port is connected, it determines whether port No. 1 on the electronic distribution frame is connected to a jumper. If the port is connected, the port is set as the starting port of the dual distribution, and the dual distribution scanning end port determination program is entered.

[0081] If port 1 is not connected, the port number is increased by 1, and ports 2-24 are checked in sequence.

[0082] If CAN port 1 is not connected, the CAN port number is increased by 1, and CAN ports 2-32 are judged in sequence until the 24th port of CAN port 32 is scanned, and then the idle delay program is entered.

[0083] 2) Determine the end port for dual scanning:

[0084] The control system determines the end port group of the dual matching scanned under the starting port of the dual matching scan (ports 1-8 are the low port group PA, ports 9-16 are the medium port group PB, and ports 17-24 are the high port group PC). The control system then determines whether the CAN port next to the CAN port where the dual matching starting port is located is connected to the electronic patch panel. If the CAN port is connected to the electronic patch panel, it then determines whether the port group under the electronic patch panel is connected to a jumper. If the port is connected to a jumper, the dual matching step is entered.

[0085] If the PA\PB\PC port group is not connected, add 1 to the CAN port number and repeat the previous steps to determine the port connection jumper.

[0086] If the CAN port is not connected to the electronic patch panel, add 1 to the CAN port number and repeat the previous steps of determining the port connection jumper until the PC port group of CAN port No. 32 is scanned. End this step and jump to the step of re-determining the starting port of the dual-patterning scan.

[0087] 3) Dual port matching:

[0088] The control system performs a dual matching scan on the starting port and the end port group to determine whether the starting port and the end port are connected through an external dual matching jumper. If they are connected, they are matched.

[0089] If there is a match, the system re-enters the initial port scan step of the dual configuration scan.

[0090] If there is no match, the system re-enters the dual-port scanning step.

[0091] 4) Dual scan cycle:

[0092] The dual-pair scan cycle is set after each single-pair scan and after any port status change. To prevent the dual-pair connection line from being cut off from the jumper after all wiring is completed, all dual-pair ports need to be re-scanned and matched at a time interval (customizable).

[0093] Furthermore, due to the large number of ports, each port's indicator light needs to be illuminated at a specific frequency through group control. This makes it easier to control the total energy consumption of the indicators and achieve the goal of illuminating all 768 port indicators simultaneously while using a low power source. The indicator light frequency control method is similar to the port scanning method described above, also by grouping the indicators into a 4x8 matrix and lighting them up.

[0094] Since the entire system has high requirements for port scanning time and hopes to complete the scanning of all ports in a shorter time, the total scanning time cycle of each 8 groups of port status is required to be controlled within 10ms, and the scanning process time of all ports is controlled within 100ms.

[0095] After all scans are complete, the system will enter an idle delay sequence to complete a periodic scan of the port status. After the idle delay sequence expires, the system will repeat the above steps. The delay time for this idle delay sequence can also be customized.

[0096] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0097] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only intended to help understand the method and core concept of the present invention. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concept of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims

1. A cascade control method for a CAN communication network scanner system, characterized in that: include: Connecting the scanner to several electronic distribution frames via CAN lines; Determine the last electronic distribution frame among the plurality of electronic distribution frames and connect it to the terminal resistance selection switch; Powering on and initializing the scanner; Determining a connection sequence between the plurality of electronic distribution frames and the scanner according to the dials on the plurality of electronic distribution frames; Perform a comprehensive scan of the CAN lines based on the electronic distribution frames in a determined order and the last electronic distribution frame to obtain scan information; Control the port devices on several electronic distribution frames based on the scan information.

2. The cascade control method of a CAN communication network scanner system according to claim 1, characterized in that: The communication baud rate of the CAN line is 1 MHz.

3. The cascade control method of a CAN communication network scanner system according to claim 1, characterized in that: The maximum number of the electronic distribution frames is 32.

4. The cascade control method of a CAN communication network scanner system according to claim 1, characterized in that: The CAN line is a 4-core network cable.

5. The cascade control method of a CAN communication network scanner system according to claim 1, characterized in that: The maximum fully loaded port count for the scanner is 768.

6. The cascade control method of a CAN communication network scanner system according to claim 1, characterized in that: The maximum length of a single communication line corresponding to the CAN line is 100 meters.

7. The cascade control method of a CAN communication network scanner system according to claim 1, characterized in that: The scanning methods of the CAN line full scan are divided into: Single scan and dual scan.

8. The cascade control method of a CAN communication network scanner system according to claim 7, characterized in that: The single-match scan includes: Grouping the plurality of electronic distribution frames connected to the CAN lines to obtain four groups of electronic distribution frames; Grouping the ports of each of the four groups of electronic distribution frames to obtain three corresponding groups of ports; The four groups of electronic distribution frames and the groups of ports corresponding to the four groups of electronic distribution frames are scanned to obtain single distribution scanning results.

9. The cascade control method of a CAN communication network scanner system according to claim 7, characterized in that: The dual-matching scan includes: Determine the starting and ending ports of the dual-match scan; Perform dual-port matching on the determined start port and end port and set a scanning cycle to perform scanning to obtain a dual-matching scanning result.