CN106209980A - A kind of data sharing terminal and data sharing method - Google Patents

A kind of data sharing terminal and data sharing method Download PDF

Info

Publication number
CN106209980A
CN106209980A CN201610478588.0A CN201610478588A CN106209980A CN 106209980 A CN106209980 A CN 106209980A CN 201610478588 A CN201610478588 A CN 201610478588A CN 106209980 A CN106209980 A CN 106209980A
Authority
CN
China
Prior art keywords
data
data sharing
processor
communication interface
external equipment
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
CN201610478588.0A
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.)
Sichuan Golden Nogee Intelligent Technology Co Ltd
Original Assignee
Sichuan Golden Nogee Intelligent Technology 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 Sichuan Golden Nogee Intelligent Technology Co Ltd filed Critical Sichuan Golden Nogee Intelligent Technology Co Ltd
Priority to CN201610478588.0A priority Critical patent/CN106209980A/en
Publication of CN106209980A publication Critical patent/CN106209980A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of data sharing terminal and data sharing method, including processor, memorizer, multiple communication interface and drive circuit, power module;Processor is used for controlling multiple communication interface and carries out data communication with external equipment, and communication interface is for communicating between external equipment and processor, and power module is for providing driving electric energy for other modules of data sharing terminal;Memorizer is used for depositing configuration information or resource file;Processor connects each communication interface by drive circuit respectively, and processor is also connected with power module and memorizer.Instant invention overcomes the obstruction of diversification communication protocol between various brands PLC, each digital control system and other auxiliary fabrication devices, multiple external equipment is connected by multiple communication interfaces, corresponding communication protocol is used to be imported by device data different equipment, the communication protocol data of equipment is focused on, the data processed are forwarded by each communication protocol again, it is achieved that the data sharing of each equipment room.

Description

A kind of data sharing terminal and data sharing method
Technical field
The invention belongs to communication technical field, particularly to a kind of data sharing terminal and data sharing method.
Background technology
Data sharing is exactly to allow to read his personal data the different different computers of local use, the user of different software And carry out various operation and analysis.The degree of data sharing reflects an area, a national information development level, Data sharing degree is the highest, and information development level is the highest.Data sharing to be realized, first should set up a set of unification, legal Data exchange standard, authority data form, make user use the data standard of regulation as far as possible.Realize data sharing, can make More people uses data with existing resource more fully, reduces the duplication of labour such as collection of data, data acquisition and corresponding expense, and Energy is focused on the new application program of exploitation and the system integration.
Along with the universal of mobile terminal and the development of communication technology, in mobile terminal, multimedia function is more and more stronger Greatly, user obtains the demand of multimedia messages increases day by day.Between mobile terminal, data sharing becomes mobile multimedia terminal money The main acquisition mode in source.At present, multimedia number is transmitted by modes such as note, multimedia message, Email, bluetooths between mobile terminal According to or other data.But these data transfer modes are not only limited by file size, communication distance, and communicating pair must also Set up response relation, i.e. data receiver is passively to receive data, and obtains data dependence in sender every time.Between mobile terminal Data sharing be limited share.
At present, the manufacturing enterprise of China advocates automatic intelligent manufacture the most energetically, and it requires factory's each equipment energy phase Carry out data communication mutually, transmit various process data, form a powerful manufacturing execution system.But, for conventionally manufactured During enterprise carries out automatic updating transformation, owing to equipment is different or differs with type equipment is new and old, cause controller Or control system diversification, communication protocol diversification the most therewith, it is technology barriers that communication between devices becomes.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, it is provided that one overcomes various brands PLC, each digital control system And the obstruction of diversification communication protocol between other auxiliary fabrication devices, it is possible to connect multiple external equipment, different equipment is adopted Being imported by device data by corresponding communication protocol, then the communication protocol data of equipment focused on, process completes Data forwarded by each communication protocol again, it is achieved that the data sharing terminal of the communication of dissimilar equipment room and data sharing Method.
It is an object of the invention to be achieved through the following technical solutions: a kind of data sharing terminal, including processor, deposit Reservoir, multiple communication interface and drive circuit, power module;
Processor is used for controlling multiple communication interface and carries out data communication with external equipment;Communication interface is used for external equipment And communicate between processor;Power module is for providing driving electric energy for other modules of data sharing terminal;Memorizer For depositing configuration information or resource file;
Processor connects each communication interface by drive circuit respectively, and processor is also connected with power module and memorizer, Power module is connected with each drive circuit respectively.
Further, the processor of the present invention uses the main flow single-chip microcomputer with data-handling capacity, including 51 single-chip microcomputers, AVR single chip, PIC single chip microcomputer, ARM single-chip microcomputer, MSP430 single-chip microcomputer, TMS single-chip microcomputer, STM32 single-chip microcomputer or STC single-chip microcomputer.
Further, the communication interface of the present invention includes wired connection interface and wireless connection interface, described wired connection Interface includes the common serial ports of RS232, RS485 differential signal transmission semi-duplex serial port, RS422 differential signal transmission full duplex serial ports Or the combination of one or more in RJ45 network interface, described wireless connection interface includes that Wifi interface, ZigBee interface, bluetooth connect The combination of one or more in mouth, GPRS communication interface or 3G communication interface.
Present invention also offers a kind of data sharing method, comprise the following steps:
S1, set up physical connection, it would be desirable to the external equipment carrying out data sharing is connected with data shared terminal, form number According to shared network;
The data that the communication protocol of the external equipment that S2, configuration are connected in each data sharing terminal and needs are shared;
S3, in data sharing network set a data shared terminal as main frame, other data sharing terminals are From machine;
S4, each data sharing terminal according to the configuration information of step S2 to outside equipment sending data read-write requests, request The data read-out shared will be needed and be cached to this locality after success;
Needs, to respectively initiating data sharing request from machine, are obtained after asking successfully by the main frame in S5, data sharing network Data from from machine read, it would be desirable to share data write from machine;
In S6, the external equipment that the data got write is connected with main frame;
S7, by main frame send data be written in the external equipment being connected with from machine;
S8, complete one and take turns data sharing, return step S4, until all data complete to share.
Further, it is both needed to the integrity of packet is verified in above-mentioned data read-out and data writing process, Method of calibration includes and verifies, exclusive or check or CRC check.
Further, it is both needed to the data in packet are encrypted in above-mentioned data read-out and data writing process, Encryption method includes AES symmetric encryption method, and this AES has the spy that fast operation, safety are high, low in resources consumption Point.
The invention has the beneficial effects as follows: the data sharing device of the present invention is provided with multiple communication interface, it is possible to connect multiple External equipment, uses corresponding communication protocol to be imported by device data, then by the communication protocols of equipment different equipment View centralized data processing, the data processed are forwarded by each communication protocol again, it is achieved the data sharing of each equipment room;Overcome The obstruction of diversification communication protocol between various brands PLC, each digital control system and other auxiliary fabrication devices, it is achieved that dissimilar The communication of equipment room, and data transmission procedure has the advantages that fast operation, safety are high, low in resources consumption, it is possible to extensively It is applied in automatization, intelligent production.
Accompanying drawing explanation
Fig. 1 is the structural representation of the data sharing terminal of the present invention;
Fig. 2 is data sharing terminal and the external equipment connection diagram of the present invention;
Fig. 3 is the structural representation of a kind of embodiment of data sharing network of the present invention;
Fig. 4 is the structural representation of the data sharing network another embodiment of the present invention;
Fig. 5 is the structural representation of data sharing the third embodiment of network of the present invention.
Detailed description of the invention
Further illustrate technical scheme below in conjunction with the accompanying drawings.
As it is shown in figure 1, a kind of data sharing terminal, including processor (CPU), memorizer, multiple communication interface and drive Galvanic electricity road, power module;
Processor is used for controlling multiple communication interface and carries out data communication with external equipment;Communication interface is used for external equipment And communicate between processor;Power module is for providing driving electric energy for other modules of data sharing terminal;Memorizer For depositing configuration information or resource file;
Processor connects each communication interface by drive circuit respectively, and processor is also connected with power module and memorizer, Power module is connected with each drive circuit respectively.
As in figure 2 it is shown, the data sharing terminal of the present invention connects multiple external equipment respectively by multiple communication interfaces.Its In, processor is the master devices of the present invention, and processor, by configuring COM1, uses corresponding communication protocol to connection Equipment carries out data access, it would be desirable to share to the data read-out of other equipment;Then by configuring COM1, it would be desirable to altogether The data enjoyed need, in the equipment of shared data, to complete a data sharing process by COM1 write.To build number According to shared network, then have only to as an equipment, other data sharing terminals are accessed another data sharing terminal. The processor of the present invention uses the main flow single-chip microcomputer with data-handling capacity, including 51 single-chip microcomputers, AVR single chip, PIC monolithic Machine, ARM single-chip microcomputer, MSP430 single-chip microcomputer, TMS single-chip microcomputer, STM32 single-chip microcomputer or STC single-chip microcomputer, these single-chip microcomputers be integrated with Machine memory RAM and read only memory ROM, be especially suitable for developing small intelligent equipment.
The data sharing terminal of the present invention also includes the normal fortune for secondary processor, communication interface and drive circuit thereof The passive device such as resistance, electric capacity, inductance and various connectors of row, these passive devices respectively with corresponding circuit module phase Even.
Further, the communication interface of the present invention includes wired connection interface and wireless connection interface, described wired connection Interface includes the common serial ports of RS232, RS485 differential signal transmission semi-duplex serial port, RS422 differential signal transmission full duplex serial ports Or the combination of one or more in RJ45 network interface, described wireless connection interface includes that Wifi interface, ZigBee interface, bluetooth connect The combination of one or more in mouth, GPRS communication interface or 3G communication interface.
The multiple equipment carrying out data sharing can be connected to the different communication port of same data sharing terminal, such as figure Shown in 2;Also it is attached in the network being made up of multiple data sharing terminals, forms data sharing network, this Data Sharing Network The topological structure of network can select ring topology (as shown in Figure 3), star topology (as shown in Figure 4) or bus-type according to applied environment Topology (as shown in Figure 5).
In the data sharing network of star topology as shown in Figure 4, can be by communication between multiple data sharing terminals Port is joined directly together, it is also possible to be attached by data transfer equipment, and described data transfer equipment can use router, Or there is the special equipment of data forwarding capability.
The data sharing terminal of the present invention has storage function, it is possible to long-term preservation reads and writes the configuration information or resource arrived File, therefore, can carry out data stream exchange, it is achieved be in communication with each other, as shown in Figure 5 between multiple data sharing terminals.
Present invention also offers a kind of data sharing method, comprise the following steps:
S1, set up physical connection, it would be desirable to the external equipment carrying out data sharing is connected with data shared terminal, form number According to shared network, as shown in Fig. 3, Fig. 4 or Fig. 5;
The data that the communication protocol of the external equipment that S2, configuration are connected in each data sharing terminal and needs are shared;
S3, in data sharing network set a data shared terminal as main frame, other data sharing terminals are From machine;
S4, each data sharing terminal according to the configuration information of step S2 to outside equipment sending data read-write requests, request The data read-out shared will be needed and be cached to this locality after success;
Needs, to respectively initiating data sharing request from machine, are obtained after asking successfully by the main frame in S5, data sharing network Data from from machine read, it would be desirable to share data write from machine;
In S6, the external equipment that the data got write is connected with main frame;
S7, by main frame send data be written in the external equipment being connected with from machine;
S8, complete one and take turns data sharing, return step S4, until all data complete to share.
Further, it is both needed to the integrity of packet is verified in above-mentioned data read-out and data writing process, Method of calibration includes and verifies, exclusive or check or CRC check.
Further, it is both needed to the data in packet are encrypted in above-mentioned data read-out and data writing process, Encryption method includes AES symmetric encryption method, and this AES has the spy that fast operation, safety are high, low in resources consumption Point.
Those of ordinary skill in the art it will be appreciated that embodiment described here be to aid in reader understanding this Bright principle, it should be understood that protection scope of the present invention is not limited to such special statement and embodiment.This area It is each that those of ordinary skill can make various other without departing from essence of the present invention according to these technology disclosed by the invention enlightenment Planting concrete deformation and combination, these deform and combine the most within the scope of the present invention.

Claims (6)

1. a data sharing terminal, it is characterised in that include processor, memorizer, multiple communication interface and drive circuit thereof, Power module;
Processor is used for controlling multiple communication interface and carries out data communication with external equipment;Communication interface is used for external equipment and place Communicate between reason device;Power module is for providing driving electric energy for other modules of data sharing terminal;Memorizer is used for Deposit configuration information or resource file;
Processor connects each communication interface by drive circuit respectively, and processor is also connected with power module and memorizer, power supply Module is connected with each drive circuit respectively.
Data sharing terminal the most according to claim 1, it is characterised in that described processor uses has data process The main flow single-chip microcomputer of ability, including 51 single-chip microcomputers, AVR single chip, PIC single chip microcomputer, ARM single-chip microcomputer, MSP430 single-chip microcomputer, TMS Single-chip microcomputer, STM32 single-chip microcomputer or STC single-chip microcomputer.
Data sharing terminal the most according to claim 1, it is characterised in that described communication interface includes that wired connection connects Mouth and wireless connection interface, described wired connection interface includes the common serial ports of RS232, RS485 differential signal transmission half-duplex string The combination of one or more in mouth, RS422 differential signal transmission full duplex serial ports or RJ45 network interface, described wireless connection interface Including the group of one or more in Wifi interface, ZigBee interface, blue tooth interface, GPRS communication interface or 3G communication interface Close.
4. a data sharing method, it is characterised in that comprise the following steps:
S1, setting up physical connection, it would be desirable to the external equipment carrying out data sharing is connected with data shared terminal, composition data are altogether Enjoy network;
The data that the communication protocol of the external equipment that S2, configuration are connected in each data sharing terminal and needs are shared;
S3, in data sharing network set a data shared terminal as main frame, other data sharing terminals are from machine;
S4, each data sharing terminal, are asked successfully to outside equipment sending data read-write requests according to the configuration information of step S2 After by need share data read-out and be cached to this locality;
Main frame in S5, data sharing network, to respectively initiating data sharing request from machine, will need the number obtained after asking successfully Read according to from from machine, it would be desirable to the data shared write from machine;
In S6, the external equipment that the data got write is connected with main frame;
S7, by main frame send data be written in the external equipment being connected with from machine;
S8, complete one and take turns data sharing, return step S4, until all data complete to share.
Data sharing method the most according to claim 4, it is characterised in that described data read-out and data writing process In be both needed to the integrity of packet is verified, method of calibration includes and verifies, exclusive or check or CRC check.
Data sharing method the most according to claim 4, it is characterised in that described data read-out and data writing process In be both needed to the data in packet are encrypted, encryption method includes AES symmetric encryption method.
CN201610478588.0A 2016-06-24 2016-06-24 A kind of data sharing terminal and data sharing method Pending CN106209980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610478588.0A CN106209980A (en) 2016-06-24 2016-06-24 A kind of data sharing terminal and data sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610478588.0A CN106209980A (en) 2016-06-24 2016-06-24 A kind of data sharing terminal and data sharing method

Publications (1)

Publication Number Publication Date
CN106209980A true CN106209980A (en) 2016-12-07

Family

ID=57462134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610478588.0A Pending CN106209980A (en) 2016-06-24 2016-06-24 A kind of data sharing terminal and data sharing method

Country Status (1)

Country Link
CN (1) CN106209980A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810467A (en) * 2021-08-13 2021-12-17 控福(上海)智能科技有限公司 Internet of things transmission communication method based on real-time shared storage and micro device
CN114007035A (en) * 2021-09-24 2022-02-01 深圳壹秘科技有限公司 Conference data sharing system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350001A (en) * 2007-07-04 2009-01-21 瀚邦科技股份有限公司 Data sharing and transfer systems and methods
CN103338189A (en) * 2013-06-08 2013-10-02 临沂市拓普网络股份有限公司 Data sharing control device, system and method with various types of communication protocol interfaces
CN203537414U (en) * 2013-10-16 2014-04-09 上海电力学院 Communication protocol conversion device based on embedded multi micro-control units
CN103957215A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method, terminals and system for achieving network data sharing
CN104426752A (en) * 2013-08-28 2015-03-18 Ls产电株式会社 Data sharing system between master inverter and slave inverter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350001A (en) * 2007-07-04 2009-01-21 瀚邦科技股份有限公司 Data sharing and transfer systems and methods
CN103338189A (en) * 2013-06-08 2013-10-02 临沂市拓普网络股份有限公司 Data sharing control device, system and method with various types of communication protocol interfaces
CN104426752A (en) * 2013-08-28 2015-03-18 Ls产电株式会社 Data sharing system between master inverter and slave inverter
CN203537414U (en) * 2013-10-16 2014-04-09 上海电力学院 Communication protocol conversion device based on embedded multi micro-control units
CN103957215A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method, terminals and system for achieving network data sharing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810467A (en) * 2021-08-13 2021-12-17 控福(上海)智能科技有限公司 Internet of things transmission communication method based on real-time shared storage and micro device
CN114007035A (en) * 2021-09-24 2022-02-01 深圳壹秘科技有限公司 Conference data sharing system and method
CN114007035B (en) * 2021-09-24 2023-12-26 深圳壹秘科技有限公司 Conference data sharing system and method

Similar Documents

Publication Publication Date Title
US8478908B2 (en) Fieldbus gateway using virtual serial filedbus port and data transmission method thereof
CN104660682B (en) A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE
JP6138184B2 (en) Multiple application management method and system in near field communication
CN108092884A (en) A kind of wireless access gateway system and application process
WO2011130939A1 (en) Method and system for interconnection between sensor network and mobile terminal, and network connectiondevice
CN108924165A (en) A kind of Intranet remote access method and its device and Intranet gateway
CN204598011U (en) A kind of OPC data acquisition and monitoring intelligent terminal based on TD-LTE
CN110545265B (en) Data communication system and method for carrying out adaptation depending on ATT and indication
CN107819659B (en) Intelligent cascade communication network based on SPI
CN102427417A (en) System and method for remotely controlling Internet of things access equipment
CN104506598A (en) Power terminal management method for hybrid networking
CN201805556U (en) Information inquiry device, wireless transmission apparatus and MODBUS slave station
CN104798010A (en) Serial storage protocol compatible frame conversion, at least in part
CN208768305U (en) A kind of remote transport gateway based on LoRa technology
CN106209980A (en) A kind of data sharing terminal and data sharing method
CN103581228A (en) Method and system for device communication in Internet of Things
CN106790283A (en) A kind of Internet of things system framework and data communications method
Ren et al. Can bus network design based on bluetooth technology
CN109862553B (en) Terminal and communication method
CN204719455U (en) Air purifier intelligent controlling device, Intelligent air purifier administrating system
CN108055319A (en) A kind of system and method for remote control Internet of things access equipment
CN109451597B (en) WiFi amplifier automatic networking system and method thereof
CN106657093A (en) Gateway protocol for smart home
CN206557591U (en) Suitable for the access system of generating set
WO2013185535A1 (en) Apparatus, method, and system for convergence and compatibility of protocol stack

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207