CN104636299A - Method and system for matching communication interfaces - Google Patents

Method and system for matching communication interfaces Download PDF

Info

Publication number
CN104636299A
CN104636299A CN201510042113.2A CN201510042113A CN104636299A CN 104636299 A CN104636299 A CN 104636299A CN 201510042113 A CN201510042113 A CN 201510042113A CN 104636299 A CN104636299 A CN 104636299A
Authority
CN
China
Prior art keywords
information
communication interface
interface circuit
data message
address
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.)
Granted
Application number
CN201510042113.2A
Other languages
Chinese (zh)
Other versions
CN104636299B (en
Inventor
姜付杰
刘泰
卢京廷
田照耀
焦京海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Qingdao Sifang Co Ltd
Original Assignee
CSR Qingdao Sifang Locomotive and Rolling Stock Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CSR Qingdao Sifang Locomotive and Rolling Stock Co Ltd filed Critical CSR Qingdao Sifang Locomotive and Rolling Stock Co Ltd
Priority to CN201510042113.2A priority Critical patent/CN104636299B/en
Publication of CN104636299A publication Critical patent/CN104636299A/en
Application granted granted Critical
Publication of CN104636299B publication Critical patent/CN104636299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a method and system for matching communication interfaces. The system comprises a control board. The control board comprises a first communication interface circuit, a controller and a second communication interface circuit, wherein the first communication interface circuit is used for receiving data information, the controller is electrically connected with the first communication interface circuit and used for processing the data information to generate conversion data information and determining address interface information of a target device corresponding to the data information, and the second communication interface circuit is electrically connected with the controller and used for receiving the conversion data information and the address interface information and sending the conversion data information to the target device through the address interface information. By means of the method and system, the problem that a communication interface matching system in the prior art is low in data transmitting speed is solved.

Description

The matching process of communication interface and system
Technical field
The present invention relates to field of vehicle control, in particular to a kind of matching process and system of communication interface.
Background technology
At present, in city rail vehicle production run, interface many employings MVB (Multifunction Vehicle Bus of vehicle bus, referred to as MVB) bus, and the communication interface form that most subsystem producer (as car door etc.) provides is RS485, based on this, just there is interface mismatch problem in the communication interface that the communication interface of vehicle bus and subsystem producer provide.
Current solution is that each subsystem of requirement changes RS485 interface into MVB interface, but the program not only adds cost, and the MVB of numerous subsystem accesses vehicle bus simultaneously, reduces the reliability of car load network.
In the related, in order to solve the problem, need RS485 interface to be changed each subsystem into MVB interface, but the program not only adds cost, and the MVB of numerous subsystem accesses vehicle bus simultaneously, reduces the reliability of car load network; In addition, also have a kind of RS485-MVB gateway based on VXWORKS real time operating system, have employed processor structure MVB gateway, run embedded real-time operating system; RS485-MVB gateway is connected with the communication facilities with RS485 by RS485 bus, and by the conversion of communication protocol, by the MVB interface access MVB network of standard, but shortcoming is slower at the process medium velocity realizing data transmission.
For the problem that message transmission rate in the matching system of communication interface in prior art is slower, at present effective solution is not yet proposed.
Summary of the invention
Fundamental purpose of the present invention is the matching process and the system that provide a kind of communication interface, with the problem that message transmission rate in the matching system solving communication interface in prior art is slower.
To achieve these goals, according to an aspect of the embodiment of the present invention, a kind of matching system of communication interface is provided.Matching system according to communication interface of the present invention comprises: control panel, wherein, control panel comprises: the first communication interface circuit, for receiving data information, controller, be electrically connected with the first communication interface circuit, for processing data message, T.G Grammar data message, and determine the address interface information of the target device that data message is corresponding, second communication interface circuit, is electrically connected with controller, for receiving translation data information and address interface information, and send translation data information to target device by address interface information.
To achieve these goals, according to the another aspect of the embodiment of the present invention, provide a kind of matching process of communication interface.Matching process according to communication interface of the present invention comprises: receive the data message from the first communication interface circuit, data message is processed, T.G Grammar data message, and determine the address interface information of the target device that data message is corresponding, transmission translation data information and address interface information, to second communication interface circuit, make second communication interface circuit send translation data information to target device according to address interface message.
According to the embodiment of the present invention, by the matching system of communication interface, solve the problem that in the matching system of communication interface in prior art, message transmission rate is slower, reach the object of the speed improving data transmission in communication interface matching system.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of the matching system of communication interface according to the embodiment of the present invention;
Fig. 2 is the preferred structural representation of one of the matching system of communication interface according to the embodiment of the present invention;
Fig. 3 is the preferred structural representation of another kind of the matching system of communication interface according to the embodiment of the present invention;
Fig. 4 is the preferred structural representation of another kind of the matching system of communication interface according to the embodiment of the present invention; And
Fig. 5 is the schematic flow sheet of the matching process of communication interface according to the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that embodiments of the invention described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
Fig. 1 is the structural representation of the matching system of communication interface according to the embodiment of the present invention.For purposes of illustration, the architecture of painting is only an example of proper environment, not proposes any limitation to the usable range of the application or function.Should by the matching system of communication interface for not there is any dependence or demand to the arbitrary assembly shown in Fig. 1 or combination yet.
As shown in Figure 1, the matching system of this communication interface can comprise: control panel 100, and wherein this control panel 100 specifically comprises: the first communication interface circuit 11, controller 13 and second communication interface circuit 15.
Wherein, the first communication interface circuit 11, for receiving data information;
Above-mentioned first communication interface circuit 11, for receiving data information; Wherein, above-mentioned first communication interface circuit 11 can be RS485 communication interface circuit, or MVB communication interface circuit etc.
Controller 13, is electrically connected with the first communication interface circuit 11, for processing data message, and T.G Grammar data message, and the address interface information determining the target device that data message is corresponding;
In above-mentioned controller 13, after receiving the data message from the first communication interface circuit 11, this data message is processed, by process data message T.G Grammar data message, and determines the address interface information of the target device that this data message is corresponding; By the process to data message, the address interface information of translation data information and target device could be obtained, and then the first communication interface circuit 11 could be realized and second communication interface circuit 15 carries out data transmission by controller 13.
Second communication interface circuit 15, is electrically connected with controller 13, for receiving translation data information and address interface information, and sends translation data information to target device by address interface information.
In above-mentioned second communication interface circuit 15, after the process of above-mentioned controller 13 pairs of data messages, second communication interface circuit 15 receives the translation data information of self-controller 13 and the address interface information of target device, and translation data information is sent to target device by address interface information by second communication interface circuit 15; So from the data message of the first communication interface circuit 11 after the process through controller 13, by second communication interface circuit 15, translation data information is sent to target device, to complete the first communication interface circuit 11, via controller 13, to the communication interface of second communication interface circuit 15, the match is successful.
Said system comprises: control panel 100, wherein, control panel 100 comprises: the first communication interface circuit 11, for receiving data information, controller 13, be electrically connected with the first communication interface circuit, for processing data message, T.G Grammar data message, and determine the address interface information of the target device that data message is corresponding, second communication interface circuit 15, is electrically connected with controller, for receiving translation data information and address interface information, and send translation data information to target device by address interface information; Solve the problem that in the matching system of communication interface in prior art, message transmission rate is slower, reach the object of the speed improving data transmission in communication interface matching system.
In a kind of preferred embodiment, above-mentioned controller 13 can comprise: processor and programmable logic device (PLD).
Wherein, processor, is electrically connected with the first communication interface circuit 11, and for receiving data information, and the first communication interface conversion instruction corresponding to calling data information is changed data message, T.G Grammar data message;
Programmable logic device (PLD), be electrically connected with processor, for receiving translation data information, address decoding is carried out to translation data information, determine the address interface information of the target device that translation data information is corresponding, make second communication interface circuit send translation data information to target device by address interface information.
Particularly, Fig. 2 is the preferred structural representation of one of the matching system of communication interface according to the embodiment of the present invention, as shown in Figure 2, in above-mentioned controller 13, when the first communication interface circuit is RS485, first by processor 21 receiving data information, then processor 21 is by calling the RS485 communication interface conversion instruction corresponding with data message be stored in advance in processor 21, by the conversion instruction of RS485 communication interface, data message is changed, T.G Grammar data message;
After programmable logic device (PLD) 23 receives the translation data information of self processor 21, programmable logic device (PLD) 23 carries out address decoding to this translation data information, finally determine the address interface information of the target device that this translation data information is corresponding, according to address interface message, translation data information can be sent to target device to make second communication interface circuit 15; By above-mentioned processor 21 and programmable logic device (PLD) 23, the determination of the address interface information to the conversion of data message and target device corresponding to this data message can be completed, make the first communication interface circuit 11 via processor 21 and programmable logic device (PLD) 23 by data information transfer to second communication interface circuit 15, finally make data message reach target device.
It should be noted that, above-mentioned processor 21 can be the microprocessor (Micro Control Unite, referred to as microprocessor) of XC164CS for model, but is not limited thereto.
In another kind of preferred embodiment, above-mentioned controller 13 can comprise: programmable logic device (PLD) and processor;
Programmable logic device (PLD), is electrically connected with the first communication interface circuit 11, for receiving data information, and carries out address decoding to data message, determines the address interface information of the target device that data message is corresponding;
Processor, be electrically connected with programmable logic device (PLD), for receiving data information and address interface information, first communication interface 11 conversion instruction corresponding to calling data information is changed data message, T.G Grammar data message, makes second communication interface circuit 15 send translation data information to target device by address interface information.
Particularly, Fig. 3 is the preferred structural representation of another kind of the matching system of communication interface according to the embodiment of the present invention, as shown in Figure 3, in above-mentioned controller 13, when the first communication interface circuit is MVB, after programmable logic device (PLD) 31 receives the data message from MVB communication interface circuit, programmable logic device (PLD) 31 carries out address decoding to this data message, finally determines the address interface information of the target device that this data message is corresponding;
Processor 33 receives translation data information, then processor 33 is by calling the MVB communication interface conversion instruction corresponding with data message be stored in advance in processor 33, by the conversion instruction of MVB communication interface, data message is changed, T.G Grammar data message, by above-mentioned programmable logic device (PLD) 31 and processor 33, the determination of the address interface information of the target device of the correspondence to data message and the conversion to this data message can be completed, make the first communication interface circuit 11 via programmable logic device (PLD) 31 and processor 33 by data information transfer to second communication interface circuit 15, data message is finally made to reach target device.
It should be noted that, above-mentioned processor 33 can be the microprocessor (Micro Control Unite, referred to as microprocessor) of XC164CS for model, but is not limited thereto.
In a kind of preferred embodiment, above-mentioned programmable logic device (PLD) comprise following one of them: complex programmable logic device (CPLD), on-site programmable gate array FPGA.
Preferably, above-mentioned programmable logic device (PLD) can comprise CPLD (Complex Programmable Logic Device, referred to as CPLD), or field programmable logic device (Field Programmable Gate Array, referred to as FPGA); By the address translation functions of programmable logic device (PLD), second communication interface circuit 15 can be made to know the address interface information of this data message or translation data information, based on this, data conversion information can be sent to target device by controller 13.
In a kind of preferred embodiment, said system also comprises: terminal;
Terminal, is electrically connected with processor, for obtaining the configuration information of control panel, is configured control panel according to configuration information, makes the first communication interface circuit set up communication link via controller and second communication interface circuit.
Particularly, Fig. 4 is the preferred structural representation of another kind of the matching system of communication interface according to the embodiment of the present invention, as shown in Figure 4, above-mentioned terminal 41 is electrically connected with the processor in controller 13, terminal 41 receives the configuration information of the control panel 100 from operating personnel's input, then according to configuration information, control panel 100 is configured, the first communication interface circuit 11 is made to set up communication link via controller and second communication interface circuit 15 by configuration, after establishing communication link, data message could be realized and transfer to second communication interface circuit 15 from the first communication interface circuit 11 via controller 13, finally realize the data transmission between the first communication interface circuit 11 and second communication interface circuit 15.
In a kind of preferred embodiment, above-mentioned configuration information can comprise:
The device address information of the device address information of traffic rate, the first communication interface circuit and logical port information, second communication interface circuit and logical port information, process data exchange information, message data exchanges information, device status inquiries information, apparatus logic port arrangement status poll information.
Particularly, in above-mentioned configuration information, be RS485 communication interface circuit at the first communication interface circuit, and second communication interface circuit is when being MVB communication interface, terminal traffic rate i.e. baud rate can be set as following one of them: 4800bps, 9600bps, 19200bps etc.; By the device address information setting of MVB communication interface circuit for defining MVB interface card device address, this address is identify label unique in the same network segment; Process data is exchanged and is set as that process data is periodic data, meet International Electrotechnical Commission (International Electrotechnical Commission, referred to as IEC) IEC 61357 standard-required; Message data is exchanged and is set as that message data is sporadic data, meet IEC 61357 standard-required; Device data inquiry being set as can the running status of this equipment of online query; The status poll of apparatus logic port arrangement being set as can the configuring condition of online query all of the port.
In a kind of preferred embodiment, above-mentioned programmable logic device (PLD) also for:
Determine the time sequence information of address interface message, make controller, according to time sequence information, translation data information is sent to target device by second communication interface circuit.
It should be noted that, above-mentioned programmable logic device (PLD) can be CPLD or FPGA, but is not limited thereto.Above-mentioned programmable logic device (PLD) obtains address interface information except carrying out address decoding, can also be used for the time sequence information determining this address information, second communication interface circuit 15 receives the translation data information and address interface information that self-controller 13 sends according to time sequence information.
Such as, be RS485 communication interface circuit at the first communication interface circuit 11, and second communication interface circuit 15 is when being MVB communication interface, suppose that the first communication interface circuit 11 receives the data message from A car door, controller 13 pairs of data messages process, obtain translation data information successively, address interface information and time sequence information, then controller 13 sends translation data information and address interface information to second communication interface circuit 15 according to time sequence information, after second communication interface circuit 15 receives translation data information and address interface information, translation data information can be sent according to address interface information, this address interface information can be the control system of city rail vehicle, be MVB communication interface circuit at the first communication interface circuit 11, and second communication interface circuit 15 is when being RS485 communication interface, suppose that the first communication interface circuit 11 receives the data message from city rail vehicle control system, controller 13 pairs of data messages process, obtain address interface information successively, time sequence information and translation data information, then controller 13 sends translation data information and address interface information to second communication interface circuit 15 according to time sequence information, after second communication interface circuit 15 receives translation data information and address interface information, translation data information can be sent according to address interface information, this address interface information can be city rail vehicle multiple car doors one of them.
The system of the above embodiments of the present application 1, provide a kind of matching system of communication interface, this system comprises: control panel, wherein, control panel comprises: the first communication interface circuit, for receiving data information, controller, be electrically connected with the first communication interface circuit, for processing data message, T.G Grammar data message, and determine the address interface information of the target device that data message is corresponding, second communication interface circuit, be electrically connected with controller, for receiving translation data information and address interface information, and send translation data information to target device by address interface information, the matching system of communication interface provided by the present invention is by the first communication interface circuit receiving data information, then by controller, data message is processed, T.G Grammar data message, and determine the address interface information of the target device that this data message is corresponding, send translation data information to target device finally by second communication interface circuit according to address interface message, and then the problem that in the matching system solving communication interface in prior art, message transmission rate is slower, compared with prior art, reach the object of the speed improving data transmission in communication interface matching system.
Embodiment 2
According to the embodiment of the present invention, provide a kind of embodiment of the method for matching process of communication interface.
The embodiment of the present invention additionally provides a kind of matching process of communication interface.The method can be realized by the matching process system of communication interface, but is not limited thereto.
Fig. 5 is the matching process schematic flow sheet of the communication interface of embodiment according to the present invention.As shown in Figure 5, it is as follows that the method comprising the steps of:
Step S501, receives the data message from the first communication interface circuit;
In above-mentioned steps S501, the first communication interface circuit 11 receiving data information; Wherein, above-mentioned first communication interface circuit 11 can be RS485 communication interface circuit, or MVB communication interface circuit etc.
Step S503, processes data message, T.G Grammar data message, and determines the address interface information of the target device that data message is corresponding;
In above-mentioned steps S503, after receiving the data message from the first communication interface circuit 11, this data message is processed, by process data message T.G Grammar data message, and determine the address interface information of the target device that this data message is corresponding; By the process to data message, the address interface information of translation data information and target device could be obtained, and then the first communication interface circuit 11 could be realized and second communication interface circuit 15 carries out data transmission by controller 13.
Step S505, transmission translation data information and address interface information, to second communication interface circuit, make second communication interface circuit send translation data information to target device according to address interface message.
In above-mentioned steps S505, after the process of above-mentioned controller 13 pairs of data messages, second communication interface circuit 15 receives the translation data information of self-controller 13 and the address interface information of target device, and translation data information is sent to target device by address interface information by second communication interface circuit 15; So from the data message of the first communication interface circuit 11 after the process of this step, by second communication interface circuit 15, translation data information is sent to target device, to complete the first communication connection circuit 11, to the communication interface of second communication interface circuit 15, the match is successful.
Said method passes through receiving data information, data message is processed, T.G Grammar data message, and determine the address interface information of the target device that data message is corresponding, receive translation data information and address interface information, and send translation data information to target device by address interface information; Solve the problem that in the matching system of communication interface in prior art, message transmission rate is slower, reach the object of the speed improving data transmission in communication interface matching system.
Preferred embodiment, in step S503, the method can also comprise one:
Step S5031, the first communication interface conversion instruction corresponding to calling data information is changed data message, T.G Grammar data message;
Step S5033, carries out address decoding to translation data information, determines the address interface information of the target device that translation data information is corresponding, makes second communication interface circuit send translation data information to target device by address interface information.
At above-mentioned steps S5031 in step S5033, when the first communication interface circuit is RS485, first receiving data information is passed through, then by calling the RS485 communication interface conversion instruction corresponding with data message in being stored in advance in, by the conversion instruction of RS485 communication interface, data message is changed, T.G Grammar data message;
Then after receiving translation data information, address decoding is carried out to this translation data information, finally determine the address interface information of the target device that this translation data information is corresponding, according to address interface message, translation data information can be sent to target device to make second communication interface circuit 15; By step S5031 to step S5033, the determination of the address interface information to the conversion of data message and target device corresponding to this data message can be completed, the first communication interface circuit 11 is made by data information transfer to second communication interface circuit 15, finally to make data message reach target device.
It should be noted that, above-mentioned steps S5031 to step S5033 can be realized by processor and programmable logic device (PLD), processor can be microprocessor (the Micro Control Unite of XC164CS for model, referred to as microprocessor), programmable logic device (PLD) can comprise CPLD (Complex Programmable Logic Device, referred to as CPLD), or field programmable logic device (Field Programmable Gate Array, referred to as FPGA); By the address translation functions of programmable logic device (PLD), second communication interface circuit 15 can be made to know the address interface information of this data message or translation data information, based on this, data conversion information can be sent to target device by controller 13, but be not limited thereto.
Preferred embodiment, in step S503, the method can also comprise one:
Step S5035, carries out address decoding to translation data information, determines the address interface information of the target device that translation data information is corresponding;
Step S5037, the first communication interface conversion instruction corresponding to calling data information is changed data message, T.G Grammar data message, makes second communication interface circuit send translation data information to target device by address interface information.
In above-mentioned steps S5035 to S5037, when the first communication interface circuit is MVB, after programmable logic device (PLD) 31 receives the data message from MVB communication interface circuit, address decoding is carried out to this data message, finally determines the address interface information of the target device that this data message is corresponding;
Receive translation data information, by calling the MVB communication interface conversion instruction corresponding with data message prestored, by the conversion instruction of MVB communication interface, data message is changed, T.G Grammar data message, by above-mentioned steps S5035 to S5037, the determination of the address interface information of the target device of the correspondence to data message and the conversion to this data message can be completed, make the first communication interface circuit 11 by data information transfer to second communication interface circuit 15, finally make data message reach target device.
It should be noted that, above-mentioned steps S5035 to step S5037 can be realized by processor and programmable logic device (PLD), processor can be microprocessor (the Micro Control Unite of XC164CS for model, referred to as microprocessor), programmable logic device (PLD) can comprise CPLD (Complex Programmable Logic Device, referred to as CPLD), or field programmable logic device (Field Programmable Gate Array, referred to as FPGA); By the address translation functions of programmable logic device (PLD), second communication interface circuit 15 can be made to know the address interface information of this data message or translation data information, based on this, data conversion information can be sent to target device by controller 13, but be not limited thereto.
One preferred embodiment, above-mentioned first communication interface circuit 11 comprise following one of them:
RS485 communication interface circuit, double-unit traction controller communication interface circuit.
Particularly, when the first communication interface circuit is RS485 communication interface circuit, data message comes from the subsystem of city rail vehicle, such as car door; When the first communication interface circuit is MVB communication interface circuit, data message comes from the control system of city rail vehicle.
Preferred embodiment, before step S501, the method can comprise one:
Step S500, receives the configuration information of self terminal, is configured, sets up the communication link of the first communication interface circuit to second communication interface circuit according to configuration information.
In above-mentioned steps S500, terminal receives the configuration information from operating personnel's input, then be configured according to configuration information, the first communication interface circuit 11 is set up to the communication link with second communication interface circuit 15 by configuration, after establishing communication link, data message could be realized and transfer to second communication interface circuit 15 from the first communication interface circuit 11, finally realize the data transmission between the first communication interface circuit 11 and second communication interface circuit 15.
Preferred embodiment, above-mentioned configuration information can comprise one:
The device address information of the device address information of traffic rate, the first communication interface circuit and logical port information, second communication interface circuit and logical port information, process data exchange information, message data exchanges information, device status inquiries information, apparatus logic port arrangement status poll information.
Particularly, in above-mentioned configuration information, be RS485 communication interface circuit at the first communication interface circuit, and second communication interface circuit is when being MVB communication interface, terminal traffic rate i.e. baud rate can be set as following one of them: 4800bps, 9600bps, 19200bps etc.; By the device address information setting of MVB communication interface circuit for defining MVB interface card device address, this address is identify label unique in the same network segment; Process data is exchanged and is set as that process data is periodic data, meet IEC 61357 standard-required; Message data is exchanged and is set as that message data is sporadic data, meet IEC 61357 standard-required; Device data inquiry being set as can the running status of this equipment of online query; The status poll of apparatus logic port arrangement being set as can the configuring condition of online query all of the port.
Preferred embodiment, in step S503, the method can comprise one:
Step S5039, determines the time sequence information of address interface message, and according to time sequence information, translation data information is sent to target device by second communication interface circuit.
In step S5039, the method can also be used for the time sequence information determining this address information, and second communication interface circuit 15 receives the translation data information and address interface information that send according to time sequence information.
Such as, be RS485 communication interface circuit at the first communication interface circuit 11, and second communication interface circuit 15 is when being MVB communication interface, suppose that the first communication interface circuit 11 receives the data message from A car door, data message is processed, obtain translation data information successively, address interface information and time sequence information, then translation data information and address interface information is sent to second communication interface circuit 15 according to time sequence information, after second communication interface circuit 15 receives translation data information and address interface information, translation data information can be sent according to address interface information, this address interface information can be the control system of city rail vehicle, be MVB communication interface circuit at the first communication interface circuit 11, and second communication interface circuit 15 is when being RS485 communication interface, suppose that the first communication interface circuit 11 receives the data message from city rail vehicle control system, data message is processed, obtain address interface information successively, time sequence information and translation data information, then translation data information and address interface information is sent to second communication interface circuit 15 according to time sequence information, after second communication interface circuit 15 receives translation data information and address interface information, translation data information can be sent according to address interface information, this address interface information can be city rail vehicle multiple car doors one of them.
The method of the above embodiments of the present application 2, provide a kind of matching process of communication interface, the method comprises: receive the data message from the first communication interface circuit, data message is processed, T.G Grammar data message, and determine the address interface information of the target device that data message is corresponding, send translation data information and address interface information, make second communication interface circuit send translation data information to target device according to address interface message; The matching process of communication interface provided by the present invention receives the data message from the first communication interface circuit, then data message is processed, T.G Grammar data message, and determine the address interface information of the target device that this data message is corresponding, finally by transmission address interface information and translation data information to second communication interface circuit, second communication interface circuit is made to send translation data information to target device according to address interface message; And then the problem that in the matching system solving communication interface in prior art, message transmission rate is slower, compared with prior art, reach the object of the speed improving data transmission in communication interface matching system.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, mobile terminal, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a matching system for communication interface, is characterized in that, comprising: control panel, and wherein, described control panel comprises:
First communication interface circuit, for receiving data information;
Controller, is electrically connected with described first communication interface circuit, for processing described data message, and T.G Grammar data message, and the address interface information determining the target device that described data message is corresponding;
Second communication interface circuit, is electrically connected with described controller, for receiving described translation data information and described address interface information, and sends described translation data information to described target device by described address interface information.
2. system according to claim 1, is characterized in that, described controller comprises:
Processor, is electrically connected with described first communication interface circuit, and for receiving described data message, and the first communication interface conversion instruction of calling described data message corresponding is changed described data message, generates described translation data information;
Programmable logic device (PLD), be electrically connected with described processor, for receiving described translation data information, address decoding is carried out to described translation data information, determine the address interface information of the described target device that described translation data information is corresponding, make described second communication interface circuit send described translation data information to described target device by described address interface information.
3. system according to claim 1, is characterized in that, described controller comprises:
Programmable logic device (PLD), is electrically connected with described first communication interface circuit, for receiving described data message, and carries out address decoding to described data message, determines the address interface information of the described target device that described data message is corresponding;
Processor, be electrically connected with described programmable logic device (PLD), for receiving described data message and described address interface information, the first communication interface conversion instruction of calling described data message corresponding is changed described data message, T.G Grammar data message, makes described second communication interface circuit send described translation data information to described target device by described address interface information.
4. system according to Claims 2 or 3, is characterized in that, described programmable logic device (PLD) comprise following one of them:
Complex programmable logic device (CPLD), on-site programmable gate array FPGA.
5. the system according to Claims 2 or 3, is characterized in that, described system also comprises:
Terminal, be electrically connected with described processor, for obtaining the configuration information of described control panel, according to described configuration information, described control panel being configured, making described first communication interface circuit set up communication link via described controller and described second communication interface circuit.
6. system according to claim 5, is characterized in that, described configuration information comprises:
The device address information of the device address information of traffic rate, described first communication interface circuit and logical port information, described second communication interface circuit and logical port information, process data exchange information, message data exchanges information, device status inquiries information, apparatus logic port arrangement status poll information.
7. the system according to Claims 2 or 3, is characterized in that, described programmable logic device (PLD) also for:
Determine the time sequence information of described address interface information, make described controller, according to described time sequence information, described translation data information is sent to described target device by described second communication interface circuit.
8. a matching process for communication interface, is characterized in that, comprising:
Receive the data message from the first communication interface circuit;
Described data message is processed, T.G Grammar data message, and determine the address interface information of the target device that described data message is corresponding;
Send described translation data information and described address interface information to second communication interface circuit, make described second communication interface circuit send described translation data information to described target device according to described address interface information.
9. method according to claim 8, is characterized in that, processes described data message, T.G Grammar data message, and determines that the step of the address interface information of the target device that described data message is corresponding comprises:
The first communication interface conversion instruction of calling described data message corresponding is changed described data message, T.G Grammar data message;
Address decoding is carried out to described translation data information, determine the address interface information of the target device that described translation data information is corresponding, make described second communication interface circuit send described translation data information to described target device by described address interface information.
10. method according to claim 8, is characterized in that, processes described data message, T.G Grammar data message, and determines that the step of the address interface information of the target device that described data message is corresponding also comprises:
Address decoding is carried out to described translation data information, determines the address interface information of the target device that described translation data information is corresponding;
The first communication interface conversion instruction of calling described data message corresponding is changed described data message, T.G Grammar data message, makes described second communication interface circuit send described translation data information to described target device by described address interface information.
11. methods according to claim 9 or 10, is characterized in that, described first communication interface circuit comprise following one of them:
RS485 communication interface circuit, double-unit traction controller communication interface circuit.
12. methods according to claim 9 or 10, is characterized in that, before receiving the data message from the first communication interface circuit, described method also comprises:
Receive the configuration information of self terminal, be configured according to described configuration information, set up the communication link of described first communication interface circuit to described second communication interface circuit.
13. methods according to claim 12, is characterized in that, described configuration information comprises:
The device address information of the device address information of traffic rate, described first communication interface circuit and logical port information, described second communication interface circuit and logical port information, process data exchange information, message data exchanges information, device status inquiries information, apparatus logic port arrangement status poll information.
14. methods according to claim 9 or 10, is characterized in that, process described data message, T.G Grammar data message, and determine that the step of the address interface information of the target device that described data message is corresponding also comprises:
Determine the time sequence information of described address interface information, and according to described time sequence information, described translation data information is sent to described target device by described second communication interface circuit.
CN201510042113.2A 2015-01-27 2015-01-27 The matching process and system of communication interface Active CN104636299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510042113.2A CN104636299B (en) 2015-01-27 2015-01-27 The matching process and system of communication interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510042113.2A CN104636299B (en) 2015-01-27 2015-01-27 The matching process and system of communication interface

Publications (2)

Publication Number Publication Date
CN104636299A true CN104636299A (en) 2015-05-20
CN104636299B CN104636299B (en) 2018-11-27

Family

ID=53215072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510042113.2A Active CN104636299B (en) 2015-01-27 2015-01-27 The matching process and system of communication interface

Country Status (1)

Country Link
CN (1) CN104636299B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936215A (en) * 2017-03-13 2017-07-07 成都特斯拉云网络技术有限公司 For the communication system of generating equipment
CN107942645A (en) * 2017-10-19 2018-04-20 北京全路通信信号研究设计院集团有限公司 Control system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1187728A (en) * 1996-08-09 1998-07-15 研华股份有限公司 Transmission converter of personal computer and equipment for communication
CN101014053A (en) * 2006-09-04 2007-08-08 北京佳讯飞鸿电气有限责任公司 Conversion device for realizing conversion between ISDN U interface ad USB interface
CN101908990A (en) * 2010-06-17 2010-12-08 中国北车股份有限公司大连电力牵引研发中心 ARM7-based MVB gateway and working method thereof
CN102355460A (en) * 2011-09-30 2012-02-15 中国北车股份有限公司大连电力牵引研发中心 Communication device for rail transportation vehicle and method
CN102739639A (en) * 2011-04-01 2012-10-17 西门子公司 Interface module for modularized control device
CN202976069U (en) * 2012-09-26 2013-06-05 凤凰云科技(北京)有限公司 Mobile terminal interface conversion device
CN103163843A (en) * 2011-12-12 2013-06-19 中国北车股份有限公司大连电力牵引研发中心 Control unit and control method
CN103209105A (en) * 2012-01-11 2013-07-17 中国北车股份有限公司大连电力牵引研发中心 Communication device and method for rail transit vehicles

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1187728A (en) * 1996-08-09 1998-07-15 研华股份有限公司 Transmission converter of personal computer and equipment for communication
CN101014053A (en) * 2006-09-04 2007-08-08 北京佳讯飞鸿电气有限责任公司 Conversion device for realizing conversion between ISDN U interface ad USB interface
CN101908990A (en) * 2010-06-17 2010-12-08 中国北车股份有限公司大连电力牵引研发中心 ARM7-based MVB gateway and working method thereof
CN102739639A (en) * 2011-04-01 2012-10-17 西门子公司 Interface module for modularized control device
CN102355460A (en) * 2011-09-30 2012-02-15 中国北车股份有限公司大连电力牵引研发中心 Communication device for rail transportation vehicle and method
CN103163843A (en) * 2011-12-12 2013-06-19 中国北车股份有限公司大连电力牵引研发中心 Control unit and control method
CN103209105A (en) * 2012-01-11 2013-07-17 中国北车股份有限公司大连电力牵引研发中心 Communication device and method for rail transit vehicles
CN202976069U (en) * 2012-09-26 2013-06-05 凤凰云科技(北京)有限公司 Mobile terminal interface conversion device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936215A (en) * 2017-03-13 2017-07-07 成都特斯拉云网络技术有限公司 For the communication system of generating equipment
CN107942645A (en) * 2017-10-19 2018-04-20 北京全路通信信号研究设计院集团有限公司 Control system

Also Published As

Publication number Publication date
CN104636299B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN110351378A (en) A kind of control method and system of internet of things equipment
CN103873324A (en) Universal bus testing system
CN111200535A (en) Simulation system and method for equipment
US20090177824A1 (en) Method and system for setting data communication addresses
CN104133765B (en) The test case sending method of network activity and test case server
CN107682441B (en) Remote control method, mobile terminal and PC (personal computer) terminal
CN104951676A (en) Mobile terminal control method, mobile terminal control device and mobile terminal control system
CN106878041A (en) Log information processing method, apparatus and system
CN104881767A (en) Method and system for inventory management based on multi-inventory system
CN104636299A (en) Method and system for matching communication interfaces
CN106598888B (en) A kind of more board communication systems and method using RS485 agreement
CN203706058U (en) CAN bus based multi-I/O board card expansion structure
CN103222288B (en) The processing method of International Mobile Station Equipment Identification information IMEI and the network equipment
CN102884515B (en) Serial ports re-orientation processes method, apparatus and system
CN108965786A (en) A kind of electronic whiteboard content sharing method and device
CN113067760A (en) Communication method, system, equipment and storage medium of power transformation cabinet
CN104916098A (en) Online enable method of wireless control system
CN105991788A (en) Method for realizing slave network address assignment based on NFC communication
CN114528893A (en) Machine learning model training method, electronic device and storage medium
CN106841891A (en) Ground wire alignment system and method
CN107766066A (en) A kind of method for updating slave module firmware
CN113596095B (en) Fast Internet of things method, fast Internet of things device, computer equipment and computer readable storage medium
CN114063513B (en) Power module parallel operation address allocation method
CN101159641A (en) CAN bus network and CAN bus extension method
CN204887021U (en) Utilize public platform's field device's field data transmission equipment and monitored control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Chengyang District of Shandong city of Qingdao province Jinhong road 266111 No. 88

Applicant after: CRRC QINGDAO SIFANG CO., LTD.

Address before: Chengyang District of Shandong city of Qingdao province Jinhong road 266111 No. 88

Applicant before: CSR Qingdao Sifang Locomotive and Rolling Stock Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant