Data communication control method and device and communication equipment

By using the master control plug-in and virtual port configuration file in the plug-in control device, flexible communication between functional plug-ins is realized, which solves the problem of inflexible traditional communication, reduces the number of communication links and the need to modify PCB circuits, and improves communication flexibility.

CN118733508APending Publication Date: 2024-10-01CRRC ZHUZHOU ELECTRIC LOCOMOTIVE RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310345592.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The communication of traditional plug-in control devices is inflexible. If a new communication link is to be established, a new PCB backplane circuit must be remade, resulting in inconvenient communication configuration.

Method used

Multiple functional plug-ins and a master control plug-in that loads communication configuration files are used to connect each functional plug-in through an LVDS communication link. The functional plug-in configures virtual ports for the data to be transmitted, and the master control plug-in splits and reorganizes the data according to the communication configuration file. , sent to the destination function plug-in to achieve flexible communication configuration.

Benefits of technology

It realizes data interaction between any functional plug-ins, reduces the number of communication links, saves communication link resources, and eliminates the need to modify the backplane PCB circuit, improving communication flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733508A_ABST
    Figure CN118733508A_ABST
Patent Text Reader

Abstract

The invention provides a data communication control method and device and communication equipment, the device comprises a plurality of functional plug-ins and a general control plug-in loaded with a communication configuration file, and the general control plug-in is connected with each functional plug-in through an LVDS communication link; any function plug-in performs virtual port configuration on to-be-transmitted data, and then transmits the to-be-transmitted data to the general control plug-in; and the master control plug-in splits and recombines the to-be-transmitted data according to the communication configuration file, and sends the to-be-transmitted data to a target function plug-in. By means of the mode, flexible communication configuration can be carried out, and data interaction between any functional plug-ins is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of communication equipment, and in particular relates to a data communication control method, device and communication equipment. Background Art

[0002] The traditional plug-in control device is a component plug-in structure. The control device is a rectangular structure. Each functional plug-in can only be plugged in and out from the front. The data interaction between the functional plug-ins is realized through the printed circuit board (PCB) backplane installed on the back of the chassis.

[0003] Each functional plug-in communicates through a high-speed dedicated end-to-end low-voltage differential signal (LVDS) interface, and each receiving and sending requires a set of communication links. The communication link is printed on the chassis backplane PCB circuit. Its communication structure is as follows Figure 2 As shown in the figure, the communication links between the functional plug-ins are all printed on the PCB backplane. If a new communication link is to be established, a new PCB backplane must be remade, and the communication is not flexible. Summary of the invention

[0004] The present invention provides a data communication control method, device and communication equipment, which solve the problem that the existing data communication control device has inflexible communication and a new PCB backplane circuit must be remade if a new communication link is to be established.

[0005] Based on the above purpose, the present invention proposes a data communication control method, including: multiple functional plug-ins and a master control plug-in loaded with a communication configuration file, the master control plug-in is connected to each of the functional plug-ins via an LVDS communication link; any of the functional plug-ins performs a virtual port configuration on the data to be transmitted, and then transmits it to the master control plug-in; the master control plug-in splits and reassembles the data to be transmitted according to the communication configuration file, and sends it to the destination functional plug-in.

[0006] Optionally, the functional plug-in includes: an FPGA chip and multiple virtual ports connected to the master control plug-in via the LVDS communication link, the FPGA chip splits the data to be transmitted, and configures at least one virtual port for each part of the split data, and then transmits it to the master control plug-in.

[0007] Optionally, each of the functional plug-ins includes a same preset number of virtual ports.

[0008] Optionally, the number of virtual ports included in each of the functional plug-ins is different.

[0009] Optionally, the communication configuration file includes: a matching relationship between any virtual port of any functional plug-in and each virtual port of each other functional plug-in.

[0010] Optionally, the master control plug-in splits the data to be transmitted according to the configured virtual ports, and transmits the split data to be transmitted to each virtual port of the corresponding matching destination function plug-in according to the communication configuration file.

[0011] Optionally, the LVDS communication link is implemented using a backplane PCB circuit or optical fiber.

[0012] Based on the same inventive concept, the present invention also proposes a data communication control method, comprising: any functional plug-in configures a virtual port for the data to be transmitted, and then transmits it to the master control plug-in; the master control plug-in splits the data to be transmitted according to the configured virtual port; the master control plug-in reassembles the split data to be transmitted according to a preset communication configuration file, and sends it to the destination functional plug-in.

[0013] Optionally, the master control plug-in reorganizes the split data to be transmitted according to a preset communication configuration file, and sends it to the destination function plug-in, including: the master control plug-in determines the destination function plug-in and the corresponding virtual port of each part of the split data according to the preset communication configuration file; the master control plug-in transmits the split data to the corresponding virtual port of the destination function plug-in.

[0014] Based on the same inventive concept, the present invention further proposes a communication device, which includes a plug-in box and the aforementioned data communication control device arranged in the plug-in box.

[0015] From the above description, it can be seen that the beneficial effects of the technical solution provided by the present invention are: a data communication control method, device and communication equipment provided by the present invention, the device includes: multiple functional plug-ins and a master control plug-in loaded with a communication configuration file, the master control plug-in is connected to each of the functional plug-ins through a communication link; any of the functional plug-ins performs a virtual port configuration on the data to be transmitted, and then transmits it to the master control plug-in; the master control plug-in splits and reorganizes the data to be transmitted according to the communication configuration file, and sends it to the destination functional plug-in, which can perform flexible communication configuration and realize data interaction between any functional plug-ins. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1 It is a structural schematic diagram of a data communication control device in the prior art;

[0018] Figure 2 A schematic diagram of the structure of a data communication control device according to an embodiment of the present invention;

[0019] Figure 3 The figure is a flow chart of a data communication control method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0021] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present invention should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present invention do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0022] The embodiment of the present invention discloses a data communication control device, such as Figure 1 As shown, the data communication control device includes: multiple functional plug-ins and a master control plug-in loaded with a communication configuration file, the master control plug-in is connected to each of the functional plug-ins through an LVDS communication link; any of the functional plug-ins performs a virtual port configuration on the data to be transmitted, and then transmits it to the master control plug-in; the master control plug-in splits and reassembles the data to be transmitted according to the communication configuration file, and sends it to the destination functional plug-in. The configuration of the virtual communication link is realized by setting the virtual port in the functional plug-in and the communication configuration file, which can perform flexible communication configuration and realize data interaction between any functional plug-ins.

[0023] In an embodiment of the present invention, the master control plug-in contains an FPGA chip and has an LVDS communication function. The LVDS communication link is a real LVDS physical link, which can be implemented by a backplane PCB circuit or an optical fiber. That is, the backplane PCB circuit can be designed so that the master control plug-in can communicate with the other functional plug-ins using an LVDS communication link. The master control plug-in and each functional plug-in have an actual LVDS physical link, and the data of the virtual port are all sent and received from this LVDS physical link. In this way, the PCB backplane and the plug-in can be used universally, which greatly increases the flexibility of communication. Each functional plug-in establishes an LVDS communication connection with the master control plug-in, and by configuring the interactive relationship of the virtual port on each functional plug-in on the master control plug-in, flexible communication between any functional plug-ins inside the plug-in type data communication control device can be realized, and it is no longer necessary to make a backplane PCB circuit. In other embodiments of the present invention, the backplane PCB circuit can also be replaced by optical fiber, that is, the physical medium for the LVDS communication between the master control plug-in and the functional plug-in is replaced by optical fiber, but the configuration method remains unchanged, and flexible communication between each plug-in can also be realized.

[0024] The functional plug-in includes: an FPGA chip and a plurality of virtual ports connected to the master control plug-in through the LVDS communication link, wherein the FPGA chip splits the data to be transmitted, and configures at least one virtual port for each of the split data, and then transmits it to the master control plug-in. The configuration of a virtual port for any of the split data indicates that the data is transmitted from the virtual port to the master control plug-in. The path of data transmission from a virtual port to the master control plug-in represents a virtual communication link. Each virtual port of the functional plug-in corresponds to a virtual communication link, and all virtual communication links corresponding to the functional plug-in are essentially realized by connecting the FPGA chip to the real LVDS communication link of the master control plug-in. In the multiple functional plug-ins of the embodiment of the present invention, each functional plug-in includes the same number of preset number of virtual ports, wherein the preset number can be set as needed and is not limited here. For example, the preset number is 4, and each functional plug-in has 4 virtual ports. Of course, in other embodiments of the present invention, the number of virtual ports included in each of the functional plug-ins may also be different, that is, the number of virtual ports in different functional plug-ins may be the same or different. The number of virtual ports in a function plug-in depends on the number of objects to be sent and received with the function plug-in. For example, if there are 3 other function plug-ins that send and receive data with the current function plug-in, then the current function plug-in has at least 3 virtual ports, and different virtual ports of the current function plug-in correspond to different function plug-ins, forming different virtual communication links. Correspondingly, if there are 5 other function plug-ins that send and receive data with the current function plug-in, then the current function plug-in has at least 5 virtual ports, and different virtual ports of the current function plug-in correspond to different function plug-ins, forming different virtual communication links.

[0025] The communication configuration file includes: the matching relationship between any of the virtual ports of any of the functional plug-ins and the virtual ports of the other functional plug-ins. That is, the communication configuration file contains the plug-in name and port of the receiving and sending object of each virtual port of the functional plug-in, and the communication configuration file is loaded into the master control plug-in each time the data communication control device is started. The master control plug-in splits the data to be transmitted according to the configured virtual ports, and transmits the split data to be transmitted to each of the virtual ports of the corresponding matching destination functional plug-ins according to the communication configuration file. The maximum amount of communication data that a single functional plug-in can send in a single cycle is evenly divided into 4 segments, and each segment of data is regarded as 1 virtual data port of the functional plug-in, then each functional plug-in has 4 virtual ports. For example, the 2-port data of functional plug-in 1 communicates with the 2-port of functional plug-in 2, and the 3-port data of functional plug-in 2 communicates with the 2-port of functional plug-in 3. The communication of the virtual port data of the remaining functional plug-ins is also realized according to the communication configuration file. Figure 1The communication configuration file corresponding to the data communication control device in is shown in Table 1 below, where NC represents reserved, and L1, L2, and L3 represent the 1st, 2nd, and 3rd virtual ports of the corresponding function plug-in, respectively.

[0026] Table 1 Communication configuration file virtual port configuration table

[0027] Plugin Name LVDS1 LVDS2 LVDS3 LVDS4 Function plugin 1 Function plugin N_L2 Function plugin 2_L2 NC NC Function plugin 2 NC Function plugin 1_L2 Function plugin 3_L2 NC Function plugin 3 NC Function plugin 2_L3 Function plugin N_L1 NC …… …… …… …… …… Function plugin N Function plugin 3_L3 Function plugin 1_L1 NC NC

[0028] In the embodiment of the present invention, continue to refer to Figure 2 The master control plug-in plays the role of a communication bridge. After receiving the data from each functional plug-in, the master control plug-in first splits the data of each functional plug-in into 4 segments, and splits and redistributes them according to the virtual port according to the communication configuration file, recombines the 4 segments of data required by each functional plug-in and sends them to the corresponding functional plug-in, thereby realizing data communication between each functional plug-in. Figure 2 For example, the communication configuration file includes a match between the second virtual port in function plug-in 1 and the second virtual port in function plug-in 2. After receiving the data transmitted by function plug-in 1, the master control plug-in splits it and determines that the second virtual port in function plug-in 2 is the destination port of the destination function plug-in according to the communication configuration file. Therefore, part of the data configured with virtual port 2 is transmitted to the second virtual port in function plug-in 2, completing the data transmission from function plug-in 1 to function plug-in 2.

[0029] The data communication control device of the embodiment of the present invention divides the communication data of a single LVDS communication link into four segments, that is, each data segment is regarded as a virtual port of the functional plug-in, so that each functional plug-in can be regarded as a plug-in with 4 virtual ports. The data of each functional plug-in is sent to the master control plug-in, and the master control plug-in automatically associates the virtual port of each functional plug-in with the virtual port of the functional plug-in to be sent according to the communication configuration file, thus realizing flexible communication between the functional plug-ins. If there are N functional plug-ins in the data communication control device, the existing technology needs to establish a data exchange between any plug-ins. LVDS communication links are required, while the embodiment of the present invention only needs N-1 LVDS communication links to realize data interaction between any functional plug-ins, thus saving LVDS communication links. In addition, in the prior art, if a new LVDS communication link is to be established, it is necessary to increase the port of the functional plug-in and add an LVDS communication link on the backplane PCB circuit. However, the embodiment of the present invention can flexibly realize communication between any functional plug-ins by configuring the communication connection relationship of the virtual ports of each functional plug-in in the master control plug-in, without having to consider adding communication links or modifying the backplane PCB circuit, and the communication configuration is flexible.

[0030] In summary, the data communication control device of the embodiment of the present invention includes: multiple functional plug-ins and a master control plug-in loaded with a communication configuration file, the master control plug-in is connected to each of the functional plug-ins via an LVDS communication link; any of the functional plug-ins performs a virtual port configuration on the data to be transmitted, and then transmits it to the master control plug-in; the master control plug-in splits and reassembles the data to be transmitted according to the communication configuration file, and sends it to the destination functional plug-in, which can perform flexible communication configuration and realize data interaction between any functional plug-ins.

[0031] For the convenience of description, the above device is described in terms of functions and is divided into various units and described separately. Of course, when implementing the embodiment of the present invention, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0032] The embodiment of the present invention further discloses a communication device, including a plug-in box and the aforementioned data communication control device arranged in the plug-in box.

[0033] The embodiment of the present invention also discloses a data communication control method, which is applied to the aforementioned data communication control device. Figure 3 As shown, the data communication control method includes:

[0034] Step S11: Any functional plug-in configures a virtual port for the data to be transmitted, and then transmits the data to the master control plug-in.

[0035] Optionally, when any function plug-in needs to transmit data to other destination function plug-ins, the FPGA chip in the function plug-in divides the data to be transmitted into multiple segments according to the destination function plug-in, each segment corresponds to a destination function plug-in, and configures the corresponding virtual port. Then, the data to be transmitted is transmitted to the master control plug-in.

[0036] Step S12: the master control plug-in splits the data to be transmitted according to the configured virtual ports.

[0037] In the embodiment of the present invention, after receiving the data to be transmitted, the master control plug-in splits the data to be transmitted into multiple segments according to the configured virtual ports.

[0038] Step S13: the master control plug-in reassembles the split data to be transmitted according to a preset communication configuration file, and sends it to the destination function plug-in.

[0039] The master control plug-in determines the destination function plug-in and the corresponding virtual port of each portion of the split data according to a preset communication configuration file; the master control plug-in transmits each portion of the split data to the corresponding virtual port of the destination function plug-in.

[0040] The data communication control method of the embodiment of the present invention configures a virtual port for the data to be transmitted through any functional plug-in, and then transmits it to the master control plug-in; the master control plug-in splits the data to be transmitted according to the configured virtual port; the master control plug-in reassembles the split data to be transmitted according to a preset communication configuration file, and sends it to the destination functional plug-in, which can perform flexible communication configuration and realize data interaction between any functional plug-ins.

[0041] The above specific embodiments of the present invention are described. In some cases, the actions or steps recorded in the embodiments of the present invention can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0042] The method of the above embodiment is applied to the corresponding device in the above embodiment, and has the beneficial effects of the corresponding device embodiment, which will not be described in detail here.

[0043] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0044] The embodiments of the present invention are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the scope of protection of this disclosure.

Claims

1. A data communication control device, Its characteristics are: The data communication control device includes: multiple functional plug-ins and a master control plug-in loaded with a communication configuration file, the master control plug-in is connected to each of the functional plug-ins via an LVDS communication link; any of the functional plug-ins performs a virtual port configuration on the data to be transmitted, and then transmits it to the master control plug-in; the master control plug-in splits and reassembles the data to be transmitted according to the communication configuration file, and sends it to the destination functional plug-in.

2. The data communication control device according to claim 1, Its characteristics are: The functional plug-in includes: an FPGA chip and multiple virtual ports connected to the master control plug-in via the LVDS communication link. The FPGA chip splits the data to be transmitted, configures at least one virtual port for each part of the split data, and then transmits it to the master control plug-in.

3. The data communication control device according to claim 1, Its characteristics are: Each of the functional plug-ins includes a same preset number of virtual ports.

4. The data communication control device according to claim 1, Its characteristics are: The number of virtual ports included in each of the functional plug-ins is different.

5. The data communication control device according to claim 1, Its characteristics are: The communication configuration file includes: a matching relationship between any of the virtual ports of any of the functional plug-ins and the virtual ports of the other functional plug-ins.

6. The data communication control device according to claim 5, Its characteristics are: The master control plug-in splits the data to be transmitted according to the configured virtual ports, and transmits the split data to be transmitted to each virtual port of the corresponding matching destination function plug-in according to the communication configuration file.

7. The data communication control device according to claim 1, Its characteristics are: The LVDS communication link is implemented using a backplane PCB circuit or optical fiber.

8. A data communication control method, Its characteristics are: The data communication control method comprises: Any functional plug-in performs virtual port configuration on the data to be transmitted, and then transmits it to the master control plug-in; The master control plug-in splits the data to be transmitted according to the configured virtual ports; The master control plug-in reassembles the split data to be transmitted according to a preset communication configuration file and sends it to the destination function plug-in.

9. The data communication control method according to claim 8, It is characterized in that The master control plug-in reorganizes the split data to be transmitted according to a preset communication configuration file and sends it to the destination function plug-in, including: The master control plug-in determines the destination function plug-in and the corresponding virtual port of each part of the split data according to the preset communication configuration file; The master control plug-in transmits the split data to the corresponding virtual port of the destination function plug-in.

10. A communication device, It is characterized in that The communication equipment includes a plug-in box and a data communication control device as claimed in any one of claims 1 to 7 arranged in the plug-in box.