A kind of cloud platform connectivity port control device and control method
Technical field
The present invention relates to a kind of data parallel transmission technology, especially a kind of cloud platform connectivity port control device.
Background technique
Along with the continuous improvement of China's scientific and technological level, computer is also being improved therewith using level per capita in China.
At the same time, life, which neutralizes to make to computerized control in industrial production, replaces the device of manual control also continuously emerging, this is existing
As improving the intelligent industrial level in China, while also there is new requirement to the performance of Computer Control Unit.
The control device of cloud platform and multi-connection port is the new research direction occurred in recent years.For original control
Device improves big data processing and further data sharing by using cloud platform, can carry out more more to control device
Good Function Extension and perfect in shape and function.Specifically use example such as satellite positioning, vehicle mounted guidance, all after developing by
Vast favorable comment on the market is arrived.
At present on the market for the research of cloud platform connectivity port control device also in continuous carry out, due to new function
Continuous research and development, the parallel data for needing to transmit also is being continuously increased, the update to data transfer mode and data processing method
Also with regard to needing with constantly being promoted.Especially for the parallel data transmission of multi-wad join port, need to parallel transmitting
Data carry out the data precision guarantee, avoid the occurrence of the transport phenomenon of data mistakes and omissions, data mistake row.
Summary of the invention
Goal of the invention: a kind of cloud platform connectivity port control device is provided, to solve the above problems.
Technical solution: a kind of cloud platform connectivity port control device, including port control system, upper layer detection communication system
System, Transmission system and buffer system,
Port control system, which is characterized in that including a kind of port control circuit, can specifically be divided into input current control
Module, output protection module and four tunnel control modules are realized at the synchronization of multisystem data by being grouped to port data
Branch is managed, the service ability and the speed of service of data processing are improved;
Communication system is detected on upper layer, according to customized transmission password, transmits to the content of detection communication, reduce because
For data entanglement problem caused by transport protocol mistakes and omissions, reinforce the accuracy of data receiver;
Transmission system is carried out the data stream transmitting of upper and lower level to the data received respectively, from top to bottom and under
Two kinds of operational modes on and are not interfere with each other;
Buffer system carries out data buffering preservation to the error in data mode occurred in transmission process, according to agreement
After algorithm carries out misarrangement processing to the data of buffering, the upload again of data is completed, is the transfer in cloud platform connection system
It stands;
The input current control module, including operational amplifier AR1, motor MO1, ammeter M1, diode D1, two poles
Pipe D2, diode D3, diode D4, diode D5, diode D11, metal-oxide-semiconductor Q1, inductance L1 and resistance R1, the diode
The anode of D11 is connect with voltage signal Vref, the second pin of the cathode of the diode D11 and the operational amplifier AR1
Connection, the 4th pin, the operational amplifier of the first pin of the operational amplifier AR1 and the operational amplifier AR1
The 5th pin of AR1, the 7th pin of the operational amplifier AR1, the operational amplifier AR1 the 8th pin be disconnected
6th pin on road, the operational amplifier AR1 is connect with one end of the motor MO1, the other end difference of the motor MO1
It is connect with the cathode of one end of the inductance L1, the cathode of the diode D3, the diode D1, the inductance L1's is another
End connect respectively with the pole D of positive, the described metal-oxide-semiconductor Q1 of the diode D5, the cathode of the diode D5 respectively with it is described
One end of resistance R1, the operational amplifier AR1 third pin connection, the other end of the resistance R1 respectively with the MOS
The pole S of pipe Q1, the diode D4 positive, described diode D2 anode connection, the cathode of the diode D4 respectively with
One end of positive, the described ammeter M1 of the diode D3 connects, the cathode of the diode D2 respectively with the diode
The other end of positive, the described ammeter M1 of D1 connects;
The output protection module, including electric bridge DB1, operational amplifier AR2, metal-oxide-semiconductor Q2, diode D6, resistance R2, electricity
Hinder R3, resistance R4, resistance R5, capacitor C1, capacitor C2, capacitor C3 and capacitor C4, the second pin of the electric bridge RB1 respectively with institute
State one end connection of one end of resistance R3, one end of the capacitor C3, one end of the capacitor C1, the capacitor C2, the electricity
The 4th pin of bridge RB1 is connect with one end of the resistance R2, and the other end of the resistance R2 is respectively with the diode D6's
The pole S of positive, the described metal-oxide-semiconductor Q2 connects, and the cathode of the diode D6 is connect with the other end of the capacitor C3, the MOS
The pole S of pipe Q2 is grounded, and the other end of the resistance R3 is connect with the pole G of the metal-oxide-semiconductor Q2, the other end difference of the capacitor C1
It is connect with one end of the other end of the capacitor C2, the resistance R4, the other end and the operational amplifier of the resistance R4
The second pin of AR2 connects, the 4th pin of the first pin of the operational amplifier AR2 and the operational amplifier AR2, institute
State the 5th pin of operational amplifier AR2, the 7th pin of the operational amplifier AR2, the operational amplifier AR2 the 8th
Pin is open circuit, and the 6th pin of the operational amplifier AR2 connects with one end of voltage signal Vout, the resistance R5 respectively
It connecing, the third pin of the operational amplifier AR2 is connect with one end of the other end of the resistance R5, the capacitor C4 respectively,
The other end of the capacitor C4 is grounded;
Four tunnel control module, including integrated chip U1, oscillator Y1, switch S1, triode Q3, triode Q4, MOS
Pipe Q5, metal-oxide-semiconductor Q6, resistance R6, resistance R7, resistance R8, resistance R9, resistance R10, capacitor C5, capacitor C6, capacitor C7, capacitor C8,
Capacitor C9, inductance L2, inductance L3, inductance L4, diode D7, diode D8, diode D9 and diode D10, the electric bridge RB1
The first pin respectively with one end of the resistance R7, the 16th pin of the integrated chip U1, the integrated chip U1
4th pin, voltage signal Vcc connection, the other end of the resistance R7 are connect with the 7th pin of the integrated chip U1, institute
The third pin for stating electric bridge RB1 is connect with the 9th pin of the integrated chip U1, the tenth pin of the integrated chip U1 with
The 11st pin of the integrated chip U1, the 12nd pin of the integrated chip U1, the integrated chip U1 the 13rd
Pin, the 14th pin of the integrated chip U1, the integrated chip U1 the 15th pin be open circuit, the integrated core
The 6th pin of piece U1 is connect with one end of one end of the oscillator Y1, the inductance L3 respectively, and the inductance L3's is another
End is connect with one end of the resistance R8, the other end of the resistance R8 respectively with the other end of the oscillator Y1, described open
One end connection of S1 is closed, the other end of the switch S1 is connect with the first pin of the integrated chip U1, the integrated chip
The 8th pin of U1 is grounded, and the third pin of the integrated chip U1 is connect with one end of the inductance L4, the inductance L4's
The other end is connect with the pole G of the pole G of the metal-oxide-semiconductor Q5, the metal-oxide-semiconductor Q6 respectively, the second pin point of the integrated chip U1
It is not connect with one end of one end of the resistance R9, the capacitor C9, the other end ground connection of the capacitor C9, the resistance R9's
The other end is connect with voltage signal Vref, and the 5th pin of the integrated chip U1 is connect with one end of the inductance L2, described
The other end of inductance L2 respectively with the emitter of the triode Q3, the cathode of the diode D7, the capacitor C5 one end,
One end connection of the emitter of the triode Q4, the cathode of the diode D8, the capacitor box C6, the triode Q4's
Base stage is connect with one end of the resistance R6, and the other end of the resistance R6 is believed with the base stage of the triode Q3, voltage respectively
The pole the G connection of number Vin, the metal-oxide-semiconductor Q1, the collector of the triode Q3 are positive, described with the diode D7 respectively
The other end of capacitor C5, the pole D of the metal-oxide-semiconductor Q5, the diode D9 positive, described capacitor C7 one end connection, it is described
The other end of capacitor C7 respectively with the cathode of the diode D9, the pole S of the metal-oxide-semiconductor Q5, the metal-oxide-semiconductor Q6 the pole D, described
One end connection of the cathode of diode D10, the capacitor C8, the other end of the capacitor C8 is respectively with the diode D10's
The pole S of positive, the described metal-oxide-semiconductor Q6, the other end of the capacitor C6, the diode D8 positive, described triode Q4 collection
Electrode connection.
According to an aspect of the present invention, connecting node of the ammeter M1 respectively with two-way current branch is connected
It connects, electric current comparison directly can be carried out to two-way branch, when there is the excessive situation of current measurement value, indicate branch current value
Beyond safe range, need to be adjusted input voltage.
According to an aspect of the present invention, top-down data receiver branch is directly segmented into inside the Transmission system
Road and data transmission branch from bottom to top, two branch independent operatings, complementation interference.
A kind of data segment transmission method, in the process of cloud platform data transmission, due to needing to multiple systems
Data carry out parallel transmission simultaneously and need to carry out segment transmissions when the order of slab is transmitted, in order to avoid going out
The confusion of existing data recombination, needs to be identified same data command, guarantees the integrality of data receiver, specific steps are as follows:
Step 1 judges the length of order data, using the safe transmission boundary of each system as standard, short byte
Order is directly transmitted, and step 3 is directly entered;The order of slab enters in character mark step, that is, step 2;
Step 2 carries out length segmentation to the order of slab and carries out Data Identification;
Step 21, in addition to the first segmentation, with the data space of a unit storage line fewer than maximum safe transmission boundary work
Data storage is carried out for standard, remaining segmentation is always with the data space of two unit storage lines fewer than maximum safe transmission boundary
As standard, it is transmitted data division;First segmentation retains last bit blank line, remaining segmentation retains initial blank line and end
Position two row of blank line, until the byte length of remaining transmission data is just equal to or less than a maximum safe transmission boundary;
Step 22 is identified the end of data of the transmission data of segmentation, after the last line of the first segmentation of duplication
Beginning of half section of the data as the first segmentation last bit blank line data, is charged whole with spot patch, and will be supplemented complete data and is filled out
It is charged in the initial blank line of the second segmentation, and so on, the later half segment data of the last line of the second segmentation of duplication is as the
The beginning of two-section last bit blank line data, charged with spot patch it is whole, and will supplement complete data be filled into third segmentation just
Until data all identify completion in beginning blank line;
Step 23 enters in step 3, transmits to segment data;
Step 3, transmission data.
According to an aspect of the present invention, after carrying out segment identification to data, when re-starting Data Integration,
Data Matching can be carried out according to the data last bit row and data initial row of different segmentations, when data are overlapped, be identified
With completion, it can be eliminated and mutually be gone together, directly progress data recombination.
A kind of character determines data cached method, carries out transient data caching to the data transmission of cloud platform, specific to walk
Suddenly it is divided into:
Step 1, to data cached carry out property determination because order length is one kind compared with progress row data sectional, separately
A kind of protectiveness data storage to carry out in system operation because of accidental interruption, former data transmit after being segmented, the latter
Determine the increase of character;
Step 2, to containing determine character caching segment, carry out protectiveness for a long time store, guarantee not because system grasp
Make generation data loss problem, stores again after can retaining character is determined after confirmation data content;Confirm data
Determine it is the data content for needing to delete after content, after the deletion for first carrying out judgement character, then carries out the deletion of data content, protect
Demonstrate,prove the abundance of spatial cache.
According to an aspect of the present invention, specific cloud platform using system to the data processing agreement of spatial cache not
Together, it is segmented into the ISO agreement and custom protocol of default in this method, it is more intelligent to guarantee that data cached content determines
Change.
The utility model has the advantages that the present invention, which is able to solve connectivity port in existing technology, is excessively difficult to asking for uniform data management
Topic strengthens the stability and accuracy of parallel data transmitting, further solves the data entanglement transmitted be easy to cause parallel
Problem increases the confidence level of data transmission.
Detailed description of the invention
Fig. 1 is system control block figure of the invention.
Fig. 2 is the schematic diagram of port control circuit of the invention.
Fig. 3 is a kind of flow diagram of data segment transmission method of the invention.
Specific embodiment
As shown in Figure 1, in this embodiment, a kind of cloud platform connectivity port control device, including port control system, on
Layer detection communication system, Transmission system and buffer system,
Port control system, which is characterized in that including a kind of port control circuit, can specifically be divided into input current control
Module, output protection module and four tunnel control modules are realized at the synchronization of multisystem data by being grouped to port data
Branch is managed, the service ability and the speed of service of data processing are improved;
Communication system is detected on upper layer, according to customized transmission password, transmits to the content of detection communication, reduce because
For data entanglement problem caused by transport protocol mistakes and omissions, reinforce the accuracy of data receiver;
Transmission system is carried out the data stream transmitting of upper and lower level to the data received respectively, from top to bottom and under
Two kinds of operational modes on and are not interfere with each other;
Buffer system carries out data buffering preservation to the error in data mode occurred in transmission process, according to agreement
After algorithm carries out misarrangement processing to the data of buffering, the upload again of data is completed, is the transfer in cloud platform connection system
It stands;
The input current control module, including operational amplifier AR1, motor MO1, ammeter M1, diode D1, two poles
Pipe D2, diode D3, diode D4, diode D5, diode D11, metal-oxide-semiconductor Q1, inductance L1 and resistance R1, the diode
The anode of D11 is connect with voltage signal Vref, the second pin of the cathode of the diode D11 and the operational amplifier AR1
Connection, the 4th pin, the operational amplifier of the first pin of the operational amplifier AR1 and the operational amplifier AR1
The 5th pin of AR1, the 7th pin of the operational amplifier AR1, the operational amplifier AR1 the 8th pin be disconnected
6th pin on road, the operational amplifier AR1 is connect with one end of the motor MO1, the other end difference of the motor MO1
It is connect with the cathode of one end of the inductance L1, the cathode of the diode D3, the diode D1, the inductance L1's is another
End connect respectively with the pole D of positive, the described metal-oxide-semiconductor Q1 of the diode D5, the cathode of the diode D5 respectively with it is described
One end of resistance R1, the operational amplifier AR1 third pin connection, the other end of the resistance R1 respectively with the MOS
The pole S of pipe Q1, the diode D4 positive, described diode D2 anode connection, the cathode of the diode D4 respectively with
One end of positive, the described ammeter M1 of the diode D3 connects, the cathode of the diode D2 respectively with the diode
The other end of positive, the described ammeter M1 of D1 connects;
The output protection module, including electric bridge DB1, operational amplifier AR2, metal-oxide-semiconductor Q2, diode D6, resistance R2, electricity
Hinder R3, resistance R4, resistance R5, capacitor C1, capacitor C2, capacitor C3 and capacitor C4, the second pin of the electric bridge RB1 respectively with institute
State one end connection of one end of resistance R3, one end of the capacitor C3, one end of the capacitor C1, the capacitor C2, the electricity
The 4th pin of bridge RB1 is connect with one end of the resistance R2, and the other end of the resistance R2 is respectively with the diode D6's
The pole S of positive, the described metal-oxide-semiconductor Q2 connects, and the cathode of the diode D6 is connect with the other end of the capacitor C3, the MOS
The pole S of pipe Q2 is grounded, and the other end of the resistance R3 is connect with the pole G of the metal-oxide-semiconductor Q2, the other end difference of the capacitor C1
It is connect with one end of the other end of the capacitor C2, the resistance R4, the other end and the operational amplifier of the resistance R4
The second pin of AR2 connects, the 4th pin of the first pin of the operational amplifier AR2 and the operational amplifier AR2, institute
State the 5th pin of operational amplifier AR2, the 7th pin of the operational amplifier AR2, the operational amplifier AR2 the 8th
Pin is open circuit, and the 6th pin of the operational amplifier AR2 connects with one end of voltage signal Vout, the resistance R5 respectively
It connecing, the third pin of the operational amplifier AR2 is connect with one end of the other end of the resistance R5, the capacitor C4 respectively,
The other end of the capacitor C4 is grounded;
Four tunnel control module, including integrated chip U1, oscillator Y1, switch S1, triode Q3, triode Q4, MOS
Pipe Q5, metal-oxide-semiconductor Q6, resistance R6, resistance R7, resistance R8, resistance R9, resistance R10, capacitor C5, capacitor C6, capacitor C7, capacitor C8,
Capacitor C9, inductance L2, inductance L3, inductance L4, diode D7, diode D8, diode D9 and diode D10, the electric bridge RB1
The first pin respectively with one end of the resistance R7, the 16th pin of the integrated chip U1, the integrated chip U1
4th pin, voltage signal Vcc connection, the other end of the resistance R7 are connect with the 7th pin of the integrated chip U1, institute
The third pin for stating electric bridge RB1 is connect with the 9th pin of the integrated chip U1, the tenth pin of the integrated chip U1 with
The 11st pin of the integrated chip U1, the 12nd pin of the integrated chip U1, the integrated chip U1 the 13rd
Pin, the 14th pin of the integrated chip U1, the integrated chip U1 the 15th pin be open circuit, the integrated core
The 6th pin of piece U1 is connect with one end of one end of the oscillator Y1, the inductance L3 respectively, and the inductance L3's is another
End is connect with one end of the resistance R8, the other end of the resistance R8 respectively with the other end of the oscillator Y1, described open
One end connection of S1 is closed, the other end of the switch S1 is connect with the first pin of the integrated chip U1, the integrated chip
The 8th pin of U1 is grounded, and the third pin of the integrated chip U1 is connect with one end of the inductance L4, the inductance L4's
The other end is connect with the pole G of the pole G of the metal-oxide-semiconductor Q5, the metal-oxide-semiconductor Q6 respectively, the second pin point of the integrated chip U1
It is not connect with one end of one end of the resistance R9, the capacitor C9, the other end ground connection of the capacitor C9, the resistance R9's
The other end is connect with voltage signal Vref, and the 5th pin of the integrated chip U1 is connect with one end of the inductance L2, described
The other end of inductance L2 respectively with the emitter of the triode Q3, the cathode of the diode D7, the capacitor C5 one end,
One end connection of the emitter of the triode Q4, the cathode of the diode D8, the capacitor box C6, the triode Q4's
Base stage is connect with one end of the resistance R6, and the other end of the resistance R6 is believed with the base stage of the triode Q3, voltage respectively
The pole the G connection of number Vin, the metal-oxide-semiconductor Q1, the collector of the triode Q3 are positive, described with the diode D7 respectively
The other end of capacitor C5, the pole D of the metal-oxide-semiconductor Q5, the diode D9 positive, described capacitor C7 one end connection, it is described
The other end of capacitor C7 respectively with the cathode of the diode D9, the pole S of the metal-oxide-semiconductor Q5, the metal-oxide-semiconductor Q6 the pole D, described
One end connection of the cathode of diode D10, the capacitor C8, the other end of the capacitor C8 is respectively with the diode D10's
The pole S of positive, the described metal-oxide-semiconductor Q6, the other end of the capacitor C6, the diode D8 positive, described triode Q4 collection
Electrode connection.
In a further embodiment, connecting node of the ammeter M1 respectively with two-way current branch is attached,
Electric current comparison directly can be carried out to two-way branch, when there is the excessive situation of current measurement value, indicate that branch current value is super
Safe range out needs to be adjusted input voltage.
In a still further embodiment, the triode Q3 and the triode Q4, the metal-oxide-semiconductor Q5, the metal-oxide-semiconductor
Q6 is belonging respectively to a controlling brancher, can carry out parallel processing to four circuit-switched datas;The diode D7, diode D8, two poles
Pipe D9 and diode D10 controls the power of the current signal of input branch respectively, carries out the conversion of phase.
In a further embodiment, top-down data receiver branch is directly segmented into inside the Transmission system
Data transmission branch from bottom to top, two branch independent operatings, complementation interference.
In a still further embodiment, the branch that the oscillator Y1 and the resistance R8 and the inductance L3 are formed into
Row is in parallel, the feed back input of concussion electric current is carried out by external electronic component in parallel, to guarantee the stability of oscillating circuit.
In a still further embodiment, the resistance R9 and diode D11 and voltage signal Vref is attached,
Voltage Reference end and current detecting branch to the integrated chip U1 carry out unified reference voltage setting, guarantee parallel data
Not because voltage distortion generates the matching mistakes and omissions of size of current during processing.
A kind of data segment transmission method, in the process of cloud platform data transmission, due to needing to multiple systems
Data carry out parallel transmission simultaneously and need to carry out segment transmissions when the order of slab is transmitted, in order to avoid going out
The confusion of existing data recombination, needs to be identified same data command, guarantees the integrality of data receiver, specific steps are as follows:
Step 1 judges the length of order data, using the safe transmission boundary of each system as standard, short byte
Order is directly transmitted, and step 3 is directly entered;The order of slab enters in character mark step, that is, step 2;
Step 2 carries out length segmentation to the order of slab and carries out Data Identification;
Step 21, in addition to the first segmentation, with the data space of a unit storage line fewer than maximum safe transmission boundary work
Data storage is carried out for standard, remaining segmentation is always with the data space of two unit storage lines fewer than maximum safe transmission boundary
As standard, it is transmitted data division;First segmentation retains last bit blank line, remaining segmentation retains initial blank line and end
Position two row of blank line, until the byte length of remaining transmission data is just equal to or less than a maximum safe transmission boundary;
Step 22 is identified the end of data of the transmission data of segmentation, after the last line of the first segmentation of duplication
Beginning of half section of the data as the first segmentation last bit blank line data, is charged whole with spot patch, and will be supplemented complete data and is filled out
It is charged in the initial blank line of the second segmentation, and so on, the later half segment data of the last line of the second segmentation of duplication is as the
The beginning of two-section last bit blank line data, charged with spot patch it is whole, and will supplement complete data be filled into third segmentation just
Until data all identify completion in beginning blank line;
Step 23 enters in step 3, transmits to segment data;
Step 3, transmission data.
It in a further embodiment,, can when re-starting Data Integration after carrying out segment identification to data
To carry out Data Matching according to the data last bit row of different segmentations and data initial row, when data are overlapped, it is identified matching
It completes, can be eliminated and mutually be gone together, directly progress data recombination.
A kind of character determines data cached method, carries out transient data caching to the data transmission of cloud platform, specific to walk
Suddenly it is divided into:
Step 1, to data cached carry out property determination because order length is one kind compared with progress row data sectional, separately
A kind of protectiveness data storage to carry out in system operation because of accidental interruption, former data transmit after being segmented, the latter
Determine the increase of character;
Step 2, to containing determine character caching segment, carry out protectiveness for a long time store, guarantee not because system grasp
Make generation data loss problem, stores again after can retaining character is determined after confirmation data content;Confirm data
Determine it is the data content for needing to delete after content, after the deletion for first carrying out judgement character, then carries out the deletion of data content, protect
Demonstrate,prove the abundance of spatial cache.
In a further embodiment, specific cloud platform is different using data processing agreement of the system to spatial cache,
It is segmented into the ISO agreement and custom protocol of default in this method, it is more intelligent to guarantee that data cached content determines.
In short, the invention has the following advantages that strengthening multidiameter delay by carrying out circuit regulation to multi-wad join port
The stability and Feasible degree of data transmitting are further identified segmentation and buffering to the long order data in parallel data transmitting
Storage improves the accuracy of data transmission, and generally, the speed of service and data that the present invention greatly reinforces data transmission are certainly
My error correcting capability, practical degree are very high.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the present invention to it is various can
No further explanation will be given for the combination of energy.