CN105607568A - Communication system of safety PLC multiple physical interfaces based on domestic SPARC CPU - Google Patents

Communication system of safety PLC multiple physical interfaces based on domestic SPARC CPU Download PDF

Info

Publication number
CN105607568A
CN105607568A CN201510971785.1A CN201510971785A CN105607568A CN 105607568 A CN105607568 A CN 105607568A CN 201510971785 A CN201510971785 A CN 201510971785A CN 105607568 A CN105607568 A CN 105607568A
Authority
CN
China
Prior art keywords
layer
link
physical
protocol
communication system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510971785.1A
Other languages
Chinese (zh)
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.)
No6 Research Institute Of China Electronics Corp
6th Research Institute of China Electronics Corp
Original Assignee
No6 Research Institute Of China Electronics Corp
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 No6 Research Institute Of China Electronics Corp filed Critical No6 Research Institute Of China Electronics Corp
Priority to CN201510971785.1A priority Critical patent/CN105607568A/en
Publication of CN105607568A publication Critical patent/CN105607568A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15026Detection of data transmission faults

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)

Abstract

The invention relates to a communication system of safety PLC (Programmable Logic Controller) multiple physical interfaces based on a domestic SPARC (Scalable Processor ARChitecture) CPU, and the communication system comprises a physical interface layer, a link layer, a protocol layer and a service layer; wherein the physical interface layer comprises physical communication interfaces and a basic driving part provided by an operating system, the link layer can mainly save physical link information of the physical interface layer, the protocol layer can mainly read data flow information through link information and corresponding function provided by the link layer according to the corresponding protocol, and the protocol layer processes the transmitted requirement in completeness and safety aspects, and the protocol layer provides the data having completeness and truthfulness to the service layer at last. The advantage of the communication method provided by the invention is that the communication system can provide services to multiple interfaces, the software integral safety, expandability and maintainability are greatly improved.

Description

A kind of communication system of the many physical interfaces of safety PLC based on domestic SPARC framework CPU
Technical field
The present invention relates to the communication system of the many physical interfaces of programmable logic controller (PLC), relate in more detail extendible processorThe communication system of the many physical interfaces of central processing unit programmable logic controller (PLC) of framework.
Background technology
Along with the development of industrial control field, various embedded programmable controllers put goods on the market one after another, due to embeddedProgrammable Logic Controller may contain multiple different physical interface, but current software or only support a certain thing to whereinReason interface is served, or each different physical interface is separately treated, and completes respectively its function. Such processing sideCase causes the huge development difficulty of knowing clearly, and has introduced huge exploitation hidden danger and the uncontrollable factor simultaneously, thereby has limited softwareThe security of entirety, extensibility is with maintainable.
In existing patented technology, as application for a patent for invention numbers 201410171905.5 discloses a kind of FPGA controlDevice communication system. Plc communication system related to the present invention is characterised in that, system comprises: FPGA controlDevice (PLC); Multiple treating apparatus; At least three communication processor node, are separately positioned on PLC and multiple treating apparatus place,To set up PLC and mutual the communicating by letter of each treating apparatus; And interconnection device and multiple communication line, for by mailing addressReason node interconnects, to set up data communication between communication processor node. The feature of plc communication system is also, PLCDetect the communication fault state in the middle of communication processor node, and display unit be installed in system, this display unit based onThe generation quantity of the communication fault state in each interconnection device and multiple communication line is carried out abnormal in display communication routePart.
Can not separately treating each different physical interface of foregoing invention patent application, completes respectively its function.
Summary of the invention
The problem existing in order to solve prior art, the present invention proposes a kind of based on domestic SPARC framework (ScalableProcessorARChitecture, extendible processor architecture) safety PLC (ProgrammableLogic of CPUController, programmable logic controller (PLC)) communication system of many physical interfaces, adopt a whole set of by different level property conventional data passDefeated structure, upper layer module and lower module method of calling are only arranged by corresponding physical interface, make lower floor possess phaseThe extensibility of answering and replaceability. The structure of hierarchical makes upper strata can be absorbed in the realization of own service, and need not closeMode and the specific implementation of the communication of heart lower floor. In order to realize the full decoupled of abstract logic and specific implementation, special protocol layer withBetween physical communication layer, add linking layer, taking the form of shared resource as both sides used, to reach abstract logic and specific implementationDecoupling zero, solved unreliable problem and the safety issue of bottom physical communication for transfer of data simultaneously.
Communication system of the present invention comprises physical interface layer, linking layer, protocol layer, service layer.
Described physical interface layer comprises the basic driver part that physical communication interface and operating system provide, for exampleSerial port drive, the network port driving etc. of vxWorks operating system, described physical interface layer Main Function is by various lettersThe interface that number is converted into the data in computer and provide according to operating system transmits to linking layer. Secondly, whenever receivingWhen new linking request, physical interface layer can be inserted the go forward side by side binding of line function of corresponding link information to linking layer, makes chainThe protocol layer that the information of connecing can be linked on layer uses.
Described linking layer is mainly preserved the physical link information of physical interface layer, and offers protocol layer and bound concrete realityThe communication interface of existing function. Described linking layer provides a mutual platform for protocol layer and physical interface layer, mainly by this layerEncapsulate different between various physical communication interface (such as serial ports and network interface) and reduce development difficulty and raising system to reachThe object of reliability.
Link information and respective function that described protocol layer is mainly responsible for providing by linking layer according to corresponding agreement read numberAccording to stream information, then do the processing of integrality, security aspect to transmitting the request coming, finally will there is integrality, trueThe data of property offer service layer. Wherein, mainly use CRC (CyclicRedundancyCheck, CRCCode) mode of verification ensures that communication frame both sides transmit the reliability of data; By the certification association of password authentification and signing messagesEnsure the security of transfer of data with the mode of work, further protect the security of whole system.
The reception data-interface that described service layer only need provide according to protocol layer obtains data and the request that protocol layer transmits, processThe computing of whole industry control PLC is also carried out corresponding control processing, obtains feedack again by the transmission data-interface of protocol layerBe sent to the promoter of respective request, and need not consider protocol layer and the following concrete realization of linking layer, physical layer.
The workflow of system of the present invention is after program is moved, first to carry out the initialization of whole system, instituteThis system after having initialized of stating is just waited for client computer (controlled and be used for carrying out mutual terminal with this PLC by the user) company of foundationConnect, in the time that client computer initiates to connect request, this communication system will be set up be connected corresponding with client computer; In whole systemRun duration, relevant processing is done in the link that service layer timing can have been set up to each.
Described communication system is carried out self independent initialization along with the initialization of program entirety. After initialization finishes, chainConnect sub-process/thread of the independent establishment of layer meeting and be responsible for the foundation of new link specially.
The process/thread of described link module will run among system always, once receive that linking request just can tap into chainRow is corresponding to be processed.
The request establishing the link for each, first this system judges whether the link number of system held has reached the upper limit,If reached, the request that refusal is set up new url, just otherwise insert in linking layer by the information of link and bind respective function.
After the information of link is written in linking layer, described link module can verify that this establishes the link the entrained password of requestWhether correct, if mistake empties link information and closes link, otherwise be that effectively link basis are asked by this bookmarkAsk the identity information that carries to write corresponding Permission Levels to this link in this table.
In the process of system operation, following processing is done in the link that communication system can regularly have been set up each,
In the time that system is moved, program can be carried out poll to each link of linking layer, to each link wherein,First check whether this link is effective link, if not, all processing steps to this link finished. ForEffectively link, linking layer can check whether this link has new request to arrive, if had, the overtime of this link of resettingTiming, and request is passed to protocol process module is for further processing. If current initiation of this link asked,Linking layer can check that whether this link overtime, if overtime, illustrate this be linked in very long a period of time not withThis system communicates, and system can think that this link lost efficacy, and linking layer will empty all information of this link disconnectedOpen this link, thereby prevent the safety issue that some links of not closing are stolen and cause.
In the time that protocol layer is received the request that client computer sends, first protocol layer can received communication frame head, if communication frame headWhen length is not mated or frame head CRC check makes mistakes, think that described frame head occurs mistake in the process of transmission, immediatelySend corresponding error code and finish the processing for this request. Then protocol layer can receive according to the information of described frame headThe part of communication frame remainder, if the length of whole frame is not mated or the CRC check of whole frame frame makes mistakes, thinks that described frame existsIn the process of transmission, there is mistake, send immediately corresponding error code and finish the processing for this request.
Protocol layer will contrast the Permission Levels Permission Levels required with request of this link subsequently, if the power of this requestLimit grade has exceeded the Permission Levels of this link, and this request of mark is unauthorized operation, sends immediately corresponding error codeAnd end is for the processing of this request.
Protocol process module also can verify the signing messages of this frame, to prevent that the modes such as ip abduction from entering native systemRow is attacked, if the signing messages of this frame does not meet the demands, thinks that this frame is malicious requests frame, sends corresponding immediatelyError code and finish the processing for this request.
When all checkings of this request all by after corresponding information is encapsulated and submits to service layer and locateReason.
The superior effect of communication system of the present invention is to realize provides service to multiple interfaces. Greatly facilitate softwareThe security of entirety, extensibility is with maintainable.
Brief description of the drawings
Fig. 1 is the hierarchical chart of communication system of the present invention;
The system general flow chart of Fig. 2 communication system of the present invention; .
Fig. 3 is communication system link module workflow diagram of the present invention;
Fig. 4 is that the communication service module of communication system of the present invention is for the workflow diagram of each link;
Fig. 5 is that the communication service module protocol part of communication system of the present invention is to each request processing flow figure;
Fig. 6 is the industry control safety PLC system architecture diagram of communication system of the present invention.
Detailed description of the invention
Introduce in detail the detailed description of the invention of communication system of the present invention below in conjunction with Figure of description 1-6.
Communication system of the present invention comprises physical interface layer, linking layer, protocol layer, service layer.
Described physical interface layer comprises the basic driver part that physical communication interface and operating system provide, routine vxWorksSerial port drive, the network port driving etc. of operating system, described physical interface layer Main Function is that various signals are converted intoData in computer the interface providing according to operating system transmit to linking layer. Secondly, whenever receiving new linkWhen request, physical interface layer can be inserted the go forward side by side binding of line function of corresponding link information to linking layer, makes link information energyThe protocol layer being enough linked on layer uses.
Described linking layer is mainly preserved the physical link information of physical interface layer, and offers protocol layer and bound concrete realityThe communication interface of existing function. Described linking layer provides a mutual platform for protocol layer and physical interface layer, mainly by this layerEncapsulate different between various physical communication interface (such as serial ports and network interface) and reduce development difficulty and raising system to reachThe object of reliability.
Link information and respective function that described protocol layer is mainly responsible for providing by linking layer according to corresponding agreement read numberAccording to stream information, then do the processing of integrality, security aspect to transmitting the request coming, finally will there is integrality, trueThe data of property offer service layer. Wherein, mainly use CRC (CyclicRedundancyCheck, CRCCode) mode of verification ensures that communication frame both sides transmit the reliability of data; By the certification association of password authentification and signing messagesEnsure the security of transfer of data with the mode of work, further protect the security of whole system.
The reception data-interface that described service layer only need provide according to protocol layer obtains data and the request that protocol layer transmits, processThe computing of whole industry control PLC is also carried out corresponding control processing, obtains feedack again by the transmission data-interface of protocol layerBe sent to the promoter of respective request, and need not consider protocol layer and the following concrete realization of linking layer, physical layer.
The workflow of system of the present invention is, first carries out the initialization of whole system after program is moved, shouldAfter initialization completes, this system just waits for that client computer (controlled and be used for carrying out mutual terminal with this PLC by user) connects,In the time that client computer initiates to connect request, described communication system will be set up with client computer corresponding according to mode shown in Fig. 4Connect; At the run duration of whole system, the link that service layer's timing can have been set up to each.
Described communication system is carried out self independent initialization along with the initialization of program entirety. After initialization finishes, chainConnect sub-process/thread of the independent establishment of layer meeting and be responsible for the foundation of new link specially.
The process/thread of described link module will run among system always, once receive that linking request just can tap into chainRow is corresponding to be processed.
The request establishing the link for each, first this system judges whether the link number of system held has reached the upper limit,If reached, the request that refusal is set up new url, just otherwise insert in linking layer by the information of link and bind respective function.
After the information of link is written in linking layer, described link module can verify that this establishes the link the entrained password of requestWhether correct, if mistake empties link information and closes link, otherwise be that effectively link basis are asked by this bookmarkAsk the identity information that carries to write corresponding Permission Levels to this link in this table.
In the process of system operation, following processing is done in the link that communication system can regularly have been set up each, when beingWhen system operation, program can be carried out poll to each link of linking layer, to the processing of each link wherein, and first inspectionWhether look into this link is effective link, if not, finish all processing steps to this link. For effective link,Linking layer can check whether this link has new request to arrive, if had, and the overtime timing of this link of resetting, and will askBeing passed to protocol process module is for further processing.
If current initiation of this link asked, linking layer can check that whether this link is overtime, if overtime, explanation shouldBe linked in very long a period of time and do not communicate with this system, system can think that this link lost efficacy, and linking layer willEmpty all information of this link and disconnect this link, thereby preventing the security that some links of not closing are stolen and causeProblem.
In the time that protocol layer is received the request that client computer sends, first protocol layer can received communication frame head, if communication frame headWhen length is not mated or frame head CRC check makes mistakes, think that described frame head occurs mistake in the process of transmission, immediatelySend corresponding error code and finish the processing for this request. Then protocol layer can receive according to the information of described frame headThe part of communication frame remainder, if the length of whole frame is not mated or the CRC check of whole frame frame makes mistakes, thinks that described frame existsIn the process of transmission, there is mistake, send immediately corresponding error code and finish the processing for this request.
Protocol layer will contrast the Permission Levels Permission Levels required with request of this link subsequently, if the power of this requestLimit grade has exceeded the Permission Levels of this link, and this request of mark is unauthorized operation, sends immediately corresponding error codeAnd end is for the processing of this request.
Protocol process module also can verify the signing messages of this frame, to prevent that the modes such as ip abduction from entering native systemRow is attacked, if the signing messages of this frame does not meet the demands, thinks that this frame is malicious requests frame, sends corresponding immediatelyError code and finish the processing for this request.
When all checkings of this request all by after corresponding information is encapsulated and submits to service layer and locateReason.
Brief description of the drawings
Fig. 1 is the hierarchical chart of communication system of the present invention;
The system general flow chart of Fig. 2 communication system of the present invention; .
Fig. 3 is communication system link module workflow diagram of the present invention;
Fig. 4 is that the communication service module of communication system of the present invention is for the workflow diagram of each link;
Fig. 5 is that the communication service module protocol part of communication system of the present invention is to each request processing flow figure;
Fig. 6 is the industry control safety PLC system architecture diagram of communication system of the present invention.
Detailed description of the invention
Introduce in detail the detailed description of the invention of communication system of the present invention below in conjunction with Figure of description 1-6.
Communication system of the present invention comprises physical interface layer, linking layer, protocol layer, service layer.
Described physical interface layer comprises the basic driver part in physical communication interface and operating system, for example serial ports, network interfaceDeng. This layer of Main Function be by various signals be converted into data in computer and according to a preconcerted arrangement good interface to linkLayer transmits. Secondly,, in the time receiving new linking request, physical interface layer can be inserted corresponding link letter to linking layerThe binding that ceases the line function of going forward side by side, can be used by upper layer module link information.
Described linking layer is mainly preserved the logical connection information of physical interface layer, and offers protocol layer and bound concrete realityThe communication interface of existing function. Described linking layer provides a mutual platform for its upper strata and lower floor, and mainly layer is eliminated thusDifference between various physical interface communication.
Link information and respective function that described protocol layer is mainly responsible for providing by linking layer according to corresponding agreement read numberAccording to stream information, then do the processing of integrality, security aspect to transmitting the request coming, finally will there is integrality, trueThe data of property offer service layer. ((CyclicRedundancyCheck's CRC circulates superfluous wherein mainly to use CRCRemaining check code) mode of verification ensures that communication frame both sides transmit the reliability of data; By password authentification and signing messagesThe mode of certification collaborative work ensures the security of transfer of data, further protects the security of whole system.
The interface that described service layer only need provide according to protocol layer obtains the data that protocol layer transmits and does corresponding Business Processing,And need not consider protocol layer and the following concrete realization of linking layer, physical layer. The workflow of this system is as Fig. 2 instituteShow.
As shown in Figure 3, described communication system is carried out self independent initialization along with the initialization of program entirety. InitiallyAfter change finishes, linking layer can create separately a sub-process/thread be responsible for the monitoring of interface and the foundation linking specially, simultaneouslyDescribed communication system can be to the more high-rise module in program outside, as task scheduling modules provides the interface of respective service module for systemTracking is used.
As shown in Figure 4, the process/thread of described linking layer will run among system always, once receive linking requestJust can process accordingly link.
The request establishing the link for each, first this system judges whether the link number of system held has reached the upper limit,If reached, the request that refusal is set up new url, just otherwise insert in linking layer by the information of link and bind respective function.
After the information of link is written in linking layer, described link module can verify that this establishes the link the entrained password of requestWhether correct, if mistake empties link information and closes link, otherwise this link is set to effectively and writes corresponding powerLimit grade.
As shown in Figure 5, in the time of interface that system call communication system provides, this system can be to chain for described protocol layer workflow
Poll is carried out in each link that connects layer, and the processing of each link wherein is still carried out according to the mode of Fig. 4.
First check whether this link is effective link, if not, all processing steps to this link finished. ForEffectively link, linking layer can check whether this link has new request to arrive, if had, the overtime of this link of resettingTimer, and request is passed to protocol process module is for further processing.
If current initiation of this link asked, linking layer can check that whether this link is overtime, if overtime, linkLayer will empty all information of this link and disconnect this link, thereby prevents that some links of not closing are stolen and causeSafety issue.
In the time that protocol layer is received the request through verifying, will process request according to the mode of Fig. 6.
First protocol layer can received communication frame head, if when communication frame head length is not mated or frame head CRC check makes mistakes,Think that described frame head occurs mistake in the process of transmission, send immediately corresponding error code and finish for this requestProcess. Then protocol layer can be according to the part of the information received communication frame remainder of described frame head, if the length of whole frame is notCoupling or the CRC check of whole frame frame make mistakes and think that described frame occurs mistake in the process of transmission, sends corresponding immediatelyError code and finish the processing for this request.
Protocol layer will contrast the Permission Levels Permission Levels required with request of this link subsequently, if the power of this requestLimit grade has exceeded the Permission Levels of link, and this request of mark is unauthorized operation, sends immediately corresponding error code alsoFinish the processing for this request.
Protocol layer also can verify the signing messages of this frame, to prevent that the modes such as ip abduction from attacking native systemHit, if the signing messages of this frame does not meet the demands, think that this frame is malicious requests frame, send immediately corresponding wrongError code also finishes the processing for this request.
When all checkings of this request all by after corresponding information is encapsulated and to submit to service layer concreteService logic function is processed.
Described physical interface layer comprises the basic driver part in physical communication interface and operating system, for example serial ports, network interfaceDeng. This layer of Main Function be by various signals be converted into data in computer and according to a preconcerted arrangement good interface to linkLayer transmits. Secondly,, in the time receiving new linking request, physical interface layer can be inserted corresponding link letter to linking layerThe binding that ceases the line function of going forward side by side, can be used by upper layer module link information.
Described linking layer is mainly preserved the logical connection information of physical interface layer, and offers protocol layer and bound concrete realityThe communication interface of existing function. Described linking layer provides a mutual platform for its upper strata and lower floor, and mainly layer is eliminated thusDifference between various physical interface communication.
Link information and respective function that described protocol layer is mainly responsible for providing by linking layer according to corresponding agreement read numberAccording to stream information, then do the processing of integrality, security aspect to transmitting the request coming, finally will there is integrality, trueThe data of property offer service layer. Wherein mainly use CRC (CyclicRedundancyCheck, CRC)The mode of verification ensures that communication frame both sides transmit the reliability of data; By the collaborative work of certification of password authentification and signing messagesThe mode of doing ensures the security of transfer of data, further protects the security of whole system.
The interface that described service layer only need provide according to protocol layer obtains the data that protocol layer transmits and does corresponding Business Processing,And need not consider protocol layer and the following concrete realization of linking layer, physical layer. The workflow of this system is as Fig. 2 instituteShow.
As shown in Figure 3, described communication system is carried out self independent initialization along with the initialization of program entirety. InitiallyAfter change finishes, linking layer can create separately a sub-process/thread be responsible for the monitoring of interface and the foundation linking specially, simultaneouslyDescribed communication system can be to the more high-rise module in program outside, as task scheduling modules provides the interface of respective service module for systemTracking is used.
As shown in Figure 4, the process/thread of described linking layer will run among system always, once receive linking requestJust can process accordingly link.
The request establishing the link for each, first this system judges whether the link number of system held has reached the upper limit,If reached, the request that refusal is set up new url, just otherwise insert in linking layer by the information of link and bind respective function.
After the information of link is written in linking layer, described link module can verify that this establishes the link the entrained password of requestWhether correct, if mistake empties link information and closes link, otherwise this link is set to effectively and writes corresponding powerLimit grade.
As shown in Figure 5, in the time of interface that system call communication system provides, this system can be to chain for described protocol layer workflowPoll is carried out in each link that connects layer, and the processing of each link wherein is still carried out according to the mode of Fig. 4.First check whether this link is effective link, if not, all processing steps to this link finished. ForEffectively link, linking layer can check whether this link has new request to arrive, if had, the overtime of this link of resettingTimer, and request is passed to protocol process module is for further processing.
If current initiation of this link asked, linking layer can check that whether this link is overtime, if overtime, linkLayer will empty all information of this link and disconnect this link, thereby prevents that some links of not closing are stolen and causeSafety issue.
In the time that protocol layer is received the request through verifying, will process request according to the mode of Fig. 6.
First protocol layer can received communication frame head, if when communication frame head length is not mated or frame head CRC check makes mistakes,Think that described frame head occurs mistake in the process of transmission, send immediately corresponding error code and finish for this requestProcess. Then protocol layer can be according to the part of the information received communication frame remainder of described frame head, if the length of whole frame is notCoupling or the CRC check of whole frame frame make mistakes and think that described frame occurs mistake in the process of transmission, sends corresponding immediatelyError code and finish the processing for this request.
Protocol layer will contrast the Permission Levels Permission Levels required with request of this link subsequently, if the power of this requestLimit grade has exceeded the Permission Levels of link, and this request of mark is unauthorized operation, sends immediately corresponding error code alsoFinish the processing for this request.
Protocol layer also can verify the signing messages of this frame, to prevent that the modes such as ip abduction from attacking native systemHit, if the signing messages of this frame does not meet the demands, think that this frame is malicious requests frame, send immediately corresponding wrongError code also finishes the processing for this request.
When all checkings of this request all by after corresponding information is encapsulated and to submit to service layer concreteService logic function is processed.

Claims (5)

1. a communication system for the many physical interfaces of safety PLC based on domestic SPARC framework CPU, is characterized in that. Described logicalCommunication system comprise be successively communicated with comprise physical interface layer, linking layer, protocol layer, service layer, linking layer, protocol layer, serviceLayer.
2. according to communication system described in claim 1, it is characterized in that, comprise that physical interface layer comprises physical communication interface, Yi JicaoThe basic driver part that the system of work provides, serial port drive, network interface that described basic driver part is vxWorks operating system driveMoving, described physical interface layer various signals are converted into the data in computer and the interface that provides according to operating system toLinking layer transmits, and in the time receiving new linking request, physical interface layer can be inserted corresponding link information also to linking layerCarry out the binding of function, the protocol layer that link information can be linked on layer uses.
3. according to communication system described in claim 1, it is characterized in that, described linking layer is mainly preserved the physical link of physical interface layerInformation, and the communication interface that offers protocol layer and bound specific implementation function, described linking layer is that protocol layer and physics connectMouth layer provides a mutual platform, mainly encapsulates various physical communication interface by this layer
4. according to communication system described in claim 1, it is characterized in that, described protocol layer is mainly responsible for passing through chain according to corresponding agreementConnect link information and respective function reading out data stream information that layer provides, then do integrality, security side to transmitting the request comingThe processing of face, finally offers service layer by the data with integrality, authenticity, wherein, mainly uses the side of CRC checkFormula ensures that communication frame both sides transmit the reliability of data; The mode of the certification collaborative work by password authentification and signing messages is comeRealize the security of transfer of data.
5. according to communication system described in claim 1, it is characterized in that the reception data that described service layer only need provide according to protocol layerInterface obtains data and the request that protocol layer transmits, and the computing of the whole industry control PLC of process is also carried out corresponding control processing, obtains anti-Feedback information be sent to again the promoter of respective request by the transmission data-interface of protocol layer, and need not consider protocol layer and withUnder the concrete realization of linking layer, physical layer.
CN201510971785.1A 2015-12-22 2015-12-22 Communication system of safety PLC multiple physical interfaces based on domestic SPARC CPU Pending CN105607568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510971785.1A CN105607568A (en) 2015-12-22 2015-12-22 Communication system of safety PLC multiple physical interfaces based on domestic SPARC CPU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510971785.1A CN105607568A (en) 2015-12-22 2015-12-22 Communication system of safety PLC multiple physical interfaces based on domestic SPARC CPU

Publications (1)

Publication Number Publication Date
CN105607568A true CN105607568A (en) 2016-05-25

Family

ID=55987572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510971785.1A Pending CN105607568A (en) 2015-12-22 2015-12-22 Communication system of safety PLC multiple physical interfaces based on domestic SPARC CPU

Country Status (1)

Country Link
CN (1) CN105607568A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818914A (en) * 2017-11-22 2019-05-28 成都长城开发科技有限公司 Intelligent electric meter and intelligent electric meter system
CN112084127A (en) * 2020-08-24 2020-12-15 珠海格力电器股份有限公司 Distributed controller and distributed autonomous system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030220961A1 (en) * 2002-03-15 2003-11-27 Norihiro Imai Network system
CN101715571A (en) * 2007-05-29 2010-05-26 光洋电子工业株式会社 PLC with communication function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030220961A1 (en) * 2002-03-15 2003-11-27 Norihiro Imai Network system
CN101715571A (en) * 2007-05-29 2010-05-26 光洋电子工业株式会社 PLC with communication function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818914A (en) * 2017-11-22 2019-05-28 成都长城开发科技有限公司 Intelligent electric meter and intelligent electric meter system
CN112084127A (en) * 2020-08-24 2020-12-15 珠海格力电器股份有限公司 Distributed controller and distributed autonomous system
CN112084127B (en) * 2020-08-24 2022-04-22 珠海格力电器股份有限公司 Distributed controller and distributed autonomous system

Similar Documents

Publication Publication Date Title
CN107528733B (en) Management method of Internet of things and Internet of things system
CN104811455B (en) A kind of cloud computing identity identifying method
CN109479056B (en) For establishing the method and firewall system that arrive the communication connection of safety of industrial automation system
CN102638459B (en) Authentication information Transmission system, authentication information transmission service platform and transmission method
CN103442353B (en) A kind of safely controllable internet of things data transmission method
US8838800B2 (en) Binding resources in a shared computing environment
CN104216761B (en) It is a kind of that the method for sharing equipment is used in the device that can run two kinds of operating system
CN106384040A (en) Intelligent module and intelligent household appliance
CN103795750B (en) A kind of file transmitting method and its system
CN104468825B (en) Remote-authorization method and system
CN107332819A (en) A kind of method for authenticating and device for conference system
CN103036883A (en) Secure communication method and system of secure server
CN107528829A (en) BMC chip, server end and its remote monitoring and administration method
CN106127888B (en) Intelligent lock operation method and smart lock operating system
CN105607568A (en) Communication system of safety PLC multiple physical interfaces based on domestic SPARC CPU
CN102737452B (en) Terminal mobile machine monitoring method and system
CN107223328A (en) A kind of method and system of Root authority management and control
CN106845955A (en) Internet bar's expenses of surfing in Internet automatic charging method and system
CN104184836B (en) Multi-service single-node login system and method based on remote service business
CN104883342B (en) A kind of account right management system, method and device
CN105812413A (en) Communication method and device
CN200941622Y (en) Network authentication authorization system and used exchanger thereof
CN107820136A (en) A kind of video transmission method and system based on P2P
CN102195943B (en) Safety information interaction method and system
CN107172052A (en) A kind of authentication method and device for conference 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication