CN102761538A - Design management method for communication shared field applied to various communication interface gateways - Google Patents

Design management method for communication shared field applied to various communication interface gateways Download PDF

Info

Publication number
CN102761538A
CN102761538A CN2012101297590A CN201210129759A CN102761538A CN 102761538 A CN102761538 A CN 102761538A CN 2012101297590 A CN2012101297590 A CN 2012101297590A CN 201210129759 A CN201210129759 A CN 201210129759A CN 102761538 A CN102761538 A CN 102761538A
Authority
CN
China
Prior art keywords
communication
data field
agreement
data
communications protocol
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
CN2012101297590A
Other languages
Chinese (zh)
Other versions
CN102761538B (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.)
NANDA AUTOMATION TECHNOLOGY JIANGSU Co Ltd
Original Assignee
NANDA AUTOMATION TECHNOLOGY JIANGSU 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 NANDA AUTOMATION TECHNOLOGY JIANGSU Co Ltd filed Critical NANDA AUTOMATION TECHNOLOGY JIANGSU Co Ltd
Priority to CN201210129759.0A priority Critical patent/CN102761538B/en
Publication of CN102761538A publication Critical patent/CN102761538A/en
Application granted granted Critical
Publication of CN102761538B publication Critical patent/CN102761538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a design management method for a communication shared data field applied to various communication interface gateways. The design management method comprises the following steps: a communication shared data field in a drive service layer and a communication shared data field access interface are built; when the drive program strategy is adopted, the communication shared data field access interface has to be used to access and operate the communication shared data field; and meanwhile, when a program accesses the communication shared data field, the boundary limitation, authority limitation and other safety protection strategies are adopted to ensure that data can not be modified viciously and operated mistakenly. By adopting the scheme, isolation between the shared data field and a user is enhanced before application operation, and the safety of data in the shared data field is ensured; a unified operation interface for adding, deletion, start, stop and the like is provided for communication protocols of various interfaces to facilitate communication protocol management; and the method can be used in various software frameworks, including bare computer programming software frameworks and OS (Operating System)-based software frameworks, has strong universality and practicability, and facilitates function and code migration.

Description

Be applied to the communication sharing data area design management method of various communication interfaces gateway
Technical field
The present invention relates in a kind of communication system, sharing data area designs and Managed Solution, relates in particular to the sharing data area design management scheme of one kind of multiple communication interface gateways.
Background technology
The development of Along with computer technology, increasing instrument and meter, control appliance etc. all have common communication interface, comprise RS23, RS485, CAN, Ethernet etc., and communications protocol have nothing in common with each other because of differences such as interface type, industries.In the time of need carrying out communication at the equipment room of these different communication interfaces, different communications protocol, carry out the conversion of interface or agreement with regard to needing various gateways or transducer; Carry out communication conversion when mutual at gateway, the storage security of data, the management of agreement, agreement just progressively reveal in problem such as the transplanting of different soft and hard part platform and difficulty.
Summary of the invention
Goal of the invention
The objective of the invention is to design the sharing data area design management scheme of one kind of multiple communication interface gateways, strengthen the isolation before of sharing data area and user's application operating, guarantee the data security in the sharing data area; For the communications protocol of various interface provides unified interface, be convenient to the management of communications protocol; Can be applied in the various software architectures, comprise bare machine software programming framework and, have very strong versatility and practicality, make things convenient for the transplanting between different platform and product of function and code based on the software architecture of operating system.
Technical scheme
In order to realize goal of the invention, the technical scheme that the present invention adopts is following:
A kind of communication sharing data area design management method that is applied to the various communication interfaces gateway comprises step: in driving service layer, in memory headroom, open up earlier the communication sharing data area of a zone as various communication interfaces and agreement; Set up a communication sharing data area access interface again;
Said communication sharing data area comprises: communication interface data field, communications protocol configuring area, Debugging message output area and running state information district; Said communication interface data field has a plurality of, and each communication interface data separation is agreement IO data field and communication packet data field; The IO point data that agreement IO data area stores is corresponding with communications protocol, the input and output message of communication packet data area stores communication interface gives over to the protocol-driven debugging and uses;
For the advanced row communication protocol analysis of all communication interfaces of user application layer, again through the communication interface data field in the said communication sharing data area access interface visit communication sharing data area; In the time of visit, according to the corresponding relation between the corresponding communications protocol in communication interface data field, distinguish different data access authorities with client layer, communications protocol can only be visited corresponding communication interface data field under its normal authority;
For the zones of different in the communication sharing data area different operation interface and operating right are arranged:
1) agreement IO data field is operated before, need open agreement IO data field; The communications protocol corresponding with the data field has the authority to the read-write of agreement IO data field, writes only to limit to the input data to carry out, and other operations only possess read right;
2) the communication packet data field is when the letter literary composition is received and dispatched, to accomplish the renewal of data field by the backstage service function that communication sharing data area management system provides automatically, is used for debugging or keeping watch on to communications protocol;
3) the communication protocol configuring area is to resolve the configuration data that configuration file obtains (content of said configuration data comprises: protocol name, protocol number, protocol analysis function pointer, agreement IO counts and agreement IO dot address distribution condition) by the backstage service function that communication sharing data area management system provides;
4) state in communications protocol changes, or to the communication sharing data area when operating, communication sharing data area management system can be deposited corresponding information in the said running state information district;
5) Debugging message output area storage: when the user debugs, can from other districts, read information and come, deliver to host computer and show.
Required service function and the operation-interface of operation communication sharing data area comprises: consultative management function, agreement IO data field read and system's backstage service function;
The consultative management function comprises: the Register Cancel of agreement, the configuration operation of agreement stop, to inspection and the prompting of communications protocol to the boundary limitation of the authority of different communication interface data district visit and data;
Agreement IO data field read: opening, closing and read-write interface to the communications protocol data field; Wherein to carry out the inspection of operating right; Communications protocol can only be read and write own corresponding protocols IO data field; To the read right that has only of its agreement IO data field, when carrying out read-write operation, also to check simultaneously read/write address whether correctly, whether the situation of the visit of crossing the border arranged;
System's backstage service function, comprise user's Debugging message write and the writing of management, protocol running state information, configuration file is resolved and the communications protocol debugging.
The step of said communication sharing data area operation:
At first, when starting, accomplish the parsing of system protocol configuration and writing of communications protocol configuring area;
Then, communications protocol is registered startup one by one, and opens required communication interface data field,
Next, operation is upgraded in the preservation of carrying out communication, IO reading and writing data, Debugging message output, running status and transmitting-receiving message;
When communications protocol need be closed, close agreement IO data field earlier, nullify communications protocol then.
Technique scheme; Adopt the driver strategy; Use communication sharing data area access interface conducts interviews to the communication sharing data area and operates; Simultaneously program has adopted strategies such as boundary limitation, authority restriction when visit communication sharing data area, guarantee data not can by malicious modification, can not be by misoperation.During initialization, accomplish the registration and the configuration of communications protocol, start the communication driving function, accomplish communication according to system configuration.
Beneficial effect
The present invention strengthens sharing data area and the isolation before of user's application operating through the isolation of data and agreement, guarantees the data security in the sharing data area; For the communications protocol of various interface provides unified interface, be convenient to the management of communications protocol; Can be applied in the various software architectures, comprise bare machine software programming framework and, have very strong versatility and practicality, make things convenient for the transplanting between different platform and product of function and code based on the software architecture of operating system.
Description of drawings
Fig. 1 is a data interactive mode between existing protocol;
Fig. 2 is a communication shared data system pie graph;
Fig. 3 is the formation and the read-write properties figure of communication sharing data area;
Fig. 4 is the step of communication sharing data area operation.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is further specified as follows:
A kind of communication sharing data area design management method that is applied to the various communication interfaces gateway comprises step: in driving service layer, in memory headroom, open up earlier the communication sharing data area of a zone as various communication interfaces and agreement; Set up a communication sharing data area access interface again;
Said communication sharing data area comprises: communication interface data field, communications protocol configuring area, Debugging message output area and running state information district; Said communication interface data field has a plurality of, and each communication interface data separation is agreement IO data field and communication packet data field; The IO point data that agreement IO data area stores is corresponding with communications protocol, the input and output message of communication packet data area stores communication interface gives over to the protocol-driven debugging and uses;
For the advanced row communication protocol analysis of all communication interfaces of user application layer, again through the communication interface data field in the said communication sharing data area access interface visit communication sharing data area; In the time of visit, according to the corresponding relation between the corresponding communications protocol in communication interface data field, distinguish different data access authorities with client layer, communications protocol can only be visited corresponding communication interface data field under its normal authority;
For the zones of different in the communication sharing data area different operation interface and operating right are arranged:
1) agreement IO data field is operated before, need open agreement IO data field; The communications protocol corresponding with the data field has the authority to the read-write of agreement IO data field, writes only to limit to the input data to carry out, and other operations only possess read right;
2) the communication packet data field is the renewal of being accomplished the communication sharing data area by the backstage service function that provides of management system of communication sharing data area when the transmitting-receiving of letter literary composition automatically, is used for debugging or keeping watch on to communications protocol;
3) the communication protocol configuring area is that the backstage service function that the management system by the communication sharing data area provides is resolved the configuration data that configuration file obtains;
4) state in communications protocol changes, or to the communication sharing data area when operating, the management system of communication sharing data area can be deposited corresponding information in the said running state information district;
5) Debugging message output area storage: when the user debugs, can from other districts, read information and come, deliver to host computer and show.
Required service function and the operation-interface of operation communication sharing data area comprises: consultative management function, agreement IO data field read and system's backstage service function;
The consultative management function comprises: the Register Cancel of agreement, the configuration operation of agreement stop, to inspection and the prompting of communications protocol to the boundary limitation of the authority of different communication interface data district visit and data;
Agreement IO data field read: opening, closing and read-write interface to the communications protocol data field; Wherein to carry out the inspection of operating right; Communications protocol can only be read and write own corresponding protocols IO data field; To the read right that has only of its agreement IO data field, when carrying out read-write operation, also to check simultaneously read/write address whether correctly, whether the situation of the visit of crossing the border arranged;
System's backstage service function, comprise user's Debugging message write and the writing of management, protocol running state information, configuration file is resolved and the communications protocol debugging.
The step of said communication sharing data area operation:
At first, when starting, accomplish the parsing of system protocol configuration and writing of communications protocol configuring area;
Then, communications protocol is registered startup one by one, and opens required communication interface data field,
Next, operation is upgraded in the preservation of carrying out communication, IO reading and writing data, Debugging message output, running status and transmitting-receiving message;
When communications protocol need be closed, close agreement IO data field earlier, nullify communications protocol then.
The content of said configuration data comprises: protocol name, protocol number, protocol analysis function pointer, agreement IO counts and agreement IO dot address distribution condition.
Specific in this example:
As shown in Figure 1; The data interval that interactive mode is employed in two communications more between existing communications protocol carries out the copy operation of data; Thisly operate in that agreement is few, be suitable under the simple situation of data structure; But increase along with communications protocol quantity and diversity are complicated, use will occur when carrying out data interaction between this agreement to agreement seriously rely on, functional check increases, the logical relation of several data intervals complicated, be not easy to problem such as transplanting.
Scheme among Fig. 2; All communications protocol are all passed through unified communication shared region data access interface and are conducted interviews; Operation is unitized, according to the corresponding relation between communication interface data field and agreement and the interface, distinguishes different data access authorities; Communications protocol can only be under its normal authority the visit data district, visit plays a very good protection to data; The consultative management function can realize the work coordination between agreement so that understand operating state each other between agreement simultaneously for the interface that the user provides consultative management; Because the isolation of agreement and data interval, agreement can be transplanted in the system in identical data sharing district at an easy rate.
As shown in Figure 3; Sharing data area comprises and the corresponding communication interface of agreement data field, communications protocol configuring area, Debugging message output area, running state information district that wherein the communication interface data field is divided into agreement IO data field and communication packet data field two parts again.Agreement IO data field comprises the IO point data corresponding with agreement, and the communication packet data field is to be used for the input and output message of memory communicating interface, gives over to the protocol-driven debugging and uses.
Step for the operation of communication sharing data area shown in Figure 4:
At first, startup accomplishes the parsing of system protocol configuration and writing of communications protocol configuring area when being provided; Agreement is registered startup one by one then; And open required communication interface data field, next be exactly the operations such as preservation renewal of carrying out communication, IO reading and writing data, Debugging message output, running status and transmitting-receiving message.Close the data field when agreement need be closed earlier, nullify agreement then, such as two of time-division operations even a plurality of communications protocol on a hardware interface.

Claims (4)

1. a communication sharing data area design management method that is applied to the various communication interfaces gateway is characterized in that comprising step: in driving service layer, in memory headroom, open up earlier the communication sharing data area of a zone as various communication interfaces and agreement; Set up a communication sharing data area access interface again;
Said communication sharing data area comprises: communication interface data field, communications protocol configuring area, Debugging message output area and running state information district; Said communication interface data field has a plurality of, and each communication interface data separation is agreement IO data field and communication packet data field; The IO point data that agreement IO data area stores is corresponding with communications protocol, the input and output message of communication packet data area stores communication interface gives over to the protocol-driven debugging and uses;
For the advanced row communication protocol analysis of all communication interfaces of user application layer, again through the communication interface data field in the said communication sharing data area access interface visit communication sharing data area; In the time of visit, according to the corresponding relation between the corresponding communications protocol in communication interface data field, distinguish different data access authorities with client layer, communications protocol can only be visited corresponding communication interface data field under its normal authority;
Zones of different in the communication sharing data area there are different operation interface and operating right:
1) agreement IO data field is operated before, need open agreement IO data field; The communications protocol corresponding with the data field has the authority to the read-write of agreement IO data field, writes only to limit to the input data to carry out, and other operations only possess read right;
2) the communication packet data field is the renewal of being accomplished the communication sharing data area by the backstage service function that provides of management system of communication sharing data area when the transmitting-receiving of letter literary composition automatically, is used for debugging or keeping watch on to communications protocol;
3) the communication protocol configuring area is that the backstage service function that the management system by the communication sharing data area provides is resolved the configuration data that configuration file obtains;
4) state in communications protocol changes, or to the communication sharing data area when operating, the management system of communication sharing data area can be deposited corresponding information in the said running state information district;
5) Debugging message output area storage: when the user debugs, can from other districts, read information and come, deliver to host computer and show.
2. the communication sharing data area design management method that is applied to the various communication interfaces gateway according to claim 1 is characterized in that operating required service function of communication sharing data area and operation-interface and comprises: consultative management function, agreement IO data field read and system's backstage service function;
The consultative management function comprises: the Register Cancel of agreement, the configuration operation of agreement stop, to inspection and the prompting of communications protocol to the boundary limitation of the authority of different communication interface data district visit and data;
Agreement IO data field read: opening, closing and read-write interface to the communications protocol data field; Wherein to carry out the inspection of operating right; Communications protocol can only be read and write own corresponding protocols IO data field; To the read right that has only of its agreement IO data field, when carrying out read-write operation, also to check simultaneously read/write address whether correctly, whether the situation of the visit of crossing the border arranged;
System's backstage service function, comprise user's Debugging message write and the writing of management, protocol running state information, configuration file is resolved and the communications protocol debugging.
3. the communication sharing data area design management method that is applied to the various communication interfaces gateway according to claim 1 is characterized in that the step that said communication sharing data area is operated:
At first, when starting, accomplish the parsing of system protocol configuration and writing of communications protocol configuring area;
Then, communications protocol is registered startup one by one, and opens required communication interface data field,
Next, operation is upgraded in the preservation of carrying out communication, IO reading and writing data, Debugging message output, running status and transmitting-receiving message;
When communications protocol need be closed, close agreement IO data field earlier, nullify communications protocol then.
4. the communication sharing data area design management method that is applied to the various communication interfaces gateway according to claim 1 is characterized in that the content of said configuration data comprises: protocol name, protocol number, protocol analysis function pointer, agreement IO counts and agreement IO dot address distribution condition.
CN201210129759.0A 2012-04-27 2012-04-27 Design management method for communication shared field applied to various communication interface gateways Active CN102761538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210129759.0A CN102761538B (en) 2012-04-27 2012-04-27 Design management method for communication shared field applied to various communication interface gateways

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210129759.0A CN102761538B (en) 2012-04-27 2012-04-27 Design management method for communication shared field applied to various communication interface gateways

Publications (2)

Publication Number Publication Date
CN102761538A true CN102761538A (en) 2012-10-31
CN102761538B CN102761538B (en) 2014-10-22

Family

ID=47055860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210129759.0A Active CN102761538B (en) 2012-04-27 2012-04-27 Design management method for communication shared field applied to various communication interface gateways

Country Status (1)

Country Link
CN (1) CN102761538B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401769A (en) * 2013-07-24 2013-11-20 佳都新太科技股份有限公司 Implementation method of universal gateway service framework
CN104104674A (en) * 2014-07-01 2014-10-15 广东艾科技术股份有限公司 Multiprotocol distributed data acquisition control system of equipment sensor and method thereof
CN113726570A (en) * 2021-08-30 2021-11-30 北京广利核系统工程有限公司 Network port configuration method, device and system
WO2023093757A1 (en) * 2021-11-24 2023-06-01 浙江中控技术股份有限公司 Protection method for system data in control system, and related apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694415A (en) * 2005-04-29 2005-11-09 北京邦诺存储科技有限公司 Method and device for safety of storaged network data
US20080002595A1 (en) * 2006-06-23 2008-01-03 Rao Umesh R Network monitoring system and method thereof
CN101145982A (en) * 2007-10-29 2008-03-19 广州复旦奥特科技股份有限公司 A general gateway design method based on object model and protocol dynamic component configuration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694415A (en) * 2005-04-29 2005-11-09 北京邦诺存储科技有限公司 Method and device for safety of storaged network data
US20080002595A1 (en) * 2006-06-23 2008-01-03 Rao Umesh R Network monitoring system and method thereof
CN101145982A (en) * 2007-10-29 2008-03-19 广州复旦奥特科技股份有限公司 A general gateway design method based on object model and protocol dynamic component configuration

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401769A (en) * 2013-07-24 2013-11-20 佳都新太科技股份有限公司 Implementation method of universal gateway service framework
CN104104674A (en) * 2014-07-01 2014-10-15 广东艾科技术股份有限公司 Multiprotocol distributed data acquisition control system of equipment sensor and method thereof
CN113726570A (en) * 2021-08-30 2021-11-30 北京广利核系统工程有限公司 Network port configuration method, device and system
CN113726570B (en) * 2021-08-30 2024-05-31 北京广利核系统工程有限公司 Network port configuration method, device and system
WO2023093757A1 (en) * 2021-11-24 2023-06-01 浙江中控技术股份有限公司 Protection method for system data in control system, and related apparatus

Also Published As

Publication number Publication date
CN102761538B (en) 2014-10-22

Similar Documents

Publication Publication Date Title
CN102096625B (en) Monitor and track application service condition
CN106599694B (en) Security protection manages method, computer system and computer readable memory medium
CN104102882B (en) Protection method and device for privacy data of application program
CN100489782C (en) Virtual machine system and accessing control method of hardware equipment
CN102684970B (en) Thin-client environment providing system, server and thin-client environmental management technique
CN104618333B (en) A kind of mobile terminal safety office system
CN102761538B (en) Design management method for communication shared field applied to various communication interface gateways
CN103838653A (en) Register automatic authentication method based on VMM RAL
CN104123495B (en) A kind of method for being used to remove the Malware for preventing computer from running
CN104246698A (en) Computer with flexible operating system
CN102456103A (en) Improved RBAC (Role Based Access Control) model
CN106796529A (en) By using the method that commodity-type PCI interchangers use PCIe device resource on the CPU in PCIe structures using unmodified PCIe device driver
CN102955745A (en) Mobile storage terminal and data management method thereof
CN101334760A (en) Method, device for controlling bus illegal operation and system embodying the device
CN101917460A (en) Virtual machine technique-based remote maintenance system
CN103425563B (en) Based on online I/O electronic evidence-collecting system and the evidence collecting method thereof of Intel Virtualization Technology
CN107168889A (en) A kind of method that Flash stores KVM channel informations inside utilization MCU
CN202929632U (en) Encryption card
EP2985696A1 (en) Method for implementing virtual secure element (vse)
CN102929802B (en) A kind of guard method of storage resources and system
CN109885345A (en) A kind of date storage method, SD storage card and electronic equipment and storage medium
CN105512553A (en) Access control method for preventing virtual machine from escaping and attacking
CN111666236B (en) Server and communication method
CN204362089U (en) The intelligent router of replaceable built-in hard disk
CN101958905B (en) Command management method, device and 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
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 211102 No. 199 West Ting Road, Jiangning Economic Development Zone, Nanjing, Jiangsu

Patentee after: NANDA AUTOMATION TECHNOLOGY JIANGSU CO., LTD.

Address before: 211102 No. 199 West Ting Road, Jiangning Economic Development Zone, Nanjing, Jiangsu

Patentee before: Nanda Automation Technology Jiangsu Co., Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 8 / F, building D, yunmi City, No.19, ningshuang Road, Yuhuatai District, Nanjing, Jiangsu Province 210000

Patentee after: Aotuo Technology Co., Ltd

Address before: 211102 No. 199 West Ting Road, Jiangning Economic Development Zone, Nanjing, Jiangsu

Patentee before: NANDA AUTOMATION TECHNOLOGY JIANGSU Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20121031

Assignee: Nanjing Aotuo Automation Technology Co.,Ltd.

Assignor: Aotuo Technology Co.,Ltd.

Contract record no.: X2022980003096

Denomination of invention: Design and management method of communication shared data area applied to multiple communication interface gateways

Granted publication date: 20141022

License type: Common License

Record date: 20220324